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

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

Issue 2748073006: Milo Refactor: Remove theme support (Closed)
Patch Set: Fix builder.html pointer Created 3 years, 9 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
(Empty)
1 {{define "title"}}Luci Build{{end}}
2
3
4 {{define "head"}}{{end}}
5
6 {{define "body"}}
7 <div class="row">
8 <div class="col-md-12">
9 <div class="alert alert-success">
10 This build passed
11 </div>
12 </div>
13 </div>
14
15 <div class="row">
16 <div class="col-md-6">
17 <h4>Steps and Logfiles</h4>
18 <table class="table table-condensed table-hover">
19 {{ range .Build.Components }}
20 {{ if eq .Status.String "Running" }}
21 <tr class="warning"><td>
22 {{ else if eq .Status.String "Success" }}
23 <tr class="success"><td>
24 {{ else if eq .Status.String "Failure" }}
25 <tr class="danger"><td>
26 {{ else }}
27 <tr><td>
28 {{ end }}
29 <strong>{{ .Label }}</strong>
30 {{ range .MainLink }}
31 (<a href="{{.URL}}">{{ .Label }}</a>)
32 {{ end }}
33 <small class="muted">
34 {{ range .Text }}<div>{{ . }}</div>{{ end }}
35 </small>
36 <span class="pull-right muted">
37 {{ .Duration | humanDuration }}
38 </span>
39 <ol>
40 {{ range .SubLink }}
41 {{ range . }}
42 <li><a href="{{.URL}}">{{.Label}}</a></li>
43 {{ end }}
44 {{ end }}
45 </ol>
46 </td></tr>
47 {{ end }}
48 </table>
49 </div>
50
51 <div class="col-md-6">
52 <h4>Build Properties</h4>
53 {{ range .Build.PropertyGroup }}
54 {{ $group := .GroupName }}
55 {{ range .Property }}
56 <strong>{{ .Key }}</strong>:
57 {{ .Value }}
58 <small class="muted">({{ $group }})</small>
59 <br>
60 {{ end }}
61 {{ end }}
62
63 </div>
64 </div>
65 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698