From f4cf2012ad2258551159485554718230927751b0 Mon Sep 17 00:00:00 2001
From: SimolZimol <70102430+SimolZimol@users.noreply.github.com>
Date: Sat, 7 Jun 2025 02:55:15 +0200
Subject: [PATCH] modified: templates/quiz_multiplayer.html
---
templates/quiz_multiplayer.html | 753 +++++++++++++++++++++-----------
1 file changed, 491 insertions(+), 262 deletions(-)
diff --git a/templates/quiz_multiplayer.html b/templates/quiz_multiplayer.html
index 525e1a1..dea5693 100644
--- a/templates/quiz_multiplayer.html
+++ b/templates/quiz_multiplayer.html
@@ -1,189 +1,373 @@
-{% extends "quiz_base.html" %}
-{% block quiz_content %}
-
-
-
-
- {{ translations['songs_in_playlist'] }} {{ total_questions }}
-
-
- {{ 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 %}
-
-{% endif %}
-
+
+
+
+
+
+ {{ 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['question_artist'] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% if game_mode == 'artist' %}
+
{{ translations['tip_artist'] }}
+ {% elif game_mode == 'title' %}
+
{{ translations['tip_title'] }}
+ {% elif game_mode == 'year' %}
+
{{ translations['tip_year'] }}
+ {% endif %}
+
+
+
+
+
+ {% if request.args.get('local_multiplayer') %}
+
+
-{% endblock %}
\ No newline at end of file
+{% endif %}
+
+