aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-23 23:55:04 +0800
committercrupest <crupest@outlook.com>2019-02-23 23:55:04 +0800
commitaaafdb323fddfa4654117b84b371ba49de3dd433 (patch)
treede7a451c3da77ab453043468fcc169ad25025a79 /Timeline/ClientApp/src/app/todo-item/todo-item.component.ts
parent830cecd7d03ecd49550adb76a578a7ad4005ffe5 (diff)
downloadtimeline-aaafdb323fddfa4654117b84b371ba49de3dd433.tar.gz
timeline-aaafdb323fddfa4654117b84b371ba49de3dd433.tar.bz2
timeline-aaafdb323fddfa4654117b84b371ba49de3dd433.zip
Add icon of todo list and redesign the page.
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-item/todo-item.component.ts')
-rw-r--r--Timeline/ClientApp/src/app/todo-item/todo-item.component.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts b/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts
new file mode 100644
index 00000000..27d57e28
--- /dev/null
+++ b/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts
@@ -0,0 +1,14 @@
+import { Component, OnInit, Input } from '@angular/core';
+import { WorkItem } from '../todo-list-page/todo-list.service';
+
+@Component({
+ selector: 'app-todo-item',
+ templateUrl: './todo-item.component.html',
+ styleUrls: ['./todo-item.component.css', '../todo-list-page/todo-list-color-block.css']
+})
+export class TodoItemComponent {
+
+ @Input() item: WorkItem;
+
+
+}