You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
4.0 KiB
99 lines
4.0 KiB
<html>
|
|
|
|
{% load static %}
|
|
|
|
<head>
|
|
<link rel="stylesheet" href="{% static 'scores/style.css' %}">
|
|
<title>Padel</title>
|
|
<meta http-equiv="refresh" content='{{ match.refreshrate }}'/>
|
|
</head>
|
|
{% if tv %}
|
|
<div class="wrapper" style="zoom:200%">
|
|
{% else %}
|
|
<div class="wrapper">
|
|
{% endif %}
|
|
|
|
{% if match.tournament.club.header %}
|
|
<header class="scenter">{{ match.tournament.club.header }}</header>
|
|
{% endif %}
|
|
|
|
<main class="page-body">
|
|
{% autoescape off %}
|
|
<div class="scenter">{{ match.tournament.name }}</div>
|
|
|
|
<div class="scontainer">
|
|
<div class="smatch">
|
|
<h1 class="scenter" style="padding-bottom:20px">{{ match.title }}</h1>
|
|
|
|
{% if match.team3 %}
|
|
|
|
<table>
|
|
<tr><td class="steamname">{{ match.team1|linebreaksbr }}</td>
|
|
{% if match.team1scorecolumn1 %}<td class="score">{{ match.team1scorecolumn1 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn1 %}<td class="score">{{ match.team2scorecolumn1 }}</td>{% endif %}
|
|
</tr>
|
|
<tr><td class="steamname">{{ match.team2|linebreaksbr }}</td>
|
|
{% if match.team1scorecolumn2 %}<td class="score">{{ match.team1scorecolumn2 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn2 %}<td class="score">{{ match.team2scorecolumn2 }}</td>{% endif %}
|
|
</tr>
|
|
<tr><td class="steamname">{{ match.team3|linebreaksbr }}</td>
|
|
{% if match.team1scorecolumn3 %}<td class="score">{{ match.team1scorecolumn3 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn3 %}<td class="score">{{ match.team2scorecolumn3 }}</td>{% endif %}
|
|
</tr>
|
|
<tr><td class="steamname">{{ match.team4|linebreaksbr }}</td>
|
|
{% if match.team1scorecolumn4 %}<td class="score">{{ match.team1scorecolumn4 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn4 %}<td class="score">{{ match.team2scorecolumn4 }}</td>{% endif %}
|
|
</tr>
|
|
|
|
{% if match.team5 %}
|
|
|
|
<tr><td class="steamname">{{ match.team5|linebreaksbr }}</td>
|
|
{% if match.team1scorecolumn5 %}<td class="score">{{ match.team1scorecolumn5 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn5 %}<td class="score">{{ match.team2scorecolumn5 }}</td>{% endif %}
|
|
</tr>
|
|
{% endif %}
|
|
|
|
</table>
|
|
{% else %}
|
|
|
|
<table>
|
|
<tr>
|
|
<td class="steamname">{{ match.team1|linebreaksbr }}</td>
|
|
{% if match.team1scorecolumn1 %}<td class="score">{{ match.team1scorecolumn1 }}</td>{% endif %}
|
|
{% if match.team1scorecolumn2 %}<td class="score">{{ match.team1scorecolumn2 }}</td>{% endif %}
|
|
{% if match.team1scorecolumn3 %}<td class="score">{{ match.team1scorecolumn3 }}</td>{% endif %}
|
|
{% if match.team1scorecolumn4 %}<td class="score">{{ match.team1scorecolumn4 }}</td>{% endif %}
|
|
{% if match.team1scorecolumn5 %}<td class="score">{{ match.team1scorecolumn5 }}</td>{% endif %}
|
|
</tr>
|
|
<tr>
|
|
<td class="steamname">{{ match.team2|linebreaksbr }}</td>
|
|
{% if match.team2scorecolumn1 %}<td class="score">{{ match.team2scorecolumn1 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn2 %}<td class="score">{{ match.team2scorecolumn2 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn3 %}<td class="score">{{ match.team2scorecolumn3 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn4 %}<td class="score">{{ match.team2scorecolumn4 }}</td>{% endif %}
|
|
{% if match.team2scorecolumn5 %}<td class="score">{{ match.team2scorecolumn5 }}</td>{% endif %}
|
|
</tr>
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
{% if match.isMatch or match.isBracket %}
|
|
<p class="duration">
|
|
<div class="small"> {{ match.durationPrefix }}</div>
|
|
<div class="sbig">{{ match.duration }}</div>
|
|
</p>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
{% endautoescape %}
|
|
</main>
|
|
|
|
{% if club.footer %}
|
|
<footer class="page-footer, center">{{ club.footer }}</footer>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</html>
|
|
|