summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/question.html
diff options
context:
space:
mode:
authorhardythe12012-02-28 12:09:28 +0530
committerhardythe12012-02-28 12:09:28 +0530
commitb7ad768a6cc4fe5c8a05e20b1968f13a678c22cc (patch)
tree8fc6855f0a16929b5ca42fd89daa458129d98ff9 /testapp/templates/exam/question.html
parentb1fbf5b02280de5b78b0249e777a179e34b50b98 (diff)
downloadonline_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.gz
online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.bz2
online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.zip
changes to remove the inline css from every page
Diffstat (limited to 'testapp/templates/exam/question.html')
-rw-r--r--testapp/templates/exam/question.html23
1 files changed, 6 insertions, 17 deletions
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html
index 113a9ae..f5dcdf4 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -48,6 +48,7 @@
{% block onload %} onload="update_time()" {% endblock onload %}
+{% block pagetitle %}<br><h4>Test for {{ user.first_name.title }} {{ user.last_name.title }} </h4> {% endblock %}
{% block content %}
<div class="topbar">
<div class="fill">
@@ -61,16 +62,10 @@
</div>
</div>
-<div class="container">
- <div class="content">
- <div class="page-header">
- <br><center><h4>Test for {{ user.first_name.title }} {{ user.last_name.title }} </h4></center>
- </div>
- <div class>
- <div class>
- <h4><u> {{ question.summary }} </u></h4>
- <h5>{{ question.description|safe }} </h5>
- <h5>(Marks : {{ question.points }}) </h5>
+
+ <h4><u> {{ question.summary }} </u><font class=pull-right>(Marks : {{ question.points }}) </font></h4><br>
+ <font size=3 face=arial> {{ question.description|safe }} </font>
+
{% if error_message %}<h5>ERROR:<h5><pre>{{ error_message }}</pre>{% endif %}
<p id="status"></p>
<form id="code" action="{{URL_ROOT}}/exam/{{ question.id }}/check/" method="post">
@@ -93,11 +88,5 @@
<h5>{{ user.first_name.title }} {{ user.last_name.title }}, You have {{ paper.questions_left }} question(s) left in {{ quiz_name }} </h5>
<p id="time_left"><strong> Time left: </strong></p>
<hr/>
- </div>
- </div>
- </div>
- <footer>
- <p>&copy; FOSSEE group, IIT Bombay</p>
- </footer>
-</div>
+
{% endblock content %}