aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/user-login/user-login.component.html
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-04 16:30:44 +0800
committercrupest <crupest@outlook.com>2019-03-04 16:30:44 +0800
commit0073d146e8d9dab4ad87c0c782dbbfb26378a3b2 (patch)
treefbab7724759fad1b81cca4b8042d6d45fd55e3bd /Timeline/ClientApp/src/app/user-login/user-login.component.html
parent2f9e5f37c1a7237b45caf57c2606a07fd52955c9 (diff)
downloadtimeline-0073d146e8d9dab4ad87c0c782dbbfb26378a3b2.tar.gz
timeline-0073d146e8d9dab4ad87c0c782dbbfb26378a3b2.tar.bz2
timeline-0073d146e8d9dab4ad87c0c782dbbfb26378a3b2.zip
Develop some basic parts of auth.
Diffstat (limited to 'Timeline/ClientApp/src/app/user-login/user-login.component.html')
-rw-r--r--Timeline/ClientApp/src/app/user-login/user-login.component.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/user-login/user-login.component.html b/Timeline/ClientApp/src/app/user-login/user-login.component.html
new file mode 100644
index 00000000..6fed6bb5
--- /dev/null
+++ b/Timeline/ClientApp/src/app/user-login/user-login.component.html
@@ -0,0 +1,13 @@
+<form [formGroup]="form">
+ <mat-form-field>
+ <mat-label>Username</mat-label>
+ <input formControlName="username" matInput type="text" />
+ </mat-form-field>
+ <div class="w-100"></div>
+ <mat-form-field>
+ <mat-label>Password</mat-label>
+ <input formControlName="password" matInput type="password" />
+ </mat-form-field>
+ <div class="w-100"></div>
+ <button mat-flat-button class="login-button" (appDebounceClick)="onLoginButtonClick()">Login</button>
+</form>