mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-26 10:07:41 +02:00
Desgn "Mon compte" & mini-corrections
This commit is contained in:
@ -38,14 +38,14 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
|
||||
<form method="POST">
|
||||
<input type="hidden" name="team_edit" value="true"/>
|
||||
<table style="width: 100%;">
|
||||
<table >
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 30%;">
|
||||
<label for="name">Nom :</label>
|
||||
</td>
|
||||
<td style="width: 70%;">
|
||||
<input style="width: 100%;" type="text" id="name" name="name" value="<?= $team->getName() ?>"/>
|
||||
<input type="text" id="name" name="name" value="<?= $team->getName() ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -53,7 +53,7 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
<label for="trigram">Trigramme :</label>
|
||||
</td>
|
||||
<td>
|
||||
<input style="width: 100%;" type="text" id="trigram" name="trigram"
|
||||
<input type="text" id="trigram" name="trigram"
|
||||
value="<?= $team->getTrigram() ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
@ -62,7 +62,7 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
<label for="problem">Problème :</label>
|
||||
</td>
|
||||
<td>
|
||||
<select style="width: 100%;" id="problem" name="problem">
|
||||
<select id="problem" name="problem">
|
||||
<?php
|
||||
for ($i = 1; $i <= 4; ++$i)
|
||||
echo "<option value=\"$i\" " . ($team->getProblem() == $i ? "selected" : "") . ">$i</option>\n";
|
||||
@ -72,7 +72,7 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input style="width: 100%;" type="submit" value="Modifier l'équipe"/>
|
||||
<input type="submit" value="Modifier l'équipe"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -94,30 +94,30 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
<hr/>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="type" value="photo_consent"/>
|
||||
<table style="width: 100%;">
|
||||
<table >
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="file">Fichier :</label>
|
||||
</td>
|
||||
<td>
|
||||
<input style="width: 100%;" type="file" id="file" name="document"/>
|
||||
<input type="file" id="file" name="document"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input style="width: 100%;" type="submit" name="send_document" value="Envoyer le document"/>
|
||||
<input type="submit" name="send_document" value="Envoyer le document"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<hr/>
|
||||
<table style="width: 100%;">
|
||||
<table >
|
||||
<tr>
|
||||
<td style="width: 50%;">
|
||||
<form method="post">
|
||||
<input style="width: 100%;" type="submit" name="leave_team" value="Quitter l'équipe"/>
|
||||
<input type="submit" name="leave_team" value="Quitter l'équipe"/>
|
||||
</form>
|
||||
</td>
|
||||
<?php
|
||||
@ -127,7 +127,7 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
<form method="post">
|
||||
<input type="checkbox" name="engage" id="engage"/> <label for="engage">Je m'engage à
|
||||
participer à l'intégralité des Correspondances</label><br/>
|
||||
<input style="width: 100%;" type="submit" name="request_validation"
|
||||
<input type="submit" name="request_validation"
|
||||
value="Demander la validation"/>
|
||||
</form>
|
||||
</td>
|
||||
@ -152,7 +152,7 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
$answer = Video::getVideo($asker->getVideoTeamIds()[0] == $team->getId() ? Reason::ANSWER1 : Reason::ANSWER2, $asker);
|
||||
?>
|
||||
<h5>Questions de l'équipe <?= $asker->getName() ?> (<?= $asker->getTrigram() ?>) :</h5>
|
||||
<table style="width: 100%;">
|
||||
<table >
|
||||
<tbody>
|
||||
<?php
|
||||
for ($j = 0; $j < 6; ++$j) {
|
||||
@ -231,7 +231,7 @@ for ($i = 1; $i <= 5; ++$i) {
|
||||
<br/>
|
||||
<h5>Vos questions :</h5>
|
||||
<br/>
|
||||
<table style="width: 100%;">
|
||||
<table >
|
||||
<tbody>
|
||||
<?php
|
||||
for ($j = 0; $j < 6; ++$j) {
|
||||
|
Reference in New Issue
Block a user