lookyloo/website/web/templates/hashlookup.html

34 lines
874 B
HTML
Raw Normal View History

2021-11-30 14:59:48 +01:00
<div>
{% if not merged %}
No result data available or hashlookup module not enabled.
{%else%}
2021-11-30 15:43:42 +01:00
<b>Total Hits</b>: {{ merged|length }}</br>
<b>Total ressources</b>: {{total_ressources}}</br></br>
2021-11-30 14:59:48 +01:00
{% for sha1, entries in merged.items() %}
<dl class="row">
<dt class="col-sm-2">URLs in tree</dt>
<dd class="col-sm-10">
{% for node in entries['nodes'] %}
{{ node }} </br>
2021-11-30 14:59:48 +01:00
{% endfor %}
</dd>
</dl>
<dl class="row">
<dt class="col-sm-2">Entries on hashlookup</dt>
<dd class="col-sm-7">
{% for k, v in entries['hashlookup'].items() %}
<b>{{k}}</b>:
{% if k == "SHA-1" %}
<a href="https://hashlookup.circl.lu/lookup/sha1/{{ v }}">{{ v }}</a>
{% else %}
{{ v }}
{% endif %}
</br>
{% endfor %}
</dd>
</dl>
{% endfor %}
{%endif%}
2021-11-30 14:59:48 +01:00
</div>