diff --git a/app/static/style.css b/app/static/style.css index 8ec84ad..2a3ba45 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -42,6 +42,29 @@ a { .detail-actions { margin-top: 30px; + display: flex; + flex-wrap: wrap; + gap: 10px; +} + +.detail-actions form { + margin: 0; +} + +.delete-concert-button { + display: inline-block; + padding: 10px 14px; + background: #b42318; + color: #ffffff; + border: 0; + border-radius: 9px; + font: inherit; + font-weight: bold; + cursor: pointer; +} + +.delete-concert-button:hover { + background: #dc2626; } .edit-button:hover { diff --git a/app/templates/concert_detail.html b/app/templates/concert_detail.html index 739224a..b1fa240 100644 --- a/app/templates/concert_detail.html +++ b/app/templates/concert_detail.html @@ -177,6 +177,20 @@ ✏️ Konzert bearbeiten + + {% if user.is_admin and can_delete %} + +
+ + {% endif %} {% endif %}