1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 22:20:30 +02:00

Corrections mineurs

This commit is contained in:
galaxyoyo
2019-09-25 01:08:38 +02:00
parent 371605d265
commit 2b1bb79efb
6 changed files with 22 additions and 19 deletions

View File

@ -133,14 +133,20 @@ require_once "header.php";
<?php
$can_validate = canValidate($team);
if ($can_validate) { ?>
<hr />
<form method="post">
<input class="form-control" type="checkbox" name="engage" id="engage"/> <label for="engage">Je m'engage à
participer à l'intégralité des Correspondances</label><br/>
<label for="engage">Je m'engage à participer à l'intégralité des Correspondances</label>
<input class="form-control" type="checkbox" name="engage" id="engage"/>
<input class="btn btn-primary btn-lg btn-block" type="submit" name="request_validation"
value="Demander la validation"/>
</form>
<?php } ?>
<?php } else if (Phase::getCurrentPhase() >= Phase::PHASE1) { ?>
<?php }
elseif ($team->getValidationStatus() == ValidationStatus::WAITING) { ?>
<div class="alert alert-warning">
Votre équipe est en attente de validation.
</div>
<?php } elseif (Phase::getCurrentPhase() >= Phase::PHASE1) { ?>
<hr/>
<h2>Déroulement du tournoi</h2>
<?php if ($video != null) { ?>