summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaheshgudi2017-11-10 16:50:18 +0530
committermaheshgudi2017-11-10 16:50:18 +0530
commit4d5e801efff62ee63538e3c787ab74e6503e3d74 (patch)
tree734a3c131c3e5a68e1ab978c78775c90ff45abed
parenta3b8e78fec5ab542675ca99949b2810e95536c21 (diff)
downloadonline_test-4d5e801efff62ee63538e3c787ab74e6503e3d74.tar.gz
online_test-4d5e801efff62ee63538e3c787ab74e6503e3d74.tar.bz2
online_test-4d5e801efff62ee63538e3c787ab74e6503e3d74.zip
Add textwrap for assertion error table
-rw-r--r--yaksh/static/yaksh/css/exam.css2
-rw-r--r--yaksh/templates/exam.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/static/yaksh/css/exam.css b/yaksh/static/yaksh/css/exam.css
index fff904e..ec48a14 100644
--- a/yaksh/static/yaksh/css/exam.css
+++ b/yaksh/static/yaksh/css/exam.css
@@ -2,6 +2,6 @@ table td, table th { border: black solid 1px !important;
word-wrap: break-word !important;
white-space: pre-wrap !important;
}
-output{
+#stdio, #assertion {
table-layout: fixed
} \ No newline at end of file
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index 1cd3964..a1f0df4 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -97,7 +97,7 @@
<pre><code><strong style="color:#d9534f">{{error.test_case}}</strong></code></pre>
{% endif %}
<p> <b>The following error took place: </b></p>
- <table class="table table-bordered" width="100%">
+ <table class="table table-bordered" width="100%" id='assertion'>
<col width="30%">
<tr class = "active">
<td><b>Exception Name: </b></td>
@@ -123,7 +123,7 @@
</tr>
</table>
{% endif %}
- <table class="table table-bordered" width="100%" id="output">
+ <table class="table table-bordered" width="100%" id="stdio">
<col width="10%">
<col width="40%">
<col width="40%">