]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/blobdiff - cmd/web/js/otp.jsx
JS clean.
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git] / cmd / web / js / otp.jsx
index 6c22c8ccc9fb5f3c365c8a285bc62f82423bc28f..5f04e21da2968fdffefebb24dd9191cbef28d745 100644 (file)
@@ -61,11 +61,12 @@ class OtpEnrollForm extends React.Component {
 }
     return (
         <div className="row otp-enroll">
-          <div className="offset-4 col-4 col-xs-offset-1 col-xs-10 text-center">
+          <div className="offset-1 col-10 box offset-md-4 col-md-4 text-center">
             {qrCode}
             <div className="row justify-content-center">
               <form role="form" onSubmit={this.handleSubmit}>
-                <input className="form-control" type="pass" placeholder="code" onChange={this.handlePassChange} />
+                <label className="w-100 text-left"><strong>Code</strong></label>
+                <input className="form-control" type="pass" onChange={this.handlePassChange} />
                 <input className="form-control submit" type="submit" value="Validate" />
                 <div className={cName}>{this.state.msg}</div>
               </form>