From 15911d1b315b9ade46c6a26950716749d235318c Mon Sep 17 00:00:00 2001 From: Hongwei Date: Fri, 17 Jan 2025 19:34:16 +0800 Subject: [PATCH] refactor/added the Pagination for Consumers page --- .../consumers/includes/filter_pagination.html | 12 ++++++++++++ apimanager/consumers/templates/consumers/index.html | 7 +++++++ apimanager/consumers/views.py | 6 +++++- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 apimanager/consumers/templates/consumers/includes/filter_pagination.html diff --git a/apimanager/consumers/templates/consumers/includes/filter_pagination.html b/apimanager/consumers/templates/consumers/includes/filter_pagination.html new file mode 100644 index 0000000..7736ca1 --- /dev/null +++ b/apimanager/consumers/templates/consumers/includes/filter_pagination.html @@ -0,0 +1,12 @@ +{% load i18n %} +
+
+ + +
+
+ + +
+ +
\ No newline at end of file diff --git a/apimanager/consumers/templates/consumers/index.html b/apimanager/consumers/templates/consumers/index.html index 20bb14b..8f31a45 100644 --- a/apimanager/consumers/templates/consumers/index.html +++ b/apimanager/consumers/templates/consumers/index.html @@ -44,6 +44,13 @@ +
+
+

{% trans "Pagination" %}

+ {% include "consumers/includes/filter_pagination.html" %} +
+
+

{% trans "Statistics" %}