1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-28 10:55:27 +02:00
bitwarden-browser/src/popup/accounts/lock.component.html

50 lines
2.4 KiB
HTML
Raw Normal View History

2018-04-05 04:59:42 +02:00
<form (ngSubmit)="submit()">
<header>
<div class="left"></div>
<div class="center">
<span class="title">{{(pinLock ? 'verifyPin' : 'verifyIdentity') | i18n}}</span>
2018-04-05 04:59:42 +02:00
</div>
<div class="right">
<button type="submit" appBlurClick *ngIf="!hideInput">{{'unlock' | i18n}}</button>
2018-04-05 04:59:42 +02:00
</div>
</header>
2018-04-05 16:29:11 +02:00
<content>
<div class="box">
<div class="box-content">
<div class="box-content-row box-content-row-flex" appBoxRow *ngIf="!hideInput">
2019-02-13 05:53:04 +01:00
<div class="row-main" *ngIf="pinLock">
<label for="pin">{{'pin' | i18n}}</label>
2019-02-21 22:53:57 +01:00
<input id="pin" type="{{showPassword ? 'text' : 'password'}}" name="PIN" class="monospaced"
[(ngModel)]="pin" required appInputVerbatim>
2019-02-13 05:53:04 +01:00
</div>
<div class="row-main" *ngIf="!pinLock">
2018-04-05 16:29:11 +02:00
<label for="masterPassword">{{'masterPass' | i18n}}</label>
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}" name="MasterPassword"
2019-02-21 22:53:57 +01:00
class="monospaced" [(ngModel)]="masterPassword" required appInputVerbatim>
2018-04-05 16:29:11 +02:00
</div>
<div class="action-buttons">
<button type="button" class="row-btn" appStopClick appBlurClick
2019-10-08 23:04:44 +02:00
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"
aria-hidden="true"></i>
</button>
2018-04-05 16:29:11 +02:00
</div>
2018-04-05 04:59:42 +02:00
</div>
</div>
2019-01-08 05:29:50 +01:00
<div class="box-footer">
2019-02-13 05:53:04 +01:00
<p>{{(pinLock ? 'yourVaultIsLockedPinCode' : 'yourVaultIsLocked') | i18n}}</p>
2019-06-04 06:03:27 +02:00
{{'loggedInAsOn' | i18n : email : webVaultHostname}}
2019-01-08 05:29:50 +01:00
</div>
2018-04-05 04:59:42 +02:00
</div>
<div class="box" *ngIf="biometricLock">
<div class="box-footer">
<button type="button" class="btn primary block" (click)="unlockBiometric()"
appStopClick>{{'unlockWithBiometrics' | i18n}}</button>
</div>
</div>
2018-04-05 16:29:11 +02:00
<p class="text-center">
<button type="button" appStopClick (click)="logOut()">{{'logOut' | i18n}}</button>
2018-04-05 16:29:11 +02:00
</p>
</content>
2018-04-05 04:59:42 +02:00
</form>