diff --git a/site/static/style.css b/site/static/style.css index fcef29e..3a7ec7a 100644 --- a/site/static/style.css +++ b/site/static/style.css @@ -128,6 +128,31 @@ body { color: var(--brand-primary); } +/* ── Inline stand chips (in header row) ── */ +.stand-chip-inline { + display: inline-block; + padding: 2px 10px; + border: 2px solid var(--border); + border-radius: 100px; + text-decoration: none; + font-size: 12px; + font-weight: 700; + text-transform: uppercase; + color: var(--text-muted); + transition: all 0.15s; +} + +.stand-chip-inline:hover { + border-color: var(--brand-primary); + color: var(--brand-primary); +} + +.stand-chip-inline.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 a1716d4..63d7931 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -13,8 +13,13 @@
polygon v{{ version }} - · + {% if stands_list|length > 1 %} + {% for s in stands_list %} + {{ s.id }} + {% endfor %} + · + {% endif %} 📋 Swagger · @@ -26,16 +31,6 @@ · Задержка: {{ delay }}s
- {% if stands_list|length > 1 %} -
- {% for s in stands_list %} - - {{ s.id }} - {{ s.count }} сервисов - - {% endfor %} -
- {% endif %}