From 21e2265e2d79fad2dc4c2675b96997f3162fdbf4 Mon Sep 17 00:00:00 2001 From: kai Date: Tue, 25 Aug 2026 12:32:28 +0200 Subject: [PATCH] =?UTF-8?q?bearbeiten=20Button=20f=C3=BCr=20admin=20angepa?= =?UTF-8?q?sst,=20l=C3=B6schen=20Button=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/style.css | 23 +++++++++++++++++++++++ app/templates/concert_detail.html | 14 ++++++++++++++ 2 files changed, 37 insertions(+) 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 %}