mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-07-09 13:27:45 +00:00
feat(DevWeb): Projet - Login page, Login Api
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<script defer type="text/javascript" src="js/login.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<main>
|
||||
<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>
|
||||
|
||||
<div class="field">
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="Login">
|
||||
|
||||
<p>Don't have an account? <a href="register.jsp">Register</a></p>
|
||||
</form>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user