Merge pull request #60 from BetterWorks/markupFixes

fix some markup and be more explicit about date time format
This commit is contained in:
Pēteris Caune 2016-05-24 07:28:42 +03:00
commit d6c6332829
13 changed files with 12 additions and 38 deletions

View File

@ -43,13 +43,12 @@
</div>
</div>
<div class="row">
<div class="col-sm-12"></div>
<div class="col-sm-12">
<form method="post" action="{% url 'hc-add-check' %}" class="text-center">
{% csrf_token %}
<input type="submit" class="btn btn-primary btn-lg" value="Add Check">
</form>
</div>
</div>
<div id="update-name-modal" class="modal">
@ -177,7 +176,7 @@
{% csrf_token %}
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</span></button>
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="remove-check-title">Remove Check <span class="remove-check-name"></span></h4>
</div>
<div class="modal-body">

View File

@ -77,7 +77,7 @@
{% if check.last_ping %}
<span
data-toggle="tooltip"
title="{{ check.last_ping }} GMT">
title="{{ check.last_ping|date:'N j, Y, P e' }}">
{{ check.last_ping|naturaltime }}
</span>
{% else %}

View File

@ -40,10 +40,6 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -77,10 +77,6 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -77,10 +77,6 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -67,10 +67,6 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -90,10 +90,6 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -88,10 +88,6 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -42,4 +42,3 @@
]
}]
}