кнопка входа в редактирование базы для админов на странице выбора матча

This commit is contained in:
2026-04-23 11:09:05 +03:00
parent 7ff30c646e
commit f7e7c09558
2 changed files with 3 additions and 0 deletions

View File

@@ -372,6 +372,9 @@
<div class="subtitle">Рабочая панель оператора трансляции</div>
</div>
<div class="page-actions">
{% if current_user and current_user.get("role") == "admin" %}
<a href="/admin/db" class="btn btn-secondary" title="База данных">🗄️</a>
{% endif %}
<form method="post" action="/logout" class="logout-form">
<button type="submit" class="btn btn-secondary">Выйти</button>
</form>

BIN
vmix.zip

Binary file not shown.