v0.5.18: DEV/TEST/PROD в одной строке с лого и Swagger

This commit is contained in:
2026-08-03 10:12:55 +04:00
parent 03d2d713b4
commit 9327f1cd43
2 changed files with 31 additions and 11 deletions
+6 -11
View File
@@ -13,8 +13,13 @@
<header class="header">
<div class="header-top">
<span class="badge badge-blue">polygon v{{ version }}</span>
<span class="sep">·</span>
<img src="{{ url_for('static', filename='logo.svg') }}" alt="Nubes" class="logo" width="108" height="24">
{% if stands_list|length > 1 %}
{% for s in stands_list %}
<a href="/{{ s.id }}/" class="stand-chip-inline {% if s.id == current_stand %}stand-active{% endif %}">{{ s.id }}</a>
{% endfor %}
<span class="sep">·</span>
{% endif %}
<a href="/swagger" class="swagger-link">📋 Swagger</a>
<span class="sep">·</span>
<span class="dot dot-green"></span>
@@ -26,16 +31,6 @@
<span class="sep">·</span>
<span class="header-stat">Задержка: <strong>{{ delay }}s</strong></span>
</div>
{% if stands_list|length > 1 %}
<div class="header-stands">
{% for s in stands_list %}
<a href="/{{ s.id }}/" class="stand-card-sm {% if s.id == current_stand %}stand-active{% endif %}">
<span class="stand-name">{{ s.id }}</span>
<span class="stand-count">{{ s.count }} сервисов</span>
</a>
{% endfor %}
</div>
{% endif %}
</header>
<main>