mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
2fa cleanup
This commit is contained in:
parent
181ee74ba3
commit
73eb743f54
@ -3,9 +3,17 @@
|
||||
<p class="login-box-msg" ng-if="twoFactorProvider === twoFactorProviderConstants.authenticator">
|
||||
Enter the 6 digit verification code from your authenticator app.
|
||||
</p>
|
||||
<p class="login-box-msg" ng-if="twoFactorProvider === twoFactorProviderConstants.email">
|
||||
<div ng-if="twoFactorProvider === twoFactorProviderConstants.email" class="text-center">
|
||||
<p class="login-box-msg">
|
||||
Enter the 6 digit verification code that was just now emailed to you.
|
||||
</p>
|
||||
<p>
|
||||
Didn't get the email?
|
||||
<a href="#" stop-click ng-click="sendEmail(true)" ng-if="twoFactorProvider === twoFactorProviderConstants.email">
|
||||
Send it again
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<form name="twoFactorForm" ng-submit="twoFactorForm.$valid && twoFactor(token)" api-form="twoFactorPromise">
|
||||
<div class="callout callout-danger validation-errors" ng-show="twoFactorForm.$errors">
|
||||
<h4>Errors have occurred</h4>
|
||||
@ -19,12 +27,6 @@
|
||||
ng-model="token" required api-field />
|
||||
<span class="fa fa-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<p>
|
||||
Didn't get the email?
|
||||
<a href="#" stop-click ng-click="sendEmail(true)" ng-if="twoFactorProvider === twoFactorProviderConstants.email">
|
||||
Send it again
|
||||
</a>
|
||||
</p>
|
||||
<div class="row">
|
||||
<div class="col-xs-7">
|
||||
<div class="checkbox">
|
||||
|
@ -20,6 +20,28 @@ h1, h2, h3, h4, h5, h6,
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.login-box, .register-box {
|
||||
width: 400px;
|
||||
margin: 4% auto;
|
||||
|
||||
@media screen and (max-width: @screen-xs-max) {
|
||||
width: ~"calc(100% - 20px)";
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.login-box-msg, .register-box-msg {
|
||||
padding: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.login-logo, .register-logo {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.box-body > .table-responsive {
|
||||
> .table {
|
||||
margin-bottom: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user