Maybe add thymeleaf?
need to test and add config keycloak
This commit is contained in:
14
src/main/resources/templates/index.html
Normal file
14
src/main/resources/templates/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Index</title>
|
||||
</head>
|
||||
<body>
|
||||
This is the index page.
|
||||
<br/>
|
||||
Logged user: <span th:if="${user} != null" th:text="${user.name}"></span>
|
||||
<br/>
|
||||
<a href="/admin">admin</a>
|
||||
<a href="/logout">logout</a>
|
||||
</body>
|
||||
Reference in New Issue
Block a user