2024-02-19 16:24:17 +01:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
|
|
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
|
|
|
|
2024-02-19 22:30:43 +01:00
|
|
|
{% block title %}Favicons lookup{% endblock %}
|
2024-02-19 16:24:17 +01:00
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
2024-09-04 16:30:33 +02:00
|
|
|
<script type="text/javascript" nonce="{{ csp_nonce() }}">
|
2024-02-19 16:24:17 +01:00
|
|
|
$('#table').DataTable( {
|
|
|
|
"order": [[ 1, "desc" ]],
|
|
|
|
"pageLength": 500
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="table-responsive-sm">
|
|
|
|
<table id="table" class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Favicon</th>
|
|
|
|
<th style="width:10%">Number of captures</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-10-31 16:03:03 +01:00
|
|
|
{% for favicon_sha512, number_captures, b64_favicon in favicons %}
|
2024-02-19 16:24:17 +01:00
|
|
|
<tr>
|
|
|
|
<td >
|
|
|
|
<a href="{{ url_for('favicon_detail', favicon_sha512=favicon_sha512) }}">
|
|
|
|
<img src="data:image/ico;base64,{{ b64_favicon }}" style="width:32px;height:32px;"/>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>{{ number_captures }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|