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

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: Use proto instead Created 4 years, 3 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') | milo/appengine/logdog/build.go » ('j') | 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 28 matching lines...) Expand all
39 <div class="column"> 39 <div class="column">
40 40
41 <h2>Results:</h2> 41 <h2>Results:</h2>
42 {{ with .Build.Summary }} 42 {{ with .Build.Summary }}
43 {{ if eq .Status.String "Running" }} 43 {{ if eq .Status.String "Running" }}
44 <p class="running result">Build Running 44 <p class="running result">Build Running
45 {{ else if eq .Status.String "Success" }} 45 {{ else if eq .Status.String "Success" }}
46 <p class="success result">Build Successful 46 <p class="success result">Build Successful
47 {{ else if eq .Status.String "InfraFailure" }} 47 {{ else if eq .Status.String "InfraFailure" }}
48 <p class="exception result">Internal Failure 48 <p class="exception result">Internal Failure
49 {{ else if eq .Status.String "Expired" }}
50 <p class="expired result">Internal Failure - Expired
49 {{ else if eq .Status.String "Failure" }} 51 {{ else if eq .Status.String "Failure" }}
50 <p class="failure result">Build Failed 52 <p class="failure result">Build Failed
51 {{ else if eq .Status.String "NotRun" }} 53 {{ else if eq .Status.String "NotRun" }}
52 <p class="pending result">Build Pending 54 <p class="pending result">Build Pending
53 {{ else }} 55 {{ else }}
54 <p class="failure result">Unknown status {{.Status.String }} 56 <p class="failure result">Unknown status {{.Status.String }}
55 {{ end }} 57 {{ end }}
56 <span class="subtitle"> 58 <span class="subtitle">
57 {{ range .Text }}<div class="step-text">{{ . }}</div>{{ end }} 59 {{ range .Text }}<div class="step-text">{{ . }}</div>{{ end }}
58 </span> 60 </span>
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 $(".verbosity-Hidden").each(function(i, obj) { 238 $(".verbosity-Hidden").each(function(i, obj) {
237 if (checked) { 239 if (checked) {
238 $(this).removeClass("default"); 240 $(this).removeClass("default");
239 } else { 241 } else {
240 $(this).addClass("default"); 242 $(this).addClass("default");
241 } 243 }
242 }); 244 });
243 }); 245 });
244 </script> 246 </script>
245 {{end}} 247 {{end}}
OLDNEW
« no previous file with comments | « milo/appengine/frontend/static/buildbot/css/default.css ('k') | milo/appengine/logdog/build.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698