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

Unified Diff: milo/frontend/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/frontend/templates/pages/log.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/frontend/templates/pages/settings.html
diff --git a/milo/frontend/templates/pages/settings.html b/milo/frontend/templates/pages/settings.html
deleted file mode 100644
index cffc695da338f939a99500a036cdf1c6cedb831a..0000000000000000000000000000000000000000
--- a/milo/frontend/templates/pages/settings.html
+++ /dev/null
@@ -1,29 +0,0 @@
-{{define "title"}}Settings{{end}}
-
-{{ define "head" }}{{ end }}
-
-{{define "body"}}
-<div class="header">
- <a href="{{ .Navi.SiteTitle.URL }}">{{ .Navi.SiteTitle.Label }}</a>
-</div>
-<div class="content">
- <h1>Build {{ .Navi.PageTitle.Label }}</h1>
-
- <div class="column">
- <h2>Themes</h2>
- <form action="{{.Settings.ActionURL}}" method='POST'>
- <input type="hidden" name="xsrf_token" value="{{.XsrfToken}}">
- <select name="theme">
- {{ $selected := .Settings.Theme.Selected }}
- {{ range $index, $value := .Settings.Theme.Choices }}
- {{ if eq $value $selected }}
- <option value={{$value}} selected>{{$value}}</option>
- {{ else }}
- <option value={{$value}}>{{$value}}</option>
- {{ end }}
- {{ end }}
- </select>
- <button type="submit" label="Submit">Submit!!!</button>
- </div>
-</div>
-{{end}}
« no previous file with comments | « milo/frontend/templates/pages/log.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698