From 9cc5865251e896a6be54669ddc4c53c70eaef5ac Mon Sep 17 00:00:00 2001 From: adityacp Date: Sat, 11 Apr 2020 11:00:19 +0530 Subject: Fix tabs and show uploaded questions in questions page --- yaksh/templates/yaksh/showquestions.html | 142 +++++++++++++++---------------- 1 file changed, 71 insertions(+), 71 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html index 6f05a0b..8f1bdaf 100644 --- a/yaksh/templates/yaksh/showquestions.html +++ b/yaksh/templates/yaksh/showquestions.html @@ -146,78 +146,78 @@ - -
- {% csrf_token %} -
+ + {% csrf_token %} +
+
+ +  Add Question + {% if objects %} +
+
+ {% include "yaksh/paginator.html" %} +
+
Select All
+
+ + + + + + + + + + + + + + + + {% for question in objects %} + + + + + + + + + + + + {% endfor %} + +
Select Sr No. Summary  Language  Type  Marks  TestDownloadDelete
+ + {{forloop.counter}}{{question.summary|capfirst}}{{question.language|capfirst}}{{question.type|capfirst}}{{question.points}} + + Test + + +  Download +  Delete
+
+
+ {% include "yaksh/paginator.html" %} + {% else %} +

+
+

No Questions found

+
+ {% endif %} +

- -  Add Question - {% if objects %} -
-
- {% include "yaksh/paginator.html" %} -
-
Select All
-
- - - - - - - - - - - - - - - - {% for question in objects %} - - - - - - - - - - - - {% endfor %} - -
Select Sr No. Summary  Language  Type  Marks  TestDownloadDelete
- - {{forloop.counter}}{{question.summary|capfirst}}{{question.language|capfirst}}{{question.type|capfirst}}{{question.points}} - - Test - - -  Download -  Delete
-
-
- {% include "yaksh/paginator.html" %} - {% else %} -

-
-

No Questions found

-
- {% endif %} -
-
-
- {% if objects %} - - - - {% endif %} -
-
+
+ {% if objects %} + + + + {% endif %} +
+ + {% endblock %} -- cgit