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

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

Issue 2835193006: Milo: Add timestamp name and tooltip (Closed)
Patch Set: Review Created 3 years, 7 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/templates/includes/base.html ('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 Infra Failure 4 Infra Failure
5 {{ else if eq .Status.String "Exception" }} 5 {{ else if eq .Status.String "Exception" }}
6 Exception 6 Exception
7 {{ else if eq .Status.String "Failure" }} 7 {{ else if eq .Status.String "Failure" }}
8 Failed 8 Failed
9 {{ else if eq .Status.String "NotRun" }} 9 {{ else if eq .Status.String "NotRun" }}
10 Pending 10 Pending
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 <input type="checkbox" id="showHidden"> 151 <input type="checkbox" id="showHidden">
152 <label for="showHidden">Show hidden <span id="numHidden"></span></label> 152 <label for="showHidden">Show hidden <span id="numHidden"></span></label>
153 <ol id="steps" class="hide"> 153 <ol id="steps" class="hide">
154 154
155 {{ with .Build.Summary }} 155 {{ with .Build.Summary }}
156 {{ if .SubLink }} 156 {{ if .SubLink }}
157 <li class="verbosity-{{.Verbosity.String}}"> 157 <li class="verbosity-{{.Verbosity.String}}">
158 <div class="status-{{.Status}} result"> 158 <div class="status-{{.Status}} result">
159 <b>Steps</b> 159 <b>Steps</b>
160 {{ if .Duration -}} 160 {{ if .Duration -}}
161 <span style="float:right">( {{ .Duration | humanDuration }} )</s pan> 161 <span style="float:right"
162 class="duration"
163 data-starttime="{{ .Started | formatTime }}"
164 {{ if .Finished }}data-endtime="{{ .Finished | formatTime }}"{{ end }}>
165 ( {{ .Duration | humanDuration }} )</span>
162 {{- end }} 166 {{- end }}
163 </div> 167 </div>
164 <ul> 168 <ul>
165 {{ range .SubLink }} 169 {{ range .SubLink }}
166 <li>{{ . | linkifySet }}</li> 170 <li>{{ . | linkifySet }}</li>
167 {{ end }} 171 {{ end }}
168 </ul> 172 </ul>
169 </li> 173 </li>
170 {{ end }} 174 {{ end }}
171 {{ end }} 175 {{ end }}
172 176
173 {{ range .Build.Components }} 177 {{ range .Build.Components }}
174 <li class="verbosity-{{.Verbosity.String}}"> 178 <li class="verbosity-{{.Verbosity.String}}">
175 <div class="status-{{.Status}} result"> 179 <div class="status-{{.Status}} result">
176 <b>{{.Label}}</b> 180 <b>{{.Label}}</b>
177 {{ if .Duration -}} 181 {{ if .Duration -}}
178 <span style="float:right">( {{ .Duration | humanDuration }} )</s pan> 182 <span style="float:right"
183 class="duration"
184 data-starttime="{{ .Started | formatTime }}"
185 {{ if .Finished }}data-endtime="{{ .Finished | formatTime }} "{{ end }}>
186 ( {{ .Duration | humanDuration }} )</span>
179 {{- end }} 187 {{- end }}
180 <span> 188 <span>
181 {{ range .Text -}} 189 {{ range .Text -}}
182 <div class="step-text"> 190 <div class="step-text">
183 {{- if . -}}{{- . -}}{{- else -}}&nbsp;{{- end -}} 191 {{- if . -}}{{- . -}}{{- else -}}&nbsp;{{- end -}}
184 </div> 192 </div>
185 {{- end }} 193 {{- end }}
186 </span> 194 </span>
187 </div> 195 </div>
188 <ul> 196 <ul>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 } 340 }
333 }; 341 };
334 342
335 check($("#showHidden").is(":checked")); 343 check($("#showHidden").is(":checked"));
336 $("#showHidden").click(function(e) { 344 $("#showHidden").click(function(e) {
337 check($(this).is(":checked")); 345 check($(this).is(":checked"));
338 }); 346 });
339 }); 347 });
340 </script> 348 </script>
341 {{end}} 349 {{end}}
OLDNEW
« no previous file with comments | « milo/appengine/frontend/templates/includes/base.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698