diff --git a/src/web/templates/index.html b/src/web/templates/index.html index 457c89b..c03473a 100644 --- a/src/web/templates/index.html +++ b/src/web/templates/index.html @@ -94,34 +94,43 @@ } .viewport-3d canvas { width: 100% !important; height: 100% !important; } - /* Bottom layout: 3D + sidebar panel */ - .court-bottom, .traj-bottom { + /* Full-height tab layout: 3D on top, small bottom bar */ + .tab-full { display: flex; - height: calc(100vh - 100px - 30vw); - overflow: hidden; + flex-direction: column; + height: calc(100vh - 52px); } - .court-main, .traj-main { + .tab-full .viewport-3d { flex: 1; - position: relative; - min-width: 0; - } - .court-main .viewport-3d, - .traj-main .viewport-3d { - width: 100%; - height: 100%; + height: auto; border-top: none; } + .bottom-bar { + display: flex; + align-items: center; + justify-content: center; + gap: 8px; + padding: 6px 8px; + background: #0d0d20; + border-top: 1px solid #222; + } + .cam-thumb { + width: 200px; + flex-shrink: 0; + } + .cam-thumb img { + width: 100%; + border-radius: 4px; + border: 1px solid #222; + display: block; + } /* Sidebar panel (calibration, etc.) */ .sidebar-panel { - width: 220px; - flex-shrink: 0; display: flex; - flex-direction: column; + align-items: center; gap: 8px; - padding: 10px; - background: #111128; - border-left: 1px solid #222; + padding: 4px 12px; } .btn-calibrate { width: 100%; @@ -145,16 +154,12 @@ .calibrate-status .ok { color: #4ecca3; } .calibrate-status .fail { color: #ff4444; } - /* VAR panel (sidebar version) */ - .var-panel-sidebar { - width: 220px; - flex-shrink: 0; + /* VAR panel (bottom bar version) */ + .var-panel-bottom { display: flex; - flex-direction: column; - gap: 8px; - padding: 10px; - background: #111128; - border-left: 1px solid #222; + align-items: center; + gap: 10px; + padding: 4px 12px; } .var-indicator { display: flex; @@ -274,55 +279,43 @@ - +
-
-
- Camera 1 -
-
- Camera 0 -
-
-
-
-
-
-