2018-10-02 12:56:51 +02:00
|
|
|
<form class="form-signin" (ngSubmit)="signup(userName.value, password.value, secret.value)">
|
2017-06-08 19:46:36 +02:00
|
|
|
|
2018-07-17 09:09:56 +02:00
|
|
|
<div class="row" style="position: absolute;width: 500px;left: 40%;">
|
2018-10-02 12:56:51 +02:00
|
|
|
<h2 style="text-align: center;" class="form-signin-heading">{{'signup.headline' | translate}}</h2>
|
2017-06-08 19:46:36 +02:00
|
|
|
|
2018-10-02 12:56:51 +02:00
|
|
|
<p [innerHtml]="'signup.description' | translate"></p>
|
2017-06-08 19:46:36 +02:00
|
|
|
|
2018-10-02 12:56:51 +02:00
|
|
|
<label for="inputEmail" class="sr-only">{{'signup.username' | translate}}</label>
|
|
|
|
<input #userName id="inputEmail" class="form-control" placeholder="{{'signup.username' | translate}}" required="" autofocus="">
|
2017-06-08 19:46:36 +02:00
|
|
|
|
2018-10-02 12:56:51 +02:00
|
|
|
<label for="inputPassword" class="sr-only">{{'signup.password' | translate}}</label>
|
|
|
|
<input #password type="password" id="inputPassword" class="form-control" placeholder="{{'signup.password' | translate}}" required="">
|
2017-06-08 19:46:36 +02:00
|
|
|
|
2018-10-02 12:56:51 +02:00
|
|
|
<label for="inputSecret" class="sr-only">{{'signup.secret' | translate}}</label>
|
|
|
|
<input #secret type="text" id="inputSecret" class="form-control" placeholder="{{'signup.secret.placeholder' | translate}}"
|
2017-06-08 19:46:36 +02:00
|
|
|
required="">
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="btn btn-lg btn-block btn-primary">
|
2018-10-02 12:56:51 +02:00
|
|
|
<span *ngIf="!loading">{{'signup.submit' | translate}}</span>
|
2017-06-08 19:46:36 +02:00
|
|
|
<span *ngIf="loading" class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|