import * as React from 'react';
import LoginForm from './LoginForm';
import OAuthProviders from './OAuthProviders';
+import GlobalMessagesContainer from '../../../app/components/GlobalMessagesContainer';
import { translate } from '../../../helpers/l10n';
import './Login.css';
<div className="login-page" id="login_form">
<h1 className="login-title text-center">{translate('login.login_to_sonarqube')}</h1>
+ <GlobalMessagesContainer />
+
{identityProviders.length > 0 && (
<OAuthProviders identityProviders={identityProviders} returnTo={returnTo} />
)}
*/
import * as React from 'react';
import DeferredSpinner from '../../../components/common/DeferredSpinner';
-import GlobalMessagesContainer from '../../../app/components/GlobalMessagesContainer';
import { SubmitButton } from '../../../components/ui/buttons';
import { translate } from '../../../helpers/l10n';
import { getBaseUrl } from '../../../helpers/urls';
}
return (
<form className="login-form" onSubmit={this.handleSubmit}>
- <GlobalMessagesContainer />
-
<div className="big-spacer-bottom">
<label className="login-label" htmlFor="login">
{translate('login')}
>
login.login_to_sonarqube
</h1>
+ <Connect(GlobalMessages) />
<LoginForm
collapsed={false}
onSubmit={[MockFunction]}
>
login.login_to_sonarqube
</h1>
+ <Connect(GlobalMessages) />
<OAuthProviders
identityProviders={
Array [
className="login-form"
onSubmit={[Function]}
>
- <Connect(GlobalMessages) />
<div
className="big-spacer-bottom"
>
className="login-form"
onSubmit={[Function]}
>
- <Connect(GlobalMessages) />
<div
className="big-spacer-bottom"
>
className="login-form"
onSubmit={[Function]}
>
- <Connect(GlobalMessages) />
<div
className="big-spacer-bottom"
>