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

109
views/login.php Normal file
View file

@ -0,0 +1,109 @@
<?php
/** @var string $error */
/** @var string $first */
/** @var string $last */
/** @var bool $remember */
/** @var string $next */
?>
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#196abc">
<title>Anmelden · Drink it cold</title>
<link rel="icon" type="image/svg+xml" href="<?= e(asset('favicon.svg')) ?>">
<link rel="apple-touch-icon" href="<?= e(asset('logo-mark.svg')) ?>">
<link rel="preload" as="image" href="<?= e(asset('img/hero-1280.webp')) ?>" imagesrcset="<?= e(asset('img/hero-800.webp')) ?> 800w, <?= e(asset('img/hero-1280.webp')) ?> 1280w" imagesizes="50vw">
<link rel="preload" as="font" type="font/woff2" href="<?= e(asset('fonts/manrope-latin.woff2')) ?>" crossorigin>
<link rel="stylesheet" href="<?= e(asset('app.css')) ?>">
</head>
<body class="auth-page">
<div class="auth-shell">
<section class="auth-visual" aria-label="Drink it cold – Kühlanhänger-Vermietung">
<img class="auth-visual__bg"
src="<?= e(asset('img/hero-1280.webp')) ?>"
srcset="<?= e(asset('img/hero-800.webp')) ?> 800w, <?= e(asset('img/hero-1280.webp')) ?> 1280w"
sizes="50vw" alt="Kühlanhänger von Drink it cold">
<div class="auth-visual__shade"></div>
<div class="auth-visual__content">
<div class="auth-brand">
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="56" height="40">
<span>
<strong>Drink it cold</strong>
<small>Kühlanhänger-Vermietung</small>
</span>
</div>
<div class="auth-visual__claim">
<p class="eyebrow">Terminplanung</p>
<h2>Alle acht Anhänger.<br>Ein Blick.</h2>
<p>Buchungen, Übergaben und Erinnerungen zentral – damit niemand mehr im Kalender blättern muss.</p>
<ul class="auth-points">
<li><svg class="ico" aria-hidden="true"><use href="#i-check"/></svg> Kalender für Tag, Woche und Monat</li>
<li><svg class="ico" aria-hidden="true"><use href="#i-check"/></svg> Automatische Erinnerungen fürs Team</li>
<li><svg class="ico" aria-hidden="true"><use href="#i-check"/></svg> Zentrale Buchungsdaten für alle</li>
</ul>
</div>
<p class="auth-visual__foot">Zum Kühlen. Für Feste. Seit jeher.</p>
</div>
</section>
<section class="auth-panel">
<div class="auth-card">
<a class="auth-card__mobilebrand" href="<?= e(url('/')) ?>" aria-label="Drink it cold">
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
<span>Drink it cold</span>
</a>
<p class="eyebrow">Interner Bereich</p>
<h1>Anmelden</h1>
<p class="auth-card__lede">Bitte mit dem vom Administrator angelegten Zugang anmelden.</p>
<?php if ($error !== ''): ?>
<div class="flash flash--error" role="alert">
<svg class="ico" aria-hidden="true"><use href="#i-alert"/></svg>
<span><?= e($error) ?></span>
</div>
<?php endif; ?>
<form method="post" action="<?= e(url('/login')) ?>" class="auth-form">
<?= csrf_field() ?>
<input type="hidden" name="next" value="<?= e_attr($next) ?>">
<div class="field-row">
<label class="field">
<span>Vorname</span>
<input type="text" name="first_name" value="<?= e($first) ?>" autocomplete="given-name" required autofocus>
</label>
<label class="field">
<span>Nachname</span>
<input type="text" name="last_name" value="<?= e($last) ?>" autocomplete="family-name" required>
</label>
</div>
<label class="field">
<span>Passwort</span>
<input type="password" name="password" autocomplete="current-password" required>
</label>
<label class="check">
<input type="checkbox" name="remember" value="1"<?= $remember ? ' checked' : '' ?>>
<span>Auf diesem Gerät angemeldet bleiben</span>
</label>
<button class="btn primary btn--block" type="submit">Anmelden</button>
</form>
<p class="auth-card__hint">
<svg class="ico" aria-hidden="true"><use href="#i-snow"/></svg>
Kein Zugang? Benutzerkonten werden ausschließlich vom Administrator eingerichtet – eine Selbstregistrierung gibt es nicht.
</p>
</div>
<p class="auth-foot">© <?= date('Y') ?> Drink it cold · Neuss</p>
</section>
</div>
<svg width="0" height="0" aria-hidden="true" style="position:absolute">
<defs>
<symbol id="i-check" viewBox="0 0 24 24"><path d="m5 12.5 4.5 4.5L19 6.5"/></symbol>
<symbol id="i-alert" viewBox="0 0 24 24"><path d="M12 3.5 2.5 20.5h19z"/><path d="M12 9.5v5M12 17.6v.4"/></symbol>
<symbol id="i-snow" viewBox="0 0 24 24"><path d="M12 2v20M4.5 6.8l15 10.4M19.5 6.8 4.5 17.2M12 6.4 9.6 4M12 6.4 14.4 4M12 17.6 9.6 20M12 17.6l2.4 2.4"/></symbol>
</defs>
</svg>
</body>
</html>