diff --git a/Lab01/app/templates/tasks.tmpl b/Lab01/app/templates/tasks.tmpl index c432522..66c249c 100644 --- a/Lab01/app/templates/tasks.tmpl +++ b/Lab01/app/templates/tasks.tmpl @@ -12,6 +12,21 @@
{{ .title }}

+
+
+
+
+
+ +
+ Please provide a description. +
+
+
+
+ +
+
{{template "scripts" .}} @@ -24,9 +39,10 @@ const taskHeader = document.createElement("div"); taskHeader.classList.add('row', 'g-0', 'align-items-center', 'mb-1'); taskHeader.innerHTML = ` -
ID
-
Description
-
Done
+
ID
+
Description
+
Done
+
Delete

`; tasksEl.appendChild(taskHeader); @@ -36,9 +52,12 @@ const newTask = document.createElement('div'); newTask.classList.add('row', 'g-0', 'align-items-center', 'mb-1'); newTask.innerHTML = ` -
${task.ID}
-
${task.Description}
-
+
${task.ID}
+
${task.Description}
+
+ +
+ `; tasksEl.appendChild(newTask); });