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

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

Issue 2984003002: Milo: Change console commit text format (Closed)
Patch Set: 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 | « no previous file | milo/frontend/view_console.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 .commit {
9 font-weight: bold;
10 }
8 </style> 11 </style>
9 {{end}} 12 {{end}}
10 13
11 {{define "body"}} 14 {{define "body"}}
12 {{ $console := .Console }} 15 {{ $console := .Console }}
13 16
14 <h1>{{ $console.Name }}</h1> 17 <h1>{{ $console.Name }}</h1>
15 18
16 <table> 19 <table>
17 <thead> 20 <thead>
18 {{ $console.Header }} 21 {{ $console.Header }}
19 </thead> 22 </thead>
20 {{ range $console.Commit }} 23 {{ range $console.Commit }}
21 <tr> 24 <tr>
25 <td>{{ .CommitTime | localTime "N/A" }}</td>
22 <td> 26 <td>
23 {{ .Revision | linkify }} 27 <a href="{{.Revision.URL}}">
28 <span class="commit" title="{{.Description}}">
29 ({{ .AuthorEmail }})
30 </span>
31 </a>
24 </td> 32 </td>
25 {{ range .Build }} 33 {{ range .Build }}
26 {{ if . }} 34 {{ if . }}
27 <td class="status-{{.Summary.Status.String}}"> 35 <td class="status-{{.Summary.Status.String}}">
28 {{ . | $console.BuilderLink | linkify }} 36 {{ . | $console.BuilderLink | linkify }}
29 </td> 37 </td>
30 {{ else }} 38 {{ else }}
31 <td></td> 39 <td></td>
32 {{ end }} 40 {{ end }}
33 {{ end }} 41 {{ end }}
34 </tr> 42 </tr>
35 {{ end }} 43 {{ end }}
36 </table> 44 </table>
37 45
38 {{end}} <!-- Body --> 46 {{end}} <!-- Body -->
OLDNEW
« no previous file with comments | « no previous file | milo/frontend/view_console.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698