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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: milo/appengine/frontend/templates/bootstrap/pages/build.html
diff --git a/milo/appengine/frontend/templates/bootstrap/pages/build.html b/milo/appengine/frontend/templates/bootstrap/pages/build.html
deleted file mode 100644
index 36425fc2e05c772a9afaf688024c355484205a40..0000000000000000000000000000000000000000
--- a/milo/appengine/frontend/templates/bootstrap/pages/build.html
+++ /dev/null
@@ -1,65 +0,0 @@
-{{define "title"}}Luci Build{{end}}
-
-
-{{define "head"}}{{end}}
-
-{{define "body"}}
-<div class="row">
- <div class="col-md-12">
- <div class="alert alert-success">
- This build passed
- </div>
- </div>
-</div>
-
-<div class="row">
- <div class="col-md-6">
- <h4>Steps and Logfiles</h4>
- <table class="table table-condensed table-hover">
- {{ range .Build.Components }}
- {{ if eq .Status.String "Running" }}
- <tr class="warning"><td>
- {{ else if eq .Status.String "Success" }}
- <tr class="success"><td>
- {{ else if eq .Status.String "Failure" }}
- <tr class="danger"><td>
- {{ else }}
- <tr><td>
- {{ end }}
- <strong>{{ .Label }}</strong>
- {{ range .MainLink }}
- (<a href="{{.URL}}">{{ .Label }}</a>)
- {{ end }}
- <small class="muted">
- {{ range .Text }}<div>{{ . }}</div>{{ end }}
- </small>
- <span class="pull-right muted">
- {{ .Duration | humanDuration }}
- </span>
- <ol>
- {{ range .SubLink }}
- {{ range . }}
- <li><a href="{{.URL}}">{{.Label}}</a></li>
- {{ end }}
- {{ end }}
- </ol>
- </td></tr>
- {{ end }}
- </table>
- </div>
-
- <div class="col-md-6">
- <h4>Build Properties</h4>
- {{ range .Build.PropertyGroup }}
- {{ $group := .GroupName }}
- {{ range .Property }}
- <strong>{{ .Key }}</strong>:
- {{ .Value }}
- <small class="muted">({{ $group }})</small>
- <br>
- {{ end }}
- {{ end }}
-
- </div>
-</div>
-{{end}}

Powered by Google App Engine
This is Rietveld 408576698