From 02705e4c676750291b6a5c4ea14e2947f29cb6c7 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 8 Mar 2018 11:53:39 +0530 Subject: Allow to search the questions in design question paper --- yaksh/templates/yaksh/ajax_question_filter.html | 57 +++++++++++++++++++------ yaksh/templates/yaksh/design_questionpaper.html | 38 ++++++++++++++--- 2 files changed, 78 insertions(+), 17 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/ajax_question_filter.html b/yaksh/templates/yaksh/ajax_question_filter.html index a63354c..ea0d0b5 100644 --- a/yaksh/templates/yaksh/ajax_question_filter.html +++ b/yaksh/templates/yaksh/ajax_question_filter.html @@ -1,16 +1,49 @@
+ {% if questions %} -
Select All
+
+ Select All +
+ {% endif %} -
diff --git a/yaksh/templates/yaksh/design_questionpaper.html b/yaksh/templates/yaksh/design_questionpaper.html index 1656e2b..c56a955 100644 --- a/yaksh/templates/yaksh/design_questionpaper.html +++ b/yaksh/templates/yaksh/design_questionpaper.html @@ -68,8 +68,36 @@ select

- + {% csrf_token %}
+

Or

+ +

Search using Tags:

+
+
+ Search Questions + + + + +
+ +
+
+
+

@@ -116,7 +144,7 @@ select

@@ -183,10 +211,10 @@ select

- < Previous + < Previous
- Next > + Next >
@@ -200,7 +228,7 @@ select
- < Previous + < Previous
-- cgit