modified: templates/quiz_multiplayer.html
modified: templates/quiz_single.html
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
{% endblock %}
|
||||
{% block extra_body %}
|
||||
{% raw %}
|
||||
{% if request.args.get('local_multiplayer') %}
|
||||
{% if local_multiplayer %}
|
||||
<div id="multiplayerPopup" style="position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.7);display:flex;align-items:center;justify-content:center;z-index:2000;">
|
||||
<div style="background:#191414;padding:30px 40px;border-radius:18px;box-shadow:0 8px 32px 0 rgba(0,0,0,0.37);min-width:320px;text-align:center;">
|
||||
<h3>Lokaler Multiplayer</h3>
|
||||
|
||||
@@ -57,11 +57,5 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block extra_body %}
|
||||
<script>
|
||||
// Entferne Multiplayer-Daten, falls vorhanden
|
||||
localStorage.removeItem('quizify_multiplayer_names');
|
||||
localStorage.removeItem('quizify_multiplayer_scores');
|
||||
localStorage.removeItem('quizify_multiplayer_current');
|
||||
</script>
|
||||
<!-- Hier dein gesamtes JS aus quiz.html, aber OHNE Multiplayer-Logik -->
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user