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

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

Issue 2328733002: Milo: Add ?limit= support to builders (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
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 {{ if .Builder.CurrentBuilds }} 6 {{ if .Builder.CurrentBuilds }}
7 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> 7 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2>
8 <ul> 8 <ul>
9 {{ range .Builder.CurrentBuilds }} 9 {{ range .Builder.CurrentBuilds }}
10 <li>{{ .Link | linkify }} 10 <li>{{ .Link | linkify }}
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 <td class="left"> 88 <td class="left">
89 {{ .Text }} 89 {{ .Text }}
90 </td> 90 </td>
91 </tr> 91 </tr>
92 {{ end }} 92 {{ end }}
93 </table> 93 </table>
94 {{ else }} 94 {{ else }}
95 <h2>No Recent Builds</h2> 95 <h2>No Recent Builds</h2>
96 {{ end }} 96 {{ end }}
97 97
98 </div> 98 (Show:
99 <a href="{{.Builder.Name}}">default</a>
100 <a href="{{.Builder.Name}}?limit=25">25</a>
101 <a href="{{.Builder.Name}}?limit=50">50</a>
102 <a href="{{.Builder.Name}}?limit=100">100</a>
103 <a href="{{.Builder.Name}}?limit=200">200</a>
104 )
99 105
100 {{end}} 106 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698