diff options
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/question.html | 24 |
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"> |