From 57423db1e342b48c970b972a6f18e84e7a7b1a22 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 8 Dec 2024 16:15:37 +0100 Subject: update for mail-storage version 1.1.0 Now a keyset based pagination is used instead of an offset based one. This removes the dependency flask-paginate. URL arguments are taken from the request object in the displayheaders templates instead of passing them in manually. Not needed arguments for about render_template are removed. --- src/jwebmail/templates/_bot_nav.html | 56 ++++++++++++++++++++++++++++----- src/jwebmail/templates/_folders.html | 6 ++-- src/jwebmail/templates/_main_table.html | 6 +--- src/jwebmail/templates/_top_nav.html | 38 +++++++++++++++++++++- 4 files changed, 89 insertions(+), 17 deletions(-) (limited to 'src/jwebmail/templates') diff --git a/src/jwebmail/templates/_bot_nav.html b/src/jwebmail/templates/_bot_nav.html index 2634151..bd9e05a 100644 --- a/src/jwebmail/templates/_bot_nav.html +++ b/src/jwebmail/templates/_bot_nav.html @@ -1,7 +1,43 @@
-
- {{ pgn.links }} +
+
@@ -9,9 +45,11 @@ {% if mail_folders|length > 1 %}
- - - + + + + +
@@ -35,9 +73,11 @@ method=POST class="is-pulled-left ml-2"> - - - + + + + +
diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html index fc4c21d..884188b 100644 --- a/src/jwebmail/templates/_folders.html +++ b/src/jwebmail/templates/_folders.html @@ -5,7 +5,7 @@