From d0cbfb251f2cd606bee2b9cd7a8692f1d1146b47 Mon Sep 17 00:00:00 2001 From: adityacp Date: Wed, 30 Nov 2016 17:38:26 +0530 Subject: Render Instructions from textarea --- yaksh/templates/yaksh/add_quiz.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index 2df97a2..b3b49ae 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -20,14 +20,17 @@
{{ form.as_table }} +
+

-
+
@@ -55,4 +58,9 @@ Close {% endif %} + {% endblock %} -- cgit From d1c6bf1f0342cbc7cfaeed74161a525ed206f3ab Mon Sep 17 00:00:00 2001 From: adityacp Date: Wed, 30 Nov 2016 17:44:53 +0530 Subject: Quiz instructions fetched from database instead of default text --- yaksh/templates/yaksh/intro.html | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/intro.html b/yaksh/templates/yaksh/intro.html index 81c460f..29723fa 100644 --- a/yaksh/templates/yaksh/intro.html +++ b/yaksh/templates/yaksh/intro.html @@ -21,24 +21,7 @@ {% endif %}

Welcome {{user.first_name.title}} {{user.last_name.title}}, to the programming quiz!

-

- This examination system has been developed with the intention of making you - learn programming and be assessed in an interactive and fun manner. - You will be presented with a series of programming questions and problems that - you will answer online and get immediate feedback for. -

-

Here are some important instructions and rules that you should understand carefully.

- -

We hope you enjoy taking this exam !!!

+ {{ questionpaper.quiz.instructions|safe }}
{% if user == "moderator" %} -- cgit From 4b501a76d19e0ecbb2f75d4e2402a24a3bb47429 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 1 Dec 2016 16:00:14 +0530 Subject: removed extra html tag and changed alignment of rendered text --- yaksh/templates/yaksh/add_quiz.html | 1 - 1 file changed, 1 deletion(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index b3b49ae..38773b5 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -25,7 +25,6 @@ $("#id_start_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); $("#id_end_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); -

-- cgit