From 81780062aea2f9de8dd704de1da7743937b79c38 Mon Sep 17 00:00:00 2001 From: Jfriedli Date: Thu, 18 Mar 2021 11:35:04 +0100 Subject: started refactoring index and download page --- templates/download.html | 125 +++++++++++++++++++++++++++--------------------- 1 file changed, 71 insertions(+), 54 deletions(-) (limited to 'templates/download.html') diff --git a/templates/download.html b/templates/download.html index 8100623..2313d04 100644 --- a/templates/download.html +++ b/templates/download.html @@ -1,69 +1,86 @@ {% extends "base.html" %} {% block content %} -
-

Metadata removed

- {% if not meta_after %} -

+

+
+
+ {% if not meta_after %} +
+

Metadata removed

+
+

Successfully removed the metadata + + +

- {% endif %} -
-
- - - + {% endif %} + + {% if meta_after %} +
+

Metadata partially removed

-
+

+ Could not remove all the metadata + + + +

+ {% endif %} -

- {% if meta_after %} -

-

- Could not remove all the metadata -

+ + + +
+
+ {% if meta_after %} +
+
+ +
+

Remaining Metadata

-

- Remaining Metadata -

-
+
+ + + + + + {% for key, value in meta_after.items() %} -
+
+ + + {% 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! -

+
+
+ Key + + Value +
{{ key }} - -
+
{{ value }} - +
- {% endif %}
- -{% endblock %} - + {% endif %} +
+{% endblock %} \ No newline at end of file -- cgit v1.3