bitwarden-estensione-browser/src/app/accounts/lock.component.html

41 lines
2.1 KiB
HTML
Raw Normal View History

2018-07-13 20:55:50 +02:00
<form (ngSubmit)="submit()" class="container" ngNativeValidate>
<div class="row justify-content-md-center mt-5">
<div class="col-5">
<p class="text-center mb-4">
2019-10-11 17:22:21 +02:00
<i class="fa fa-lock fa-4x text-muted" aria-hidden="true"></i>
</p>
<p class="lead text-center mx-4 mb-4">{{'yourVaultIsLocked' | i18n}}</p>
2018-07-25 18:13:18 +02:00
<div class="card d-block">
<div class="card-body">
<div class="form-group">
<label for="masterPassword">{{'masterPass' | i18n}}</label>
<div class="d-flex">
2019-02-21 22:50:37 +01:00
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}"
name="MasterPassword" class="text-monospace form-control" [(ngModel)]="masterPassword"
required appAutofocus appInputVerbatim>
2019-10-11 16:35:24 +02:00
<button type="button" class="ml-1 btn btn-link" appA11yTitle="{{'toggleVisibility' | i18n}}"
2019-02-21 22:50:37 +01:00
(click)="togglePassword()">
2019-10-11 16:35:24 +02:00
<i class="fa fa-lg" aria-hidden="true"
2019-02-21 22:50:37 +01:00
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
</button>
</div>
2019-06-04 06:06:15 +02:00
<small class="text-muted form-text">
{{'loggedInAsEmailOn' | i18n : email : webVaultHostname}}
</small>
</div>
<hr>
<div class="d-flex">
2018-07-18 05:21:23 +02:00
<button type="submit" class="btn btn-primary btn-block">
2019-10-11 17:22:21 +02:00
<i class="fa fa-unlock-alt" aria-hidden="true"></i>
{{'unlock' | i18n}}
</button>
2018-07-18 05:21:23 +02:00
<button type="button" class="btn btn-outline-secondary btn-block ml-2 mt-0" (click)="logOut()">
{{'logOut' | i18n}}
</button>
</div>
</div>
</div>
</div>
</div>
</form>