2017-05-10 11:04:06 +02:00
|
|
|
<form class="form-signin" (ngSubmit)="login(userName.value, password.value)">
|
|
|
|
|
2018-06-18 20:54:43 +02:00
|
|
|
<div class="row" style="position: absolute;width: 400px;left: 40%;">
|
2017-05-10 11:04:06 +02:00
|
|
|
<h2 style="text-align: center;" class="form-signin-heading">Anmelden</h2>
|
|
|
|
|
|
|
|
<label for="inputEmail" class="sr-only">Benutzername</label>
|
|
|
|
<input #userName id="inputEmail" class="form-control" placeholder="Benutzername" required="" autofocus="">
|
|
|
|
|
|
|
|
<label for="inputPassword" class="sr-only">Passwort</label>
|
|
|
|
<input #password type="password" id="inputPassword" class="form-control" placeholder="Passwort" required="">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="btn btn-lg btn-block btn-primary">
|
|
|
|
<span *ngIf="!loading">Anmelden</span>
|
|
|
|
<span *ngIf="loading" class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|