-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
michivonah
committed
Jan 23, 2023
1 parent
13b62a7
commit 3743b9a
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ <h1>Jassen by Michi</h1> | |
<button onclick="toggleSection('tutorial', 'block')" style="display:none;">Anleitung/Regeln</button> | ||
<button onclick="toggleSection('copyright', 'block')">Copyright</button> | ||
<button onclick="toggleSection('imprint', 'block')">Impressum</button> | ||
<button onclick="toggleSection('settings', 'block')" style="display:none;">Einstellungen</button> | ||
<button onclick="toggleSection('settings', 'block')">Einstellungen</button> | ||
<p>Kontakt: <a href="mailto:[email protected]" alt="Kontakt per Mail" title="Kontakt per Mail">[email protected]</a></p> | ||
<div id="copyright" class="hiddenSection"> | ||
<h2>Copyright</h2> | ||
|
@@ -93,17 +93,16 @@ <h2>Anleitung/Regeln</h2> | |
</div> | ||
<div id="settings" class="hiddenSection"> | ||
<h2>Einstellungen</h2> | ||
<label for="cardSet">Kartendesign</label> | ||
<select id="cardSet" name="cardSet"> | ||
<label for="cardSet" style="display: none;">Kartendesign</label> | ||
<select id="cardSet" name="cardSet" onchange="saveSettings()" style="display: none;"> | ||
<option value="jassverzeichnis" selected>jassverzeichnis.ch</option> | ||
<option value="michivonah" disabled>jass.von-ah.me</option> | ||
<option value="yourown" disabled>Custom</option> | ||
</select> | ||
<label for="playerNames">Namen der Mitspieler (durch Komma getrennt)</label> | ||
<input id="playerNames" name="playerNames" type="text" placeholder="Sepp, Kari, Heidi" value="Sepp, Kari, Heidi"> | ||
<input id="playerNames" name="playerNames" type="text" placeholder="Sepp, Kari, Heidi" value="Sepp, Kari, Heidi" onchange="saveSettings()"> | ||
<label for="playerSpeed">Geschwindigkeit der Gegner (in Millisekunden)</label> | ||
<input id="playerSpeed" name="playerSpeed" type="number" placeholder="1000ms" value="1000"> | ||
<button>Speichern</button> | ||
<input id="playerSpeed" name="playerSpeed" type="number" placeholder="1000ms" value="1000" onchange="saveSettings()"> | ||
</div> | ||
<div id="changelog" class="hiddenSection"> | ||
<h2>Changelog</h2> | ||
|
@@ -112,6 +111,7 @@ <h2>Changelog</h2> | |
<li>Fehler beim Punktezählen nun behoben</li> | ||
<li>Algorithmus der Gegner komplett überarbeitet</li> | ||
<li>Arbeit an den Einstellungen begonnen</li> | ||
<li>Gegner-Spielgeschwindigkeit kann nun angepasst werden</li> | ||
</ul> | ||
<p>22. Januar 2023</p> | ||
<ul> | ||
|
@@ -236,8 +236,9 @@ <h2>Changelog</h2> | |
// Loading | ||
window.addEventListener('load', () => { | ||
setTimeout(function(){ | ||
loadSettings() | ||
document.getElementById('loadingScreen').style.display = "none"; | ||
}, 1500); | ||
}, 1000); | ||
}); | ||
|
||
window.addEventListener('blur', () =>{ | ||
|