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 | 4fea4164fad943eebc1850042994fdbaad3682f9 (patch) | |
tree | 36522d986769b0520afd53a791674644305a1dd1 /Timeline/ClientApp/src/app/home/home.component.ts | |
download | timeline-4fea4164fad943eebc1850042994fdbaad3682f9.tar.gz timeline-4fea4164fad943eebc1850042994fdbaad3682f9.tar.bz2 timeline-4fea4164fad943eebc1850042994fdbaad3682f9.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!!!'); + } +} |