diff options
author | jloup <jloup@jloup.work> | 2018-05-14 12:38:00 +0200 |
---|---|---|
committer | jloup <jloup@jloup.work> | 2018-05-14 12:38:00 +0200 |
commit | a6820180928670b0642fa6a28ac221ce158230bb (patch) | |
tree | be56c7282892ecd3d436d773fb21b6dc1230cc3c /cmd/web/js/signin.jsx | |
parent | 2e4885d98ec49203180deb7e4e9148762e4720e7 (diff) | |
download | Front-a6820180928670b0642fa6a28ac221ce158230bb.tar.gz Front-a6820180928670b0642fa6a28ac221ce158230bb.tar.zst Front-a6820180928670b0642fa6a28ac221ce158230bb.zip |
JS clean.v0.0.15
Diffstat (limited to 'cmd/web/js/signin.jsx')
-rw-r--r-- | cmd/web/js/signin.jsx | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/cmd/web/js/signin.jsx b/cmd/web/js/signin.jsx index 5b3b661..cf486ad 100644 --- a/cmd/web/js/signin.jsx +++ b/cmd/web/js/signin.jsx | |||
@@ -43,17 +43,28 @@ class SigninForm extends React.Component { | |||
43 | render = () => { | 43 | render = () => { |
44 | var cName = classNames('form-message', {'hidden': this.state.hideMsg, 'message-ok': this.state.msgOk}); | 44 | var cName = classNames('form-message', {'hidden': this.state.hideMsg, 'message-ok': this.state.msgOk}); |
45 | return ( | 45 | return ( |
46 | <React.Fragment> | ||
46 | <div className="row sign-in"> | 47 | <div className="row sign-in"> |
47 | <div className="offset-1 col-10 offset-md-4 col-md-4 text-center"> | 48 | <div className="offset-1 col-10 box offset-md-4 col-md-4 text-center"> |
48 | <form role="form" onSubmit={this.handleSubmit}> | 49 | <form role="form" onSubmit={this.handleSubmit}> |
49 | <input className="form-control" type="email" placeholder="email" onChange={this.handleEmailChange} /> | 50 | <label className="w-100 text-left"><strong>Email address</strong></label> |
50 | <input className="form-control" type="password" placeholder="password" onChange={this.handlePasswordChange} /> | 51 | <input className="form-control" type="email" onChange={this.handleEmailChange} /> |
52 | <span className="w-100 d-inline-block text-left"> | ||
53 | <label><strong>Password</strong></label> | ||
54 | <a className="blue-link hint-text float-right" href="/reset-password">Forgot password?</a> | ||
55 | </span> | ||
56 | <input className="form-control" type="password" onChange={this.handlePasswordChange} /> | ||
51 | <input className="form-control submit" type="submit" value="Sign In" /> | 57 | <input className="form-control submit" type="submit" value="Sign In" /> |
52 | <div className={cName}>{this.state.msg}</div> | 58 | <div className={cName}>{this.state.msg}</div> |
53 | </form> | 59 | </form> |
54 | <a href="#" onClick={App.onInternNavigation.bind(this, '/signup')}><u>Sign up</u></a> | ||
55 | </div> | 60 | </div> |
56 | </div> | 61 | </div> |
62 | <div className="row"> | ||
63 | <div className="offset-1 col-10 box offset-md-4 col-md-4 text-center"> | ||
64 | <span>New to CryptoPF? <a href="#" className="blue-link" onClick={App.onInternNavigation.bind(this, '/signup')}>Create an account.</a></span> | ||
65 | </div> | ||
66 | </div> | ||
67 | </React.Fragment> | ||
57 | ); | 68 | ); |
58 | } | 69 | } |
59 | } | 70 | } |