Goit

Simple and lightweight Git web server
git clone http://git.omkov.net/Goit
Log | Tree | Refs | README | Download

Goit/res/user/login.html (42 lines, 1.1 KiB) -rw-r--r-- file download

d631c5e Jakob Wakeling 2023-07-20 23:13:39
0
<!DOCTYPE html>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
1
<html lang="en">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
2
	<head>{{template "base/head" .}}</head>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
3
	<body>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
4
		<header>
ff9ec25 Jakob Wakeling 2023-08-08 22:43:43
5
			<table>
ff9ec25 Jakob Wakeling 2023-08-08 22:43:43
6
				<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
7
					<td rowspan="2"><a href="/"><img src="/static/favicon.png" style="max-height: 24px"></a></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
8
					<td><h1>{{.Title}}</h1></td>
ff9ec25 Jakob Wakeling 2023-08-08 22:43:43
9
				</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
10
				<tr><td></td></tr>
ff9ec25 Jakob Wakeling 2023-08-08 22:43:43
11
			</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
12
		</header>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
13
		<main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
14
			<form action="/user/login" method="post">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
15
				{{.CsrfField}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
16
				<table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
17
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
18
						<td style="text-align: right;"><label for="username">Username</label></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
19
						<td><input type="text" name="username" value="{{.Name}}" {{if not .FocusPw}}autofocus{{end}}></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
20
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
21
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
22
						<td style="text-align: right;"><label for="password">Password</label></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
23
						<td><input type="password" name="password" {{if .FocusPw}}autofocus{{end}}></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
24
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
25
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
26
						<td></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
27
						<td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
28
							<input type="submit" value="Login">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
29
							<a href="/" style="color: inherit;">Cancel</a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
30
						</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
31
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
32
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
33
						<td></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
34
						<td style="color: #AA0000">{{.Message}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
35
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
36
				</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
37
			</form>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
38
		</main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
39
	</body>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
40
</html>
41