Files
BountyBoard/web/templates/login.html
T
etalon 46e2099542 fix: apply the BrandingName setting to the masthead and page title
The brandingName admin setting was saved but never used — layout/login/register
hardcoded "Bounty Board". render() now passes the configured brand into every
page, and the top-nav masthead, <title>, and login/register headers use it.
(The "Bounty Board" board-feature labels are left as-is.)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 12:31:23 +02:00

31 lines
1.0 KiB
HTML

{{define "content"}}
<header class="masthead">
<p class="masthead-kicker">Consulting Work Exchange</p>
<p class="masthead-title">◈ {{.Brand}}</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}}