|
|
|
|
@ -19,32 +19,32 @@ |
|
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
|
|
|
|
|
|
<div class="bigcenter">{{ tournament.name }}</div> |
|
|
|
|
<div class="center">{{ tournament.name }}</div> |
|
|
|
|
|
|
|
|
|
{% for match in live_matches %} |
|
|
|
|
<div class="match"> |
|
|
|
|
<div style="width: 100%;"> |
|
|
|
|
<div style="float: left;"> |
|
|
|
|
<h1>{{ match.title }}</h1> |
|
|
|
|
<h4>{{ match.title }}</h4> |
|
|
|
|
</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> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">TERRAIN #{{ match.court }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">POULE #{{ match.poule|floatformat:0 }}</a><h1> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">POULE #{{ match.poule|floatformat:0 }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
{% if match.isStatistic %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">STATISTIQUES</a><h1> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">STATISTIQUES</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h1> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
@ -103,10 +103,13 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
<!-- <p id="demo"></p> --> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
<p class="duration"> |
|
|
|
|
<div class="small"> {{ match.durationPrefix }}</div> |
|
|
|
|
<div class="big">{{ match.duration }}</div> |
|
|
|
|
</p> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
@ -115,26 +118,26 @@ |
|
|
|
|
|
|
|
|
|
<div style="width: 100%;"> |
|
|
|
|
<div style="float: left;"> |
|
|
|
|
<h1>{{ match.title }}</h1> |
|
|
|
|
<h3>{{ match.title }}</h3> |
|
|
|
|
</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> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">TERRAIN #{{ match.court }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">POULE #{{ match.poule|floatformat:0 }}</a><h1> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">POULE #{{ match.poule|floatformat:0 }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
{% if match.isStatistic %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">STATISTIQUES</a><h1> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">STATISTIQUES</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h1><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h1> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
@ -193,11 +196,12 @@ |
|
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
<!-- <p id="demo"></p> --> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
<p class="duration"> |
|
|
|
|
<div class="small"> {{ match.durationPrefix }}</div> |
|
|
|
|
<div class="big">{{ match.duration }}</div> |
|
|
|
|
</p> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
|