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/index.html | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'views/index.html') diff --git a/views/index.html b/views/index.html index 31ef3f2..88f8e2e 100644 --- a/views/index.html +++ b/views/index.html @@ -1,8 +1,31 @@ {{template "header.html"}} {{template "navbar.html"}} -Hello World! -{{range .}} -Hier steht die Url: {{.Url}} +
| # | +Host | +Url | +Status | + +Failure Reason | + + +{{range $index, $results := .}} +
|---|---|---|---|---|
| {{add $index 1}} | +{{.Host}} | +{{.Url}} | +{{.Status}} | + +{{.Reason}} | +