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