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

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

Issue 2978293002: [milo] Add an (uncached) method to get console rows. (Closed)
Patch Set: make manifestkey its own type Created 3 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
« no previous file with comments | « milo/common/model/build_summary.go ('k') | milo/frontend/middleware.go » ('j') | 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"}}Milo{{end}} 1 {{define "title"}}Milo{{end}}
2 2
3 {{define "head"}} 3 {{define "head"}}
4 <style> 4 <style>
5 th { 5 th {
6 border: 1px silver; 6 border: 1px silver;
7 } 7 }
8 </style> 8 </style>
9 {{end}} 9 {{end}}
10 10
11 {{define "body"}} 11 {{define "body"}}
12 <h1>{{.Console.Name}}</h1> 12 {{ $console := .Console }}
13
14 <h1>{{ $console.Name }}</h1>
13 15
14 <table> 16 <table>
15 <thead> 17 <thead>
16 {{ .Console.BuilderRef | consoleHeader }} 18 {{ $console.Header }}
17 </thead> 19 </thead>
18 {{ range .Console.Commit }} 20 {{ range $console.Commit }}
19 <tr> 21 <tr>
20 <td> 22 <td>
21 {{ .Commit.Revision }} 23 {{ .Revision }}
22 </td> 24 </td>
23 {{ range .Build }} 25 {{ range .Build }}
24 <td {{ if . }}class="status-{{.Status.String}}"{{ end }}>
25 {{ if . }} 26 {{ if . }}
26 {{ if .Link }} 27 <td class="status-{{.Summary.Status.String}}">
27 <a href="{{.Link.URL}}">x</a> 28 {{ . | $console.BuilderLink | linkify }}
28 {{ end }} 29 </td>
30 {{ else }}
31 <td></td>
29 {{ end }} 32 {{ end }}
30 </td>
31 {{ end }} 33 {{ end }}
32 </tr> 34 </tr>
33 {{ end }} 35 {{ end }}
34 </table> 36 </table>
35 37
36 {{end}} <!-- Body --> 38 {{end}} <!-- Body -->
OLDNEW
« no previous file with comments | « milo/common/model/build_summary.go ('k') | milo/frontend/middleware.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698