From 925d616c4137f014f2f55a979b2350ef0409a5b9 Mon Sep 17 00:00:00 2001
From: CruiseDevice
Date: Mon, 23 Dec 2019 13:06:48 +0530
Subject: Resolve comments
- Fix PEP8
- Change the url as per django urlpattern
- Replace all the buttons by tag
- Use get_queryset() for filtering data for pagination
- Make buttons large
- Add Pagination in ajax_question_filter.html
- Hide Pagination when there is no question object
---
yaksh/templates/yaksh/ajax_question_filter.html | 5 ++++-
yaksh/templates/yaksh/showquestions.html | 30 +++++++++++++------------
2 files changed, 20 insertions(+), 15 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/ajax_question_filter.html b/yaksh/templates/yaksh/ajax_question_filter.html
index ea0d0b5..7dba6df 100644
--- a/yaksh/templates/yaksh/ajax_question_filter.html
+++ b/yaksh/templates/yaksh/ajax_question_filter.html
@@ -16,6 +16,8 @@
});
{% if questions %}
+ {% include "yaksh/paginator.html" %}
+
Select All
@@ -36,7 +38,7 @@