{% extends "main.html" %} {% from 'bootstrap5/utils.html' import render_messages %} {% from 'macros.html' import shorten_string %} {% from 'macros.html' import get_ressource_button %} {% from 'macros.html' import context_form %} {% block title %}Ressources{% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% block content %}
{% for h, freq, number_domains, context, capture_uuid, urlnode_uuid, hostnode_uuid, filename, mimetype in ressources %} {% endfor %}
SHA 521 Frequency Number unique domains Context Mimetype Filename
{{ shorten_string(h, 10) }}
{{ get_ressource_button(capture_uuid, urlnode_uuid, h, 'Download sample', mimetype and mimetype.startswith('image')) }}
{{ freq }} {{ number_domains }} {{ context['type'] }} - {{ context['details'] }}
{{ context_form(capture_uuid, urlnode_uuid, hostnode_uuid, h, 'ressources') }}
{{ mimetype }} {{ shorten_string(filename, 10) }}
{% endblock %}