Skip to content

Commit a327cfe

Browse files
committed
repeat the footer inside the infopage and question containers
The <footer> tag is now repeated inside the container elements for info pages and questions, instead of being directly under the <main> tag. This means that the footer is always visible while looking at a question.
1 parent 009c2d3 commit a327cfe

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

themes/default/files/resources/exam.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,10 @@ input.jme {
504504
padding-top: 1em;
505505
}
506506

507+
#questionContainer .copyright-footer {
508+
margin-top: 0;
509+
}
510+
507511
.mainDisplay {
508512
margin: 0 0;
509513
overflow-x: hidden;

themes/default/templates/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
{% include 'infopage.html' %}
3939

4040
{% include 'question.html' %}
41-
42-
{% include 'footer.html' %}
4341
</main>
4442
</div>
4543
</div>

themes/default/templates/infopage.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ <h1 id="infopage-result-header" class="text-center break-words" data-bind="latex
1717
<div id="results" class="container-fluid" data-bind="visible: infoPage()=='result', if: infoPage()=='result'">
1818
{% include 'result.html' %}
1919
</div>
20+
21+
{% include 'footer.html' %}
2022
</div>

themes/default/templates/question.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
<div id="question-wrapper" class="print-visible" data-bind="promise: html_promise, visible: isCurrentQuestion">
77
</div>
88
</div>
9+
10+
{% include 'footer.html' %}
911
</div>
12+
1013
</div>

0 commit comments

Comments
 (0)