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

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: URL fix 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 }}
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 <b>{{.Label}}</b> 128 <b>{{.Label}}</b>
129 <span style="float:right">( {{ .Duration | humanDuration }} )</spa n> 129 <span style="float:right">( {{ .Duration | humanDuration }} )</spa n>
130 <span> 130 <span>
131 {{ range .Text }}<div class="step-text">{{ . }}</div>{{ end }} 131 {{ range .Text }}<div class="step-text">{{ . }}</div>{{ end }}
132 </span> 132 </span>
133 </div> 133 </div>
134 <ul> 134 <ul>
135 {{ if .MainLink }} 135 {{ if .MainLink }}
136 <li>{{.MainLink | linkify}}</li> 136 <li>{{.MainLink | linkify}}</li>
137 {{ end }} 137 {{ end }}
138 {{- if eq .Verbosity.String "Interesting" -}}
139 <link rel="prerender" href="{{.MainLink.URL}}">
140 <link rel="prefetch" href="{{.MainLink.URL}}">
141 {{- end }}
138 {{ range .SubLink }} 142 {{ range .SubLink }}
139 <li>{{. | linkify}}</li> 143 <li>{{. | linkify}}</li>
140 {{ end }} 144 {{ end }}
141 {{ if not (or .MainLink .SubLink) }} 145 {{ if not (or .MainLink .SubLink) }}
142 <li> - no logs - </li> 146 <li> - no logs - </li>
143 {{ end }} 147 {{ end }}
144 </ul> 148 </ul>
145 </li> 149 </li>
146 {{ end }} 150 {{ end }}
147 </ol> 151 </ol>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 $(".verbosity-Hidden").each(function(i, obj) { 234 $(".verbosity-Hidden").each(function(i, obj) {
231 if (checked) { 235 if (checked) {
232 $(this).removeClass("default"); 236 $(this).removeClass("default");
233 } else { 237 } else {
234 $(this).addClass("default"); 238 $(this).addClass("default");
235 } 239 }
236 }); 240 });
237 }); 241 });
238 </script> 242 </script>
239 {{end}} 243 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698