Eric Bower
·
18 Dec 24
log.page.tmpl
1{{template "base" .}}
2
3{{define "title"}}commits - {{.Repo.RepoName}}@{{.RevData.Name}}{{end}}
4{{define "meta"}}{{end}}
5
6{{define "content"}}
7 <div class="group">
8 <div><span class="font-bold">({{.NumCommits}})</span> commits</div>
9 {{range .Logs}}
10 <div>
11 <div class="flex justify-between items-center">
12 <a href="{{.URL}}" class="mono">{{.ShortID}}</a>
13
14 <div class="mono">
15 {{range .Refs}}
16 {{if .URL}}
17 <a href="{{.URL}}">({{.Refspec}})</a>
18 {{else}}
19 ({{.Refspec}})
20 {{end}}
21 {{end}}
22 </div>
23 </div>
24
25 <div class="flex items-center gap-xs text-sm">
26 <span>{{.AuthorStr}}</span>
27 <span> · </span>
28 <span>{{.WhenStr}}</span>
29 </div>
30
31 <div>
32 <pre class="m-0">{{.Message}}</pre>
33 </div>
34 </div>
35 {{end}}
36 </div>
37{{end}}