summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorankitjavalkar2016-02-12 13:01:55 +0530
committerankitjavalkar2016-02-12 13:07:51 +0530
commitab1e0998b276dabd69213797c24cffd92faeb153 (patch)
tree872f8e8511a075f79e580e21e8c386b16eefaa0a /yaksh
parent863f451779affbfbc89d165cb86d484e851a7c73 (diff)
downloadonline_test-ab1e0998b276dabd69213797c24cffd92faeb153.tar.gz
online_test-ab1e0998b276dabd69213797c24cffd92faeb153.tar.bz2
online_test-ab1e0998b276dabd69213797c24cffd92faeb153.zip
Revert question display design, add language used
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/question.html24
1 files changed, 11 insertions, 13 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 6e1da68..650cef0 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -146,19 +146,17 @@ function call_skip(url)
</div>
<div class="span13">
-<table>
- <tr>
- <td width="20%">
- <h5><u>Marks</u> : {{ question.points }}</h5>
- <span class="label success">{{ question.language }}</span>
- </td>
- <td width="90%">
- <span align="left"><h4><u> {{ question.summary }} </u></h4>
- <p>{{ question.description|safe }}</p>
- </span>
- </td>
- </tr>
-</table>
+ <h4><u> {{ question.summary }} </u><font class=pull-right>(Marks : {{ question.points }}) </font></h4><br>
+ <font size=3 face=arial> {{ question.description|safe }} </font>
+ <br><font size=3 face=arial> Language: {{ question.language }} </font><br>
+ {% if error_message %}
+ <div class="alert alert-error">
+ {% for e in error_message.splitlines %}
+ {{ e|join:"" }}
+ <br/>
+ {% endfor%}
+ </div>
+ {% endif %}
</div>
{% if error_message %}
<div class="alert alert-error">