2018-04-04 20:19:44 +02:00
|
|
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise">
|
|
|
|
<header>
|
|
|
|
<div class="left">
|
2018-04-05 04:59:42 +02:00
|
|
|
<a routerLink="/home">{{'cancel' | i18n}}</a>
|
2018-04-04 20:19:44 +02:00
|
|
|
</div>
|
|
|
|
<div class="center">
|
|
|
|
<span class="title">{{'appName' | i18n}}</span>
|
2018-04-04 14:27:31 +02:00
|
|
|
</div>
|
2018-04-04 20:19:44 +02:00
|
|
|
<div class="right">
|
|
|
|
<button type="submit" appBlurClick [disabled]="form.loading">
|
|
|
|
<span [hidden]="form.loading">{{'login' | i18n}}</span>
|
2019-10-08 23:04:44 +02:00
|
|
|
<i class="fa fa-spinner fa-lg fa-spin" [hidden]="!form.loading" aria-hidden="true"></i>
|
2018-04-04 14:27:31 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
2018-04-04 20:19:44 +02:00
|
|
|
</header>
|
2018-04-05 16:29:11 +02:00
|
|
|
<content>
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-content">
|
|
|
|
<div class="box-content-row" appBoxRow>
|
|
|
|
<label for="email">{{'emailAddress' | i18n}}</label>
|
2019-02-21 22:53:57 +01:00
|
|
|
<input id="email" type="text" name="Email" [(ngModel)]="email" required inputmode="email"
|
|
|
|
appInputVerbatim="false">
|
2018-04-04 20:19:44 +02:00
|
|
|
</div>
|
2018-04-05 16:29:11 +02:00
|
|
|
<div class="box-content-row box-content-row-flex" appBoxRow>
|
|
|
|
<div class="row-main">
|
|
|
|
<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-04 20:19:44 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-04 14:27:31 +02:00
|
|
|
</div>
|
2018-04-05 16:29:11 +02:00
|
|
|
<p class="text-center">
|
|
|
|
<a routerLink="/hint">{{'getMasterPasswordHint' | i18n}}</a>
|
|
|
|
</p>
|
|
|
|
</content>
|
2018-04-04 04:14:54 +02:00
|
|
|
</form>
|