summaryrefslogtreecommitdiff
path: root/yaksh/templates/exam.html
diff options
context:
space:
mode:
authormahesh2017-11-10 03:00:24 +0530
committermahesh2017-11-10 03:00:24 +0530
commit8f3cd30a5fe553bc8aa701fc76ba8d2a55c4418f (patch)
tree79ba306e0dd23848e3f366d6b89a5f30aabea220 /yaksh/templates/exam.html
parentcaf37373ec546d53db7caaf8aca9d5550d0ed4ad (diff)
downloadonline_test-8f3cd30a5fe553bc8aa701fc76ba8d2a55c4418f.tar.gz
online_test-8f3cd30a5fe553bc8aa701fc76ba8d2a55c4418f.tar.bz2
online_test-8f3cd30a5fe553bc8aa701fc76ba8d2a55c4418f.zip
No tracebacks if longer than 5 lines.
- Tracebacks with more than 5 lines will not be shown. - Remove unnecessary imports. - PEP8 change.
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r--yaksh/templates/exam.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index 1d7af9c..1cd3964 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -86,14 +86,14 @@
<div class="row" id="error_panel">
{% for error in error_message %}
<div class="panel panel-danger">
- <div class="panel-heading">Testcase No. {{ forloop.counter }}</div>
+ <div class="panel-heading">Error No. {{ forloop.counter }}</div>
<div class="panel-body">
<div class="well well-sm">
{% if not error.type %}
<pre><code> {{error|safe}} </code></pre>
{% elif error.type == 'assertion' %}
{% if error.test_case %}
- <strong> We tried you code with the following test case:</strong><br/></br>
+ <strong> We tried your code with the following test case:</strong><br/></br>
<pre><code><strong style="color:#d9534f">{{error.test_case}}</strong></code></pre>
{% endif %}
<p> <b>The following error took place: </b></p>