From 742a3c72c7ece269f6955cf0ad14091cbaca8662 Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Sun, 20 Sep 2026 01:21:05 +0200 Subject: [PATCH] Premades: class icon next to member class labels, invite tooltip Members class label now shows the matching class icon to its left, matching the class-action tile. The non-clickable placeholder on non-invitable empty slots now carries a tooltip explaining why (no manage rights, or no eligible members) instead of silently doing nothing. Co-Authored-By: Claude Sonnet 5 --- assets/css/style.css | 13 +++++++++++++ premades.php | 12 ++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index bf87690..75426d1 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -902,6 +902,19 @@ input:focus, select:focus, textarea:focus { gap: 0.1rem; } +.premade-slot-class { + display: inline-flex; + align-items: center; + gap: 0.3rem; +} + +.premade-slot-class-icon { + width: 14px; + height: 14px; + object-fit: contain; + flex-shrink: 0; +} + .premade-slot-name strong { overflow: hidden; text-overflow: ellipsis; diff --git a/premades.php b/premades.php index bdced17..9778765 100644 --- a/premades.php +++ b/premades.php @@ -204,8 +204,10 @@ include __DIR__ . '/includes/header.php';
+ + + - + + +
@@ -226,7 +228,13 @@ include __DIR__ . '/includes/header.php'; Einladung offen - + + + + + + +