1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 05:08:46 +02:00

Desgn "Mon compte" & mini-corrections

This commit is contained in:
galaxyoyo
2019-09-24 23:44:38 +02:00
parent b6434cafb8
commit 90952ecb7c
13 changed files with 158 additions and 125 deletions

View File

@ -15,7 +15,7 @@ for ($i = 0; $i < 2; ++$i) {
<br/>
<form method="POST" enctype="multipart/form-data">
<input type="hidden" name="to" value="<?= $receiver->getTrigram() ?>"/>
<table style="width: 100%;">
<table >
<tbody>
<?php
for ($j = 0; $j < 6; ++$j) {
@ -25,7 +25,7 @@ for ($i = 0; $i < 2; ++$i) {
<label for="question_<?= $j + 1 ?>">Question <?= $j + 1 ?> <?= $j >= 3 ? "(<em>facultatif</em>)" : "" ?> :</label>
</td>
<td style="width: 70%;">
<textarea style="width: 100%;" id="question_<?= $j + 1 ?>" name="question_<?= $j + 1 ?>"><?= $question->getQuestion() ?></textarea>
<textarea id="question_<?= $j + 1 ?>" name="question_<?= $j + 1 ?>"><?= $question->getQuestion() ?></textarea>
</td>
</tr>
<?php
@ -44,7 +44,7 @@ for ($i = 0; $i < 2; ++$i) {
<label for="file_<?= $j + 1 ?>">Ajouter une pièce jointe (<em>facultatif</em>) :</label>
</td>
<td>
<input style="width: 100%;" type="file" name="file_<?= $j + 1 ?>" id="file_<?= $j + 1 ?>" />
<input type="file" name="file_<?= $j + 1 ?>" id="file_<?= $j + 1 ?>" />
</td>
</tr>
<?php } ?>
@ -55,7 +55,7 @@ for ($i = 0; $i < 2; ++$i) {
</tr>
<tr>
<td colspan="2">
<input style="width: 100%;" type="submit" name="give_questions" value="Poser les questions" />
<input type="submit" name="give_questions" value="Poser les questions" />
</td>
</tr>
</tbody>