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

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

Issue 2254993002: Milo: Add task expired as a failure status (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Retrain, remove build-hang test case 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"}}{{.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> 7 <h1>
8 {{ if .Build.Summary.ParentLabel }} 8 {{ if .Build.Summary.ParentLabel }}
9 Builder {{ .Build.Summary.ParentLabel | linkify }} 9 Builder {{ .Build.Summary.ParentLabel | linkify }}
10 {{ end }} 10 {{ end }}
(...skipping 13 matching lines...) Expand all
24 <div class="column"> 24 <div class="column">
25 25
26 <h2>Results:</h2> 26 <h2>Results:</h2>
27 {{ with .Build.Summary }} 27 {{ with .Build.Summary }}
28 {{ if eq .Status.String "Running" }} 28 {{ if eq .Status.String "Running" }}
29 <p class="running result">Build Running 29 <p class="running result">Build Running
30 {{ else if eq .Status.String "Success" }} 30 {{ else if eq .Status.String "Success" }}
31 <p class="success result">Build Successful 31 <p class="success result">Build Successful
32 {{ else if eq .Status.String "InfraFailure" }} 32 {{ else if eq .Status.String "InfraFailure" }}
33 <p class="exception result">Internal Failure 33 <p class="exception result">Internal Failure
34 {{ else if eq .Status.String "Expired" }}
35 <p class="expired result">Internal Failure - Expired
34 {{ else if eq .Status.String "Failure" }} 36 {{ else if eq .Status.String "Failure" }}
35 <p class="failure result">Build Failed 37 <p class="failure result">Build Failed
36 {{ else if eq .Status.String "NotRun" }} 38 {{ else if eq .Status.String "NotRun" }}
37 <p class="pending result">Build Pending 39 <p class="pending result">Build Pending
38 {{ else }} 40 {{ else }}
39 <p class="failure result">Unknown status {{.Status.String }} 41 <p class="failure result">Unknown status {{.Status.String }}
40 {{ end }} 42 {{ end }}
41 <span class="subtitle"> 43 <span class="subtitle">
42 {{ range .Text }}<div class="step-text">{{ . }}</div>{{ end }} 44 {{ range .Text }}<div class="step-text">{{ . }}</div>{{ end }}
43 </span> 45 </span>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 $(".verbosity-Hidden").each(function(i, obj) { 217 $(".verbosity-Hidden").each(function(i, obj) {
216 if (checked) { 218 if (checked) {
217 $(this).removeClass("default"); 219 $(this).removeClass("default");
218 } else { 220 } else {
219 $(this).addClass("default"); 221 $(this).addClass("default");
220 } 222 }
221 }); 223 });
222 }); 224 });
223 </script> 225 </script>
224 {{end}} 226 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698