|
|
@ -1,8 +1,9 @@
|
|
|
|
<div id="login-form">
|
|
|
|
<div id="login-wrapper">
|
|
|
|
<h1>fLotte Login</h1>
|
|
|
|
<h1>fLotte Login</h1>
|
|
|
|
|
|
|
|
<form id="login-form">
|
|
|
|
<mat-form-field (keyup.enter)="login()">
|
|
|
|
<mat-form-field (keyup.enter)="login()">
|
|
|
|
<mat-label>E-Mail-Adresse eingeben</mat-label>
|
|
|
|
<mat-label>E-Mail-Adresse eingeben</mat-label>
|
|
|
|
<input matInput placeholder="fLotte@beispiel.de" [formControl]="email" />
|
|
|
|
<input matInput placeholder="fLotte@beispiel.de" autocomplete="email" [formControl]="email" />
|
|
|
|
<mat-error *ngIf="email.hasError('required')">
|
|
|
|
<mat-error *ngIf="email.hasError('required')">
|
|
|
|
Bitte geben Sie eine E-Mail-Adresse ein.
|
|
|
|
Bitte geben Sie eine E-Mail-Adresse ein.
|
|
|
|
</mat-error>
|
|
|
|
</mat-error>
|
|
|
@ -15,6 +16,7 @@
|
|
|
|
<mat-label>Passwort eingeben</mat-label>
|
|
|
|
<mat-label>Passwort eingeben</mat-label>
|
|
|
|
<input
|
|
|
|
<input
|
|
|
|
matInput
|
|
|
|
matInput
|
|
|
|
|
|
|
|
autocomplete="password"
|
|
|
|
[type]="hide ? 'password' : 'text'"
|
|
|
|
[type]="hide ? 'password' : 'text'"
|
|
|
|
[formControl]="password"
|
|
|
|
[formControl]="password"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
@ -31,10 +33,13 @@
|
|
|
|
<mat-icon>{{ hide ? "visibility_off" : "visibility" }}</mat-icon>
|
|
|
|
<mat-icon>{{ hide ? "visibility_off" : "visibility" }}</mat-icon>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</mat-form-field>
|
|
|
|
</mat-form-field>
|
|
|
|
<mat-progress-bar mode="indeterminate" id="loading-bar" *ngIf="loading"></mat-progress-bar>
|
|
|
|
</form>
|
|
|
|
<button mat-stroked-button color="primary" (click)="login()">
|
|
|
|
<mat-progress-bar
|
|
|
|
Login
|
|
|
|
mode="indeterminate"
|
|
|
|
</button>
|
|
|
|
id="loading-bar"
|
|
|
|
|
|
|
|
*ngIf="loading"
|
|
|
|
|
|
|
|
></mat-progress-bar>
|
|
|
|
|
|
|
|
<button mat-stroked-button color="primary" (click)="login()">Login</button>
|
|
|
|
<mat-error class="login-error-message" *ngIf="errorOccurred">
|
|
|
|
<mat-error class="login-error-message" *ngIf="errorOccurred">
|
|
|
|
{{ errorMessage }}
|
|
|
|
{{ errorMessage }}
|
|
|
|
</mat-error>
|
|
|
|
</mat-error>
|
|
|
|