modification du header pour le login
This commit is contained in:
parent
f82a630d14
commit
c80c49df2f
@ -1,49 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="fr">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<link rel="stylesheet" href="../styles/main.css" />
|
|
||||||
<link rel="stylesheet" href="../styles/header.css" />
|
|
||||||
<link rel="stylesheet" href="../styles/footer.css" />
|
|
||||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet" />
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32"
|
|
||||||
href="https://tickets.paris2024.org/obj/media/FR-Paris2024/specialLogos/favicons/favicon-32x32.png" />
|
|
||||||
<title>Connexion | Jeux Olympiques - Paris 2024</title>
|
|
||||||
<script src="https://kit.fontawesome.com/f16a36bad3.js" crossorigin="anonymous"></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<?php include ('../views/header.php'); ?>
|
|
||||||
|
|
||||||
<div class="login-container">
|
|
||||||
<img src="https://cdn-icons-png.flaticon.com/512/4139/4139948.png" alt="Avatar">
|
|
||||||
<h2 class="login-title">Connexion à votre compte</h2>
|
|
||||||
<p class="login-subtitle">Connectez-vous afin d'accéder à l'entièreté du site.</p>
|
|
||||||
<form>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="email">Adresse mail</label>
|
|
||||||
<input type="email" id="email" name="email" placeholder="ex : username@example.com" required
|
|
||||||
placeholder=" ">
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="password">Mot de passe</label>
|
|
||||||
<input type="password" id="password" name="password" required placeholder=" ">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group forgot-password">
|
|
||||||
</div>
|
|
||||||
<button type="submit" class="submit-button" action="../tools"><i class="fas fa-sign-in-alt"></i>
|
|
||||||
Connexion</i></button>
|
|
||||||
</form>
|
|
||||||
<p class="no-account">Vous n'avez pas de compte ? <a href="/register">Créez un compte pour commencer
|
|
||||||
!</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php include ('../views/footer.php'); ?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,63 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="fr">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<link rel="stylesheet" href="../styles/main.css" />
|
|
||||||
<link rel="stylesheet" href="../styles/header.css" />
|
|
||||||
<link rel="stylesheet" href="../styles/footer.css" />
|
|
||||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet" />
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32"
|
|
||||||
href="https://tickets.paris2024.org/obj/media/FR-Paris2024/specialLogos/favicons/favicon-32x32.png" />
|
|
||||||
<title>Nouveau compte | Jeux Olympiques - Paris 2024</title>
|
|
||||||
<script src="https://kit.fontawesome.com/f16a36bad3.js" crossorigin="anonymous">
|
|
||||||
function verifMDP() {
|
|
||||||
var pw1 = document.getElementById("password");
|
|
||||||
var pw2 = document.getElementById("password-bis");
|
|
||||||
if (pw1 != pw2) {
|
|
||||||
alert("Les mots de passe ne correspondent pas. Veuillez réessayer.");
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<?php include ('../views/header.php'); ?>
|
|
||||||
|
|
||||||
<div class="login-container">
|
|
||||||
<img src="https://cdn-icons-png.flaticon.com/512/4139/4139948.png" alt="Avatar">
|
|
||||||
<h2>Créer un compte</h2>
|
|
||||||
<p>Créez un nouveau compte afin d'accéder à l'entièreté du site.</p>
|
|
||||||
<form>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="email">Adresse mail</label>
|
|
||||||
<input type="email" id="email" name="email" placeholder="ex : username@example.com" required
|
|
||||||
placeholder=" ">
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="password">Mot de passe</label>
|
|
||||||
<input type="password" id="password" name="password" required 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=" ">
|
|
||||||
</div>
|
|
||||||
<!-- <div class="form-group remember-me">
|
|
||||||
<input type="checkbox" id="remember-me" name="remember-me">
|
|
||||||
<label for="remember-me">Se souvenir de moi</label>
|
|
||||||
</div> -->
|
|
||||||
<div class="form-group forgot-password">
|
|
||||||
<!-- <a href="#">Mot de passe oublié ?</a>-->
|
|
||||||
</div>
|
|
||||||
<button type="submit" class="submit-button" onclick="verifMDP()"><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>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php include ('../views/footer.php'); ?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -21,9 +21,10 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="/login">
|
<a href="/account/login">
|
||||||
Connexion
|
Connexion
|
||||||
</a>
|
</a>
|
||||||
|
<!-- script php qui vérifie le cookie. Si cookie, propose déconnexion, si pas cookie propose connexion -->
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user