fix some markup and be more explicit about date time format

This commit is contained in:
Di Wu 2016-05-23 16:57:35 -07:00
parent 3656e399f7
commit 7f52d8c98e
3 changed files with 4 additions and 5 deletions

View File

@ -19,4 +19,4 @@ $(function () {
// The table is initially hidden to avoid flickering as we convert dates.
// Once it's ready, set it to visible:
$("#log").css("visibility", "visible");
});
});

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 %}