2024-02-24 10:48:38 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-02-25 10:39:51 +01:00
|
|
|
<title>PE de {{ nom }}</title>
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"/>
|
2024-02-24 10:48:38 +01:00
|
|
|
<style>
|
2024-02-27 14:39:14 +01:00
|
|
|
.w3-badge{
|
|
|
|
background-color:#000;
|
|
|
|
color:#fff;
|
|
|
|
display:inline-block;
|
|
|
|
padding-left:8px;
|
|
|
|
padding-right:8px;
|
|
|
|
text-align:center;
|
|
|
|
border-radius:50%;
|
|
|
|
font-size: 70%;
|
|
|
|
}
|
|
|
|
.w3-red{background-color: darkred;}
|
|
|
|
.w3-blue{background-color: darkblue;}
|
|
|
|
ul.legend li {list-style: none; }
|
2024-02-24 10:48:38 +01:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2024-02-25 10:39:51 +01:00
|
|
|
<main class="container">
|
2024-02-27 14:39:14 +01:00
|
|
|
|
|
|
|
<h1>Résultats PE de {{prenom}} {{nom}}</h1>
|
|
|
|
|
|
|
|
<h2>Légende</h2>
|
|
|
|
<ul class="legend">
|
|
|
|
<li><span class="w3-badge w3-red">../..</span> Classement par groupe</li>
|
|
|
|
<li><span class="w3-badge w3-blue">../..</span> Classement par promo</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{ pole }}
|
2024-02-24 10:48:38 +01:00
|
|
|
|
|
|
|
{% for tag in tags %}
|
|
|
|
|
2024-02-25 10:39:51 +01:00
|
|
|
<h2>Tag <code>👜 {{ tag }}</code></h2>
|
2024-02-24 10:48:38 +01:00
|
|
|
|
2024-02-25 10:39:51 +01:00
|
|
|
<table class="striped">
|
2024-02-24 12:21:42 +01:00
|
|
|
<!-- Entêtes/Colonnes -->
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2024-02-25 10:39:51 +01:00
|
|
|
<th rowspan="2"></th>
|
|
|
|
{% for col in colonnes_html %}
|
|
|
|
<th colspan="2" data-theme="dark">{{ col }}</th>
|
2024-02-24 12:21:42 +01:00
|
|
|
{% endfor %}
|
2024-02-25 10:39:51 +01:00
|
|
|
<th colspan="2" data-theme="dark">Général</th>
|
2024-02-24 12:21:42 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
{% for col in colonnes_html %}
|
2024-02-25 10:39:51 +01:00
|
|
|
<th>Note</th><th>Class.</th>
|
2024-02-24 12:21:42 +01:00
|
|
|
{% endfor %}
|
2024-02-25 10:39:51 +01:00
|
|
|
<th>Note</th><th>Class.</th>
|
2024-02-24 12:21:42 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for aggregat in moyennes[tag] %}
|
|
|
|
<tr>
|
2024-02-25 10:39:51 +01:00
|
|
|
<td>{{ aggregat }}</td>
|
|
|
|
{% for comp in moyennes[tag][aggregat] %}
|
2024-02-24 12:21:42 +01:00
|
|
|
<td>{{ moyennes[tag][aggregat][comp]["note"] }}</td>
|
2024-02-25 10:39:51 +01:00
|
|
|
<td><span class="w3-badge w3-red">{{ moyennes[tag][aggregat][comp]["rang_groupe"] }}</span>
|
|
|
|
<span class="w3-badge w3-blue">{{ moyennes[tag][aggregat][comp]["rang_promo"] }}</span></td>
|
|
|
|
{% endfor %}
|
2024-02-24 12:21:42 +01:00
|
|
|
</tr>
|
2024-02-25 10:39:51 +01:00
|
|
|
{% endfor %}
|
2024-02-24 12:21:42 +01:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2024-02-24 10:48:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
2024-02-25 10:39:51 +01:00
|
|
|
</main>main>
|
2024-02-24 10:48:38 +01:00
|
|
|
</body>
|
|
|
|
</html>
|