format datetimes
This commit is contained in:
parent
51b2ee7e45
commit
cc7e8d12ae
|
@ -16,7 +16,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h3>Crawl run {{crawl.pk}} from {{crawl.startTime}}</h3>
|
<h3>Crawl run {{crawl.pk}} from {{crawl.startTime|date:"d.m.Y H:i"}}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="plotwin" class="container"></div>
|
<div id="plotwin" class="container"></div>
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
{% for crawl in crawls %}
|
{% for crawl in crawls %}
|
||||||
<tr class="{% if crawl.endTime%}success{%else%}warning{%endif%}">
|
<tr class="{% if crawl.endTime%}success{%else%}warning{%endif%}">
|
||||||
<td><a href="/map/{{crawl.id}}/">Crawl {{crawl.id}}</a></td>
|
<td><a href="/map/{{crawl.id}}/">Crawl {{crawl.id}}</a></td>
|
||||||
<td>{{crawl.startTime}}</td>
|
<td>{{crawl.startTime|date:"d.m.Y H:i:s"}}</td>
|
||||||
<td>{{crawl.endTime}}</td>
|
<td>{{crawl.endTime|date:"d.m.Y H:i:s"}}</td>
|
||||||
<td><span class="label label-primary">{{crawl.countAS}}</span> / <span class="label label-success">{{crawl.countASOnline}}</span> / <span class="label label-danger">{{crawl.countASOffline }}</span></td>
|
<td><span class="label label-primary">{{crawl.countAS}}</span> / <span class="label label-success">{{crawl.countASOnline}}</span> / <span class="label label-danger">{{crawl.countASOffline }}</span></td>
|
||||||
<td><span class="label label-primary">{{crawl.countPeerings}}</span></td>
|
<td><span class="label label-primary">{{crawl.countPeerings}}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue