30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
|
<!DOCTYPE HTML>
|
||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||
|
<head>
|
||
|
<title>Title</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div>Login Page</div>
|
||
|
|
||
|
<!-- <form action="#" th:action="@{/greeting}" th:object="${greeting}" method="post">
|
||
|
<p>Id: <input type="text" th:field="*{id}" /></p>
|
||
|
<p>Message: <input type="text" th:field="*{content}" /></p>
|
||
|
<p><input type="submit" value="Submit" /> <input type="reset" value="Reset" /></p>
|
||
|
</form> -->
|
||
|
<!-- <form action="#" th:action="@{/perform_login}" th:object=${user} method="POST">
|
||
|
<label>Enter user name: </label>
|
||
|
<input th:field="*{userName}" type="text" name="username" id="username">
|
||
|
<br> <br> <label>Enter password: </label>
|
||
|
<input th:field="*{password}" type="password" name="password" id="username"> <br> <br>
|
||
|
<input type="submit" value="Submit">
|
||
|
</form>
|
||
|
-->
|
||
|
<form action="#" th:action="@{/perform_login}" method="POST">
|
||
|
<label>Enter user name: </label>
|
||
|
<input type="text" name="username" id="username">
|
||
|
<br> <br> <label>Enter password: </label>
|
||
|
<input type="password" name="password" id="username"> <br> <br>
|
||
|
<input type="submit" value="Submit">
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|