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

Unified Diff: appengine/cmd/milo/frontend/templates/buildbot/pages/console.html

Issue 2196453002: Milo: Console view prototype (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Reviews 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/cmd/milo/frontend/static/buildbot/css/default.css ('k') | appengine/cmd/milo/git/gitiles.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/milo/frontend/templates/buildbot/pages/console.html
diff --git a/appengine/cmd/milo/frontend/templates/buildbot/pages/console.html b/appengine/cmd/milo/frontend/templates/buildbot/pages/console.html
new file mode 100644
index 0000000000000000000000000000000000000000..3d64e0f42360deb38cbe9624390d8e3f7a954ee1
--- /dev/null
+++ b/appengine/cmd/milo/frontend/templates/buildbot/pages/console.html
@@ -0,0 +1,36 @@
+{{define "title"}}Milo{{end}}
+
+{{define "head"}}
+<style>
+th {
+ border: 1px silver;
+}
+</style>
+{{end}}
+
+{{define "body"}}
+<h1>{{.Console.Name}}</h1>
+
+<table>
+ <thead>
+ {{ .Console.BuilderRef | consoleHeader }}
+ </thead>
+{{ range .Console.Commit }}
+ <tr>
+ <td>
+ {{ .Commit.Revision }}
+ </td>
+ {{ range .Build }}
+ <td {{ if . }}class="status-{{.Status.String}}"{{ end }}>
+ {{ if . }}
+ {{ if .Link }}
+ <a href="{{.Link.URL}}">x</a>
+ {{ end }}
+ {{ end }}
+ </td>
+ {{ end }}
+ </tr>
+{{ end }}
+</table>
+
+{{end}} <!-- Body -->
« no previous file with comments | « appengine/cmd/milo/frontend/static/buildbot/css/default.css ('k') | appengine/cmd/milo/git/gitiles.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698