summaryrefslogtreecommitdiffstats
path: root/templates/error.html
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-03-14 10:23:51 -0700
committer=Corey Hulen <corey@hulen.com>2016-03-14 10:23:51 -0700
commitea3f25924ea64a2dd1e73624c0d30824e1efb240 (patch)
treea4a2b2bdc37bd675fb89837713995ad44a27427b /templates/error.html
parent397ebec88c2db3569efd77238bf877e976492d34 (diff)
parentbf7ae0711743926cfbb031675cc3320d7a942465 (diff)
downloadchat-ea3f25924ea64a2dd1e73624c0d30824e1efb240.tar.gz
chat-ea3f25924ea64a2dd1e73624c0d30824e1efb240.tar.bz2
chat-ea3f25924ea64a2dd1e73624c0d30824e1efb240.zip
Merge branch 'master' into PLT-2115
Diffstat (limited to 'templates/error.html')
-rw-r--r--templates/error.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/error.html b/templates/error.html
new file mode 100644
index 000000000..b86039ca3
--- /dev/null
+++ b/templates/error.html
@@ -0,0 +1,24 @@
+{{define "error"}}
+<!DOCTYPE html>
+<html>
+{{template "head" . }}
+<body class="white error">
+ <div class="container-fluid">
+ <div class="error__container">
+ <div class="error__icon">
+ <i class="fa fa-exclamation-triangle"/>
+ </div>
+ <h2>{{.Props.Title}}</h2>
+ <p>{{ .Props.Message }}</p>
+ <a href="{{.Props.SiteURL}}">{{.Props.Link}}</a>
+ </div>
+ </div>
+</body>
+<script>
+var details = {{ .Props.Details }};
+if (details.length > 0) {
+ console.log("error details: " + details);
+}
+</script>
+</html>
+{{end}}