Leitung/Benutzerliste: Rollen- und Status-Badges vereinheitlichen

This commit is contained in:
torsten 2026-11-21 10:10:37 +01:00
parent 1c1860fb5f
commit f21b714d82
2 changed files with 4 additions and 2 deletions

View file

@ -40,7 +40,7 @@
<span class="muted">· <?= e((string) $row['display_name']) ?></span>
<?php endif; ?>
<?php if ($row['status'] !== 'active'): ?>
<span class="badge badge-retired" style="font-size:.6rem">deaktiviert</span>
<span class="badge badge-retired badge-tight">deaktiviert</span>
<?php endif; ?>
</td>
<td class="muted"><?= e((string) ($row['email'] ?? '–')) ?></td>
@ -48,7 +48,7 @@
<?php if ($row['role'] === 'admin'): ?>
<span class="badge badge-admin">Spielleiter</span>
<?php else: ?>
<span class="muted">Spieler</span>
<span class="badge badge-player">Spieler</span>
<?php endif; ?>
</td>
<td class="num"><?= (int) $row['character_count'] ?></td>