Drink it cold: Terminplanung für Kühlanhänger

This commit is contained in:
OpenCode 2026-11-13 00:35:39 +01:00
commit ec88c8ebac
55 changed files with 7091 additions and 0 deletions

15
views/_admin_nav.php Normal file
View file

@ -0,0 +1,15 @@
<?php
$path = current_path();
$items = [
'/admin/users' => ['label' => 'Benutzer', 'icon' => 'i-user'],
'/admin/employees' => ['label' => 'Mitarbeiter', 'icon' => 'i-users'],
'/admin/trailers' => ['label' => 'Anhänger', 'icon' => 'i-truck'],
];
?>
<nav class="admin-nav" aria-label="Verwaltung">
<?php foreach ($items as $href => $item): ?>
<a href="<?= e(url($href)) ?>"<?= str_starts_with($path, $href) ? ' class="is-active" aria-current="page"' : '' ?>>
<svg class="ico" aria-hidden="true"><use href="#<?= e($item['icon']) ?>"/></svg><?= e($item['label']) ?>
</a>
<?php endforeach; ?>
</nav>