2024-02-21 14:36:19 +01:00
|
|
|
{% from "macros.html" import shorten_string %}
|
|
|
|
|
2024-02-20 17:01:16 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
new DataTable('#faviconDetailsTable', {
|
2024-02-21 14:36:19 +01:00
|
|
|
columnDefs: [{ width: '30%', targets: 0 },
|
|
|
|
{ width: '30%', targets: 1 },
|
|
|
|
{ width: '50%', targets: 2 }],
|
2024-02-20 17:01:16 +01:00
|
|
|
});
|
|
|
|
</script>
|
2024-02-19 16:24:17 +01:00
|
|
|
|
2024-02-20 17:01:16 +01:00
|
|
|
<center>
|
2024-02-20 19:53:07 +01:00
|
|
|
<img src="data:{{mimetype}};base64,{{ b64_favicon }}" style="width:64px;height:64px;"/>
|
2024-02-20 17:01:16 +01:00
|
|
|
</center>
|
|
|
|
<table id="faviconDetailsTable" class="table table-striped" style="width:100%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2024-02-21 14:36:19 +01:00
|
|
|
<th>Capture Time</th>
|
2024-02-20 17:01:16 +01:00
|
|
|
<th>Capture Title</th>
|
|
|
|
<th>Landing page</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for capture_uuid, title, landing_page, capture_time in captures %}
|
|
|
|
<tr>
|
2024-02-21 14:36:19 +01:00
|
|
|
<td>
|
|
|
|
{{capture_time}}
|
|
|
|
</td>
|
2024-02-20 17:01:16 +01:00
|
|
|
<td>
|
|
|
|
<a href="{{ url_for('tree', tree_uuid=capture_uuid) }}">
|
|
|
|
{{ title }}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
2024-02-21 14:36:19 +01:00
|
|
|
<span class="d-inline-block text-truncate" style="max-width: 400px;">
|
|
|
|
{{ shorten_string(landing_page, 300) }}
|
|
|
|
</span>
|
2024-02-20 17:01:16 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|