Eric Bower
·
25 Apr 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>
8 <div><span class="font-bold">({{.NumCommits}})</span> commits</div>
9 {{range .Logs}}
10 <div class="box">
11 <div class="flex justify-between items-center">
12 <a href="{{.URL}}" class="text-md">{{.SummaryStr}}</a>
13
14 <div class="flex gap">
15 {{.ShortID}}
16
17 {{range .Refs}}
18 {{if .URL}}
19 <a href="{{.URL}}">({{.Refspec}})</a>
20 {{else}}
21 ({{.Refspec}})
22 {{end}}
23 {{end}}
24 </div>
25 </div>
26
27 <div class="flex items-center gap-xs">
28 <span>{{.AuthorStr}}</span>
29 <span> · </span>
30 <span>{{.WhenStr}}</span>
31 </div>
32
33 <div>
34 <pre class="m-0">{{.Message}}</pre>
35 </div>
36 </div>
37 {{end}}
38 </div>
39{{end}}