1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-10 09:49:53 +01:00
bitwarden-desktop/src/app/accounts/lock.component.html

41 lines
2.0 KiB
HTML
Raw Normal View History

2018-02-10 04:47:53 +01:00
<form id="lock-page" (ngSubmit)="submit()">
<div class="content">
2018-08-08 19:07:37 +02:00
<p><i class="fa fa-lock fa-4x text-muted"></i></p>
2019-02-13 16:06:58 +01:00
<p>{{(pinLock ? 'yourVaultIsLockedPinCode' : 'yourVaultIsLocked') | i18n}}</p>
2018-02-10 04:47:53 +01:00
<div class="box last">
<div class="box-content">
2018-02-24 19:48:55 +01:00
<div class="box-content-row box-content-row-flex" appBoxRow>
2019-02-13 16:06:58 +01:00
<div class="row-main" *ngIf="pinLock">
<label for="pin">{{'pin' | i18n}}</label>
<input id="pin" type="{{showPassword ? 'text' : 'password'}}" name="PIN"
class="monospaced" [(ngModel)]="pin" required appAutofocus>
</div>
<div class="row-main" *ngIf="!pinLock">
2018-02-24 19:48:55 +01:00
<label for="masterPassword">{{'masterPass' | i18n}}</label>
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}" name="MasterPassword"
class="monospaced" [(ngModel)]="masterPassword" required appAutofocus>
</div>
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appBlurClick
title="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
<i class="fa fa-lg"
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
</a>
</div>
2018-02-10 04:47:53 +01:00
</div>
</div>
2019-01-08 06:21:28 +01:00
<div class="box-footer">
{{'loggedInAs' | i18n : email}}
</div>
2018-02-10 04:47:53 +01:00
</div>
<div class="buttons">
<button type="submit" class="btn primary block" appBlurClick>
2018-05-31 04:28:04 +02:00
<i class="fa fa-unlock-alt"></i> <b>{{'unlock' | i18n}}</b>
2018-02-10 04:47:53 +01:00
</button>
<button type="button" class="btn block" appBlurClick (click)="logOut()">
{{'logOut' | i18n}}
</button>
</div>
</div>
</form>