Upload via GUI (267 Dateien)

This commit is contained in:
2026-10-19 18:06:00 +00:00
parent c800be9693
commit 51656d6578
13 changed files with 516 additions and 54 deletions
+2
View File
@@ -106,6 +106,7 @@ require __DIR__ . '/_header.php';
<div style="display:flex;gap:4px;padding:10px 12px 0;border-bottom:1px solid var(--border)">
<button type="button" class="tab-btn" data-tab="dept">Abteilung</button>
<button type="button" class="tab-btn" data-tab="members">Mitglieder<?= $editDept ? ' (' . count($members) . ')' : '' ?></button>
<?php if ($editDept): ?><a href="/staff/department_form.php?dept=<?= (int) $editDept['id'] ?>" class="tab-btn" style="text-decoration:none">Ticket-Formular<?= !empty($editDept['own_form']) ? ' ✓' : '' ?></a><?php endif; ?>
</div>
<div class="tab-pane" data-pane="dept" style="padding:16px 20px">
@@ -224,6 +225,7 @@ require __DIR__ . '/_header.php';
<td class="muted" style="font-size:.82rem"><?= e($fmt($d['updated_at'] ?? null)) ?></td>
<td style="white-space:nowrap">
<a href="/staff/departments.php?edit=<?= (int) $d['id'] ?>">Bearbeiten</a> ·
<a href="/staff/department_form.php?dept=<?= (int) $d['id'] ?>">Formular<?= !empty($d['own_form']) ? ' ✓' : '' ?></a> ·
<form method="post" style="display:inline" onsubmit="return confirm('Abteilung wirklich löschen?');">
<?= csrf_field() ?>
<input type="hidden" name="action" value="delete">