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

Unified Diff: milo/appengine/settings/html_data.go

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/settings/html_data.go
diff --git a/milo/appengine/settings/html_data.go b/milo/appengine/settings/html_data.go
deleted file mode 100644
index b95891358406a01515697a36ac36163df8978943..0000000000000000000000000000000000000000
--- a/milo/appengine/settings/html_data.go
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2016 The LUCI Authors. All rights reserved.
-// Use of this source code is governed under the Apache License, Version 2.0
-// that can be found in the LICENSE file.
-
-package settings
-
-import (
- "github.com/luci/luci-go/milo/api/resp"
- "github.com/luci/luci-go/server/templates"
-)
-
-// TestableSettings is a subclass of Settings that interfaces with
-// TestableHandler and includes sample test data.
-type TestableSettings struct{ Settings }
-
-// TestData returns sample test data.
-func (s TestableSettings) TestData() []TestBundle {
- return []TestBundle{
- {
- Description: "Settings",
- Data: templates.Args{
- "Settings": &resp.Settings{
- ActionURL: "/post/action",
- Theme: &resp.Choices{
- Choices: GetAllThemes(),
- Selected: "bootstrap",
- },
- },
- "XsrfToken": "thisisatoken",
- },
- },
- }
-}

Powered by Google App Engine
This is Rietveld 408576698