Skip to content

Commit 1ccf5a8

Browse files
authored
Added End Exam Button for Menu Mode
Issue #917 - added an end exam button for menu mode in Numbas
1 parent 16c2061 commit 1ccf5a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

themes/default/templates/menu.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ <h1 id="infopage-menu-header" data-bind="html: exam.settings.name"></h1>
4949
</tbody>
5050
</table>
5151
</nav>
52+
<!-- End Exam Button -->
53+
<button class="btn btn-danger navbar-btn center-block" id="endBtn" data-localise="control.end exam" data-bind="click: Numbas.controls.endExam"></button>
54+
5255
<button class="btn btn-default navbar-btn center-block thin-button" type="button" data-bind="click: Numbas.display.showStyleModal" data-localise="control.style options"></button>

0 commit comments

Comments
 (0)