Goit

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

Goit/res/index.html (58 lines, 1.3 KiB) -rw-r--r-- file download

ae5fc19 Jakob Wakeling 2023-07-17 21:54:54
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>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
5
			<table>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
6
				<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
7
					<td rowspan="2">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
8
						<a href="/"><img style="max-height: 24px;" src="/static/favicon.png"></a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
9
					</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
10
					<td><h1>{{.Title}}</h1></td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
11
				</tr>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
12
				<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
13
					<td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
14
						<a href="/">Repositories</a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
15
						{{if .Auth}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
16
							| <a href="/repo/create">Create</a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
17
							| <a href="/user/sessions">User</a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
18
						{{end}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
19
						{{if .Admin}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
20
							| <a href="/admin">Admin</a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
21
						{{end}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
22
						{{if .Auth}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
23
							| <a href="/user/logout">Logout</a>{{if .Username}} ({{.Username}}){{end}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
24
						{{else}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
25
							| <a href="/user/login">Login</a>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
26
						{{end}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
27
					</td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
28
				</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
29
			</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
30
		</header><hr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
31
		<main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
32
			<table class="highlight-row">
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
33
				<thead>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
34
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
35
						<td><b>Name</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
36
						<td><b>Description</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
37
						<td><b>Owner</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
38
						<td><b>Visibility</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
39
						<td><b>Last Commit</b></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
40
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
41
				</thead>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
42
				<tbody>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
43
				{{range .Repos}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
44
					<tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
45
						<td><a href="/{{.Name}}/">{{.Name}}</a></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
46
						<td>{{.Description}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
47
						<td><a href="/?u={{.Owner}}">{{.Owner}}</a></td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
48
						<td>{{.Visibility}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
49
						<td>{{.LastCommit}}</td>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
50
					</tr>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
51
				{{end}}
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
52
				</tbody>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
53
			</table>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
54
		</main>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
55
	</body>
71b7f19 Jakob Wakeling 2024-01-08 22:23:49
56
</html>
57