diff options
author | maheshgudi | 2017-03-11 02:17:41 +0530 |
---|---|---|
committer | maheshgudi | 2017-03-11 03:03:28 +0530 |
commit | ac292ed1099b49f9d0e8a7ed3699bacdd8031de3 (patch) | |
tree | 0856b97e9bcf418b40103d7679169e657c817948 /yaksh/templates | |
parent | 6961ff1cf46d4b8591a4528a2c3fef156268eec5 (diff) | |
download | online_test-ac292ed1099b49f9d0e8a7ed3699bacdd8031de3.tar.gz online_test-ac292ed1099b49f9d0e8a7ed3699bacdd8031de3.tar.bz2 online_test-ac292ed1099b49f9d0e8a7ed3699bacdd8031de3.zip |
made minor template changes and fixed test_models
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/exam.html | 8 | ||||
-rw-r--r-- | yaksh/templates/yaksh/question.html | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 4818717..02ff70a 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -86,13 +86,9 @@ <div class="panel-body"><pre><code>{{ error }}</code></pre></div> </div> {% endfor %} - {% if error != "Incorrect answer" %} - <div class="panel-heading">Testcase No. {{ forloop.counter }}</div> - <div class="panel-body"><pre><code>{{ error }}</code></pre></div> - {% endif %} + </div> - {% endfor %} - </div> + {% endif %} {% endif %} </div> </div> diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 93ed531..3f668cd 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -194,7 +194,7 @@ function call_skip(url) {% endif %} {% if question.type == "integer" %} - Enter Integer: + Enter Integer:<br/> <input name="answer" type="textbox" id="integer" /> <br/><br/> {% endif %} @@ -206,7 +206,7 @@ function call_skip(url) {% endif %} {% if question.type == "float" %} - Enter Decimal Value : + Enter Decimal Value :<br/> <input name="answer" type="textbox" id="float" /> <br/><br/> {% endif %} |