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/index.html | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) (limited to 'views/index.html') diff --git a/views/index.html b/views/index.html index cc6ca9d..2c75c8b 100644 --- a/views/index.html +++ b/views/index.html @@ -1,32 +1,54 @@ {{template "header.html"}} {{template "navbar.html"}} +{{if .Sticky}} +
+
+ + +
+

Information

+
+ {{print .Sticky}} +
+
+ +
+
+{{end}} +
- +
- + + -{{range $index, $results := .}} +{{range $index, $results := .Hosts}} - - + + + {{end}}
# HostUrlDescription Status Last Update Failure Reason
{{add $index 1}}{{.Host}}{{.Url}}{{.Host}} {{.Description}} {{.Status}} {{.UpdatedAt}} {{.Reason}}
+

Next run: {{.NextRun}}

+ + +
{{template "footer.html"}} -- cgit v1.2.3