2018-07-13 20:55:50 +02:00
|
|
|
<form (ngSubmit)="submit()" class="container" ngNativeValidate>
|
2018-06-09 19:59:09 +02:00
|
|
|
<div class="row justify-content-md-center mt-5">
|
|
|
|
<div class="col-5">
|
|
|
|
<p class="text-center mb-4">
|
2018-06-10 04:59:36 +02:00
|
|
|
<i class="fa fa-lock fa-4x text-muted"></i>
|
2018-06-09 19:59:09 +02:00
|
|
|
</p>
|
|
|
|
<p class="lead text-center mx-4 mb-4">{{'yourVaultIsLocked' | i18n}}</p>
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="masterPassword">{{'masterPass' | i18n}}</label>
|
|
|
|
<div class="d-flex">
|
|
|
|
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}" name="MasterPassword" class="text-monospace form-control"
|
2018-07-13 20:50:21 +02:00
|
|
|
[(ngModel)]="masterPassword" required appAutofocus appInputVerbatim>
|
2018-07-18 05:21:23 +02:00
|
|
|
<button type="button" class="ml-1 btn btn-link" title="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
2018-06-09 19:59:09 +02:00
|
|
|
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="d-flex">
|
2018-07-18 05:21:23 +02:00
|
|
|
<button type="submit" class="btn btn-primary btn-block">
|
2018-06-09 19:59:09 +02:00
|
|
|
<i class="fa fa-unlock-alt"></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()">
|
2018-06-09 19:59:09 +02:00
|
|
|
{{'logOut' | i18n}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|