From 15f0a2d2577949cd250aea54561b29634943468f Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Wed, 5 Jul 2023 19:59:09 +0530 Subject: Add pagination UI, list of all feeds --- views/index.tpl | 16 ++++++++++++++-- views/list_feeds.tpl | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 views/list_feeds.tpl (limited to 'views') diff --git a/views/index.tpl b/views/index.tpl index fe716f0..dc79b0b 100644 --- a/views/index.tpl +++ b/views/index.tpl @@ -46,7 +46,10 @@

TagRSS

@@ -61,7 +64,7 @@ % for i, entry in enumerate(entries): - + <% date = "" @@ -96,5 +99,14 @@ % end
{{i + 1}}{{i + 1 + offset}} {{entry["title"]}}
+
+ of {{total_pages}}. + + +
diff --git a/views/list_feeds.tpl b/views/list_feeds.tpl new file mode 100644 index 0000000..22334e3 --- /dev/null +++ b/views/list_feeds.tpl @@ -0,0 +1,42 @@ + + + + + + List Feeds | TagRSS + + + + < home +

Feeds

+ + + + + + + + + + + % for i, feed in enumerate(feeds): + + + + + + + % end + +
#FeedSourceManage
{{i + 1 + offset}}{{feed["title"]}}🔗⚙
+
+ of {{total_pages}}. + + +
+ + \ No newline at end of file -- cgit v1.2.3-57-g22cb