diff --git a/static/style.css b/static/style.css index 9064b8d..2cd09ea 100644 --- a/static/style.css +++ b/static/style.css @@ -21,8 +21,6 @@ footer { width: 100%; - position: absolute; - bottom: 0; height: 1%; text-align: center; } @@ -78,4 +76,5 @@ details[open] > summary:before { padding: 1rem; margin-bottom: 1rem; border-radius: 3px; + width: 50vw; } \ No newline at end of file diff --git a/static/uikit-3.2.2.zip b/static/uikit-3.2.2.zip deleted file mode 100644 index 54e71e5..0000000 Binary files a/static/uikit-3.2.2.zip and /dev/null differ diff --git a/templates/base.html b/templates/base.html index 66b60d8..6f0f57a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,48 +1,54 @@ - - mat2 - web edition - - - - - - - - + + MAT2 + + + + + + + +
-
-
- - - +
+
+ + + +
-
-
-
- {% with messages = get_flashed_messages() %} - {% if messages %} - - {% endif %} - {% endwith %} -
-
-
- {% block content %}{% endblock %} -
-
+
+
+ {% with messages = get_flashed_messages() %} + {% if messages %} + {% for message in messages %} +
+

+ {{ message }} +

+
+ {% endfor %} + {% endif %} + {% endwith %} +
+
- - +
+
+
+ {% block content %}{% endblock %} +
+
+
+ + + 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.

-
-
    - {% for key, value in meta.items() %} -
  • {{ key }}: {{ value }}
  • - {% endfor %} -
-
-{% 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 %} diff --git a/templates/index.html b/templates/index.html index 7f55283..b361394 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,15 +1,19 @@ {% extends "base.html" %} {% block content %} -
-

Remove metadata

-

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

-
-
- - +
+

Remove metadata

+

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

+
+
+ +
+ + +
+ +
- -
+
{% endblock %}