summaryrefslogtreecommitdiff
path: root/templates/download.html
blob: cc7e1502a4b9281d8e2547d7f2c07dff37d1d93a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "base.html" %}

{% block content %}
<h2>» Metadata removed</h2>
<p>
{% if not meta_after %}
mat2 managed to remove <b>all metadata</b> from your file.
{% else %}
mat2 <b>could not</b> remove all the metadata from your file, those are the remaining ones:
<ul>
	{% for key, value in meta_after.items() %}
	<li> <b>{{ key }}</b>: {{ value }}</li>
	{% endfor %}
	</ul>
{%endif %}
</p>
<a class="button button-primary" href='{{ url_for('download_file', filename=filename) }}'>⇩ Download cleaned file</a>

<hr/>

{% if meta %}
<p>Just for fun, those are the metadata that mat2 detected in your file, before cleanup.</p>
<div class='b'>
	<ul>
	{% for key, value in meta.items() %}
	<li>{{ key }}: <i>{{ value }}</i></li>
	{% endfor %}
	</ul>
</div>
{% else %}
<p>Not a single metadata was found by mat2, odds are that your file was already clean!</p>
{% endif %}

<hr/>

{% endblock %}