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

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

Issue 2748073006: Milo Refactor: Remove theme support (Closed)
Patch Set: Fix builder.html pointer Created 3 years, 9 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
Index: milo/appengine/frontend/templates/buildbot/pages/settings.html
diff --git a/milo/appengine/frontend/templates/buildbot/pages/settings.html b/milo/appengine/frontend/templates/buildbot/pages/settings.html
deleted file mode 100644
index cffc695da338f939a99500a036cdf1c6cedb831a..0000000000000000000000000000000000000000
--- a/milo/appengine/frontend/templates/buildbot/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}}

Powered by Google App Engine
This is Rietveld 408576698