Move login btn to right and center login form
parent
0af2ebc1e7
commit
a6b6677eb7
|
@ -19,9 +19,6 @@
|
|||
<li routerLinkActive="active">
|
||||
<a href="https://www.opt4.net/dashboard" class="link">Zum Forum</a>
|
||||
</li>
|
||||
<li *ngIf="!loginService.isLoggedIn()" routerLinkActive="active">
|
||||
<a routerLink='{{config.loginPath}}' class="link">Login</a>
|
||||
</li>
|
||||
<li routerLinkActive="active">
|
||||
<a routerLink='{{config.overviewPath}}' class="link">Armeeübersicht</a>
|
||||
</li>
|
||||
|
@ -87,6 +84,9 @@
|
|||
<li *ngIf="loginService.isLoggedIn()" class="link" style="cursor: pointer">
|
||||
<a (click)="logout()">Abmelden</a>
|
||||
</li>
|
||||
<li *ngIf="!loginService.isLoggedIn()" routerLinkActive="active">
|
||||
<a routerLink='{{config.loginPath}}' class="link">Login</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<form class="form-signin" (ngSubmit)="login(userName.value, password.value)">
|
||||
|
||||
<div class="row">
|
||||
<div class="row" style="position: absolute;width: 400px;left: 40%;">
|
||||
<h2 style="text-align: center;" class="form-signin-heading">Anmelden</h2>
|
||||
|
||||
<label for="inputEmail" class="sr-only">Benutzername</label>
|
||||
|
@ -23,7 +23,5 @@
|
|||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Reference in New Issue