diff options
Diffstat (limited to 'src/view/templates/login.php')
| -rw-r--r-- | src/view/templates/login.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/view/templates/login.php b/src/view/templates/login.php new file mode 100644 index 0000000..766c114 --- /dev/null +++ b/src/view/templates/login.php | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | <?php declare(strict_types=1); ?> | ||
| 2 | <section> | ||
| 3 | <h3 class="connexionTitre" >Connexion à l'espace d'administration</h3> | ||
| 4 | <div class="login_form"> | ||
| 5 | <p class="connexionP" >Veuillez saisir votre identifiant et votre mot de passe.</p> | ||
| 6 | <p style="color: red; font-style: italic;"><?= $error ?></p> | ||
| 7 | <form class="connexionFormulaire" method="post" action="<?= $link_form ?>" > | ||
| 8 | <p><label for="login" >Identifiant:</label> | ||
| 9 | <input id="login" type="text" name="login" autofocus required></p> | ||
| 10 | <p><label for="password" >Mot de passe:</label> | ||
| 11 | <input id="password" type="password" name="password" required></p> | ||
| 12 | |||
| 13 | <p>Montrez que vous n'êtes pas un robot.<br> | ||
| 14 | <label for="captcha" >Combien font <?= $captcha->getA() ?> fois <?= $captcha->getB() ?>?</label> | ||
| 15 | <input required type="text" id="captcha" name="captcha" autocomplete="off" size="1"> | ||
| 16 | </p> | ||
| 17 | |||
| 18 | <input type="submit" value="Valider"> | ||
| 19 | </form> | ||
| 20 | <p class='connexionP' >Au fait? Vous n'utilisez pas votre propre ordinateur ou téléphone?<br/> | ||
| 21 | Utilisez la navigation privée.</p> | ||
| 22 | <p class="connexionP connexionFooter" > | ||
| 23 | <a href="<?= $link_exit ?>" > | ||
| 24 | <button>Retour au site</button> | ||
| 25 | </a> | ||
| 26 | </p> | ||
| 27 | </div> | ||
| 28 | </section> \ No newline at end of file | ||
