From 216031440bfe304ad51013950f49e88258ed9fde Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Mon, 29 Apr 2013 11:05:39 +0530 Subject: Added a separate textarea for non-editable code for snippet feature --- testapp/templates/exam/question.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testapp/templates') diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index 4f65b64..3506c93 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -87,12 +87,15 @@ function update_time() {% endfor %} {% else %} - + + +
+ {% endif %} {% if question.type == "mcq" %} -- cgit From 71c2ad9ff8adc43f6d576571eceda07758e19ca9 Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Tue, 30 Apr 2013 12:23:37 +0530 Subject: Snippet feature implemented --- testapp/templates/exam/question.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testapp/templates') diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index 3506c93..0fe7345 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -87,9 +87,9 @@ function update_time() {% endfor %} {% else %} - + - +
- + {% endif %} {% if question.type == "mcq" %} -- cgit From 6ab170ff9a530c2d59d4ce4a826c0fcaf9ec246f Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Tue, 11 Jun 2013 17:40:29 +0530 Subject: Implemented tabs for indentation for snippets --- testapp/templates/exam/add_question.html | 2 +- testapp/templates/exam/edit_question.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testapp/templates') diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html index e3ba17a..b49d7de 100644 --- a/testapp/templates/exam/add_question.html +++ b/testapp/templates/exam/add_question.html @@ -22,7 +22,7 @@ {% csrf_token %}
Summary: {{ form.summary }}{{ form.summary.errors }} -
Points:{{ form.points }}{{ form.points.errors }}   Active:   {{ form.active }}{{form.active.errors}}   Type:  {{ form.type }}{{form.type.errors}} +
Points:{{ form.points }}{{ form.points.errors }}   Active:   {{ form.active }}{{form.active.errors}}   Type:  {{ form.type }}{{form.type.errors}}
Rendered:

Description: {{ form.description}} {{form.description.errors}}
Test: {{ form.test }}{{form.test.errors}} diff --git a/testapp/templates/exam/edit_question.html b/testapp/templates/exam/edit_question.html index 96502f1..73e61d7 100644 --- a/testapp/templates/exam/edit_question.html +++ b/testapp/templates/exam/edit_question.html @@ -31,7 +31,7 @@
Summary: {{ form.summary }}{{ form.summary.errors }} -
Points:{{ form.points }}{{ form.points.errors }}   Active:   {{ form.active }}{{form.active.errors}}   Type:  {{ form.type }}{{form.type.errors}} +
Points:{{ form.points }}{{ form.points.errors }}   Active:   {{ form.active }}{{form.active.errors}}   Type:  {{ form.type }}{{form.type.errors}}
Rendered:

Description: {{ form.description }} {{form.description.errors}} -- cgit From 5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145 Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Tue, 11 Jun 2013 22:38:53 +0530 Subject: Modified textarea in student interface to notify about using tabs for indentation --- testapp/templates/exam/question.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapp/templates') diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index 435f67f..1d801b0 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -87,7 +87,7 @@ function update_time() {% endfor %} {% else %} - +
-- cgit