From dd54f3f97bf19a48f55447319f40d9d53ad8f6a3 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Sat, 7 Jun 2025 03:07:29 +0200 Subject: [PATCH] modified: templates/quiz_multiplayer.html --- templates/quiz_multiplayer.html | 830 +++++++++++--------------------- 1 file changed, 294 insertions(+), 536 deletions(-) diff --git a/templates/quiz_multiplayer.html b/templates/quiz_multiplayer.html index dea5693..0b3dc08 100644 --- a/templates/quiz_multiplayer.html +++ b/templates/quiz_multiplayer.html @@ -1,537 +1,69 @@ - - - - {{ translations['quiz_title'] }} - - - - - - - -
-
- {{ translations['songs_in_playlist'] }} {{ total_questions }} - - {{ translations['score'] }}: {{ score }} / {{ answered if answered > 0 else 1 }} - ({{ ((score / (answered if answered > 0 else 1)) * 100) | round(0) if answered > 0 else 0 }}{{ translations['percent'] }}) - -
-
- {{ translations['end_quiz'] }} -
-

{{ translations['question_artist'] }}

- -
- - - -
-
- - -
-
- -
-
- - -
-
- -
-
- {% if game_mode == 'artist' %} -

{{ translations['tip_artist'] }}

- {% elif game_mode == 'title' %} -

{{ translations['tip_title'] }}

- {% elif game_mode == 'year' %} -

{{ translations['tip_year'] }}

- {% endif %} -
- +{% extends "quiz_base.html" %} +{% block quiz_content %} + - {% if request.args.get('local_multiplayer') %} +
+ {{ translations['songs_in_playlist'] }} {{ total_questions }} +
+
+ {{ translations['end_quiz'] }} +
+

{{ translations['question_artist'] }}

+ +
+ + + +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ {% if game_mode == 'artist' %} +

{{ translations['tip_artist'] }}

+ {% elif game_mode == 'title' %} +

{{ translations['tip_title'] }}

+ {% elif game_mode == 'year' %} +

{{ translations['tip_year'] }}

+ {% endif %} +
+{% endblock %} + +{% block extra_body %} + +{% if local_multiplayer %}

Lokaler Multiplayer

@@ -562,9 +94,235 @@ function startMultiplayer(e) { localStorage.setItem('quizify_multiplayer_current', 0); document.getElementById('multiplayerPopup').style.display = 'none'; updateMultiplayerUI(); - quizifyReady(); // <-- Musik und Quiz jetzt starten! + quizifyReady(); } {% endif %} - - + +{% endblock %} \ No newline at end of file