fix(DevWeb): Re-organise folder structure and fix static files import

This commit is contained in:
Lucàs
2024-03-20 23:08:35 +01:00
parent 3cfece25e3
commit a2582b3ae2
16 changed files with 134 additions and 33 deletions
@@ -0,0 +1,54 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
<title>Register</title>
<style><%@include file="../static/css/login.css"%></style>
</head>
<body>
<main>
<section id="title">Titre du jeu</section>
<section id="form">
<div class="border-left"></div>
<div class="flex-column register-gap">
<div>
<h1>Register</h1>
<form id="register-form" action="${pageContext.request.contextPath}/register" method="post">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<label for="repassword">RePassword:</label>
<input type="password" id="repassword" name="password" required>
<label for="birthdate">Birthdate:</label>
<input type="date" id="birthdate" name="birthdate" required>
<label for="gender">Gender:</label>
<select name="gender" id="gender">
<option value="">--Please choose an option--</option>
<option value="MALE">Mâle</option>
<option value="FEMALE">Female</option>
<option value="OTHER">Other</option>
</select>
<input id="register-submit" type="submit" value="Register">
</form>
</div>
<div>
<hr>
<p>Already have an account? <a href="${pageContext.request.contextPath}/login">Login</a></p>
</div>
</div>
</section>
</main>
</body>
</html>