diff --git a/db.json b/db.json index c4c499a..adc9d0b 100644 --- a/db.json +++ b/db.json @@ -1,10 +1,16 @@ { "tasks": [ { - "title": "Drink Coffee", + "title": "30 secs side plank", "completed": false, "editing": false, - "id": 1 + "id": 4 + }, + { + "title": "sleep", + "completed": false, + "editing": false, + "id": 5 } ] } \ No newline at end of file diff --git a/src/app/Todo-List-App/components/todo-empty/todo-empty.component.css b/src/app/Todo-List-App/components/todo-empty/todo-empty.component.css index 17bd207..09ff59a 100644 --- a/src/app/Todo-List-App/components/todo-empty/todo-empty.component.css +++ b/src/app/Todo-List-App/components/todo-empty/todo-empty.component.css @@ -1,8 +1,9 @@ -h3{ +h5{ font-size: 2em; + margin-top: 1em; } -.img-div, h3{ +.img-div, h5{ display: flex; justify-content: center; } diff --git a/src/app/Todo-List-App/components/todo-empty/todo-empty.component.html b/src/app/Todo-List-App/components/todo-empty/todo-empty.component.html index 08682d1..5ca9ede 100644 --- a/src/app/Todo-List-App/components/todo-empty/todo-empty.component.html +++ b/src/app/Todo-List-App/components/todo-empty/todo-empty.component.html @@ -1,6 +1,6 @@
-

All Task Accomplished 👻

-
+
Yey! All task has been completed 👻
+
diff --git a/src/app/Todo-List-App/containers/TodoList/todo-list.component.css b/src/app/Todo-List-App/containers/TodoList/todo-list.component.css index 84fda37..bd99c58 100644 --- a/src/app/Todo-List-App/containers/TodoList/todo-list.component.css +++ b/src/app/Todo-List-App/containers/TodoList/todo-list.component.css @@ -32,6 +32,8 @@ li > *{ margin: 2px; } + + .main{ max-width: 50%; box-shadow: 8px 6px#858181; diff --git a/src/app/Todo-List-App/containers/TodoList/todo-list.component.html b/src/app/Todo-List-App/containers/TodoList/todo-list.component.html index c0373dd..bf962b4 100644 --- a/src/app/Todo-List-App/containers/TodoList/todo-list.component.html +++ b/src/app/Todo-List-App/containers/TodoList/todo-list.component.html @@ -4,9 +4,7 @@

TODO LIST

-
-
Select All
-
+
Select All
@@ -23,15 +21,15 @@ -
+
- +
- +
diff --git a/src/app/Todo-List-App/containers/TodoList/todo-list.component.ts b/src/app/Todo-List-App/containers/TodoList/todo-list.component.ts index ad34121..db13486 100644 --- a/src/app/Todo-List-App/containers/TodoList/todo-list.component.ts +++ b/src/app/Todo-List-App/containers/TodoList/todo-list.component.ts @@ -26,7 +26,7 @@ export class TodoList{ taskId: number; taskTitle: string; editing: boolean = false; - tasks:Tasks[]; + tasks:Tasks[] = []; beforeEditing: string; today: number = Date.now();