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