Files
Netbox-Store/store/templates/admin/login.php
T
MrBlake f36d6be511
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run
feat: add NetBox plugin store
2026-08-24 20:51:25 +02:00

17 lines
981 B
PHP

<?php declare(strict_types=1); include dirname(__DIR__) . '/partials/head.php'; ?>
<section class="login-page shell">
<div class="login-card">
<span class="eyebrow">Geschützter Bereich</span>
<h1>Store-Administration</h1>
<p>Plugins und Artefakte werden hier geprüft, bevor sie im öffentlichen Katalog erscheinen.</p>
<?php if (($error ?? '') !== ''): ?><div class="notice error"><?= $e($error) ?></div><?php endif; ?>
<form method="post" action="/admin/login" class="stack-form">
<input type="hidden" name="_csrf" value="<?= $e($csrf) ?>">
<label><span>Benutzername</span><input name="username" required autocomplete="username" autofocus></label>
<label><span>Passwort</span><input type="password" name="password" required autocomplete="current-password"></label>
<button class="button primary wide" type="submit">Sicher anmelden</button>
</form>
</div>
</section>
<?php include dirname(__DIR__) . '/partials/footer.php'; ?>