forked from GithubBackups/healthchecks
fix some markup and be more explicit about date time format
This commit is contained in:
parent
3656e399f7
commit
7f52d8c98e
@ -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");
|
||||
});
|
||||
});
|
||||
|
@ -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">×</span></button>
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="remove-check-title">Remove Check <span class="remove-check-name"></span></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user