From 8a45eb2f5399aaa2a022389086a4afde22b00477 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Mon, 13 Apr 2020 22:09:14 +0200 Subject: full redesign --- templates/download.html | 88 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 60 insertions(+), 28 deletions(-) (limited to 'templates/download.html') diff --git a/templates/download.html b/templates/download.html index e39b16b..83dd9c4 100644 --- a/templates/download.html +++ b/templates/download.html @@ -1,37 +1,69 @@ {% extends "base.html" %} {% block content %} -

» Metadata removed

-

-{% if not meta_after %} -mat2 managed to remove all metadata from

{{ filename }}
. -{% else %} -mat2 could not remove all the metadata from
{{ filename }}
, those are the remaining ones: - -{%endif %} -

-⇩ Download cleaned file +
+

Metadata removed

+ {% if not meta_after %} +

+ Successfully removed the metadata +

+ {% endif %} +
+
+ + + +
+
-
-{% if meta %} -

Just for fun, those are the metadata that mat2 detected in your file, before cleanup.

-
- -
-{% else %} -

Not a single metadata was found by mat2, odds are that your file was already clean!

-{% endif %} +

+ {% if meta_after %} +

+

+ Could not remove all the metadata +

+
+

+ Remaining Metadata +

+
+ {% for key, value in meta_after.items() %} +
+ {{ key }} +
+
+ {{ value }} +
+ {% endfor %} +
+ {% endif %} +

-
+ {% if meta %} +

+ Removed Metadata +

+
+ {% for key, value in meta.items() %} +
+ {{ key }} +
+
+ {{ value }} +
+ {% endfor %} +
+ {% else %} +
+

+ Not a single metadata was found, odds are that your file was already clean! +

+
+ {% endif %} +
{% endblock %} -- cgit v1.3