admin berreich, user anmeldung
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user