Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: milo/appengine/frontend/templates/buildbot/pages/builder.html

Issue 2321243002: Milo: Add current builds to buildbot builder view (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{define "title"}}Builder {{ .Builder.Name }}{{end}} 1 {{define "title"}}Builder {{ .Builder.Name }}{{end}}
2 2
3 {{define "head"}}{{end}} 3 {{define "head"}}{{end}}
4 4
5 {{define "body"}} 5 {{define "body"}}
6 <h1>Builder {{.Builder.Name}}</h1> 6 <h1>Builder {{.Builder.Name}}</h1>
7 7
8 {{ if .Builder.CurrentBuilds }} 8 {{ if .Builder.CurrentBuilds }}
9 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> 9 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2>
10 <ul> 10 <ul>
11 {{ range .Builder.CurrentBuilds }} 11 {{ range .Builder.CurrentBuilds }}
12 <li>{{ .Link | linkify }} 12 <li>{{ .Link | linkify }}
13 {{ $nb := len .Blame }}
14 {{ if lt $nb 4 }}
15 {{ range $i, $c := .Blame }}
16 {{ if gt $i 0 }},{{ end }}
17 {{ if .Changelist }}
18 {{ .Changelist | linkify }}
19 {{ if .AuthorEmail }}
20 by {{ .AuthorEmail }}
21 {{ end }}
22 {{ else }}
23 (<a href="{{ .CommitURL }}">{{ .AuthorEmail }}</a>)
24 {{ end }}
25 {{ end }}
26 {{ else }}
27 ({{ $nb }} changes)
28 {{ end }}
13 [Running for: {{ .ExecutionTime.Duration | humanDuration }}] 29 [Running for: {{ .ExecutionTime.Duration | humanDuration }}]
14 {{ range .Text }} {{ . }}{{ end }} 30 {{ range .Text }} {{ . }}{{ end }}
15 </li> 31 </li>
16 {{ end }} 32 {{ end }}
17 </ul> 33 </ul>
18 {{ else }} 34 {{ else }}
19 <h2>No current builds</h2> 35 <h2>No current builds</h2>
20 {{ end }} 36 {{ end }}
21 37
22 {{ if .Builder.PendingBuilds }} 38 {{ if .Builder.PendingBuilds }}
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 115
100 (Show: 116 (Show:
101 <a href="{{.Builder.Name}}">default</a> 117 <a href="{{.Builder.Name}}">default</a>
102 <a href="{{.Builder.Name}}?limit=25">25</a> 118 <a href="{{.Builder.Name}}?limit=25">25</a>
103 <a href="{{.Builder.Name}}?limit=50">50</a> 119 <a href="{{.Builder.Name}}?limit=50">50</a>
104 <a href="{{.Builder.Name}}?limit=100">100</a> 120 <a href="{{.Builder.Name}}?limit=100">100</a>
105 <a href="{{.Builder.Name}}?limit=200">200</a> 121 <a href="{{.Builder.Name}}?limit=200">200</a>
106 ) 122 )
107 123
108 {{end}} 124 {{end}}
OLDNEW
« no previous file with comments | « milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698