From 49d0405dd49835e8d91d57c3ea9cc41e66245322 Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Thu, 5 Oct 2023 19:17:24 +0300 Subject: [PATCH] feat: button images --- pages/base.html | 12 ++++++------ pages/index.html | 7 +++++-- static/{ => images}/android-chrome-192x192.png | Bin static/{ => images}/android-chrome-512x512.png | Bin static/{ => images}/apple-touch-icon.png | Bin static/images/check.svg | 3 +++ static/images/door-open-fill.svg | 3 +++ static/{ => images}/favicon-16x16.png | Bin static/{ => images}/favicon-32x32.png | Bin static/images/favicon.ico | Bin 0 -> 34494 bytes static/images/person-dash-fill.svg | 4 ++++ static/images/person-fill-add.svg | 4 ++++ static/images/trash3-fill.svg | 3 +++ static/images/x.svg | 3 +++ 14 files changed, 31 insertions(+), 8 deletions(-) rename static/{ => images}/android-chrome-192x192.png (100%) rename static/{ => images}/android-chrome-512x512.png (100%) rename static/{ => images}/apple-touch-icon.png (100%) create mode 100644 static/images/check.svg create mode 100644 static/images/door-open-fill.svg rename static/{ => images}/favicon-16x16.png (100%) rename static/{ => images}/favicon-32x32.png (100%) create mode 100644 static/images/favicon.ico create mode 100644 static/images/person-dash-fill.svg create mode 100644 static/images/person-fill-add.svg create mode 100644 static/images/trash3-fill.svg create mode 100644 static/images/x.svg 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 0000000000000000000000000000000000000000..3e39d10e90c00dcda9b8eb68da5bca223ca15f3c GIT binary patch literal 34494 zcmeI537AyXm4G|*&3yCCWHOU4CMGkQ#JKOWitJ5Sb#?U$2pSY{*BGPGXf&EcF~$W@ z;=*DB4c%2uH;aI5iYOo=0xr0K3M#k&3MdG&uYKqIr|J~1UsqRGH_fKGe2@3)y?f6+ z=Pu`-?cUDF_+G}pW&H4m8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By`*5*yqC z*;lko?Ap+8dg6iLW@X`B*dEv~LtW^U=<~=E$S0PsA$MrR)^B}pck_QB3)co0T?5^X z^~=^qetXyM+RE1FJ@9A)oT#+Nt|&2zfc>I z@Qx$7e{02!xQ_hL`nj%mxsj}gzpL?&);8be_*ZKKkvopM_-Al7 z{2Sx0lccjL{3aknMl6HsFptDYE4*WJ|T7r_h~il~L;3cGzy&{}wwl@38ED^R|KLlKef) z{@M%rd1Ak6%=6H^G&ST|+Tllek>EYDPOL1LaB%j&0$bYo9_nfc zj)$sD?#SFMInRD@t^1#oj1R^P>sPY<&%nwr&&fPg_%~)f>?Og^5SBgdvUbeE-zfdK gq2_!DZr~evgs(iFD|_ZC+nBig6V^Xlz~2J@4}MYTxBvhE literal 0 HcmV?d00001 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