2018-11-15 16:03:12 +01:00
|
|
|
{% 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>
|
2019-02-22 21:17:48 +01:00
|
|
|
<a class="button button-primary" href='{{ url_for('download_file', key=key, filename=filename) }}'>⇩ Download cleaned file</a>
|
2018-11-15 16:03:12 +01:00
|
|
|
|
|
|
|
<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 %}
|
2018-12-09 19:31:53 +01:00
|
|
|
<p>Not a single metadata was found by mat2, odds are that your file was already clean!</p>
|
2018-11-15 16:03:12 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|