feat: initial commit

This commit is contained in:
redtea committed 2026-10-13 00:25:29 +03:00
1 parent 353f62e257
commit c6852c6f1b
62 files changed
+5911 -2

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Настройка — LPRA</title>
<link rel="stylesheet" href="/static/app.css">
</head>
<body>
<div class="center">
<div class="card">
<h1>Первый запуск</h1>
<p class="muted">Создайте учётную запись администратора панели.</p>
{{if .Error}}<div class="err">{{.Error}}</div>{{end}}
<form method="post" action="/setup">
<label>Имя пользователя</label>
<input type="text" name="username" autofocus required>
<label>Пароль (мин. 8 символов)</label>
<input type="password" name="password" required>
<label>Повтор пароля</label>
<input type="password" name="password2" required>
<div style="margin-top:18px"><button type="submit">Создать и войти</button></div>
</form>
</div>
</div>
</body>
</html>