design: dark minimal header

This commit is contained in:
2026-05-04 13:06:29 +00:00
parent d8f9f4c87f
commit 045b21c514
2 changed files with 44 additions and 12 deletions
+5 -5
View File
@@ -32,16 +32,16 @@
</div>
<header class="header">
<div style="display:flex; align-items:center; gap:0.6rem;">
<div class="header-left">
<img src="/static/logo.png" alt="MONT" class="header-logo" />
<div>{{ user.username }}</div>
</div>
<div style="display:flex; gap:0.5rem;">
<div class="header-right">
<span class="header-username">{{ user.username }}</span>
{% if user.is_admin %}
<a href="/admin" class="btn-link secondary">Администрирование</a>
<a href="/admin" class="header-btn">Администрирование</a>
{% endif %}
<form method="post" action="/logout">
<button type="submit">Выход</button>
<button type="submit" class="header-btn header-btn-logout">Выход</button>
</form>
</div>
</header>