|
@@ -50,54 +50,56 @@ class Login extends React.Component {
|
50
|
50
|
<CardHeader customClass='connection__header text-center'>{'Connexion'}</CardHeader>
|
51
|
51
|
|
52
|
52
|
<CardBody formClass='connection__form'>
|
53
|
|
- <InputGroupText
|
54
|
|
- parentClassName='connection__form__groupemail'
|
55
|
|
- customClass='mb-3 mt-4'
|
56
|
|
- icon='fa-envelope-open-o'
|
57
|
|
- type='email'
|
58
|
|
- placeHolder='Adresse Email'
|
59
|
|
- invalidMsg='Email invalide.'
|
60
|
|
- value={this.state.inputLogin}
|
61
|
|
- onChange={this.handleChangeLogin}
|
62
|
|
- />
|
63
|
|
-
|
64
|
|
- <InputGroupText
|
65
|
|
- parentClassName='connection__form__groupepw'
|
66
|
|
- customClass=''
|
67
|
|
- icon='fa-lock'
|
68
|
|
- type='password'
|
69
|
|
- placeHolder='Mot de passe'
|
70
|
|
- invalidMsg='Mot de passe invalide.'
|
71
|
|
- value={this.state.inputPassword}
|
72
|
|
- onChange={this.handleChangePassword}
|
73
|
|
- />
|
74
|
|
-
|
75
|
|
- <div className='row mt-4 mb-4'>
|
76
|
|
- <div className='col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6'>
|
77
|
|
- <InputCheckbox
|
78
|
|
- parentClassName='connection__form__rememberme'
|
79
|
|
- customClass=''
|
80
|
|
- label='Se souvenir de moi'
|
81
|
|
- checked={this.state.inputRememberMe}
|
82
|
|
- onChange={this.handleChangeRememberMe}
|
83
|
|
- />
|
|
53
|
+ <div>
|
|
54
|
+ <InputGroupText
|
|
55
|
+ parentClassName='connection__form__groupemail'
|
|
56
|
+ customClass='mb-3 mt-4'
|
|
57
|
+ icon='fa-envelope-open-o'
|
|
58
|
+ type='email'
|
|
59
|
+ placeHolder='Adresse Email'
|
|
60
|
+ invalidMsg='Email invalide.'
|
|
61
|
+ value={this.state.inputLogin}
|
|
62
|
+ onChange={this.handleChangeLogin}
|
|
63
|
+ />
|
|
64
|
+
|
|
65
|
+ <InputGroupText
|
|
66
|
+ parentClassName='connection__form__groupepw'
|
|
67
|
+ customClass=''
|
|
68
|
+ icon='fa-lock'
|
|
69
|
+ type='password'
|
|
70
|
+ placeHolder='Mot de passe'
|
|
71
|
+ invalidMsg='Mot de passe invalide.'
|
|
72
|
+ value={this.state.inputPassword}
|
|
73
|
+ onChange={this.handleChangePassword}
|
|
74
|
+ />
|
|
75
|
+
|
|
76
|
+ <div className='row mt-4 mb-4'>
|
|
77
|
+ <div className='col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6'>
|
|
78
|
+ <InputCheckbox
|
|
79
|
+ parentClassName='connection__form__rememberme'
|
|
80
|
+ customClass=''
|
|
81
|
+ label='Se souvenir de moi'
|
|
82
|
+ checked={this.state.inputRememberMe}
|
|
83
|
+ onChange={this.handleChangeRememberMe}
|
|
84
|
+ />
|
|
85
|
+ </div>
|
|
86
|
+
|
|
87
|
+ <div className='col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 text-sm-right'>
|
|
88
|
+ <LoginBtnForgotPw
|
|
89
|
+ customClass='connection__form__pwforgot'
|
|
90
|
+ label='Mot de passe oublié ?'
|
|
91
|
+ />
|
|
92
|
+ </div>
|
84
|
93
|
</div>
|
85
|
94
|
|
86
|
|
- <div className='col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 text-sm-right'>
|
87
|
|
- <LoginBtnForgotPw
|
88
|
|
- customClass='connection__form__pwforgot'
|
89
|
|
- label='Mot de passe oublié ?'
|
90
|
|
- />
|
91
|
|
- </div>
|
|
95
|
+ <Button
|
|
96
|
+ htmlType='button'
|
|
97
|
+ bootstrapType='primary'
|
|
98
|
+ customClass='connection__form__btnsubmit'
|
|
99
|
+ label='Connexion'
|
|
100
|
+ onClick={this.handleClickSubmit}
|
|
101
|
+ />
|
92
|
102
|
</div>
|
93
|
|
-
|
94
|
|
- <Button
|
95
|
|
- htmlType='button'
|
96
|
|
- bootstrapType='primary'
|
97
|
|
- customClass='connection__form__btnsubmit'
|
98
|
|
- label='Connexion'
|
99
|
|
- onClick={this.handleClickSubmit}
|
100
|
|
- />
|
101
|
103
|
</CardBody>
|
102
|
104
|
</Card>
|
103
|
105
|
|