From 1642eae4afc55b68a228bcc35031338f3e445926 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Fri, 12 Apr 2024 15:49:51 +0200 Subject: remove some labels in templates and update flask-paginate --- src/jwebmail/templates/_bot_nav.html | 61 +++++++++++++++++++----------------- src/jwebmail/templates/_folders.html | 17 ++++++---- src/jwebmail/templates/_top_nav.html | 36 +++++++-------------- 3 files changed, 55 insertions(+), 59 deletions(-) (limited to 'src/jwebmail') diff --git a/src/jwebmail/templates/_bot_nav.html b/src/jwebmail/templates/_bot_nav.html index e54fd4c..e2be5f5 100644 --- a/src/jwebmail/templates/_bot_nav.html +++ b/src/jwebmail/templates/_bot_nav.html @@ -5,44 +5,49 @@
-
-
-
- -
-
-
-
-
- -
-
- {# csrf_field #} -
- + + {% if mail_folders|length > 1 %} + + {{ form.csrf_token }} +
+
+
+
+
+ +
-
- -
+ + {% endif %} + +
-
- - {# csrf_field #} + {{ from.csrf_token }}
+
-
- - +
+
+
+ +
+
diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html index fd62ab2..e9509e7 100644 --- a/src/jwebmail/templates/_folders.html +++ b/src/jwebmail/templates/_folders.html @@ -5,7 +5,7 @@ -
+ + +
{{ pgn.info }} - - {% if total_new_mails %} + {% if total_new_mails %} + {% trans %}{{ total_new_mails }} new{% endtrans %} - {% endif %} - + + {% endif %} {% if total_size %} {% trans %}mailbox size: {% endtrans %} diff --git a/src/jwebmail/templates/_top_nav.html b/src/jwebmail/templates/_top_nav.html index bc4afa5..960ae86 100644 --- a/src/jwebmail/templates/_top_nav.html +++ b/src/jwebmail/templates/_top_nav.html @@ -1,42 +1,28 @@
- -
-
-
- -
-
-
-
- -
-
+
+
+
-
-
- -
-
-
-
+
+
+
+
-- cgit v1.2.3