v0.5.13: стенды в sticky-header — чипсы вместо карточек

This commit is contained in:
2026-08-03 09:27:00 +04:00
parent fa74edf076
commit d26f9a6818
3 changed files with 51 additions and 18 deletions
+8 -17
View File
@@ -26,28 +26,19 @@
<span class="sep">·</span>
<span>Задержка: <strong>{{ delay }}s</strong></span>
</div>
</header>
<main>
<!-- ── Стенды ── -->
{% if stands_list|length > 1 %}
<section class="card card-stands">
<div class="card-header">
<h2>🖥 Стенды</h2>
<span class="muted">Вы находитесь на стенде <strong>{{ current_stand }}</strong></span>
</div>
<div class="card-body stands-grid">
{% if stands_list|length > 1 %}
<div class="header-stands">
{% for s in stands_list %}
<a href="/{{ s.id }}/" class="stand-card {% if s.id == current_stand %}stand-active{% endif %}">
<a href="/{{ s.id }}/" class="stand-chip {% if s.id == current_stand %}stand-active{% endif %}">
<span class="stand-name">{{ s.id }}</span>
<span class="stand-count">{{ s.count }} сервисов</span>
<span class="stand-arrow"></span>
<span class="stand-count">{{ s.count }}</span>
</a>
{% endfor %}
</div>
</section>
{% endif %}
{% endif %}
</header>
<main>
<!-- ── Что такое Polygon ── -->
<section class="card">