Skip to content
Snippets Groups Projects
Commit 4cd9b8a8 authored by ZHANG David's avatar ZHANG David
Browse files

Upload New File

parent 25296b24
Branches
No related tags found
No related merge requests found
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inscription</title>
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
width: 100%;
max-width: 400px;
background: #fff;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
h1 {
text-align: center;
color: #333;
}
form {
display: flex;
flex-direction: column;
}
label {
margin-top: 10px;
font-weight: bold;
}
input, select, button {
padding: 10px;
margin-top: 5px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 14px;
}
input:focus, select:focus {
border-color: #007BFF;
outline: none;
}
button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px;
margin-top: 20px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}
.links {
text-align: center;
margin-top: 15px;
}
.links a {
text-decoration: none;
color: #007BFF;
}
.links a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>Register</h1>
<form action="register.php" method="POST">
<label for="first_name">First Name:</label>
<input type="text" id="first_name" name="first_name" required>
<label for="last_name">Last Name:</label>
<input type="text" id="last_name" name="last_name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<label for="role">Role:</label>
<select id="role" name="role" required>
<option value="student">Student</option>
<option value="tutor">Tutor</option>
</select>
<label for="specialty">Specialty (for Tutors):</label>
<input type="text" id="specialty" name="specialty" placeholder="Optional for tutors">
<button class="animated infinite pulse button btn btn-info" type="submit">Register</button>
<button class="animated infinite pulse button btn btn-info" onclick="window.location.href='index.php'">Retour</button>
</form>
<div class="links">
</div>
</div>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment