dnmapper/bgpdata/templates/bgpdata/overview.html

33 lines
1012 B
HTML
Raw Normal View History

2015-03-27 15:33:54 +01:00
{% extends "base.html" %}
{% block body %}
<h3>Crawl results</h3>
2015-03-28 21:15:32 +01:00
<table class="table">
<thead>
<tr>
<th>#</th>
2015-03-28 22:27:27 +01:00
<th>Start Time</th>
<th>End Time</th>
2015-03-28 21:15:32 +01:00
<th># AS</th>
<th># Peerings</th>
</tr>
</thead>
<tbody>
2015-03-27 15:33:54 +01:00
{% for crawl in crawls %}
2015-03-28 21:15:32 +01:00
<tr class="{% if crawl.endTime%}success{%else%}warning{%endif%}">
<td><a href="/map/{{crawl.id}}/">Crawl {{crawl.id}}</a></td>
2015-03-28 22:17:55 +01:00
<td>{{crawl.startTime|date:"d.m.Y H:i:s"}}</td>
<td>{{crawl.endTime|date:"d.m.Y H:i:s"}}</td>
<td><span class="label label-primary tooltipme" title="# AS in crawl">{{crawl.countAS}}</span> / <span class="label label-success tooltipme" title="# AS online in craw">{{crawl.countASOnline}}</span> / <span class="label label-danger tooltipme" title="# AS offline in crawl">{{crawl.countASOffline }}</span></td>
2015-03-28 21:15:32 +01:00
<td><span class="label label-primary">{{crawl.countPeerings}}</span></td>
</tr>
2015-03-27 15:33:54 +01:00
{% endfor %}
2015-03-28 21:15:32 +01:00
</tbody>
</table>
2015-03-27 15:33:54 +01:00
<script type='text/javascript'>
$('.tooltipme').tipsy({gravity: 's'});
</script>
2015-03-27 15:33:54 +01:00
{% endblock %}