Goit

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

Goit/res/user/edit.html (50 lines, 1.8 KiB) -rw-r--r-- file download

d0994fe Jakob Wakeling 2023-09-07 22:53:16
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>{{template "user/header" .}}</header><hr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
5
		<main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
6
			<h1>{{.Title}}</h1><hr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
7
			<form action="/user/edit" method="post">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
8
				{{.CsrfField}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
9
				<table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
10
					<tr><td><label for="username">Username</label></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
11
					<tr><td><input type="text" name="username" value="{{.Form.Name}}" spellcheck="false"></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
12
					<tr><td><label for="fullname">Full Name</label></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
13
					<tr><td><input type="text" name="fullname" value="{{.Form.FullName}}" spellcheck="false"></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
14
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
15
						<td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
16
							<input type="submit" name="submit" value="Update">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
17
							<!-- <a href="/" style="color: inherit;">Cancel</a> -->
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
18
							<span style="color: #AA0000">{{.MessageA}}</span>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
19
						</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
20
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
21
					<!-- <tr><td style="color: #AA0000">{{.MessageA}}</td></tr> -->
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
22
				</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
23
			</form><hr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
24
			<form action="/user/edit" method="post">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
25
				{{.CsrfField}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
26
				<table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
27
					<tr><td><label for="password">Current Password</label></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
28
					<tr><td><input type="password" name="password"></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
29
					<tr><td><label for="new_password">New Password</label></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
30
					<tr><td><input type="password" name="new_password"></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
31
					<tr><td><label for="confirm_password">Confirm New Password</label></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
32
					<tr><td><input type="password" name="confirm_password"></td></tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
33
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
34
						<td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
35
							<input type="submit" name="submit" value="Update Password">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
36
							<!-- <a href="/" style="color: inherit;">Cancel</a> -->
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
37
							<span style="color: #AA0000">{{.MessageB}}</span>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
38
						</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
39
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
40
					<!-- <tr><td style="color: #AA0000">{{.MessageB}}</td></tr> -->
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
41
				</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
42
			</form><hr>
68784b6 Jakob Wakeling 2023-09-10 17:23:55
43
			<table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
44
				<tr><td style="text-align: right;"><span>ID:</span></td><td><span>{{.Form.Id}}</span></td></tr>
d0994fe Jakob Wakeling 2023-09-07 22:53:16
45
			</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
46
		</main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
47
	</body>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
48
</html>
49