diff --git a/pages/base.html b/pages/base.html index 4826cc6..3fa0cc4 100644 --- a/pages/base.html +++ b/pages/base.html @@ -7,22 +7,22 @@ dela + - -
+
- Log in - Register + Log in + Register
@@ -55,7 +55,7 @@ if (response.ok) { let barAuth = document.getElementById("bar-auth"); barAuth.innerHTML = "" + username + "" + " | "; - barAuth.innerHTML += ''; + barAuth.innerHTML += ''; document.getElementById("log-out-btn").addEventListener("click", (event) => { // Log out forgetAuthInfo(); diff --git a/pages/index.html b/pages/index.html index 5f22f96..d8777f8 100644 --- a/pages/index.html +++ b/pages/index.html @@ -17,7 +17,7 @@ -
+
@@ -64,13 +64,16 @@ document.addEventListener('DOMContentLoaded', async function() { todos.push(item); let todoCompleteBtnID = "btn-complete-" + String(item.id); + let todoDeleteBtnID = "btn-delete-" + String(item.id); + let todoEditBtnID = "btn-edit-" + String(item.id); // Display let timeCreated = new Date(item.timeCreatedUnix * 1000); todosDiv.innerHTML += "" + item.text + "" + "" + " " + timeCreated.getDate() + "/" + timeCreated.getMonth() + "/" + timeCreated.getFullYear() + "" + ""; + ""; completeButtonIDs.push(todoCompleteBtnID); }); diff --git a/static/android-chrome-192x192.png b/static/images/android-chrome-192x192.png similarity index 100% rename from static/android-chrome-192x192.png rename to static/images/android-chrome-192x192.png diff --git a/static/android-chrome-512x512.png b/static/images/android-chrome-512x512.png similarity index 100% rename from static/android-chrome-512x512.png rename to static/images/android-chrome-512x512.png diff --git a/static/apple-touch-icon.png b/static/images/apple-touch-icon.png similarity index 100% rename from static/apple-touch-icon.png rename to static/images/apple-touch-icon.png diff --git a/static/images/check.svg b/static/images/check.svg new file mode 100644 index 0000000..9de6cc7 --- /dev/null +++ b/static/images/check.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/images/door-open-fill.svg b/static/images/door-open-fill.svg new file mode 100644 index 0000000..d4833a3 --- /dev/null +++ b/static/images/door-open-fill.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/favicon-16x16.png b/static/images/favicon-16x16.png similarity index 100% rename from static/favicon-16x16.png rename to static/images/favicon-16x16.png diff --git a/static/favicon-32x32.png b/static/images/favicon-32x32.png similarity index 100% rename from static/favicon-32x32.png rename to static/images/favicon-32x32.png diff --git a/static/images/favicon.ico b/static/images/favicon.ico new file mode 100644 index 0000000..3e39d10 Binary files /dev/null and b/static/images/favicon.ico differ diff --git a/static/images/person-dash-fill.svg b/static/images/person-dash-fill.svg new file mode 100644 index 0000000..fd719f2 --- /dev/null +++ b/static/images/person-dash-fill.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/static/images/person-fill-add.svg b/static/images/person-fill-add.svg new file mode 100644 index 0000000..4383a85 --- /dev/null +++ b/static/images/person-fill-add.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/static/images/trash3-fill.svg b/static/images/trash3-fill.svg new file mode 100644 index 0000000..e0e81f1 --- /dev/null +++ b/static/images/trash3-fill.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/images/x.svg b/static/images/x.svg new file mode 100644 index 0000000..c865d88 --- /dev/null +++ b/static/images/x.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file