1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
| <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/adminCSS.css" />
<title>Administration Pizzeria</title>
</head>
<body>
<div class="container">
<div class="cnt-gestion">
<h1>Gestion administrative</h1>
<h2 class="inscription">Ajout d'un membre</h2>
<!-- Container du formulaire -->
<section class="cnt-box-form">
<form action="" method="POST" class="form_register">
<div class="form-group">
<label class="form-label"><span>*</span> Nom</label>
<input type="text" name="nom" placeholder="Nom" class="form-input" />
</div>
<div class="form-group">
<label class="form-label"><span>*</span> Prénom</label>
<input type="text" name="prenom" placeholder="Prénom" class="form-input" />
</div>
<div class="form-group">
<label class="form-label"><span>*</span> Email</label>
<input type="text" name="email" placeholder="Email" class="form-input" />
</div>
<div class="form-group">
<label class="form-label"><span>*</span> Mot de passe</label>
<input type="password" name="password" placeholder="Mot de passe" class="form-input" />
<i class="fa-regular fa-eye"></i>
</div>
<div class="form-group">
<label class="form-label"> <span>*</span> Confirmez le mot de passe</label>
<input type="password" name="password_confirm" placeholder="Confirmez le mot de passe" id="pwd2" class="form-input" />
<i class=" fa-regular fa-eye"></i>
</div>
<!-- <div class="form-group">
<label class="select_lab"> <span>*</span> Selectionnez le status</label>
<select name="status" class="form-input">
</select>
</div> -->
<button type="submit" class="form-btn-add" name="ajout">Ajouter le membre</button>
</form>
</section>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"> </script>
<script src="jquery.js"></script>
<script type="text/javascript">
let inputS = document.querySelectorAll('.form-group .form-input'),
eyeS = document.querySelectorAll('.form-group i')
eyeS.forEach((eye, index) => {
eye.onclick = function () {
inputS[index].type == "password" ?
[inputS[index].type = "text",
eye.classList.add('active')] :
[inputS[index].type = "password",
eye.classList.remove('active')]
}
})
</script>
</body>
</html> |