Füge Hinweis für maximale Fingeranzahl auf iPhone hinzu
All checks were successful
Deploy via FTP / deploy (push) Successful in 4s
All checks were successful
Deploy via FTP / deploy (push) Successful in 4s
This commit is contained in:
11
index.html
11
index.html
@@ -56,6 +56,7 @@
|
|||||||
<h1>Finger Chooser</h1>
|
<h1>Finger Chooser</h1>
|
||||||
<p>Lege 2 oder mehr Finger auf das Display —<br>einer wird zufällig ausgewählt.</p>
|
<p>Lege 2 oder mehr Finger auf das Display —<br>einer wird zufällig ausgewählt.</p>
|
||||||
<p class="hint">Alle Finger anheben, um neu zu starten.</p>
|
<p class="hint">Alle Finger anheben, um neu zu starten.</p>
|
||||||
|
<p id="limit-hint" class="hint"></p>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
@@ -67,6 +68,16 @@
|
|||||||
<a href="https://git.leuschner.dev/Tobias/ChooserApp" target="_blank" rel="noopener noreferrer">Quellcode</a>
|
<a href="https://git.leuschner.dev/Tobias/ChooserApp" target="_blank" rel="noopener noreferrer">Quellcode</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function(){
|
||||||
|
var el = document.getElementById('limit-hint');
|
||||||
|
if(/iPhone/.test(navigator.userAgent)){
|
||||||
|
el.textContent = 'Auf dem iPhone sind max. 5 Finger möglich (Hardware-Limit).';
|
||||||
|
} else {
|
||||||
|
el.textContent = 'Auf diesem Gerät sind mehrere Finger gleichzeitig möglich.';
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
<script src="js/app.js"></script>
|
<script src="js/app.js"></script>
|
||||||
<noscript>
|
<noscript>
|
||||||
<div style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0c0c14;color:#fff;font-family:system-ui,sans-serif;text-align:center;padding:24px">
|
<div style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0c0c14;color:#fff;font-family:system-ui,sans-serif;text-align:center;padding:24px">
|
||||||
|
|||||||
Reference in New Issue
Block a user