|
|
|
@ -18,6 +18,25 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal" tabindex="-1" role="dialog" id="creditsmodal">
|
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h5 class="modal-title"><i class="fas fa-gavel"></i> Credits</h5>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body" id="creditsbody">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="content-frame" style="position: absolute; top: 0; left: 0; height: 100%; width: 100%; padding-top: 30px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -34,6 +53,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
<script src="js/functions.js"></script>
|
|
|
|
|
<script src="js/settings.js"></script>
|
|
|
|
|
<script src="js/session.js"></script>
|
|
|
|
|
<script src="cordova.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
validateSettings(function (resp) {
|
|
|
|
|
if (resp === true) {
|
|
|
|
@ -46,6 +66,15 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (kioskmode) {
|
|
|
|
|
if (typeof nw !== 'undefined') {
|
|
|
|
|
nw.Window.get().enterKioskMode();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Cordova fullscreen */
|
|
|
|
|
document.addEventListener("deviceready", function () {
|
|
|
|
|
if (kioskmode && typeof AndroidFullScreen !== 'undefined') {
|
|
|
|
|
AndroidFullScreen.immersiveMode();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
</script>
|