aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-26 18:18:29 +0800
committercrupest <crupest@outlook.com>2019-02-26 18:18:29 +0800
commitd55648859a53dce157939d96a20bd5725b3a1fae (patch)
treeb3956c48e50313008b44eca761b6afdb7cd6982f /Timeline/ClientApp/src
parentcd28058f07fda57f6569316723f776f1b9b80e50 (diff)
downloadtimeline-d55648859a53dce157939d96a20bd5725b3a1fae.tar.gz
timeline-d55648859a53dce157939d96a20bd5725b3a1fae.tar.bz2
timeline-d55648859a53dce157939d96a20bd5725b3a1fae.zip
Create user dialog.
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r--Timeline/ClientApp/src/app/app.module.ts4
-rw-r--r--Timeline/ClientApp/src/app/user-dialog/user-dialog.component.css0
-rw-r--r--Timeline/ClientApp/src/app/user-dialog/user-dialog.component.html3
-rw-r--r--Timeline/ClientApp/src/app/user-dialog/user-dialog.component.spec.ts25
-rw-r--r--Timeline/ClientApp/src/app/user-dialog/user-dialog.component.ts15
5 files changed, 46 insertions, 1 deletions
diff --git a/Timeline/ClientApp/src/app/app.module.ts b/Timeline/ClientApp/src/app/app.module.ts
index 86511be8..1f5e71a6 100644
--- a/Timeline/ClientApp/src/app/app.module.ts
+++ b/Timeline/ClientApp/src/app/app.module.ts
@@ -13,13 +13,15 @@ import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
import { TodoListPageComponent } from './todo-list-page/todo-list-page.component';
import { TodoItemComponent } from './todo-item/todo-item.component';
+import { UserDialogComponent } from './user-dialog/user-dialog.component';
@NgModule({
declarations: [
AppComponent,
HomeComponent,
TodoListPageComponent,
- TodoItemComponent
+ TodoItemComponent,
+ UserDialogComponent
],
imports: [
BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),
diff --git a/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.css b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.css
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.css
diff --git a/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.html b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.html
new file mode 100644
index 00000000..36fc9792
--- /dev/null
+++ b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.html
@@ -0,0 +1,3 @@
+<p>
+ user-dialog works!
+</p>
diff --git a/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.spec.ts b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.spec.ts
new file mode 100644
index 00000000..786fc0d4
--- /dev/null
+++ b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { UserDialogComponent } from './user-dialog.component';
+
+describe('UserDialogComponent', () => {
+ let component: UserDialogComponent;
+ let fixture: ComponentFixture<UserDialogComponent>;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ UserDialogComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(UserDialogComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.ts b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.ts
new file mode 100644
index 00000000..0db40952
--- /dev/null
+++ b/Timeline/ClientApp/src/app/user-dialog/user-dialog.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-user-dialog',
+ templateUrl: './user-dialog.component.html',
+ styleUrls: ['./user-dialog.component.css']
+})
+export class UserDialogComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}