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

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

Issue 2134673003: milo: buildbucket builer view (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: rebased and regenerated expectations Created 4 years, 5 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"}}[[Insert title here]]{{end}} 1 {{define "title"}}Builder {{.Builder.Name}}{{end}}
2 2
3
4 {{define "head"}}{{end}} 3 {{define "head"}}{{end}}
5 4
6 {{define "body"}} 5 {{define "body"}}
7 6
8 <div class="row"> 7 <div class="row">
9 8
10 <div class="col-md-6"> 9 <div class="col-md-6">
11 {{ if .Builder.CurrentBuilds }} 10 {{ if .Builder.CurrentBuilds }}
12 <h4>Current Builds</h4> 11 <h4>Current Builds</h4>
13 <ul> 12 <ul>
(...skipping 11 matching lines...) Expand all
25 24
26 <div class="col-md-6"> 25 <div class="col-md-6">
27 {{ if .Builder.CurrentBuilds }} 26 {{ if .Builder.CurrentBuilds }}
28 <h4>Pending Build Requests</h4> 27 <h4>Pending Build Requests</h4>
29 <ul> 28 <ul>
30 {{ range .Builder.PendingBuilds }} 29 {{ range .Builder.PendingBuilds }}
31 <li><small>({{ .PendingTime.Started | localTime "" }}, waiting {{ .Pendi ngTime.Duration }})</small> 30 <li><small>({{ .PendingTime.Started | localTime "" }}, waiting {{ .Pendi ngTime.Duration }})</small>
32 {{ $nb := len .Blame }} 31 {{ $nb := len .Blame }}
33 {{ if lt $nb 4 }} 32 {{ if lt $nb 4 }}
34 {{ range $i, $c := .Blame }} 33 {{ range $i, $c := .Blame }}
35 {{ .Revision }}
36 (<a href="{{ .CommitURL }}">{{ .AuthorEmail }}</a>) 34 (<a href="{{ .CommitURL }}">{{ .AuthorEmail }}</a>)
37 {{ if ne $i (sub $nb 1) }},{{ end }} 35 {{ if ne $i (sub $nb 1) }},{{ end }}
38 {{ end }} 36 {{ end }}
39 {{ else }} 37 {{ else }}
40 ({{ $nb }} changes) 38 ({{ $nb }} changes)
41 {{ end }} 39 {{ end }}
42 </li> 40 </li>
43 {{ end }} 41 {{ end }}
44 </ul> 42 </ul>
45 {{ else }} 43 {{ else }}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 <td>{{.Link | linkify}}</td> 81 <td>{{.Link | linkify}}</td>
84 <td class="left">{{ .Text }}</td> 82 <td class="left">{{ .Text }}</td>
85 </tr> 83 </tr>
86 {{ end }} 84 {{ end }}
87 {{ end }} 85 {{ end }}
88 </table> 86 </table>
89 </div> 87 </div>
90 88
91 </div> 89 </div>
92 {{ end }} 90 {{ end }}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698