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.
61 lines
2.2 KiB
61 lines
2.2 KiB
{% load static %}
|
|
|
|
<div class="cell medium-12 large-3 my-block">
|
|
<div class="bubble">
|
|
|
|
<!-- <div class="flex-row"> -->
|
|
<label class="matchtitle">{{ match.title }}</label>
|
|
<!-- <label class="right-label info">{{ match.date }}</label> -->
|
|
<!-- </div> -->
|
|
|
|
<div>
|
|
|
|
{% for team in match.teams %}
|
|
|
|
<div class="match-result {% cycle 'bottom-border' '' %}">
|
|
<div class="player">
|
|
{% for name in team.names %}
|
|
<div class="semibold {% if team.is_winner %}winner{% endif %}">
|
|
{{ name }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% if match.started %}
|
|
<div class="scores">
|
|
{% for score in team.scores %}
|
|
<span class="score ws w30px{% if team.is_winner %} winner{% endif %}">{{ score }}</span>
|
|
{% endfor %}
|
|
|
|
{% if match.has_walk_out %}
|
|
<span class="score ws w60px">
|
|
{% if team.walk_out %}WO{% endif %}
|
|
</span>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% else %}
|
|
<span class="score ws">{{ team.weight }}</span>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="flex-row top-margin">
|
|
<label class="left-label minor-info bold">
|
|
{% if match.show_duration %}
|
|
{{ match.duration }}
|
|
{% endif %}
|
|
</label>
|
|
<label class="right-label minor-info">
|
|
{% if not match.ended %}
|
|
{{ match.court }}
|
|
{% endif %}
|
|
</label>
|
|
<!-- <a href="" class="right-label">{{ match.court }}</a> -->
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|