mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 09:40:29 +02:00
Étape 0 : inscription des équipes (en cours)
This commit is contained in:
@ -59,7 +59,7 @@ for ($i = 1; $i <= 6; ++$i) {
|
||||
<select style="width: 100%;" id="problem" name="problem">
|
||||
<?php
|
||||
for ($i = 1; $i <= 4; ++$i)
|
||||
echo "<option value=\"$i\"" . ($team->getProblem() == $i ? "selected" : "") . ">$i</option>\n";
|
||||
echo "<option value=\"$i\" " . ($team->getProblem() == $i ? "selected" : "") . ">$i</option>\n";
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
@ -82,13 +82,11 @@ for ($i = 1; $i <= 6; ++$i) {
|
||||
<hr/>
|
||||
<h2>Mes autorisations</h2>
|
||||
<?php
|
||||
// TODO Add documents
|
||||
//printDocuments($documents);
|
||||
printDocuments($documents);
|
||||
|
||||
if ($team->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
|
||||
<hr />
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="5000000"/>
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -128,13 +126,11 @@ for ($i = 1; $i <= 6; ++$i) {
|
||||
</form>
|
||||
</td>
|
||||
<?php
|
||||
// TODO check end of inscription
|
||||
$can_validate = canValidate($team);
|
||||
if (true) { ?>
|
||||
if ($can_validate) { ?>
|
||||
<td style="width: 50%;">
|
||||
<form method="post">
|
||||
<input style="width: 100%;" type="submit" name="request_validation"
|
||||
value="Demander la validation"/>
|
||||
<input style="width: 100%;" type="submit" name="request_validation" value="Demander la validation"/>
|
||||
</form>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
Reference in New Issue
Block a user