summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormaheshgudi2018-02-05 17:06:09 +0530
committermaheshgudi2018-03-16 15:15:50 +0530
commit453a5d8f191b62af45426d5c98a99552c34ba396 (patch)
tree41246a51a60d0b0f0d18859d2f63ecd3a76d6e9c /yaksh/templates
parent9c9e505e79abce0cae6b341880ed9f8a4e31a8be (diff)
downloadonline_test-453a5d8f191b62af45426d5c98a99552c34ba396.tar.gz
online_test-453a5d8f191b62af45426d5c98a99552c34ba396.tar.bz2
online_test-453a5d8f191b62af45426d5c98a99552c34ba396.zip
Include Rebase changes from shuffle testcases
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/question.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index ed04963..e67a260 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -257,11 +257,14 @@ question_type = "{{ question.type }}"
{% if question.type == "arrange" %}
<input name="answer" type="hidden" id='arrange_order'/>
+ <div class="list-group">
<ol class="arrange">
{% for test_case in test_cases %}
- <li id = {{test_case.id}}>{{test_case.options| safe }}</li>
+ <li class="list-group-item" id={{test_case.id}}>{{test_case.options| safe }}</li>
{% endfor %}
- </ol>
+ </ol>
+ </div>
+
<script type="text/javascript">
var arrange = $("ol.arrange");
var order_array = $(arrange).sortable(['serialize']);