diff options
author | crupest <crupest@outlook.com> | 2019-02-04 23:25:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-02-04 23:25:33 +0800 |
commit | fdc51c9e4ac225311e4e14923e6b48efbd05a6e1 (patch) | |
tree | 387fa924f0fbdd7b40a25029d5e7c3955764272b /Timeline/ClientApp/src/app/home/home.component.ts | |
download | timeline-fdc51c9e4ac225311e4e14923e6b48efbd05a6e1.tar.gz timeline-fdc51c9e4ac225311e4e14923e6b48efbd05a6e1.tar.bz2 timeline-fdc51c9e4ac225311e4e14923e6b48efbd05a6e1.zip |
Init commit.
Diffstat (limited to 'Timeline/ClientApp/src/app/home/home.component.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/home/home.component.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/home/home.component.ts b/Timeline/ClientApp/src/app/home/home.component.ts new file mode 100644 index 00000000..873aee7f --- /dev/null +++ b/Timeline/ClientApp/src/app/home/home.component.ts @@ -0,0 +1,27 @@ +import { Component, OnInit } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; + +class LoginInfo { + username = ''; + password = ''; +} + +@Component({ + selector: 'app-home', + templateUrl: './home.component.html', + styleUrls: ['./home.component.css'] +}) +export class HomeComponent implements OnInit { + + loginInfo = new LoginInfo(); + message = ''; + + constructor(/* private http: HttpClient */) { } + + ngOnInit() { + } + + tryLogin() { + alert('Not implemented!!!'); + } +} |