SAE_web/account/register/index.php

63 lines
2.7 KiB
PHP
Raw Normal View History

2024-05-28 15:40:57 +02:00
<!DOCTYPE html>
2024-05-28 19:47:51 +02:00
<html lang="fr">
2024-05-28 15:40:57 +02:00
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2024-05-28 19:47:51 +02:00
<link rel="stylesheet" href="../styles/main.css" />
<link rel="stylesheet" href="../styles/header.css" />
<link rel="stylesheet" href="../styles/footer.css" />
2024-05-28 15:40:57 +02:00
<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" />
2024-05-28 19:47:51 +02:00
<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>
2024-05-28 15:40:57 +02:00
</head>
<body>
2024-05-28 19:47:51 +02:00
<?php include ('../../views/header.php'); ?>
2024-05-28 15:40:57 +02:00
<div class="login-container">
<img src="https://cdn-icons-png.flaticon.com/512/4139/4139948.png" alt="Avatar">
2024-05-28 19:47:51 +02:00
<h2>Créer un compte</h2>
<p>Créez un nouveau compte afin d'accéder à l'entièreté du site.</p>
2024-05-28 15:40:57 +02:00
<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>
2024-05-28 19:47:51 +02:00
<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>
2024-05-28 15:40:57 +02:00
<!-- <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>
2024-05-28 19:47:51 +02:00
<button type="submit" class="submit-button" onclick="verifMDP()"><i class="fas fa-sign-in-alt"></i>
Créer un compte</i></button>
2024-05-28 15:40:57 +02:00
</form>
2024-05-28 19:47:51 +02:00
<p class="no-account">Vous avez déjà un compte ? <a href="../account">Connectez-vous !</a></p>
2024-05-28 15:40:57 +02:00
</div>
2024-05-28 19:47:51 +02:00
<?php include ('../../views/footer.php'); ?>
2024-05-28 15:40:57 +02:00
</body>
</html>