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

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

Issue 2953183002: Fix milo deployment (Closed)
Patch Set: License header fix Created 3 years, 6 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 | « milo/frontend/appengine/templates/pages/log.html ('k') | milo/frontend/cron.yaml » ('j') | 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"}}Settings{{end}} 1 {{define "title"}}Settings{{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>Build {{ .Navi.PageTitle.Label }}</h1> 10 <h1>Build {{ .Navi.PageTitle.Label }}</h1>
11 11
12 <div class="column"> 12 <div class="column">
13 <h2>Themes</h2> 13 <h2>Themes</h2>
14 <form action="{{.Settings.ActionURL}}" method='POST'> 14 <form action="{{.Settings.ActionURL}}" method='POST'>
15 <input type="hidden" name="xsrf_token" value="{{.XsrfToken}}"> 15 <input type="hidden" name="xsrf_token" value="{{.XsrfToken}}">
16 <select name="theme"> 16 <select name="theme">
17 {{ $selected := .Settings.Theme.Selected }} 17 {{ $selected := .Settings.Theme.Selected }}
18 {{ range $index, $value := .Settings.Theme.Choices }} 18 {{ range $index, $value := .Settings.Theme.Choices }}
19 {{ if eq $value $selected }} 19 {{ if eq $value $selected }}
20 <option value={{$value}} selected>{{$value}}</option> 20 <option value={{$value}} selected>{{$value}}</option>
21 {{ else }} 21 {{ else }}
22 <option value={{$value}}>{{$value}}</option> 22 <option value={{$value}}>{{$value}}</option>
23 {{ end }} 23 {{ end }}
24 {{ end }} 24 {{ end }}
25 </select> 25 </select>
26 <button type="submit" label="Submit">Submit!!!</button> 26 <button type="submit" label="Submit">Submit!!!</button>
27 </div> 27 </div>
28 </div> 28 </div>
29 {{end}} 29 {{end}}
OLDNEW
« no previous file with comments | « milo/frontend/appengine/templates/pages/log.html ('k') | milo/frontend/cron.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698