From 49ffcba2c3c4a19d147dd792d7f6c99b7545a491 Mon Sep 17 00:00:00 2001
From: Horus3
Date: Wed, 25 Feb 2015 16:41:52 +0100
Subject: UX on front end.
---
views/admin.html | 60 +++++++++++++++++++++++++++++++++++++++++++++++
views/admin.html.copy | 45 +++++++++++++++++++++++++++++++++++
views/footer.html | 20 ++++++++++++----
views/footer_admin.html | 26 +++++++++++++++++++++
views/header.html | 2 ++
views/index.html | 29 ++++++++++++++++++++---
views/jobs_modal.html | 43 ++++++++++++++++++++++++++++++++++
views/login.html | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
views/navbar.html | 6 -----
views/navbar_admin.html | 23 ++++++++++++++++++
10 files changed, 303 insertions(+), 13 deletions(-)
create mode 100644 views/admin.html.copy
create mode 100644 views/footer_admin.html
create mode 100644 views/jobs_modal.html
create mode 100644 views/navbar_admin.html
(limited to 'views')
diff --git a/views/admin.html b/views/admin.html
index e69de29..f80c541 100644
--- a/views/admin.html
+++ b/views/admin.html
@@ -0,0 +1,60 @@
+{{template "header.html"}}
+{{template "navbar.html"}}
+
+{{if .Error}}
+
+
+{{range .Error}}
+
+
+ {{.}}
+
+{{end}}
+
+
+{{end}}
+{{if .Success}}
+
+
+{{range .Success}}
+
+
+ {{.}}
+
+{{end}}
+
+
+{{end}}
+
+
+
+
+
+
+ | # |
+ Host |
+ Url |
+ Status |
+
+ Failure Reason |
+ Delete |
+
+
+{{range $index, $results := .Hosts}}
+
+ | {{add $index 1}} |
+ {{.Host}} |
+ {{.Url}} |
+ {{.Status}} |
+
+ {{.Reason}} |
+
+ × |
+
+{{end}}
+
+
+
+
+{{template "jobs_modal.html"}}
+{{template "footer.html"}}
diff --git a/views/admin.html.copy b/views/admin.html.copy
new file mode 100644
index 0000000..17f5c87
--- /dev/null
+++ b/views/admin.html.copy
@@ -0,0 +1,45 @@
+{{template "header.html"}}
+{{template "navbar.html"}}
+
+
+
+{{range .Error}}
+
+
+ {{.}}
+
+{{end}}
+{{range .Success}}
+
+
+ {{.}}
+
+{{end}}
+
+
+
+
+ | # |
+ Host |
+ Url |
+ Status |
+
+ Failure Reason |
+
+
+{{range $index, $results := .}}
+
+ | {{add $index 1}} |
+ {{.Host}} |
+ {{.Url}} |
+ {{.Status}} |
+
+ {{.Reason}} |
+
+{{end}}
+
+
+
+
+{{template "jobs_modal.html"}}
+{{template "footer.html"}}
diff --git a/views/footer.html b/views/footer.html
index 7cc4a34..ae8f370 100644
--- a/views/footer.html
+++ b/views/footer.html
@@ -1,11 +1,9 @@
- {{range .moreScripts}}
-
- {{end}}