numerus/web/template/login.html

32 lines
974 B
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login — Numerus</title>
2023-01-17 21:28:47 +00:00
<link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css">
</head>
2023-01-17 21:28:47 +00:00
<body class="web">
<h1><img src="/static/numerus.svg" alt="Numerus" width="620" height="77"></h1>
{{ if .LoginError }}
2023-01-17 21:28:47 +00:00
<div class="error" role="alert">
<p>{{ .LoginError }}</p>
</div>
{{ end }}
2023-01-17 21:28:47 +00:00
<section id="login">
<h2>Login</h2>
<form method="POST" action="/login">
<label for="user_email">Email</label>
<input id="user_email" type="email" required autofocus name="email" autocapitalize="none" value="{{ .Email }}">
<label for="user_password">Password</label>
<input id="user_password" type="password" required name="password" autocomplete="current-password" value="{{ .Password }}">
2023-01-17 21:28:47 +00:00
<button type="submit">Login</button>
</form>
</section>
</body>
</html>