lookyloo/website/web/templates/historical_lookups.html

32 lines
788 B
HTML
Raw Normal View History

{% from "macros.html" import shorten_string %}
<div>
{% if riskiq %}
<hr>
<center>
<h1 class="display-4">RiskIQ</h1>
<div>
<h3>{{riskiq['queryValue']}}</h3>
<h4>{{riskiq['firstSeen']}} - {{ riskiq['lastSeen']}}</h4>
<table class="table">
<thead>
<tr>
2022-07-18 13:08:26 +02:00
<th class="col-sm-2" scope="col">First seen</th>
<th class="col-sm-2" scope="col">Last seen</th>
<th scope="col">Resolve</th>
2022-07-18 13:08:26 +02:00
<th class="col-sm-1" scope="col">Type</th>
</thead>
<tbody>
{% for entry in riskiq['results'] %}
<tr>
<td>{{entry['firstSeen']}}</td>
<td>{{entry['lastSeen']}}</td>
<td>{{entry['resolve']}}</td>
<td>{{entry['recordType']}}</td>
</tr>
{% endfor %}
</table>
</center>
{% endif%}
</div>