aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/home/home.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/ClientApp/src/app/home/home.component.ts')
-rw-r--r--Timeline/ClientApp/src/app/home/home.component.ts27
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!!!');
+ }
+}