1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 19:02:33 +00:00

Prepare template for the system

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2023-03-22 21:38:59 +01:00
parent 93a71fb561
commit eb8ad4e771
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -1,12 +1,5 @@
{% load i18n %}
{% if tournament.draw %}
Tirage lancé !
{% else %}
{% endif %}
<div id="banner-not-started-{{ tournament.id }}" class="alert alert-warning{% if tournament.draw %} d-none{% endif %}">
{% trans "The draw has not started yet." %}
@ -29,5 +22,251 @@
</div>
<div id="draw-content-{{ tournament.id }}" class="{% if not tournament.draw %}d-none{% endif %}">
Tournoi commencé
<div class="container">
<div class="card col-md-12">
<div class="card-header">
<h2>Last dices</h2>
</div>
<div class="card-body">
<div class="row">
{% for participation in tournament.participations.all %}
<div class="col-md-1">
<div class="badge rounded-pill text-bg-warning">{{ participation.team.trigram }} 🎲 ??</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="card">
<div class="card-header">
Recap
</div>
<div class="card-body">
<ul>
<li>
<strong>{% trans "Round 1" %}:</strong>
<ul>
<li>
<strong>Poule A</strong>
<ul>
<li>
<div class="badge rounded-pill text-bg-warning">
MSR 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️ 2, 3
</div>
</li>
<li>
<div class="badge rounded-pill text-bg-success">
PON 📃 4
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️ 5, 6, 7, 8
</div>
<div class="badge rounded-pill text-bg-info">
❌ 0.5
</div>
</li>
<li>
<div class="badge rounded-pill text-bg-success">
CMS 📃 1
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
</ul>
</li>
<li>
<strong>Poule B</strong>
<ul>
<li>
<div class="badge rounded-pill text-bg-warning">
ANT 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
<li>
<div class="badge rounded-pill text-bg-success">
PBM 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
<li>
<div class="badge rounded-pill text-bg-success">
LHP 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
</ul>
</li>
<li>
<strong>Poule C</strong>
<ul>
<li>
<div class="badge rounded-pill text-bg-warning">
GJS 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
<li>
<div class="badge rounded-pill text-bg-success">
DAT 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
<li>
<div class="badge rounded-pill text-bg-success">
LHM 📃 ?
</div>
<div class="badge rounded-pill text-bg-danger">
🗑️
</div>
</li>
</ul>
</li>
</ul>
</li>
<li><strong>{% trans "Round 2" %}:</strong></li>
</ul>
</div>
</div>
</div>
<div class="col-md-9">
<div class="card">
<div class="card-body">
<div id="messages-{{ tournament.id }}" class="alert alert-info">
Information
</div>
<div id="launch-dice-{{ tournament.id }}">
<div class="text-center">
<button class="btn btn-lg disabled" style="font-size: 100pt">
🎲
</button>
</div>
<h2 class="text-center">
{% trans "Launch dice" %}
</h2>
</div>
<div class="d-grid">
<div class="btn-group">
<button class="btn btn-success disabled">
{% trans "Accept" %}
</button>
<button class="btn btn-danger disabled">
{% trans "Decline" %}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="card col-md-6">
<div class="card-header">
<h2>
{% trans "Round 1" %}
</h2>
</div>
<div class="card-body">
<div class="card">
<div class="card-header">
<h3>
Poule A
</h3>
</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<tr>
<th>Problem n°?</th>
<th>Problem n°?</th>
<th>Problem n°?</th>
</tr>
</thead>
<tbody>
<tr>
<td>???</td>
<td>???</td>
<td>???</td>
</tr>
<tr>
<td>???</td>
<td>???</td>
<td>???</td>
</tr>
<tr>
<td>???</td>
<td>???</td>
<td>???</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="card col-md-6">
<div class="card-header">
<h2>
{% trans "Round 2" %}
</h2>
</div>
<div class="card-body">
<div class="card">
<div class="card-header">
<h3>
Poule A
</h3>
</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<tr>
<th>Problem n°?</th>
<th>Problem n°?</th>
<th>Problem n°?</th>
</tr>
</thead>
<tbody>
<tr>
<td>???</td>
<td>???</td>
<td>???</td>
</tr>
<tr>
<td>???</td>
<td>???</td>
<td>???</td>
</tr>
<tr>
<td>???</td>
<td>???</td>
<td>???</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>