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

Unified Diff: milo/appengine/frontend/templates/bootstrap/pages/error.html

Issue 2525493002: Milo: Add themed page for errors (Closed)
Patch Set: y Created 4 years, 1 month 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/bootstrap/pages/error.html
diff --git a/milo/appengine/frontend/templates/bootstrap/pages/error.html b/milo/appengine/frontend/templates/bootstrap/pages/error.html
new file mode 100644
index 0000000000000000000000000000000000000000..4e1e9c5650c84beff0ce184350e7cd0b7d91e4af
--- /dev/null
+++ b/milo/appengine/frontend/templates/bootstrap/pages/error.html
@@ -0,0 +1,10 @@
+{{define "title"}}Error: {{.Code}}{{end}}
+
+{{define "head"}}{{end}}
+
+{{define "body"}}
+<h1>Error: {{.Code}}</h1>
+{{ if .Message }}
+ <div>{{.Message}}</div>
+{{ end }}
+{{end}}

Powered by Google App Engine
This is Rietveld 408576698