From b325dcc4523f13dfe7c741335a7bb80a91a1fac6 Mon Sep 17 00:00:00 2001 From: Jfriedli Date: Thu, 18 Mar 2021 14:18:28 +0100 Subject: refactor index and download finished --- templates/base.html | 14 +++----------- templates/download.html | 35 +++++++++++++++++++++++------------ templates/index.html | 34 +++++++++++++++++++++++----------- 3 files changed, 49 insertions(+), 34 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 576f264..8d6712c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,25 +13,17 @@ -
+
mat2 logo
- - -
+
{% with messages = get_flashed_messages() %} {% if messages %} {% for message in messages %} -
- - - - - +
{{ message }} diff --git a/templates/download.html b/templates/download.html index 2313d04..77f081a 100644 --- a/templates/download.html +++ b/templates/download.html @@ -2,14 +2,29 @@ {% block content %}
-
-
- {% if not meta_after %} +
+ {% if not meta_after %}
-

Metadata removed

+
Cleaned Metadata
+

+ Successfully removed the metadata. +

+ {% endif %} + {% if meta_after %} +
+
Metadata Partially Removed
+
+

+ Could not remove all the metadata. Consult the table below for the remaining metadata. +

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

- Successfully removed the metadata -

Metadata partially removed

-

- Could not remove all the metadata Download Cleaned File @@ -52,7 +63,7 @@

-

Remaining Metadata

+

Remaining Metadata

diff --git a/templates/index.html b/templates/index.html index f0268f3..addf868 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,24 +1,36 @@ {% extends "base.html" %} {% block content %} -
+ +
+
Remove Metadata
+

+ The file you see is just the tip of the iceberg. Remove the hidden metadata. +

+
+ +
-
-
Remove Metadata
-

- The file you see is just the tip of the iceberg. Remove the hidden metadata. -

-
- - + +