diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-11 08:20:19 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-11 08:20:19 +0100 |
commit | 9be699734d846208338669ca678ac7dbbfad0292 (patch) | |
tree | 08cfe09ecf42246307cb253a2c7633047e94f59f | |
parent | fixed some JavaScript to like/unlike an article from the home page. (diff) | |
download | newspipe-9be699734d846208338669ca678ac7dbbfad0292.tar.gz newspipe-9be699734d846208338669ca678ac7dbbfad0292.tar.bz2 newspipe-9be699734d846208338669ca678ac7dbbfad0292.zip |
Uses Bootstrap4 for the pagination component generated by Flask-Pagination.
-rw-r--r-- | newspipe/web/views/feed.py | 2 | ||||
-rw-r--r-- | newspipe/web/views/user.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newspipe/web/views/feed.py b/newspipe/web/views/feed.py index 8e2c5d33..82d285b6 100644 --- a/newspipe/web/views/feed.py +++ b/newspipe/web/views/feed.py @@ -61,7 +61,7 @@ def feed_view(feed_id=None, user_id=None): pagination = Pagination( page=page, total=articles.count(), - css_framework="bootstrap3", + css_framework="bootstrap4", search=False, record_name="articles", per_page=per_page, diff --git a/newspipe/web/views/user.py b/newspipe/web/views/user.py index 75f90a42..110f7c55 100644 --- a/newspipe/web/views/user.py +++ b/newspipe/web/views/user.py @@ -88,7 +88,7 @@ def user_stream(per_page, nickname=None): pagination = Pagination( page=page, total=articles.count(), - css_framework="bootstrap3", + css_framework="bootstrap4", search=False, record_name="articles", per_page=per_page, |