b5ebbfb748
- compose publishes 8787 on all interfaces (NPM fronts it at bountyboard.anypreta.com); APP_BASE_URL + TRUSTED_PROXY_CIDRS configured, client-IP resolution through the proxy verified live - design: self-hosted variable fonts (Fraunces display serif, Schibsted Grotesk UI, Spline Sans Mono ledger numerals), paper-grain overlay, hairline double rules, letterpress buttons, stamped badges, banknote bounty chips, ledger tables, staggered page reveal (reduced-motion safe) - §10 tokens, 2px radius, both themes, AA contrast preserved exactly; no build step, CSP-clean (fonts/img self/data) - login/register masthead; headless-chrome screenshots verified both themes Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
{{define "content"}}
|
|
<header class="masthead">
|
|
<p class="masthead-kicker">Consulting Work Exchange</p>
|
|
<p class="masthead-title">◈ Bounty Board</p>
|
|
<p class="masthead-rule">❦</p>
|
|
</header>
|
|
<div class="card">
|
|
<h1>Log in</h1>
|
|
<div class="error-box" id="error" role="alert">{{.Error}}</div>
|
|
<form id="login-form">
|
|
<div class="field">
|
|
<label for="email">Email</label>
|
|
<input type="email" id="email" name="email" autocomplete="email" required>
|
|
</div>
|
|
<div class="field">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" autocomplete="current-password" required>
|
|
</div>
|
|
<div class="spread">
|
|
<button class="btn primary" type="submit">Log in</button>
|
|
<span><a href="/forgot-password">Forgot password?</a> · <a href="/register">Create an account</a></span>
|
|
</div>
|
|
</form>
|
|
{{if .OIDCEnabled}}
|
|
<div class="mt">
|
|
<a class="btn" href="/api/v1/auth/oidc/login">Continue with SSO</a>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|