Browse Source

fix some markup and be more explicit about date time format

pull/60/head
Di Wu 9 years ago
parent
commit
7f52d8c98e
3 changed files with 4 additions and 5 deletions
  1. +1
    -1
      static/js/log.js
  2. +2
    -3
      templates/front/my_checks.html
  3. +1
    -1
      templates/front/my_checks_desktop.html

+ 1
- 1
static/js/log.js 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");
});
});

+ 2
- 3
templates/front/my_checks.html 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">


+ 1
- 1
templates/front/my_checks_desktop.html 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 %}


Loading…
Cancel
Save