From 22c24c0296d44a02a40a45373da8300895482e83 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Sat, 7 Mar 2026 12:43:38 +0700 Subject: [PATCH] fix: vertical cam params card, URL-based tabs, all english - Cam card vertical with Base Setup title and sensor info - Calibrate button inside the card - Tabs linked to URL hash (#detection, #court, #trajectory) Co-Authored-By: Claude Opus 4.6 --- src/web/templates/index.html | 82 +++++++++++++++++++++++------------- 1 file changed, 52 insertions(+), 30 deletions(-) diff --git a/src/web/templates/index.html b/src/web/templates/index.html index 885ebcb..5b4c175 100644 --- a/src/web/templates/index.html +++ b/src/web/templates/index.html @@ -125,13 +125,8 @@ display: block; } - /* Sidebar panel (calibration, etc.) */ - .sidebar-panel { - display: flex; - align-items: center; - gap: 8px; - padding: 4px 12px; - } + /* Sidebar panel (unused, kept for compat) */ + .sidebar-panel { display: none; } .btn-calibrate { width: 100%; padding: 8px 12px; @@ -213,22 +208,40 @@ height: 60px; } - /* Camera params card */ + /* Camera params card (vertical) */ .cam-card { display: flex; - gap: 10px; - align-items: center; - padding: 4px 10px; + flex-direction: column; + gap: 2px; + padding: 6px 10px; background: #111128; border: 1px solid #2a2a4a; border-radius: 6px; font-size: 11px; color: #888; + min-width: 120px; + } + .cc-title { + font-size: 10px; + font-weight: 700; + color: #666; + text-transform: uppercase; + letter-spacing: 0.5px; + margin-bottom: 2px; + } + .cc-item { + display: flex; + justify-content: space-between; + gap: 8px; } .cc-item b { color: #4ecca3; font-weight: 600; } + .cc-divider { + border-top: 1px solid #2a2a4a; + margin: 3px 0; + } /* Event banner */ .event-banner { @@ -304,13 +317,14 @@
Camera 1
Camera 0
- Dist 1.0m - H 1.0m - Stereo 6cm - Rot 15° - HFOV 128° -
-