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

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

Issue 2407153006: Milo: Add builder name to builder page (Closed)
Patch Set: Created 4 years, 2 months 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
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>
7
6 {{ if .Builder.CurrentBuilds }} 8 {{ if .Builder.CurrentBuilds }}
7 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> 9 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2>
8 <ul> 10 <ul>
9 {{ range .Builder.CurrentBuilds }} 11 {{ range .Builder.CurrentBuilds }}
10 <li>{{ .Link | linkify }} 12 <li>{{ .Link | linkify }}
11 [Running for: {{ .ExecutionTime.Duration | humanDuration }}] 13 [Running for: {{ .ExecutionTime.Duration | humanDuration }}]
12 {{ range .Text }} {{ . }}{{ end }} 14 {{ range .Text }} {{ . }}{{ end }}
13 </li> 15 </li>
14 {{ end }} 16 {{ end }}
15 </ul> 17 </ul>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 </tr> 93 </tr>
92 {{ end }} 94 {{ end }}
93 </table> 95 </table>
94 {{ else }} 96 {{ else }}
95 <h2>No Recent Builds</h2> 97 <h2>No Recent Builds</h2>
96 {{ end }} 98 {{ end }}
97 99
98 </div> 100 </div>
99 101
100 {{end}} 102 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698