summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorHorus32015-02-27 19:57:24 +0100
committerHorus32015-02-27 19:57:24 +0100
commitd62b3e273c98049511c1c09892b50f631f0665a5 (patch)
tree267a2e463488f468292aa19446c02555e8311f4d /views
parent6837ddf68f13a1633ea868ab55d71389ca5bc175 (diff)
downloadstatuspage-d62b3e273c98049511c1c09892b50f631f0665a5.tar.gz
Checks error now on resonse code. Refactoring and styling.
Diffstat (limited to 'views')
-rw-r--r--views/index.html2
-rw-r--r--views/jobs_modal.html9
-rw-r--r--views/login.html2
3 files changed, 7 insertions, 6 deletions
diff --git a/views/index.html b/views/index.html
index 2c75c8b..b168ff9 100644
--- a/views/index.html
+++ b/views/index.html
@@ -35,7 +35,7 @@
{{range $index, $results := .Hosts}}
<tr class="{{.Class}}">
<td>{{add $index 1}}</td>
- <td>{{.Host}} <a href="{{.Url}}" title="{{.Host}}" target="_blank"> <span class="fa fa-external-link-square"></span></a></td>
+ <td>{{.Host}} <a href="{{.Url}}" title="{{.Url}}" target="_blank"> <span class="fa fa-external-link-square"></span></a></td>
<td>{{.Description}}</td>
<td>{{.Status}}</td>
<!--td>{{.StatusCode}}</td-->
diff --git a/views/jobs_modal.html b/views/jobs_modal.html
index 84c6340..dbd6412 100644
--- a/views/jobs_modal.html
+++ b/views/jobs_modal.html
@@ -1,9 +1,10 @@
<div id="jobs-modal" class="modal fade" tabindex="-1">
- <div class="modal-dialog modal-lg" id="dd-jobs">
+ <div class="modal-dialog modal-lg">
<div class="modal-content">
- <div class="modal-header">
+ <div class="modal-header" id="dd-jobs">
<!--button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button-->
- <button class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+ <button type="bottom" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+ <h3>Add a new host!</h3>
</div>
<div class="modal-body">
<form class="form-horizontal" method='post' action='/new'>
@@ -11,7 +12,7 @@
<!-- Form Name -->
<div class="text-center">
- <legend>Add a new host!</legend>
+ <legend> </legend>
</div>
<!-- Text input-->
diff --git a/views/login.html b/views/login.html
index 8e4963e..d7a3865 100644
--- a/views/login.html
+++ b/views/login.html
@@ -50,7 +50,7 @@
<div class="form-group">
<label class="col-md-4 control-label" for="submit"></label>
<div class="col-md-4">
- <button class="btn btn-primary">Submit</button>
+ <button class="btn btn-primary btn-raised">Submit</button>
</div>
</div>