Files
fotobox-webspite/views/admin/login.php
T
2026-05-04 18:46:12 +02:00

27 lines
1023 B
PHP

<section class="admin-login-section">
<div class="admin-login-card">
<p class="eyebrow">Verwaltung</p>
<h1>Admin-Login</h1>
<p>Hier verwaltest du Anfragen, Kundenbestellungen und Rechnungen.</p>
<?php if (!empty($flashSuccess)): ?>
<div class="flash flash-success"><?= h((string) $flashSuccess) ?></div>
<?php endif; ?>
<?php if (!empty($flashError)): ?>
<div class="flash flash-error"><?= h((string) $flashError) ?></div>
<?php endif; ?>
<form method="post" action="/admin/login" class="stack-form">
<label>
<span>Benutzername</span>
<input type="text" name="username" value="admin" required>
</label>
<label>
<span>Passwort</span>
<input type="password" name="password" required>
</label>
<button type="submit" class="button-primary button-block">Anmelden</button>
</form>
</div>
</section>