mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-07-09 13:27:45 +00:00
feat: dev-web - frontend login, register, dashboard
This commit is contained in:
@@ -11,23 +11,27 @@
|
||||
<main>
|
||||
<section id="title"> Titre du jeu </section>
|
||||
<section id="form">
|
||||
<h1>Login</h1>
|
||||
<form id="loginForm" data-login-endpoint="api/login" action="dashboard.jsp" method="POST">
|
||||
<div class="field">
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
<div class="border-left"></div>
|
||||
<div class="flex-column login-gap">
|
||||
<div>
|
||||
<h1>Login</h1>
|
||||
<form id="login-form" data-login-endpoint="api/login" action="dashboard.jsp" method="POST">
|
||||
|
||||
<label id="username-label" for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
|
||||
<label id="password-label" for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required>
|
||||
|
||||
<input id="login-submit" type="submit" value="Login">
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
<hr>
|
||||
<p>Don't have an account? <a href="register.jsp">Register</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required>
|
||||
</div>
|
||||
|
||||
<input class="submit" type="submit" value="Login">
|
||||
|
||||
<p>Don't have an account? <a href="register.jsp">Register</a></p>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
</main>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user