👌 ajout d'une page de register

This commit is contained in:
Loris BALOCCHI 2024-05-28 19:47:51 +02:00
parent c2b4bb4e9d
commit d662fa76b7
6 changed files with 72 additions and 12 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="fr">
<head>
<meta charset="UTF-8" />
@ -41,7 +41,8 @@
</div>
<button type="submit" class="submit-button"><i class="fas fa-sign-in-alt"></i> Connexion</i></button>
</form>
<p class="no-account">Vous n'avez pas de compte ? <a href="#">Créez un compte pour commencer !</a></p>
<p class="no-account">Vous n'avez pas de compte ? <a href="/account/register">Créez un compte pour commencer
!</a></p>
</div>
<?php include ('../views/footer.php'); ?>

View File

@ -0,0 +1,63 @@
<!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="../account">Connectez-vous !</a></p>
</div>
<?php include ('../../views/footer.php'); ?>
</body>
</html>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="fr">
<head>
<meta charset="UTF-8" />

View File

@ -15,17 +15,13 @@
<ul class="footer-links">
<li><a href="../">Accueil</a></li>
<li><a href="../events">Évènements</a></li>
<li><a href="http://scanfcode.com/category/back-end-development/">PHP</a></li>
<li><a href="http://scanfcode.com/category/java-programming-language/">Java</a></li>
</ul>
</div>
<div class="col-xs-6 col-md-3">
<h6>Liens rapides</h6>
<ul class="footer-links">
<li><a href="http://scanfcode.com/about/">About Us</a></li>
<li><a href="http://scanfcode.com/privacy-policy/">Privacy Policy</a></li>
<li><a href="http://scanfcode.com/sitemap/">Sitemap</a></li>
<li><a href="#">Lien rapide 1</a></li>
</ul>
</div>
</div>
@ -40,12 +36,12 @@
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<ul class="social-icons">
<!-- <ul class="social-icons">
<li><a class="facebook" href="#"><i class="fa fa-facebook"></i></a></li>
<li><a class="twitter" href="#"><i class="fa fa-twitter"></i></a></li>
<li><a class="dribbble" href="#"><i class="fa fa-dribbble"></i></a></li>
<li><a class="linkedin" href="#"><i class="fa fa-linkedin"></i></a></li>
</ul>
</ul> -->
</div>
</div>
</div>

View File

@ -21,7 +21,7 @@
</ul>
<ul>
<li>
<a href="/login">
<a href="/account">
Connexion
</a>
</li>