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

44 lines
2.1 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">
2019-02-13 05:53:04 +01:00
<span class="title">{{(pinLock ? 'verifyPin' : 'verifyMasterPassword') | i18n}}</span>
2018-04-05 04:59:42 +02:00
</div>
<div class="right">
2019-01-08 05:29:50 +01:00
<button type="submit" appBlurClick>{{'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>
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">
2019-10-08 23:04:44 +02:00
<a class="row-btn" href="#" appStopClick appBlurClick
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"
aria-hidden="true"></i>
2018-04-05 16:29:11 +02:00
</a>
</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>
2018-04-05 16:29:11 +02:00
<p class="text-center">
<a href="#" appStopClick (click)="logOut()">{{'logOut' | i18n}}</a>
</p>
</content>
2018-04-05 04:59:42 +02:00
</form>