From f76c18efaf844561d86f59c864a49f41df7eaa18 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sat, 7 Oct 2023 15:52:48 +0200 Subject: [PATCH] keep filter data foo --- gawa/blog/templates/blog/browse.html | 44 +++++++++++++++++++++------- gawa/blog/views.py | 38 +++++++++++++++++++++++- 2 files changed, 71 insertions(+), 11 deletions(-) diff --git a/gawa/blog/templates/blog/browse.html b/gawa/blog/templates/blog/browse.html index ad78f84..58a55b6 100644 --- a/gawa/blog/templates/blog/browse.html +++ b/gawa/blog/templates/blog/browse.html @@ -19,7 +19,7 @@
+ style="display: inline-block">

Browse

{# center headline on small screens #} @@ -40,25 +40,49 @@ aria-label="Search" placeholder="{% trans "Search" %}" required="" + {% if filters.search %}value="{{ filters.search }}"{% endif %} id="id_search">
- + +
+
+
+
+ +
+
+
+
+ +
+
- @@ -70,7 +94,7 @@ {# TODO: display some info if the queryset is empty #} {# TODO: pagination #} {% for post in posts %} -
+