admin berreich, user anmeldung

This commit is contained in:
kai
2026-08-25 12:18:53 +02:00
parent 2733818cad
commit c0cfd2fd9b
5 changed files with 252 additions and 32 deletions
+39 -6
View File
@@ -52,6 +52,27 @@
background: #2ea043;
}
.header-actions {
display: flex;
gap: 10px;
align-items: center;
}
.admin-button {
display: inline-block;
padding: 12px 18px;
border: 1px solid #30363d;
border-radius: 10px;
color: #b8c1cc;
text-decoration: none;
white-space: nowrap;
}
.admin-button:hover {
color: #ffffff;
border-color: #58a6ff;
}
.concert-list {
display: grid;
gap: 15px;
@@ -144,12 +165,24 @@
</div>
<a
href="/concerts/new"
class="new-concert-button"
>
+ Konzert hinzufügen
</a>
<div class="header-actions">
{% if user.is_admin %}
<a href="/admin" class="admin-button">
⚙️ Verwaltung
</a>
{% endif %}
<a
href="/concerts/new"
class="new-concert-button"
>
+ Konzert hinzufügen
</a>
</div>
</header>