BlueGit

timfa bluegit

Files

bluegit / internal / server / templates / commitgraph.html

commitgraph.html

commitgraph.html 809 B Download Raw
1{{define "commitgraph"}}
2<div class="commitgraph-slot lanes-{{.Graph.Lanes}}">
3<aside class="commitgraph" aria-label="{{t "graph.label"}}" data-selected="{{.Rev}}">
4 {{.Graph.SVG}}
5 <ol class="commitgraph-list">
6 {{range .Graph.Rows}}
7 <li class="commitgraph-row"{{if .Branch}} data-branch="{{.Branch}}"{{end}}>
8 <span class="commitgraph-refs">{{range .Labels}}<span class="commitgraph-ref {{.Kind}}{{if .Default}} is-default{{end}} {{.Class}}"{{if .Ref}} data-branch="{{.Ref}}" title="{{.Ref}}"{{else}} title="{{.Name}}"{{end}}>{{.Name}}</span>{{end}}</span>
9 <span class="commitgraph-lanes" aria-hidden="true"></span>
10 <a class="commitgraph-msg" href="/{{$.Repo.FullPath}}/-/commit/{{.SHA}}" title="{{.Subject}}">{{.Subject}}</a>
11 </li>
12 {{end}}
13 </ol>
14</aside>
15</div>
16{{end}}