From 0fbc770bb252425791a24f26ac76762133f024b4 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 4 Mar 2020 12:00:21 +0100 Subject: Improved bookmarks template. --- newspipe/web/templates/bookmarks.html | 24 +++++++++++++++--------- newspipe/web/views/bookmark.py | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/newspipe/web/templates/bookmarks.html b/newspipe/web/templates/bookmarks.html index a3ec4580..88b31abb 100644 --- a/newspipe/web/templates/bookmarks.html +++ b/newspipe/web/templates/bookmarks.html @@ -2,10 +2,10 @@ {% block content %}
-
+
{{ pagination.info }}
-
+
{% if current_user.is_authenticated %} all ⸱  private ⸱  @@ -16,7 +16,7 @@

-
+
{% if tag %}   {{ tag }} {% endif %} @@ -24,24 +24,30 @@   {{ query }} {% endif %}
-
+
-
- - +
+
+
+ +
+ +
+
+

-
+
{{ pagination.links }}
-
+
    {% for bookmark in bookmarks %}
  • diff --git a/newspipe/web/views/bookmark.py b/newspipe/web/views/bookmark.py index 6b370658..c7b4e623 100644 --- a/newspipe/web/views/bookmark.py +++ b/newspipe/web/views/bookmark.py @@ -106,7 +106,7 @@ def list_(per_page, status="all"): pagination = Pagination( page=page, total=bookmarks.count(), - css_framework="bootstrap3", + css_framework="bootstrap4", search=False, record_name="bookmarks", per_page=per_page, -- cgit