Goit

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

Goit/res/repo/header.html (36 lines, 917 B) -rw-r--r-- file download

17c34f4 Jakob Wakeling 2023-07-19 22:07:36
0
<table>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
1
	<tr>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
2
		<td rowspan="2"><a href="/"><img style="max-height: 24px;" src="/static/favicon.png"></a></td>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
3
		<td><h1 style="display: inline;">{{.Name}}</h1></td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
4
	</tr>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
5
	{{if .Description}}<tr><td>{{.Description}}</td></tr>{{end}}
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
6
	{{if .Mirror}}
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
7
		<tr>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
8
			{{if .Description}}<td></td>{{end}}
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
9
			<td>Mirror of <a href="{{.Mirror}}">{{.Mirror}}</a></td>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
10
		</tr>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
11
	{{end}}
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
12
	<tr>
2e13a8c Jakob Wakeling 2023-12-23 19:40:09
13
		{{if or (.Description) (.Mirror)}}<td></td>{{end}}
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
14
		<td>git clone <a href="{{.Url}}">{{.Url}}</a></td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
15
	</tr>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
16
	<tr>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
17
		<td></td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
18
		<td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
19
			<a href="/{{.Name}}/log">Log</a>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
20
			| <a href="/{{.Name}}/tree">Tree</a>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
21
			| <a href="/{{.Name}}/refs">Refs</a>
d631c5e Jakob Wakeling 2023-07-20 23:13:39
22
			{{if .Readme}}
7ba1b21 Jakob Wakeling 2023-08-02 21:44:07
23
				| <a href="{{.Readme}}">README</a>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
24
			{{end}}
d631c5e Jakob Wakeling 2023-07-20 23:13:39
25
			{{if .Licence}}
7ba1b21 Jakob Wakeling 2023-08-02 21:44:07
26
				| <a href="{{.Licence}}">LICENCE</a>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
27
			{{end}}
7dd4459 Jakob Wakeling 2023-11-20 23:18:08
28
			| <a href="/{{.Name}}/download">Download</a>
ceeeb52 Jakob Wakeling 2023-08-19 12:11:35
29
			{{if .Editable}}
ceeeb52 Jakob Wakeling 2023-08-19 12:11:35
30
				| <a href="/{{.Name}}/edit">Edit</a>
ceeeb52 Jakob Wakeling 2023-08-19 12:11:35
31
			{{end}}
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
32
		</td>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
33
	</tr>
17c34f4 Jakob Wakeling 2023-07-19 22:07:36
34
</table>
35