From 8c659e2be580315640e9a7abfcaff78742878d56 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Tue, 21 Jul 2026 10:46:55 +0200 Subject: [PATCH] Redesign the test/admin UIs and drop the on-page log panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New visual system from the ui-ux-pro-max skill (gold/purple accents, Fira Sans + Fira Code, light mode, WCAG AA contrast): card layout, tabbed login/register, loading states on every button, and toast feedback instead of a raw request/response JSON dump. The dump is gone from both pages — diagnosing an error now means reading logs/app.log, not staring at the page. Co-Authored-By: Claude Sonnet 5 --- app/static/admin.html | 209 ++++++++++++++++++------ app/static/index.html | 366 ++++++++++++++++++++++++++++++++++-------- 2 files changed, 451 insertions(+), 124 deletions(-) diff --git a/app/static/admin.html b/app/static/admin.html index e692dfc..104bee3 100644 --- a/app/static/admin.html +++ b/app/static/admin.html @@ -2,51 +2,157 @@ -PLM Lottery - Admin + +PLM Lottery — Admin -

PLM Lottery - Pannello Admin

+
+

PLM Lottery — Admin

+

Configurazione operativa del round

+
-
-

- Configurazione operativa (indirizzo fee, importo bet), salvata nel database e modificabile in - qualsiasi momento senza riavviare il server. Serve il token admin (variabile ADMIN_TOKEN - nel file .env del server). +

+

+ Salvata nel database, modificabile in qualsiasi momento senza riavviare il server. + Serve il token admin (ADMIN_TOKEN nel .env del server).

- + - + -
+ -

Log

-

+
diff --git a/app/static/index.html b/app/static/index.html index a5924a5..2f2ad71 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -2,78 +2,251 @@ -PLM Lottery - Test UI + +PLM Lottery — Test -

PLM Lottery - Test UI

+
+

PLM Lottery

+

Dashboard di test — mainnet reale

+
-
-
-
-

Registrati

- - - - - -
-
-

Login

- - - - - -
+
+
+
Login
+
Registrati
+
+ +
+ + + + + +
+ +
+ + + + +
-

Log

-

+