2026-11-18 22:20:37 +01:00
|
|
|
|
<?php
|
|
|
|
|
|
/** @var string $state form|invalid */
|
|
|
|
|
|
/** @var string $error */
|
|
|
|
|
|
/** @var string $firstName */
|
|
|
|
|
|
/** @var string $lastName */
|
|
|
|
|
|
/** @var string $email */
|
|
|
|
|
|
$isForm = $state === 'form';
|
|
|
|
|
|
?>
|
|
|
|
|
|
<!doctype html>
|
|
|
|
|
|
<html lang="de">
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
|
|
|
|
<meta name="theme-color" content="#196abc">
|
|
|
|
|
|
<meta name="color-scheme" content="light">
|
|
|
|
|
|
<meta name="robots" content="noindex">
|
|
|
|
|
|
<title>Zugang einrichten · Drink it cold</title>
|
|
|
|
|
|
<link rel="icon" type="image/svg+xml" href="<?= e(asset('favicon.svg')) ?>">
|
|
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="<?= e(asset('icons/icon-32.png')) ?>">
|
|
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="<?= e(asset('icons/apple-touch-icon-180.png')) ?>">
|
|
|
|
|
|
<link rel="preload" as="font" type="font/woff2" href="<?= e(asset('fonts/manrope-latin.woff2')) ?>" crossorigin>
|
|
|
|
|
|
<link rel="stylesheet" href="<?= e(asset('app.css')) ?>">
|
|
|
|
|
|
<script src="<?= e(asset('app.js')) ?>" defer></script>
|
|
|
|
|
|
</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 Anhänger.<br>Ein Blick.</h2>
|
|
|
|
|
|
<p>Buchungen, Übergaben und Erinnerungen zentral – damit niemand mehr im Kalender blättern muss.</p>
|
|
|
|
|
|
</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">
|
2026-11-29 16:31:28 +01:00
|
|
|
|
<a class="auth-card__mobilebrand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold">
|
2026-11-18 22:20:37 +01:00
|
|
|
|
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
|
|
|
|
|
|
<span>Drink it cold</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($isForm): ?>
|
|
|
|
|
|
<p class="eyebrow">Einladung</p>
|
|
|
|
|
|
<h1>Zugang einrichten</h1>
|
|
|
|
|
|
<p class="auth-card__lede">
|
|
|
|
|
|
Hallo <?= e($firstName) ?>, bitte vergeben Sie jetzt ein eigenes Passwort.
|
|
|
|
|
|
Angemeldet wird anschließend mit <strong><?= e($firstName . ' ' . $lastName) ?></strong><?php if ($email !== ''): ?>
|
|
|
|
|
|
(<?= e($email) ?>)<?php endif; ?>.
|
|
|
|
|
|
</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(current_path())) ?>" class="auth-form">
|
|
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
|
<label class="field">
|
|
|
|
|
|
<span>Neues Passwort</span>
|
|
|
|
|
|
<input type="password" name="password" autocomplete="new-password" minlength="8" required autofocus>
|
|
|
|
|
|
</label>
|
|
|
|
|
|
<label class="field">
|
|
|
|
|
|
<span>Neues Passwort wiederholen</span>
|
|
|
|
|
|
<input type="password" name="repeat_password" autocomplete="new-password" minlength="8" required>
|
|
|
|
|
|
</label>
|
|
|
|
|
|
<button class="btn primary btn--block" type="submit">Passwort speichern</button>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<p class="auth-card__hint">
|
|
|
|
|
|
<svg class="ico" aria-hidden="true"><use href="#i-snow"/></svg>
|
|
|
|
|
|
Mindestens 8 Zeichen. Der Link ist sieben Tage gültig und nur einmal verwendbar.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<?php else: ?>
|
|
|
|
|
|
<p class="eyebrow">Einladung</p>
|
|
|
|
|
|
<h1>Link nicht mehr gültig</h1>
|
|
|
|
|
|
<p class="auth-card__lede">
|
|
|
|
|
|
Dieser Einladungslink ist abgelaufen oder wurde bereits verwendet.
|
|
|
|
|
|
Bitte wenden Sie sich an den Administrator, damit er einen neuen Link erzeugt.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<p class="auth-card__hint">
|
|
|
|
|
|
<svg class="ico" aria-hidden="true"><use href="#i-snow"/></svg>
|
|
|
|
|
|
Bereits ein Passwort gesetzt? Dann geht es hier zur Anmeldung.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<p><a class="btn primary btn--block" href="<?= e(url('/login')) ?>">Zur Anmeldung</a></p>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
<p class="auth-card__legal">
|
|
|
|
|
|
<a href="<?= e(url('/impressum')) ?>">Impressum</a>
|
|
|
|
|
|
<span aria-hidden="true">·</span>
|
|
|
|
|
|
<a href="<?= e(url('/datenschutz')) ?>">Datenschutz</a>
|
|
|
|
|
|
<span aria-hidden="true">·</span>
|
|
|
|
|
|
<span>Nur technisch notwendige Cookies, kein Tracking.</span>
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<footer class="auth-foot">
|
|
|
|
|
|
<span>© <?= date('Y') ?> Drink it cold · Neuss</span>
|
|
|
|
|
|
<nav aria-label="Rechtliches">
|
|
|
|
|
|
<a href="<?= e(url('/impressum')) ?>">Impressum</a>
|
|
|
|
|
|
<a href="<?= e(url('/datenschutz')) ?>">Datenschutz</a>
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<svg width="0" height="0" aria-hidden="true" style="position:absolute">
|
|
|
|
|
|
<defs>
|
|
|
|
|
|
<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>
|