Cosmetic
This commit is contained in:
parent
10904248ed
commit
dc1e15bb2d
1 changed files with 4 additions and 4 deletions
|
@ -1,18 +1,18 @@
|
||||||
<div layout="row" layout-padding fxLayout='column wrap' fxLayoutAlign="space-around center">
|
<div layout="row" layout-padding fxLayout='column wrap' fxLayoutAlign="space-around center">
|
||||||
<h1>Login</h1>
|
<h1>Login</h1>
|
||||||
<form fxFlex fxLayout='column wrap'>
|
<form fxFlex fxLayout='column wrap'>
|
||||||
<div class="form-group" [formGroup]="formGroup" fxLayout='column wrap' fxFlex>
|
<div class="form-group" [formGroup]="formGroup" fxLayout='column wrap' fxFlex>
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>User name</mat-label>
|
<mat-label>User name</mat-label>
|
||||||
<input matInput type="text" formControlName="userName" #userName required/>
|
<input matInput type="text" formControlName="userName" #userName required/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>Password</mat-label>
|
<mat-label>Password</mat-label>
|
||||||
<input matInput type="password" formControlName="password" #password required/>
|
<input matInput type="password" formControlName="password" #password required/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="error" class="alert alert-danger error" fxFlex>{{error}}</div>
|
<div *ngIf="error" class="alert alert-danger error" fxFlex>{{error}}</div>
|
||||||
<button fxFlex
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
color="primary"
|
color="primary"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue