From 542433598aad0efffee7619e1f113425147bcec0 Mon Sep 17 00:00:00 2001
From: adityacp
Date: Mon, 1 Mar 2021 11:13:07 +0530
Subject: Add AWS support for file upload
---
yaksh/templates/yaksh/add_quiz.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html
index 1609639..d43c1c6 100644
--- a/yaksh/templates/yaksh/add_quiz.html
+++ b/yaksh/templates/yaksh/add_quiz.html
@@ -65,11 +65,11 @@
You can check the quiz by attempting it in the following modes:
-
+
Try as student
-
+
Try as teacher
--
cgit
From cc101bd195cc456f7bace4e9b646e2190975dde3 Mon Sep 17 00:00:00 2001
From: adityacp
Date: Tue, 23 Mar 2021 11:53:39 +0530
Subject: Modify file upload with js client dropzone
---
yaksh/templates/yaksh/complete.html | 100 ++++++++++++++++++------------------
yaksh/templates/yaksh/question.html | 23 +++++++--
yaksh/templates/yaksh/quit.html | 1 +
3 files changed, 70 insertions(+), 54 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html
index 4d921e1..79a1392 100644
--- a/yaksh/templates/yaksh/complete.html
+++ b/yaksh/templates/yaksh/complete.html
@@ -20,58 +20,58 @@
{% endif %}
-{% csrf_token %}
- {% if paper.questions_answered.all or paper.questions_unanswered.all %}
-
-
-
Submission Status
-
-
+{% if paper.questions_answered.all or paper.questions_unanswered.all %}
+
+
+
Submission Status
+
+
+
+ Question |
+ Status |
+
+
+
+ {% for question in paper.questions.all %}
+ {% if question in paper.questions_answered.all %}
- Question |
- Status |
-
-
-
- {% for question in paper.questions.all %}
- {% if question in paper.questions_answered.all %}
-
- {{ question.summary }} |
- Attempted |
- {% else %}
-
- {{ question }} |
- Not Attempted |
- {% endif %}
-
- {% endfor %}
-
-
-
-
- {% endif %}
-
-
-
- {{message}}
-
+ {{ question.summary }} |
+ Attempted |
+ {% else %}
+
+ {{ question }} |
+ Not Attempted |
+ {% endif %}
+
+ {% endfor %}
+
+
+
-
-
- {% if module_id and not paper.course.is_trial %}
- {% if first_unit %}
- Next
-
-
-
- {% else %}
- Next
-
-
-
- {% endif %}
+{% endif %}
+
+
+
+ {{message}}
+
+
+
+
+{% if module_id and not paper.course.is_trial %}
+ {% if first_unit %}
+ Next
+
+
+
{% else %}
- Home
+ Next
+
+
+
{% endif %}
-
+{% else %}
+ Home
+{% endif %}
+
+
{% endblock content %}
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 56edcf3..2779db2 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -7,6 +7,8 @@
+
+