From f84f9ce0a2223e342861559ea507c45aa71db0fc Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Fri, 01 May 2020 14:40:40 +0200 Subject: [PATCH] Stripe update - Wargasz logó --- templates/overlays/stripe.twig | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/templates/overlays/stripe.twig b/templates/overlays/stripe.twig index 5a2fc7f..c0b8f70 100644 --- a/templates/overlays/stripe.twig +++ b/templates/overlays/stripe.twig @@ -2,6 +2,9 @@ {% block head %} {{ parent() }} <link rel="stylesheet" href="/assets/operators-color.css"> + {% if autorefresh %} + <meta http-equiv="refresh" content="{{ autorefresh }}"> + {% endif %} {% endblock %} {% block body %} {% block stripe %} @@ -36,9 +39,19 @@ {% endif %} {% endblock %} {% block logo %} - <span class="logo"></span> + {% if stripe.team.blue.score[0] == true %} + <div class="mapwin left one"></div> + {% endif %} + {% if stripe.team.blue.score[1] == true %} + <div class="mapwin left two"></div> + {% endif %} + {% if stripe.team.orange.score[0] == true %} + <div class="mapwin right one"></div> + {% endif %} + {% if stripe.team.orange.score[1] == true %} + <div class="mapwin right two"></div> + {% endif %} {% endblock %} - {% block team_orange %} {% if stripe.team.orange and stripe.stripe.class in ['team-ban', 'team'] %} <span class="team orange"> @@ -58,8 +71,10 @@ {% endblock %} {% block info_right %} - <span class="info right"> - <img class="esl-logo" src="/assets/ESL_Logo.png"/> + <span class="info right"> + {% if stripe.cup.number starts with '#' %} + <img class="wargasz-logo" src="/assets/WARGASZ_color.png"/> + {% endif %} </span> {% endblock %} </div> -- Gitblit v1.8.0