1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 15:37:24 +02:00

Nombreuses petites corrections, ajout de texte.

Les Correspondances peuvent démarrer :)
This commit is contained in:
Yohann
2019-10-22 14:55:33 +02:00
parent 8adad9d5f7
commit 5c88ccb91a
32 changed files with 371 additions and 236 deletions

View File

@ -13,8 +13,8 @@ require_once "header.php";
<strong>Trigramme :</strong> <?= $team->getTrigram() ?>
</div>
<div class="alert alert-info">
<strong>Problème :</strong> <a href="/probleme/<?= $team->getProblem() ?>">
<?= $team->getProblem() == 0 ? "Pas de problème choisi" : $team->getProblem() ?></a>
<strong>Problème :</strong>
<?= $team->getProblem() == 0 ? "Pas de problème choisi" : $team->getProblem() ?>
</div>
<div class="alert alert-info">
<?php
@ -55,7 +55,7 @@ require_once "header.php";
La date limite d'inscription est dépassée, vous ne pouvez plus demander la validation de votre équipe.
</div>
<?php } else {
if (isset($_GET["modifier"])) { ?>
if (isset($_GET["modifier"]) && $team->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
<form method="POST">
<div class="form-row">
@ -75,10 +75,10 @@ require_once "header.php";
<div class="form-group row">
<label for="problem">Problème :</label>
<select id="problem" name="problem" class="custom-select">
<option value="0">Choisir un problème (peut être choisi plus tard)</option>
<option value="0">Choisir un problème ...</option>
<?php
for ($i = 1; $i <= 4; ++$i)
echo "<option value='$i' " . ($team->getProblem() == $i ? "selected" : "") . ">$i</option>";
echo "<option value='$i' " . ($team->getProblem() == $i ? "selected" : "") . ">Problème $i</option>";
?>
</select>
</div>
@ -111,7 +111,7 @@ require_once "header.php";
<hr />
<form method="post">
<label for="engage">Je m'engage à participer à l'intégralité des Correspondances</label>
<input type="checkbox" name="engage" id="engage"/>
<input type="checkbox" name="engage" id="engage" required/>
<div class="alert alert-warning">
<strong>Attention !</strong> Une fois votre équipe validée, vous ne pourrez plus modifier le nom
de l'équipe, le trigramme, le problème sur lequel vous souhaitez travailler ou la composition de l'équipe.
@ -120,6 +120,7 @@ require_once "header.php";
value="Demander la validation"/>
</form>
<?php } else { ?>
<hr />
<div class="alert alert-warning">
Pour demander à valider votre équipe, vous devez avoir au moins un encadrant, trois participants,
choisi un problème et soumis une autorisation de droit à l'image par participant.