login.html
1.07 KB
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Page de connexion</title>
<meta charset="utf-8"/>
</head>
<body>
<div>
<h5>Se connecter :</h5>
<form th:action="@{/login}" method="POST">
<div class="form1">
<label for="username">User Name: </label>
<input type="text" id="username" placeholder="Enter UserName" name="pseudo"/>
</div>
<div class="form2">
<label for="password">Password: </label>
<input type="password" id="password" placeholder="Enter Password" name="password"/>
</div>
<button type="submit">Se connecter</button>
</form>
<span th:utext="${error}"></span>
<!--<div th:if="${param.ok}">
<span>L'utilisateur a été ajouté !</span>
</div>
<div th:if="${param.fail}">
<span>Le pseudo existe déjà !</span>
</div>-->
</div>
</body>
</html>