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

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

Issue 2994433002: Milo: Add links to console in config page (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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"}}Configs{{end}} 1 {{define "title"}}Configs{{end}}
2 2
3 {{ define "head" }}{{ end }} 3 {{ define "head" }}{{ end }}
4 4
5 {{define "body"}} 5 {{define "body"}}
6 <div class="header"> 6 <div class="header">
7 <a href="{{ .Navi.SiteTitle.URL }}">{{ .Navi.SiteTitle.Label }}</a> 7 <a href="{{ .Navi.SiteTitle.URL }}">{{ .Navi.SiteTitle.Label }}</a>
8 </div> 8 </div>
9 <div class="content"> 9 <div class="content">
10 <h1>All Consoles</h1> 10 <h1>All Consoles</h1>
11 {{ range .Consoles }} 11 {{ range .Consoles }}
12 <h4> {{ .GetProjectName }} / {{ .ID }} </h4> 12 <h3>
13 <a href="/console/{{.GetProjectName}}/{{.ID}}">
14 {{ .GetProjectName }} / {{ .ID }}
15 </a>
16 </h3>
13 <p> <b>Repo</b>: {{ .RepoURL }} </p> 17 <p> <b>Repo</b>: {{ .RepoURL }} </p>
14 <p> <b>Ref</b>: {{ .Ref }} </p> 18 <p> <b>Ref</b>: {{ .Ref }} </p>
15 <p> <b>Manifest Name</b>: {{ .ManifestName }} </p> 19 <p> <b>Manifest Name</b>: {{ .ManifestName }} </p>
16 <p> <b>URL</b>: {{ .URL }} </p> 20 <p> <b>URL</b>: {{ .URL }} </p>
17 <p> <b>Revision</b>: {{ .Revision }} </p> 21 <p> <b>Revision</b>: {{ .Revision }} </p>
18 <ul>{{ range .Builders }}<li>{{ . }}</li>{{ end }}</ul> 22 <ul>{{ range .Builders }}<li>{{ . }}</li>{{ end }}</ul>
19 {{ else }} 23 {{ else }}
20 <h4> No consoles defined </h4> 24 <h4> No consoles defined </h4>
21 {{ end }} 25 {{ end }}
22 26
23 <h1>Service Configs</h1> 27 <h1>Service Configs</h1>
24 <h2>These are settings tied to this instance of Milo</h2> 28 <h2>These are settings tied to this instance of Milo</h2>
25 {{ if not .ServiceConfig }} 29 {{ if not .ServiceConfig }}
26 <h3>No Settings found...</h3> 30 <h3>No Settings found...</h3>
27 {{ else }} 31 {{ else }}
28 <ul> 32 <ul>
29 <li> Revision: {{ .ServiceConfig.Revision }} </li> 33 <li> Revision: {{ .ServiceConfig.Revision }} </li>
30 <li> Last Updated: {{ .ServiceConfig.LastUpdated | localTime "N/A" }} </li > 34 <li> Last Updated: {{ .ServiceConfig.LastUpdated | localTime "N/A" }} </li >
31 </ul> 35 </ul>
32 Content: 36 Content:
33 <pre>{{ .ServiceConfig.Text }}</pre> 37 <pre>{{ .ServiceConfig.Text }}</pre>
34 {{ end }} 38 {{ end }}
35 </div> 39 </div>
36 {{end}} 40 {{end}}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698