You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.3 KiB
HTML
68 lines
2.3 KiB
HTML
<!--
|
|
TerranQuest - Augmented Reality fantasy game
|
|
|
|
Copyright 2016 Netsyms Technologies
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<div class="scrollable-box">
|
|
<div class='list-group'>
|
|
<div class='list-group-item' onclick='openIntro()'>
|
|
Show Introduction
|
|
</div>
|
|
<div class='list-group-item' onclick='openRules()'>
|
|
Show Rules
|
|
</div>
|
|
<div class="list-group-item" onclick="toggleMusic()">
|
|
Turn music <span id="toggle-music-onoff-label">off</span>
|
|
</div>
|
|
<div class='list-group-item' onclick='openscreen("munzeelink")'>
|
|
Link with Munzee account
|
|
<br />
|
|
<span class="small">When you link a Munzee account, any Munzee QR codes you scan will be automatically captured in Munzee as well.</span>
|
|
</div>
|
|
<div class='list-group-item' onclick='askLogout()'>
|
|
Logout from app
|
|
</div>
|
|
<div class='list-group-item' onclick="openmodal('licenses', '#license-modal');">
|
|
Credits and Licenses
|
|
</div>
|
|
<div class="list-group-item">
|
|
Version: <span id="settings-version-code"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$('#settings-version-code').text(window.cordova.plugins.version.getAppVersion());
|
|
|
|
function loadToggles() {
|
|
if (localStorage.getItem("music") == "mute") {
|
|
$('#toggle-music-onoff-label').text("on");
|
|
} else {
|
|
$('#toggle-music-onoff-label').text("off");
|
|
}
|
|
}
|
|
|
|
function toggleMusic() {
|
|
if (localStorage.getItem("music") == "mute") {
|
|
localStorage.setItem("music", "");
|
|
setTimeout(playAudio, 2 * 1000);
|
|
} else {
|
|
localStorage.setItem("music", "mute");
|
|
audio.stop();
|
|
}
|
|
loadToggles();
|
|
}
|
|
|
|
loadToggles();
|
|
</script> |