Files
mowesta/web-angular/src/app/views-common/reset.component.html
T
Marcus Handte f24667b46a
LocationBasedServices/mowesta/master This commit looks good
Remove unused code, fix layout issues in MacOS Safari.
2020-03-28 00:33:22 +01:00

31 lines
1.3 KiB
HTML

<div class="fx-fill fx-column fx-stretch fx-mh100">
<mat-toolbar class="view-bar">
<mat-icon>lock</mat-icon>
<span>{{ res.strings('reset_title') }}</span>
</mat-toolbar>
<app-layout-single class="fx-fill fx-row fx-stretch bg-white mat-typography">
<div class="m-lg">
<h2>{{ res.strings('reset_title') }}</h2>
<h4>{{ res.strings('reset_subtitle') }}</h4>
<form #resetForm="ngForm">
<app-login-field [login]="login" (keyup.enter)="onReset()"></app-login-field>
</form>
<div class="fx-row fx-center mt-lg">
<ng-container *ngIf="idle | async as submittable;else progressBar">
<button #loginButton mat-raised-button color="accent"
[disabled]="!submittable || resetForm.invalid" (click)="onReset()">
<mat-icon class="icon-button">send</mat-icon>
<span>{{ res.strings('button_reset') }}</span>
</button>
</ng-container>
<ng-template #progressBar>
<mat-spinner [diameter]="36"></mat-spinner>
</ng-template>
</div>
</div>
</app-layout-single>
</div>