summaryrefslogtreecommitdiff
path: root/web/bootstrap.html
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-29 20:19:34 +0300
committerPaul Buetow <paul@buetow.org>2026-04-29 20:19:34 +0300
commit4a70c0ea083306cb79d0fa325d331ffa4333154a (patch)
tree84df7e2f781974ef45ac8c34f1a59e80fdd5c41d /web/bootstrap.html
parentcf30414c2a0696cc75c615f4da66ea85d0522c42 (diff)
feat: create web PWA frontend
Diffstat (limited to 'web/bootstrap.html')
-rw-r--r--web/bootstrap.html25
1 files changed, 23 insertions, 2 deletions
diff --git a/web/bootstrap.html b/web/bootstrap.html
index 378b595..440a55f 100644
--- a/web/bootstrap.html
+++ b/web/bootstrap.html
@@ -2,9 +2,30 @@
<html lang="en">
<head>
<meta charset="UTF-8">
-<title>Bootstrap - KISS Media Player</title>
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Bootstrap — KISS Media Player</title>
+<link rel="stylesheet" href="/css/theme.css">
+<link rel="stylesheet" href="/css/components.css">
+<link rel="stylesheet" href="/css/login.css">
</head>
<body>
-<h1>First Admin Setup</h1>
+<div class="login-container" role="main">
+ <h1>Create Admin Account</h1>
+ <p class="subtitle">One-time setup. This form is available only while no users exist.</p>
+ <form id="bootstrap-form" class="login-form" novalidate>
+ <label for="username">Username</label>
+ <input type="text" id="username" name="username" autocomplete="username" required autofocus>
+
+ <label for="password">Password</label>
+ <input type="password" id="password" name="password" autocomplete="new-password" required minlength="6">
+
+ <label for="password-confirm">Confirm Password</label>
+ <input type="password" id="password-confirm" name="password-confirm" autocomplete="new-password" required minlength="6">
+
+ <button type="submit" class="btn btn-primary">Create Admin</button>
+ <p id="bootstrap-error" class="error-message" role="alert" aria-live="polite"></p>
+ </form>
+</div>
+<script type="module" src="/js/app.js"></script>
</body>
</html>