vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Blame · server/web/templates/request_runs.html
Line attribution on main · 43 line(s)
|
f6f4b1db
Keenan Nemetz
15d ago
|
1 | {{define "request_runs"}} |
| 2 | {{template "header" .}} | |
|
8fb7aabf
Keenan Nemetz
3d ago
|
3 | {{template "repohead" (nav .Page "changes")}} |
|
f6f4b1db
Keenan Nemetz
15d ago
|
4 | {{template "request_head" .}} |
| 5 | {{template "request_tabs" .}} | |
| 6 | ||
| 7 | <div class="thread"> | |
| 8 | <div class="thread-main"> | |
| 9 | <div class="with-more"> | |
| 10 | <h2>{{icon "play"}}Workflow results</h2> | |
|
ed03b3d1
Keenan Nemetz
3h ago
|
11 | <span class="muted">{{len .Runs}} result(s) for <a class="sha" href="/{{.Name}}/commit/{{.Request.Head}}">{{short .Request.Head}}</a></span> |
|
f6f4b1db
Keenan Nemetz
15d ago
|
12 | </div> |
| 13 | ||
| 14 | {{if .Runs}} | |
| 15 | <div class="panel"> | |
| 16 | <table> | |
| 17 | <thead> | |
|
5ece70a5
Keenan Nemetz
10d ago
|
18 | <tr><th>Status</th><th>Job</th><th>Attempts</th><th>Duration</th><th>Age</th></tr> |
|
f6f4b1db
Keenan Nemetz
15d ago
|
19 | </thead> |
| 20 | <tbody> | |
| 21 | {{range .Runs}} | |
| 22 | <tr> | |
| 23 | <td class="fit"><span class="status {{.Status}}">{{.Status}}</span></td> | |
|
ed03b3d1
Keenan Nemetz
3h ago
|
24 | <td><a href="/{{$.Name}}/runs/{{.ID}}">{{.JobTitle}}</a>{{if ne .JobTitle .WorkflowTitle}} <span class="muted">{{.WorkflowTitle}}</span>{{end}}</td> |
|
f6f4b1db
Keenan Nemetz
15d ago
|
25 | <td class="muted">{{.Attempts}}</td> |
|
c765ae2e
Keenan Nemetz
13d ago
|
26 | <td class="nowrap">{{if not .Started.IsZero}}{{duration .Duration}}{{else}}<span class="muted">—</span>{{end}}</td> |
|
f6f4b1db
Keenan Nemetz
15d ago
|
27 | <td class="muted nowrap">{{since .Created.Unix}}</td> |
| 28 | </tr> | |
| 29 | {{end}} | |
| 30 | </tbody> | |
| 31 | </table> | |
| 32 | </div> | |
| 33 | {{else}} | |
|
c7b9094f
Keenan Nemetz
1d ago
|
34 | <div class="empty-state"><p>No workflow runs for this commit yet.</p></div> |
|
f6f4b1db
Keenan Nemetz
15d ago
|
35 | {{end}} |
| 36 | </div> | |
| 37 | ||
| 38 | <aside class="thread-side"> | |
|
d3dcf54d
Keenan Nemetz
11d ago
|
39 | {{template "request_aside" .}} |
|
f6f4b1db
Keenan Nemetz
15d ago
|
40 | </aside> |
| 41 | </div> | |
| 42 | {{template "footer" .}} | |
| 43 | {{end}} |