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/admin.html | 36 ++++++++++++++++--------- views/email/footer.html | 25 ++++++++++++++++++ views/email/header.html | 15 +++++++++++ views/email/index.html | 29 ++++++++++++++++++++ views/footer.html | 24 +++++++---------- views/header.html | 9 ++----- views/index.html | 32 ++++++++++++++++++---- views/jobs_modal.html | 24 +++++++++++++---- views/navbar.html | 4 +-- views/register.html | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 222 insertions(+), 46 deletions(-) create mode 100644 views/email/footer.html create mode 100644 views/email/header.html create mode 100644 views/email/index.html (limited to 'views') diff --git a/views/admin.html b/views/admin.html index ebec09c..86f38bc 100644 --- a/views/admin.html +++ b/views/admin.html @@ -1,11 +1,12 @@ {{template "header.html"}} {{template "navbar.html"}} +{{template "jobs_modal.html"}} {{if .Error}}
+
{{.}}
@@ -17,8 +18,7 @@- +
{{.}}
{{end}} @@ -32,17 +32,19 @@| # | Host | -Url | +Description | Status | +Public | +Last Update | Failure Reason | Delete | @@ -50,23 +52,33 @@ {{range $index, $results := .Hosts}}||
|---|---|---|---|---|---|---|---|---|---|---|
| {{add $index 1}} | -{{.Host}} | -{{.Url}} | +{{.Host}} | +{{.Description}} | {{.Status}} | ++ | {{.UpdatedAt}} | {{.Reason}} | -× | +
Next run: {{.NextRun}}
+