Style autour du profil utilisateur
This commit is contained in:
@@ -13,10 +13,13 @@
|
||||
</div>
|
||||
<div>
|
||||
<a routerLink="/user" routerLinkActive="active" skipLocationChange>
|
||||
<mat-icon aria-hidden="false" aria-label="User account">account_box</mat-icon>
|
||||
<h2 style="display: inline;" *ngIf="currentUser">{{ this.currentUser.firstName }}
|
||||
{{ this.currentUser.lastName }}</h2>
|
||||
</a>
|
||||
<a *ngIf="currentUser" (click)="logout()" style="cursor: pointer; margin-left:15px;">Logout</a>
|
||||
<a *ngIf="currentUser" (click)="logout()" style="cursor: pointer; margin-left:15px;">
|
||||
<mat-icon aria-hidden="false" aria-label="To logout">logout</mat-icon>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Login</mat-label>
|
||||
<input matInput type="text" formControlName="login" />
|
||||
<input matInput type="text" formControlName="login" readonly />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user