|
|
|
|
@ -22,15 +22,35 @@ |
|
|
|
|
{% for match in live_matches %} |
|
|
|
|
<div class="match"> |
|
|
|
|
|
|
|
|
|
<p><a href="/match/{{ match.id }}/">TERRAIN #{{ match.court }}</a></p> |
|
|
|
|
|
|
|
|
|
<h1>{{ match.title }}</h1> |
|
|
|
|
|
|
|
|
|
<!-- <p class="duration"> |
|
|
|
|
<div class="alignleft"><h1>{{ match.title }}</h1></div> |
|
|
|
|
<div class="big alignright"><a href="/match/{{ match.id }}/">TERRAIN #{{ match.court }}</a></div> |
|
|
|
|
</p> --> |
|
|
|
|
|
|
|
|
|
<div style="width: 100%;"> |
|
|
|
|
<div style="float: left;"> |
|
|
|
|
<h1>{{ match.title }}</h1> |
|
|
|
|
</div> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
{% if match.isMatch %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">TERRAIN #{{ match.court }}</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">POULE #{{ match.poule|floatformat:0 }}</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
{% if match.isStatistic %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">STATISTIQUES</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if match.team3 %} |
|
|
|
|
|
|
|
|
|
<table> |
|
|
|
|
@ -98,7 +118,33 @@ |
|
|
|
|
{% for match in ended_matches %} |
|
|
|
|
<div class="match"> |
|
|
|
|
|
|
|
|
|
<h1>{{ match.title }}</h1> |
|
|
|
|
<div style="width: 100%;"> |
|
|
|
|
<div style="float: left;"> |
|
|
|
|
<h1>{{ match.title }}</h1> |
|
|
|
|
</div> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
{% if match.isMatch %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">TERRAIN #{{ match.court }}</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">POULE #{{ match.poule|floatformat:0 }}</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
{% if match.isStatistic %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">STATISTIQUES</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h1> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if match.team3 %} |
|
|
|
|
|
|
|
|
|
|