diff options
| author | crupest <crupest@outlook.com> | 2019-04-11 19:18:37 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-04-11 19:18:37 +0800 |
| commit | a21a82474afa393d142ed27a410e759608704979 (patch) | |
| tree | 4b54d0a07311a910bb14fcaf949a126ab52a452b /Timeline/ClientApp/src/app/user/user-login/user-login.component.html | |
| parent | e436cf9ebb4776e3c837f1b0935f3ea2bf254d79 (diff) | |
| download | timeline-a21a82474afa393d142ed27a410e759608704979.tar.gz timeline-a21a82474afa393d142ed27a410e759608704979.tar.bz2 timeline-a21a82474afa393d142ed27a410e759608704979.zip | |
Add remember me.
Diffstat (limited to 'Timeline/ClientApp/src/app/user/user-login/user-login.component.html')
| -rw-r--r-- | Timeline/ClientApp/src/app/user/user-login/user-login.component.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Timeline/ClientApp/src/app/user/user-login/user-login.component.html b/Timeline/ClientApp/src/app/user/user-login/user-login.component.html index b1dd289d..7398ece7 100644 --- a/Timeline/ClientApp/src/app/user/user-login/user-login.component.html +++ b/Timeline/ClientApp/src/app/user/user-login/user-login.component.html @@ -1,8 +1,8 @@ <form [formGroup]="form"> <ng-container *ngIf="message" [ngSwitch]="message"> - <p *ngSwitchCase="'nologin'" class="mat-body no-login-message">You haven't login.</p> - <p *ngSwitchCase="'invalidlogin'" class="mat-body invalid-login-message">Your login is no longer valid.</p> - <p *ngSwitchDefault class="mat-body error-message">{{ message }}</p> + <p *ngSwitchCase="'nologin'" class="mat-h3 no-login-message">You haven't login.</p> + <p *ngSwitchCase="'invalidlogin'" class="mat-h3 invalid-login-message">Your login is no longer valid.</p> + <p *ngSwitchDefault class="mat-h3 error-message">{{ message }}</p> </ng-container> <mat-form-field> <mat-label>Username</mat-label> @@ -13,6 +13,7 @@ <mat-label>Password</mat-label> <input formControlName="password" matInput type="password" /> </mat-form-field> + <mat-checkbox formControlName="rememberMe">Remember me!</mat-checkbox> <div class="w-100"></div> <button mat-flat-button class="login-button" (appDebounceClick)="onLoginButtonClick()">Login</button> </form> |
