Files
roast_command_center/public/setup.html
T
2026-08-09 14:30:42 -04:00

64 lines
2.0 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Administrator setup — Roast Planner</title>
<link rel="stylesheet" href="/app.css?v=__ASSET_VERSION__" />
<link rel="icon" href="/icon.svg?v=__ASSET_VERSION__" type="image/svg+xml" />
<meta name="theme-color" content="#A8481A" />
</head>
<body>
<main class="auth-page">
<section class="panel-card auth-card">
<div class="auth-brand">
<img class="brand-mark" src="/brand-mark.svg?v=__ASSET_VERSION__" alt="" aria-hidden="true" />
<strong>Roast Planner</strong>
</div>
<h1>Create the administrator account</h1>
<p class="lede">
This runs once, before anyone else can sign up. You'll need the
setup token from the deployment environment.
</p>
<div id="message" class="auth-message" role="alert"></div>
<form id="setup-form">
<label
>Administrator email
<input
class="field-input"
required
type="email"
name="email"
value="[email protected]"
readonly
/></label>
<label
>Password
<input
class="field-input"
required
type="password"
minlength="12"
name="password"
autocomplete="new-password"
/></label>
<label
>Setup token
<input
class="field-input"
required
type="password"
name="setupToken"
autocomplete="off"
/></label>
<button class="primary-btn" type="submit">Create administrator</button>
</form>
<div class="auth-links">
<a href="/login">Back to log in</a>
</div>
</section>
</main>
<script type="module" src="/js/setup.js?v=__ASSET_VERSION__"></script>
</body>
</html>