From 158f1c676f0d10f2960fdf237d77935b47aae6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sat, 19 Sep 2026 21:51:03 +0300 Subject: [PATCH] ui: embedded labels (fieldset/legend) for the phone simulator and SCP81 containers - Phone simulator: STK menu, STATUS and Polling, TERMINAL PROFILE and SET UP EVENT LIST become fieldsets with legends; 'Fetched proactive commands:' gains a bordered container - SCP81 listener: the HTTP OTA listener label moves into the legend (the live state span stays next to it), Script results (R-APDUs) and HTTP OTA log become fieldsets (the log's Clear button moves to the body top-right) - Options (applied at Start) stays a details/summary but its summary is styled as an embedded label (page-background patch over the top border, native triangle kept) so it expands/collapses from the legend - html.test.js: card-fieldset test no longer assumes exactly two fieldsets; new guard test for the legends and the Options summary - Tailwind rebuild of style.css; SW cache simple-v192 (version stays 2.4.0) --- frontend/index.html | 58 ++++---- frontend/style.css | 268 ++++++++++++++++++++++++++++++++++-- frontend/sw.js | 2 +- frontend/tests/html.test.js | 34 +++-- 4 files changed, 307 insertions(+), 55 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index a28b27f..875d2f9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -909,15 +909,15 @@
-
-
STK menu
+
+ STK menu
-
-
-
STATUS and Polling
+ +
+ STATUS and Polling
| @@ -925,22 +925,24 @@
-
-
-
TERMINAL PROFILE
+ +
+ TERMINAL PROFILE
-
-
-
Events that the card monitors (SET UP EVENT LIST):
+ +
+ Events that the card monitors (SET UP EVENT LIST):
-
+
-
Fetched proactive commands:
-
+
+ Fetched proactive commands: +
+