From 07c3cdc923cd40bd1d75552eddd8192098c69802 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: Tue, 25 Aug 2026 17:06:36 +0300 Subject: [PATCH] UI: SCP80 top-level tab hosting Secured packet + Cards pills; v1.9.9 Secured Packet and Cards pages move into a new SCP80 top-level tab (positioned next to C-APDU), switched by rounded-full pills - both features are SCP80 concerns and more SCP80 operations are planned. - nav: 'sp'/'cards' buttons replaced by single data-tab=scp80 button - new #tab-scp80 with scp80-subtab pills and re-parented page wrappers (#scp80-sub-sp / #scp80-sub-cards); all element IDs preserved so genSp/verify/send-to-card/CNTR-sync/preset flows are untouched - switchTab(): sp/cards branches replaced by scp80 -> help anchor - new scp80SwitchSubtab(): pill styling, wrapper visibility, per-pill help anchor (secured-packet | cards) - packToSp() hands off via switchTab('scp80') + Secured packet pill Version 1.9.8 -> 1.9.9 everywhere; SW cache otaman-v19 -> otaman-v20 --- docs/api.md | 2 +- frontend/index.html | 131 ++++++++++++++++++++-------------- frontend/sw.js | 2 +- pyproject.toml | 2 +- pysim_otaman_server/server.py | 2 +- 5 files changed, 81 insertions(+), 58 deletions(-) diff --git a/docs/api.md b/docs/api.md index e0648d0..89aae04 100644 --- a/docs/api.md +++ b/docs/api.md @@ -54,7 +54,7 @@ Returns server version for compatibility checking. **Example response:** ```json -{"version": "1.9.8"} +{"version": "1.9.9"} ``` ### `GET /api/status` diff --git a/frontend/index.html b/frontend/index.html index f694a5b..21dc2b9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -18,7 +18,7 @@
-

OTAMan SIM OTA with a Human Face v1.9.8

+

OTAMan SIM OTA with a Human Face v1.9.9

github @@ -30,9 +30,8 @@
- + -
@@ -672,7 +671,12 @@
-