summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/base.html60
-rw-r--r--testapp/templates/exam/question.html12
2 files changed, 53 insertions, 19 deletions
diff --git a/testapp/templates/base.html b/testapp/templates/base.html
index fed3939..e7eacfd 100644
--- a/testapp/templates/base.html
+++ b/testapp/templates/base.html
@@ -23,22 +23,52 @@
</head>
<body {% block onload %}{% endblock %}>
- <div class="container">
- <div class="content">
- <div class="page-header">
+
+ <div class="container">
+ <div class="content">
+ <div class="page-header">
<h1><Strong><center>{% block pagetitle %} {% endblock pagetitle %}</center></strong></h1>
- </div>
- <div class=row>
- <div class=span14>
- <h3><center>{% block formtitle %} {% endblock formtitle %}</center></h3><br>
- {% block content %}
- {% endblock %}
- </div>
- </div>
+ </div>
+ <div class=row>
+ <div class=span14>
+ {% block content %}
+ {% endblock %}
</div>
- <footer>
- <p>&copy; FOSSEE group, IIT Bombay</p>
- </footer>
- </div>
+ </div>
+ </div>
+ <footer>
+ <p>&copy; FOSSEE group, IIT Bombay</p>
+ </footer>
+ </div>
+
</body>
</html>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html
index d3da9fc..a09e3bf 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -52,10 +52,14 @@
{% block onload %} onload="update_time()" {% endblock onload %}
-{% block pagetitle %}<br><h5>You have {{ paper.questions_left }} question(s) left in {{ quiz_name }} </h5>
-<div class=time-div>
- <p id="time_left" style="color:white;"></p>
-</div>
+{% block pagetitle %}
+
+<table><h6><div>
+ <tr><td class=td1-class><h5>You have {{ paper.questions_left }} question(s) left in {{ quiz_name }} </h5>
+ <td class=td2-class><div class=time-div id="time_left">
+ </div>
+</div></h6></table>
+
{% endblock %}
{% block content %}