2024-02-21 14:36:19 +01:00
|
|
|
{% from "macros.html" import shorten_string %}
|
|
|
|
|
2024-02-20 17:01:16 +01:00
|
|
|
{% if from_popup %}
|
2020-06-19 00:25:24 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
2022-01-14 15:58:06 +01:00
|
|
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
2020-06-19 00:25:24 +02:00
|
|
|
|
|
|
|
{% block title %}{{ body_hash }}{% endblock %}
|
|
|
|
|
2024-10-09 14:18:02 +02:00
|
|
|
{%endif%}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if from_popup %}
|
|
|
|
<center><button class="btn btn-primary goBack" type="button">Go Back</button></center>
|
|
|
|
{%endif%}
|
|
|
|
|
|
|
|
<center>
|
2024-12-11 17:04:00 +01:00
|
|
|
<p class="lead">
|
|
|
|
{% if filename %}
|
|
|
|
Filename: <b title="The file may have different names across the captures, this is one of them.">{{ filename }}</b><br>
|
|
|
|
{% endif %}
|
|
|
|
{% if mimetype %}
|
|
|
|
Mimetype: <b>{{ mimetype }}</b><br>
|
|
|
|
{% endif %}
|
|
|
|
Hash:<br> <span style="font-size: 70%;">{{ body_hash }}</span><br>
|
|
|
|
{% if b64 %}
|
|
|
|
Preview:<br>
|
|
|
|
<a href="{{ url_for('ressource_by_hash', sha512=body_hash) }}">
|
|
|
|
<img class="border rounded border-3" src="data:{{mimetype}};base64,{{ b64 }}" style="max-width: 256px;max-height: 256px;"
|
|
|
|
title="Click to download"/>
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('ressource_by_hash', sha512=body_hash) }}">Download</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
2024-10-09 14:18:02 +02:00
|
|
|
</center>
|
|
|
|
|
2024-12-02 13:40:36 +01:00
|
|
|
<table id="bodyHashDetailsTable" class="table table-striped" style="width:100%" data-bodyhash="{{body_hash}}">
|
2024-02-21 14:36:19 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2024-05-14 18:52:26 +02:00
|
|
|
<th>Capture Time</th>
|
|
|
|
<th>Capture Title</th>
|
2024-02-21 14:36:19 +01:00
|
|
|
<th>URL</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</table>
|
2020-06-19 00:25:24 +02:00
|
|
|
{% endblock %}
|