diff --git a/django/templates/base.html b/django/templates/base.html index 416bfd7..b497df4 100644 --- a/django/templates/base.html +++ b/django/templates/base.html @@ -7,6 +7,7 @@ + qivip diff --git a/django/templates/play/game/score_overview.html b/django/templates/play/game/score_overview.html index e8960d0..b33a2f5 100644 --- a/django/templates/play/game/score_overview.html +++ b/django/templates/play/game/score_overview.html @@ -17,52 +17,109 @@ {% endfor %} + {% if request.session.mode != "learn" %} -

Punktestand

-
+
{% for participant in participants %} - {% if participant == my_participant or is_host %} - -
-
-

{{ participant.display_name }}

-

{{ participant.score }} Punkte

-
- {% if participant.last_answer_correct %} - - {% elif participant.last_answer_correct == False %} - - {% endif %} -
- {% else %} - - + {% if participant == my_participant or is_host %} +
+
+

+ {% if forloop.counter == 1 %} + 🥇 + {% elif forloop.counter == 2 %} + 🥈 + {% elif forloop.counter == 3 %} + 🥉 + {% endif %} + {{ participant.display_name }} +

+

{{ participant.score }} Punkte

+
+ {% if participant.last_answer_correct %} + + {% elif participant.last_answer_correct == False %} + + {% endif %} +
{% endif %} - - - {% endfor %}
+ {% endif %} + {% if is_host %} + {% if is_last_question %} + + {% else %} + {% endif %} - {% if is_host %} - {% if is_last_question %} - - {% else %} - - {% endif %} - {% endif %} + {% endif %}
{% endblock %} {% block extra_js %} +{% if is_last_question %} + +{% endif %} {% include 'play/game/common_scripts.html' %}