summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/exam.html8
-rw-r--r--yaksh/templates/yaksh/question.html4
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:&nbsp;&nbsp;&nbsp;&nbsp;
+ 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 :&nbsp;&nbsp;&nbsp;&nbsp;
+ Enter Decimal Value :<br/>
<input name="answer" type="textbox" id="float" />
<br/><br/>
{% endif %}