Update styles
This commit is contained in:
@@ -1,45 +1,52 @@
|
||||
<div class="content">
|
||||
<form [formGroup]="userForm" (ngSubmit)="onSubmit(userForm.value)">
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Login</mat-label>
|
||||
<input matInput type="text" formControlName="login" readonly />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Firstname</mat-label>
|
||||
<input matInput type="text" formControlName="firstName" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Lastname</mat-label>
|
||||
<input matInput type="text" formControlName="lastName" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>E-mail</mat-label>
|
||||
<input matInput type="text" formControlName="email" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<div class="content" style="display: flex; flex-direction: row;">
|
||||
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Current password</mat-label>
|
||||
<input matInput type="text" formControlName="currentPassword" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>New password</mat-label>
|
||||
<input matInput type="text" formControlName="newPassword" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<fieldset style="width: 50%;">
|
||||
<legend>Profile</legend>
|
||||
<form [formGroup]="userForm" (ngSubmit)="onSubmit(userForm.value)">
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Login</mat-label>
|
||||
<input matInput type="text" formControlName="login" readonly />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Firstname</mat-label>
|
||||
<input matInput type="text" formControlName="firstName" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Lastname</mat-label>
|
||||
<input matInput type="text" formControlName="lastName" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>E-mail</mat-label>
|
||||
<input matInput type="text" formControlName="email" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Current password</mat-label>
|
||||
<input matInput type="text" formControlName="currentPassword" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>New password</mat-label>
|
||||
<input matInput type="text" formControlName="newPassword" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
|
||||
<button type="submit" mat-raised-button color="accent">Update my profile</button>
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
<button type="submit" mat-raised-button color="accent">Update my profile</button>
|
||||
</form>
|
||||
|
||||
<app-list-of-images></app-list-of-images>
|
||||
<fieldset style="width: 50%;">
|
||||
<legend>Images</legend>
|
||||
<app-list-of-images></app-list-of-images>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user