Goit

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

Goit/res/repo/blame.html (32 lines, 836 B) -rw-r--r-- file download

a0ac27c Jakob Wakeling 2024-07-06 23:32:05
0
<!DOCTYPE html>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
1
<html lang="en">
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
2
	<head>{{template "base/head" .}}</head>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
3
	<body>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
4
		<header>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
5
			{{template "repo/header" .}}<hr>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
6
			{{.PathHTML}} ({{.LineC}}, {{.Size}}) {{.Mode}}
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
7
			<a href="/{{.Name}}/file/{{.Path}}">file</a>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
8
			<a href="/{{.Name}}/download/{{.Path}}">download</a>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
9
		</header><hr>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
10
		<main>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
11
			<table class="highlight-row">
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
12
				{{if .Blines}}
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
13
					{{range $i, $l := .Blines}}
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
14
						<tr>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
15
							<td><a href="/{{$.Name}}/commit/{{.Hash}}">{{.ShortHash}}</a></td>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
16
							<td>{{.Author}}</td>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
17
							<td>{{.Date}}</td>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
18
							<td class="lnum" style="text-align: right;">
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
19
								<pre><a id="{{$i}}" href="#{{$i}}">{{$i}}</a></pre>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
20
							</td>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
21
							<td class="line"><pre>{{.LineHTML}}</pre></td>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
22
						</tr>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
23
					{{end}}
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
24
				{{else}}
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
25
					<tr><td>Binary file</td></tr>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
26
				{{end}}
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
27
			</table>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
28
		</main>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
29
	</body>
a0ac27c Jakob Wakeling 2024-07-06 23:32:05
30
</html>
31