fix: update login/register links in login page

The login page has been updated to fix the broken links for creating a new account and logging in. The links now correctly point to the register and login pages in the account directory.

Co-authored-by: Charpentier Juliette <juliette.charpentier1@etu.u-pec.fr>
This commit is contained in:
2024-06-10 16:24:30 +02:00
parent e9e2e68bcf
commit af3d102605
4 changed files with 121 additions and 19 deletions

View File

@@ -31,32 +31,33 @@
<p>Créez un nouveau compte afin d'accéder à l'entièreté du site.</p>
<form>
<div class="form-group">
<label for="name">Prénom</label>
<label for="name"><span style="color:red;"><abbr title="Requis">*</abbr></span> Prénom</label>
<input type="text" id="name" name="name" placeholder="Jean" required placeholder=" ">
</div>
<div class="form-group">
<label for="family-name">Adresse mail</label>
<label for="family-name"><span style="color:red;"><abbr title="Requis">*</abbr></span> Nom</label>
<input type="text" id="family-name" name="family-name" placeholder="DUPONT" required placeholder=" ">
</div>
<div class="form-group">
<label for="email">Adresse mail</label>
<label for="email"><span style="color:red;"><abbr title="Requis">*</abbr></span> Adresse mail</label>
<input type="email" id="email" name="email" placeholder="username@example.com" required placeholder=" ">
</div>
<div class="form-group">
<label for="password">Mot de passe</label>
<label for="password"><span style="color:red;"><abbr title="Requis">*</abbr></span> Mot de passe</label>
<input type="password" id="password" name="password" required placeholder="••••••••" placeholder=" ">
</div>
<div class="form-group">
<label for="password">Confirmation du mot de passe</label>
<input type="password" id="password-bis" name="password-bis" required placeholder="••••••••"
placeholder=" ">
<label for="code-role">Code rôle :</label>
<input type="text" id="code-role" name="code-role" placeholder="M25QP" placeholder=" ">
</div>
<button type="submit" class="submit-button" onclick="verifMDP()"><i class="fas fa-sign-in-alt"></i>
<button type="submit" class="submit-button"><i class="fas fa-sign-in-alt"></i>
Créer un compte</i></button>
</form>
<p class="no-account">Vous avez déjà un compte ? <a href="../login">Connectez-vous !</a></p>
<p class="no-account">Vous avez déjà un compte ? <a href="../account/login">Connectez-vous !</a></p>
</div>
<?php include ($_SERVER['DOCUMENT_ROOT'] . '/views/footer.php') ?>