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

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

Issue 2250263005: Milo: Prefetch logs that are failures (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Also add prefetch Created 4 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"}} 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 }}
11 {{ end }} 11 {{ end }}
12 - 12 -
13 {{ if .ParentLabel }} {{ .ParentLabel.Label }} {{ end }} 13 {{ if .ParentLabel }} {{ .ParentLabel.Label }} {{ end }}
14 {{ .Label }} 14 {{ .Label }}
15 {{- end }} 15 {{- end }}
16 {{end}} 16 {{end}}
17 17
18 {{define "head"}}{{end}} 18 {{define "head"}}
19 {{ range .Prefetch }}
20 <link rel="prerender" href="{{.}}">
21 <link rel="prefetch" href="{{.}}">
22 {{ end }}
23 {{end}}
19 24
20 {{define "body"}} 25 {{define "body"}}
21 <div class="content"> 26 <div class="content">
22 <h1> 27 <h1>
23 {{ if .Build.Summary.ParentLabel }} 28 {{ if .Build.Summary.ParentLabel }}
24 Builder {{ .Build.Summary.ParentLabel | linkify }} 29 Builder {{ .Build.Summary.ParentLabel | linkify }}
25 {{ end }} 30 {{ end }}
26 Build {{.Build.Summary.Label}} 31 Build {{.Build.Summary.Label}}
27 {{ if .Build.Summary.Banner }} 32 {{ if .Build.Summary.Banner }}
28 {{ range .Build.Summary.Banner.OS }} 33 {{ range .Build.Summary.Banner.OS }}
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 $(".verbosity-Hidden").each(function(i, obj) { 235 $(".verbosity-Hidden").each(function(i, obj) {
231 if (checked) { 236 if (checked) {
232 $(this).removeClass("default"); 237 $(this).removeClass("default");
233 } else { 238 } else {
234 $(this).addClass("default"); 239 $(this).addClass("default");
235 } 240 }
236 }); 241 });
237 }); 242 });
238 </script> 243 </script>
239 {{end}} 244 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698