28 lines
1.5 KiB
HTML
28 lines
1.5 KiB
HTML
<!doctype html>
|
|
<html lang="ru" data-bs-theme="dark">
|
|
<head>
|
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Вход в администрирование — AI Station</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="/static/style.css" rel="stylesheet">
|
|
</head>
|
|
<body class="d-flex align-items-center">
|
|
<main class="container" style="max-width:440px">
|
|
<div class="card border-secondary bg-dark shadow-lg">
|
|
<div class="card-body p-4 p-md-5">
|
|
<div class="text-secondary small text-uppercase fw-semibold mb-2">AI Station</div>
|
|
<h1 class="h3 mb-2">Администрирование</h1>
|
|
<p class="text-secondary mb-4">Введите системный пароль пользователя theroot.</p>
|
|
{% if error %}<div class="alert alert-danger py-2">{{ error }}</div>{% endif %}
|
|
<form method="post" action="/admin/login">
|
|
<label for="password" class="form-label">Системный пароль</label>
|
|
<input id="password" name="password" type="password" class="form-control form-control-lg mb-3" required autofocus autocomplete="current-password">
|
|
<button class="btn btn-primary btn-lg w-100" type="submit">Войти</button>
|
|
</form>
|
|
<a href="/" class="d-inline-block mt-4 text-secondary text-decoration-none">← Вернуться на главную</a>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html>
|