From 6837ddf68f13a1633ea868ab55d71389ca5bc175 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Fri, 27 Feb 2015 04:02:15 +0100 Subject: Version 0.2. Sends E-Mails now. Also sticky post on index page to quickly inform people. Concatenated all CSS and JavaScript files. --- views/email/footer.html | 25 +++++++++++++++++++++++++ views/email/header.html | 15 +++++++++++++++ views/email/index.html | 29 +++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 views/email/footer.html create mode 100644 views/email/header.html create mode 100644 views/email/index.html (limited to 'views/email') diff --git a/views/email/footer.html b/views/email/footer.html new file mode 100644 index 0000000..f74441b --- /dev/null +++ b/views/email/footer.html @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/views/email/header.html b/views/email/header.html new file mode 100644 index 0000000..b8c16a0 --- /dev/null +++ b/views/email/header.html @@ -0,0 +1,15 @@ + + + + + + + + StatusPage + + + + + + + diff --git a/views/email/index.html b/views/email/index.html new file mode 100644 index 0000000..02a3ef7 --- /dev/null +++ b/views/email/index.html @@ -0,0 +1,29 @@ +{{template "header.html"}} + +
+
+ + + + + + + + + + +{{range $index, $results := .}} + + + + + + + + +{{end}} + +
#HostDescriptionStatusLast UpdateFailure Reason
{{add $index 1}}{{.Host}} {{.Description}}{{.Status}}{{.UpdatedAt}}{{.Reason}}
+
+
+{{template "footer.html"}} -- cgit v1.2.3