mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-04 14:12:14 +02:00
Desgn "Mon compte" & mini-corrections
This commit is contained in:
@ -26,7 +26,7 @@ if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||
<hr />
|
||||
<form method="POST">
|
||||
<label for="other_teams">L'équipe va recevoir les questions des équipes suivantes (merci d'en sélectionner exactement 2) :</label>
|
||||
<select style="width: 100%;" id="other_teams" name="other_teams[]" multiple>
|
||||
<select id="other_teams" name="other_teams[]" multiple>
|
||||
<?php
|
||||
/** @var Team $other_team */
|
||||
foreach ($other_teams as $other_team) {
|
||||
@ -39,7 +39,7 @@ if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input style="width: 100%;" type="submit" name="update_video_teams" value="Mettre à jour" />
|
||||
<input type="submit" name="update_video_teams" value="Mettre à jour" />
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
@ -50,13 +50,13 @@ if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||
<?php printDocuments($documents) ?>
|
||||
|
||||
<form method="POST">
|
||||
<input style="width: 100%;" type="submit" name="download_zip" value="Télécharger l'archive"/>
|
||||
<input type="submit" name="download_zip" value="Télécharger l'archive"/>
|
||||
</form>
|
||||
|
||||
<?php if ($team->getValidationStatus() == ValidationStatus::WAITING && $_SESSION["role"] == Role::ADMIN) { ?>
|
||||
<hr />
|
||||
<form method="POST">
|
||||
<input style="width: 100%;" type="submit" name="validate" value="Valider l'équipe"/>
|
||||
<input type="submit" name="validate" value="Valider l'équipe"/>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
Reference in New Issue
Block a user