From 42dea8646ffc84aba764361690b18f5eadec631e Mon Sep 17 00:00:00 2001
From: adityacp
Date: Thu, 1 Sep 2016 14:52:30 +0530
Subject: changed Quiz displaying template
---
yaksh/templates/yaksh/question.html | 44 ++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 22 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 9a0f899..2bae002 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -102,6 +102,10 @@ function call_skip(url)
+
-
{{ question.summary }} (Marks : {{ question.points }})
+
{{ question.summary }} (Marks : {{ question.points }})
+
+
{{ question.language|title }} {{ question.type|title }} Question
{{ question.description|safe }}
-
Language: {{ question.language }}
{% if files %}
Files to download for this question
- {% for file in files %}
- {% if file.question_id == question.id %}
-
+ {% for f_name in files %}
+ {% if f_name.question_id == question.id %}
+
{% endif %}
{% endfor %}
{% endif %}
- {% if question.type == "code" %}
-
Output:
- {% if error_message %}
-
-
- {% else %}
-
- {% endif %}
-
- {% endif %}
-
@@ -212,10 +216,6 @@ function call_skip(url)
-