summaryrefslogtreecommitdiffstats
path: root/templates/login.html.template
blob: 8bdc6139a6eac9640d2f8f1f8ba8e078d90778b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{define "head"}}<title>Login</title>{{end}}

<section>
	{{if .Error}}
		<p class="login-error">Incorrect password</p>
	{{end}}
	<form class="password-form" action="/login" method="post">
		<input type="hidden" name="redirect" value="{{.Redirect}}">
		<table>
		<tr class="password-form-row">
			<td><label class="password-label" for="password">Enter password</label></td>
			<td><input id="password" class="password" type="password" name="password" autofocus></td>
		</tr>
		<tr class="password-form-row">
			<td><label class="password-label" for="auth">Google authenticator code</label></td>
			<td><input id="auth" class="password" name="auth"></td>
		</tr>
		<tr>
		<td></td>
		<td><input type="image" class="submit" src="/static/point.webp" alt="Submit"></td>
		</table>
	</form>
</section>