Files
fotobox-webspite/views/admin/login.php
T

27 lines
1.0 KiB
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="<?= h(url('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>