Goit

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

Goit/res/user/sessions.html (32 lines, 610 B) -rw-r--r-- file download

52b258d Jakob Wakeling 2023-07-21 19:22:31
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
			<table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
7
				<thead>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
8
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
9
						<td><b>IP</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
10
						<td><b>Seen</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
11
						<td><b>Expiry</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
12
						<td></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
13
						<td></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
14
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
15
				</thead>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
16
				<tbody>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
17
				{{range .Sessions}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
18
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
19
						<td>{{.Ip}}</a></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
20
						<td>{{.Seen}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
21
						<td>{{.Expiry}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
22
						<td><a href="/user/sessions?revoke={{.Index}}">revoke</a></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
23
						<td>{{.Current}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
24
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
25
				{{end}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
26
				</tbody>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
27
			</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
28
		</main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
29
	</body>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
30
</html>
31