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

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

Issue 2718373004: Milo: Print raw json for buildbot build properties (Closed)
Patch Set: Add in empty strings Created 3 years, 8 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/appengine/frontend/static/buildbot/css/default.css ('k') | no next file » | 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"}} 1 {{define "title"}}
2 {{ with .Build.Summary -}} 2 {{ with .Build.Summary -}}
3 {{ if eq .Status.String "InfraFailure" }} 3 {{ if eq .Status.String "InfraFailure" }}
4 Exception 4 Exception
5 {{ else if eq .Status.String "Failure" }} 5 {{ else if eq .Status.String "Failure" }}
6 Failed 6 Failed
7 {{ else if eq .Status.String "NotRun" }} 7 {{ else if eq .Status.String "NotRun" }}
8 Pending 8 Pending
9 {{ else }} 9 {{ else }}
10 {{ .Status.String }} 10 {{ .Status.String }}
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 <h2>Build Properties:</h2> 209 <h2>Build Properties:</h2>
210 210
211 <table class="info" width="100%"> 211 <table class="info" width="100%">
212 <tr><th>Name</th><th>Value</th><th>Source</th></tr> 212 <tr><th>Name</th><th>Value</th><th>Source</th></tr>
213 213
214 {{ range .Build.PropertyGroup }} 214 {{ range .Build.PropertyGroup }}
215 {{ $name := .GroupName }} 215 {{ $name := .GroupName }}
216 {{ range .Property }} 216 {{ range .Property }}
217 <tr> 217 <tr>
218 <td class="left">{{.Key}}</td> 218 <td class="left">{{.Key}}</td>
219 <td> 219 <td>{{.Value}}</td>
220 {{ if (eq .Key "requestedAt") }}
221 {{ .Value | parseRFC3339 | localTime "" }}
222 {{ else if (eq .Key "blamelist") }}
223 {{ .Value | obfuscateEmail }}
224 {{ else if (startswith .Value "https://") }}
225 <a href="{{.Value}}">{{.Value}}</a>
226 {{ else }}
227 {{.Value}}
228 {{ end }}
229 </td>
230 <td>{{$name}}</td> 220 <td>{{$name}}</td>
231 </tr> 221 </tr>
232 {{ end }} 222 {{ end }}
233 {{ end }} 223 {{ end }}
234 </table> 224 </table>
235 225
236 {{ if .Build.Blame }} 226 {{ if .Build.Blame }}
237 <h2>Blamelist:</h2> 227 <h2>Blamelist:</h2>
238 <ol> 228 <ol>
239 {{ range .Build.Blame }} 229 {{ range .Build.Blame }}
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 } 286 }
297 }; 287 };
298 288
299 check($("#showHidden").is(":checked")); 289 check($("#showHidden").is(":checked"));
300 $("#showHidden").click(function(e) { 290 $("#showHidden").click(function(e) {
301 check($(this).is(":checked")); 291 check($(this).is(":checked"));
302 }); 292 });
303 }); 293 });
304 </script> 294 </script>
305 {{end}} 295 {{end}}
OLDNEW
« no previous file with comments | « milo/appengine/frontend/static/buildbot/css/default.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698