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

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

Issue 2991243002: Milo: Console improvements (Closed)
Patch Set: Small fixes Created 3 years, 4 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"}}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 .commit { 8 .commit {
9 font-weight: bold; 9 font-weight: bold;
10 } 10 }
11 </style> 11 </style>
12 {{end}} 12 {{end}}
13 13
14 {{define "body"}} 14 {{define "body"}}
15 {{ $console := .Console }} 15 {{ $console := .Console }}
16 16
17 <h1>{{ $console.Name }}</h1> 17 <h1>{{ $console.Name }}</h1>
18 18
19 <table> 19 <table>
20 <thead> 20 <thead>
21 {{ $console.Header }} 21 {{ $console.Header }}
22 </thead> 22 </thead>
23 {{ range $console.Commit }} 23 {{ range $console.Commit }}
24 <tr> 24 <tr>
25 <td>{{ .CommitTime | localTime "N/A" }}</td> 25 <td>{{ .CommitTime | localTime "N/A" }}</td>
26 <td> 26 <td>
27 <a href="{{.Revision.URL}}"> 27 <a href="{{.Revision.URL}}">
28 <span class="commit" title="{{.Description}}"> 28 <span class="commit" title="{{.Description}}">
29 ({{ .AuthorEmail }}) 29 {{ .AuthorEmail }}
30 </span> 30 </span>
31 </a> 31 </a>
32 </td> 32 </td>
33 {{ range .Build }} 33 {{ range .Build }}
34 {{ if . }} 34 {{ if . }}
35 <td class="status-{{.Summary.Status.String}}"> 35 <td class="status-{{.Summary.Status.String}}">
36 {{ . | $console.BuilderLink | linkify }} 36 <a href="{{ .SelfLink }}" {{ . }}>x</a>
dnj 2017/08/02 23:33:04 {{ . }}
Ryan Tseng 2017/08/03 00:46:12 This wasn't supposed to be here. Done.
37 </td> 37 </td>
38 {{ else }} 38 {{ else }}
39 <td></td> 39 <td></td>
40 {{ end }} 40 {{ end }}
41 {{ end }} 41 {{ end }}
42 </tr> 42 </tr>
43 {{ end }} 43 {{ end }}
44 </table> 44 </table>
45 45
46 {{end}} <!-- Body --> 46 {{end}} <!-- Body -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698