From e71b10f30e1fb10c203fd11314b6296631a39bfd Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 6 Nov 2025 00:37:27 +0100 Subject: Fixed bug where local storage key would not be set.; Added slow and internal mode options --- index.tmpl.html | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'index.tmpl.html') diff --git a/index.tmpl.html b/index.tmpl.html index f339e4d..cedd378 100644 --- a/index.tmpl.html +++ b/index.tmpl.html @@ -67,7 +67,7 @@ let people = {"name": "{{.Name}}", "has_picked": {{.HasPicked}},}, {{ end }} ]; -let local_storage_key = "{{.KeyID}}"; +let local_storage_key = "{{.Key}}"; let global_all_data = { initialized: false, @@ -97,11 +97,12 @@ function findPersonByName(picking_person_name) { //- Pages function setPageChoose() { document.body.innerHTML = ` -
-

Qui es-tu?

-
-
-
`; +
+

Qui es-tu?

+
+
+
+ `; let buttons = document.querySelector("div.buttons"); for(let index = 0; index < people.length; index += 1) @@ -204,17 +205,18 @@ function setPageThisPerson() { document.body.innerHTML = `
-

Noël-An de  ${global_all_data.thisName}

+

Noël-An de  ${global_all_data.thisName}

-

Infos:

- +

Infos:

+
`; -- cgit v1.2.3-70-g09d2