diff --git a/site/config/loader.py b/site/config/loader.py index 69a2c48..6f1f370 100644 --- a/site/config/loader.py +++ b/site/config/loader.py @@ -80,7 +80,7 @@ SERVICES = _DF["SERVICES"] OPS_INDEX = _DF["OPS_INDEX"] DELAY = float(os.getenv("MOCK_OP_DELAY", "0.1")) -VERSION = "0.5.12" +VERSION = "0.5.13" def get_services(stand_id): diff --git a/site/static/style.css b/site/static/style.css index 38150f0..0773900 100644 --- a/site/static/style.css +++ b/site/static/style.css @@ -74,6 +74,48 @@ body { color: var(--brand-gray); } +/* ── Header stands chips ── */ +.header-stands { + display: flex; + gap: 8px; + margin-top: 8px; +} + +.stand-chip { + display: flex; + align-items: center; + gap: 6px; + padding: 4px 14px; + border: 2px solid var(--border); + border-radius: 100px; + text-decoration: none; + font-size: 13px; + font-weight: 600; + color: var(--text-muted); + transition: all 0.15s; +} + +.stand-chip:hover { + border-color: var(--brand-primary); + color: var(--brand-primary); +} + +.stand-chip .stand-name { + text-transform: uppercase; + font-size: 12px; +} + +.stand-chip .stand-count { + font-size: 11px; + opacity: 0.7; +} + +.stand-active { + border-color: var(--brand-primary); + background: #eff6ff; + color: var(--brand-primary); +} + /* ── Layout ── */ main { max-width: 960px; diff --git a/site/templates/index.html b/site/templates/index.html index 519a317..829c513 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -26,28 +26,19 @@ · Задержка: {{ delay }}s - - - - - -{% if stands_list|length > 1 %} - - - 🖥 Стенды - Вы находитесь на стенде {{ current_stand }} - - + {% if stands_list|length > 1 %} + {% for s in stands_list %} - + {{ s.id }} - {{ s.count }} сервисов - → + {{ s.count }} {% endfor %} - -{% endif %} + {% endif %} + + +