parent
f898cd8d40
commit
9784d4dc7c
@ -0,0 +1,28 @@
|
||||
{% extends "base.html" %}
|
||||
{% block body %}
|
||||
<h3>ASN Last Seen</h3>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Status</th>
|
||||
<th>Directly Crawled</th>
|
||||
<th>Last Seen</th>
|
||||
<th>Last Seen Crawl</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for asn in last_seen %}
|
||||
<tr class="{% if asn.online %}success{% else %}danger{% endif %}">
|
||||
<td>{{ asn.asn }}</td>
|
||||
<td>{%if not asn.online %}Offline{% endif %}</td>
|
||||
<td>{% if asn.directlyCrawled %}Yes{% endif %}</td>
|
||||
<td>{% if not asn.online %}{{ asn.lastSeen }}{% endif %}</td>
|
||||
<td><a href="/map/{{ asn.crawlLastSeen.id }}/">Crawl {{ asn.crawlLastSeen.id }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in new issue