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

Unified Diff: milo/frontend/appengine/templates/pages/configs.html

Issue 2982183002: Milo: Store console defs as their own entities (Closed)
Patch Set: Rebase fixes and Working Created 3 years, 5 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 | « milo/common/config_test.go ('k') | milo/frontend/view_config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/frontend/appengine/templates/pages/configs.html
diff --git a/milo/frontend/appengine/templates/pages/configs.html b/milo/frontend/appengine/templates/pages/configs.html
index 237ec9c74288b2283760a8f0a5e7577e4a1ee09f..6592983f7ea25958e81ed4781801265f4fd10fe8 100644
--- a/milo/frontend/appengine/templates/pages/configs.html
+++ b/milo/frontend/appengine/templates/pages/configs.html
@@ -7,31 +7,17 @@
<a href="{{ .Navi.SiteTitle.URL }}">{{ .Navi.SiteTitle.Label }}</a>
</div>
<div class="content">
- <h1>All Projects</h1>
- <h2>These are all of the projects and their settings as defined by luci config</h2>
- {{ range .Projects }}
- <h3> {{ .ID }} </h3>
- <h4> Readers </h4>
- <ul>
- {{ range .Readers }}
- <li> {{ . }} </li>
- {{ end }}
- </ul>
- {{ range .Consoles }}
- <h4> Console: {{ .Name }} </h4>
- <p> <b>ID</b>: {{ .ID }} </p>
- <p> <b>Repo</b>: {{ .RepoURL }} </p>
- <p> <b>Branch</b>: {{ .Branch}} </p>
- <ul>
- {{ range .Builders }}
- <li> <b>{{ .Module }}/{{ .Name }}</b>: {{ .Category }} - {{ .ShortName }} </li>
- {{ end }}
- </ul>
- {{ else }}
- <h4> No consoles defined </h4>
- {{ end }}
+ <h1>All Consoles</h1>
+ {{ range .Consoles }}
+ <h4> {{ .GetProjectName }} / {{ .ID }} </h4>
+ <p> <b>Repo</b>: {{ .RepoURL }} </p>
+ <p> <b>Ref</b>: {{ .Ref }} </p>
+ <p> <b>Manifest Name</b>: {{ .ManifestName }} </p>
+ <p> <b>URL</b>: {{ .URL }} </p>
+ <p> <b>Revision</b>: {{ .Revision }} </p>
+ <ul>{{ range .Builders }}<li>{{ . }}</li>{{ end }}</ul>
{{ else }}
- <h3> No projects defined </h3>
+ <h4> No consoles defined </h4>
{{ end }}
<h1>Service Configs</h1>
« no previous file with comments | « milo/common/config_test.go ('k') | milo/frontend/view_config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698