From 9d12460247d080164b176a2c03ba0b39de41cecc Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 19 Nov 2025 13:09:51 +0100 Subject: Added synchronization across different devices; .value for buttons checkpoint Added login with pin code checkpoint checkpoint --- code/index.tmpl.html | 162 +++++++++++++++++++++++++++++++++++++++------- code/noelan.go | 178 ++++++++++++++++++++++++++++++++++----------------- 2 files changed, 261 insertions(+), 79 deletions(-) diff --git a/code/index.tmpl.html b/code/index.tmpl.html index f60ecf6..4c392bb 100644 --- a/code/index.tmpl.html +++ b/code/index.tmpl.html @@ -11,6 +11,8 @@ The `global_all_data` object has all the data necessary for the application to w TODO(luca): Get rid of PicoCSS, because it does not make a good responsive UI. +TODO(luca): Check error messages maybe sending too much information. (e.g., "invalid person" can be bruteforced to find the person's names) + --> {{ end }} @@ -74,6 +76,27 @@ textarea { } } +div#pin-login { + margin: 2em 5em 0em 5em; + display: flex; + justify-content: center; + align-items: center; +} +div#pin-login > input { + display: flex; + flex: 5; +} +button#pin-login-button { + display: flex; + flex: 1; +} +div.pin-text-container { + display: flex; + align-items: center; +} +div.pin-text-container > span { +} +