52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
{{define "login.html"}}
|
|
<!doctype html>
|
|
<html lang="{{.Language}}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>
|
|
{{.Title}}
|
|
· DoGaMa
|
|
</title>
|
|
<link rel="stylesheet" href="/static/app.v1.css">
|
|
</head>
|
|
<body class="auth-body">
|
|
<main class="auth-card">
|
|
<div class="auth-brand">
|
|
<img src="/static/dogama-brand-banner.png" alt="DoGaMa">
|
|
</div>
|
|
<div class="auth-content">
|
|
<p class="eyebrow">
|
|
{{.Msg "brand.control"}}
|
|
</p>
|
|
<h1>
|
|
{{.Msg "login.heading"}}
|
|
</h1>
|
|
<p class="auth-copy">
|
|
{{.Msg "brand.control"}}
|
|
</p>
|
|
{{if .Error}}
|
|
<p class="error" role="alert">
|
|
{{.Error}}
|
|
</p>
|
|
{{end}}
|
|
<form method="post" action="/login">
|
|
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}">
|
|
<label>
|
|
{{.Msg "field.username"}}
|
|
<input name="username" autocomplete="username" required>
|
|
</label>
|
|
<label>
|
|
{{.Msg "field.password"}}
|
|
<input type="password" name="password" autocomplete="current-password" required>
|
|
</label>
|
|
<button type="submit">
|
|
{{.Msg "login.submit"}}
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html>
|
|
{{end}}
|