1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 03:40:28 +02:00

Affichage des équipes n'ayant pas encore participé à la phase en cours

This commit is contained in:
galaxyoyo
2019-10-01 00:15:04 +02:00
parent a2d602cd9e
commit 577e40b034
7 changed files with 84 additions and 12 deletions

View File

@ -42,7 +42,7 @@ if ($_SESSION["role"] == Role::ADMIN) { ?>
<hr/>
<? if ($team->getValidationStatus() == ValidationStatus::VALIDATED) { ?>
<!--suppress HtmlUnknownTarget -->
<a href="/videos-solutions#team-<?= $team->getTrigram() ?>"><button class="btn btn-primary btn-lg btn-block">
<a href="/suivi-tournoi#team-<?= $team->getTrigram() ?>"><button class="btn btn-primary btn-lg btn-block">
Aller aux vidéos de l'équipe</button></a><br />
<form method="POST">
<div class="form-group row">

View File

@ -5,8 +5,8 @@
<div class="jumbotron bg-white">
<div class="row">
<h1 class="display-3">
Bienvenue sur le site d'inscription aux <a href="https://correspondances-maths.fr/ ">Correspondances
des Jeunes Mathématicien·ne·s</a> <span style="color: red;">&hearts;</span> !
Bienvenue sur le site d'inscription aux <a href="https://correspondances-maths.fr/">Correspondances
des Jeunes Mathématicien·ne·s</a> <!-- <span style="color: red;">&hearts;</span> --> !
</h1>
<h2 class="display-4 text-muted">
<!-- Le Tournoi Français des Jeunes Mathématiciens et Mathématiciennes -->

View File

@ -6,6 +6,23 @@ require_once "header.php";
<h1 class="display-4">Suivi du tournoi</h1>
</div>
<?php
if (sizeof($waiting_teams) > 0) { ?>
<div class="alert alert-warning">
<?= sizeof($waiting_teams) == 1 ? "L'équipe suivante n'a" : "Les équipes suivantes n'ont" ?> pas encore participé à la phase en cours :
<ul>
<?php
foreach ($waiting_teams as $team) { ?>
<li>
<a href="/equipe/<?= $team->getTrigram() ?>">
Équipe <?= $team->getName() ?> (<?= $team->getTrigram() ?>)
</a>
</li>
<?php } ?>
</ul>
</div>
<?php } ?>
<hr />
<?php