File view with blame information shown in the left gutter beside each line.

barerepo / server / internal/httpd/templates/run.html
26 lines · 1.4kb · 133728eaa05486504991b230f9d4c7e986b7defc
log files threads runs releases config jump to file t
133728e barerepo 1mo
1
{{define "footleft"}}{{.Ref}}{{end}}
133728e barerepo 1mo
2
{{define "body" -}}
133728e barerepo 1mo
3
<div class="bar">
133728e barerepo 1mo
4
<div class="secondary">{{template "crumbs" .}} / <span class="here">run <a class="sha" href="/{{.Owner}}/{{.Name}}/commit/{{.SHA}}">{{.Short}}</a></span></div>
133728e barerepo 1mo
5
<div class="muted small">{{.Meta}}</div>
133728e barerepo 1mo
6
</div>
133728e barerepo 1mo
7
{{range .Runs}}
133728e barerepo 1mo
8
<div class="row">
133728e barerepo 1mo
9
<div>{{if .Name}}{{.Name}} &middot; {{end}}{{if .Failed}}<span class="danger">{{.Result}}</span> &middot; exit {{.Exit}}{{else}}{{.Result}}{{end}}</div>
133728e barerepo 1mo
10
<div class="muted small">{{if .Ref}}{{if .RefHref}}<a href="{{.RefHref}}">{{.Ref}}</a>{{else}}{{.Ref}}{{end}} &middot; {{end}}{{if .Subject}}<a href="{{.CommitHref}}">{{.Subject}}</a>{{end}}{{if $.Author}} &middot; {{$.Author}}{{end}}{{if .Runner}} &middot; <a href="{{.RunnerHref}}">{{.Runner}}</a>{{end}}</div>
133728e barerepo 1mo
11
</div>
133728e barerepo 1mo
12
{{if .Shown}}<div class="row"><div class="muted small">the last {{.Shown}} of {{.Size}} &middot;
133728e barerepo 1mo
13
<a href="{{.RawHref}}">the whole log</a></div></div>{{end}}
133728e barerepo 1mo
14
<pre class="log">{{.Output}}</pre>
133728e barerepo 1mo
15
<div class="row">
133728e barerepo 1mo
16
<div class="muted small"><a href="{{.RawHref}}">raw log</a> &middot; {{.Size}}
133728e barerepo 1mo
17
{{if $.CanRerun}} &middot;
133728e barerepo 1mo
18
<form method="post" action="/{{$.Owner}}/{{$.Name}}/run/{{$.SHA}}/rerun" class="inline">
133728e barerepo 1mo
19
<button class="linkbtn" type="submit">rerun</button>
133728e barerepo 1mo
20
</form>{{end}}</div>
133728e barerepo 1mo
21
</div>
133728e barerepo 1mo
22
{{end}}
133728e barerepo 1mo
23
{{if not .Runs}}
133728e barerepo 1mo
24
<div class="row"><div class="muted">nothing has been built at this commit.</div></div>
133728e barerepo 1mo
25
{{end}}
133728e barerepo 1mo
26
{{- end}}
history · rawbarerepo 0.1.0