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

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

Issue 2102903002: Milo: Extract the rietveld information from buildbot. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: comment 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"}}{{.Build.Summary.Label}}{{end}} 1 {{define "title"}}{{.Build.Summary.Label}}{{end}}
2 2
3 {{define "head"}}{{end}} 3 {{define "head"}}{{end}}
4 4
5 {{define "body"}} 5 {{define "body"}}
6 <div class="content"> 6 <div class="content">
7 <h1>{{.Build.Summary.Label}}</h1> 7 <h1>{{.Build.Summary.Label}}</h1>
8 8
9 <div class="column"> 9 <div class="column">
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 {{ end }} 44 {{ end }}
45 45
46 {{ if .Commit.RequestRevision }} 46 {{ if .Commit.RequestRevision }}
47 <tr><td class="left">Revision</td><td>{{ .Commit.RequestRevision }}</td> </tr> 47 <tr><td class="left">Revision</td><td>{{ .Commit.RequestRevision }}</td> </tr>
48 {{ end }} 48 {{ end }}
49 49
50 {{ if .Commit.Revision }} 50 {{ if .Commit.Revision }}
51 <tr><td class="left">Got Revision</td><td>{{ .Commit.Revision }}</td></t r> 51 <tr><td class="left">Got Revision</td><td>{{ .Commit.Revision }}</td></t r>
52 {{ end }} 52 {{ end }}
53 53
54 {{ if .Commit.ChangelistURL }} 54 {{ if .Commit.Changelist }}
55 <tr><td class="left">Patch</td><td><a href="{{.Commit.ChangelistURL}}">Y ES</a></td></tr> 55 <tr><td class="left">Patch</td><td>{{ .Commit.Changelist | linkify }}</t d></tr>
56 {{ end }} 56 {{ end }}
57 57
58 </table> 58 </table>
59 {{ end }} <!-- with --> 59 {{ end }} <!-- with -->
60 {{ end }} <!-- if --> 60 {{ end }} <!-- if -->
61 61
62 {{ if or .Build.Summary.Bot .Build.Summary.Source }} 62 {{ if or .Build.Summary.Bot .Build.Summary.Source }}
63 <h2>Execution:</h2> 63 <h2>Execution:</h2>
64 <ul> 64 <ul>
65 {{ if .Build.Summary.Source }} 65 {{ if .Build.Summary.Source }}
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 <script> 191 <script>
192 (function() { 192 (function() {
193 'use strict'; 193 'use strict';
194 var startedSpan = document.getElementById('started-time'); 194 var startedSpan = document.getElementById('started-time');
195 var finishedSpan = document.getElementById('finished-time'); 195 var finishedSpan = document.getElementById('finished-time');
196 startedSpan.textContent = milo.formatDate('{{ .Build.Summary.Started }}'); 196 startedSpan.textContent = milo.formatDate('{{ .Build.Summary.Started }}');
197 finishedSpan.textContent = milo.formatDate('{{ .Build.Summary.Finished }}'); 197 finishedSpan.textContent = milo.formatDate('{{ .Build.Summary.Finished }}');
198 })(); 198 })();
199 </script> 199 </script>
200 {{end}} 200 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698