summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormaheshgudi2017-11-23 13:54:47 +0530
committermaheshgudi2017-11-23 14:49:44 +0530
commit252449b7b96d73548f53ecd0c3256aa0e777d1dd (patch)
treed9e57def79576723825b193989e6c9afb5533ac3 /yaksh/templates
parentc5469243a3357a030af0047dac90ae8fbbb77e85 (diff)
downloadonline_test-252449b7b96d73548f53ecd0c3256aa0e777d1dd.tar.gz
online_test-252449b7b96d73548f53ecd0c3256aa0e777d1dd.tar.bz2
online_test-252449b7b96d73548f53ecd0c3256aa0e777d1dd.zip
Put page footer outside div container
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/base.html2
-rw-r--r--yaksh/templates/exam.html9
-rw-r--r--yaksh/templates/yaksh/question.html14
3 files changed, 11 insertions, 14 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index e7cc15c..3302482 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -52,6 +52,7 @@
{% block content %}
{% endblock %}
</div>
+ </div>
<footer class="footer" id="footer_div">
<div class="logged_user_info" align="center">
{% block info %}
@@ -61,7 +62,6 @@
<p align="center">Developed by FOSSEE group, IIT Bombay</p>
</div>
</footer>
- </div>
</body>
</html>
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index 63c31d6..6589bb5 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -66,18 +66,11 @@
<p>Question(s) left: <b>{{ paper.questions_left }}</b></p>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
- <div class="row">
<div class="row">
{% block main %}
{% endblock %}
</div>
- </div>
- <br/>
- {% if question.type == 'code' or question.type == 'upload' %}
- <div class="row" id="error_panel"></div>
- {% endif %}
</div>
</div>
- </div>
-</div>
+
{% endblock %}
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index af24778..c1e0e9a 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -227,12 +227,16 @@ lang = "{{ question.language }}"
{% if question in paper.get_questions_unanswered %}
<button class="btn btn-primary" onclick="call_skip('{{ URL_ROOT }}/exam/{{ question.id }}/skip/{{ paper.attempt_number }}/{{ paper.question_paper.id }}/')" name="skip" id="skip">Attempt Later <span class="glyphicon glyphicon-arrow-right"></span></button>
{% endif %}
- </div>
- </div>
- </div>
-
+ {% endif %}
+ </div>
</form>
- {% endif %}
+ </div>
+ </div>
+ </div>
+ <br/>
+ {% if question.type == 'code' or question.type == 'upload' %}
+ <div class="row" id="error_panel"></div>
+ {% endif %}
<!-- Modal -->
<div class="modal fade " id="upload_alert" >