make simple test landing pages

- add HomeController
- add index.html
- add layout.html
- add management.js
- add management.css
- add css js and html to .editorconfig
This commit is contained in:
2025-01-14 18:39:26 +01:00
parent 182508e919
commit 091f172521
6 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Home Pages</title>
<!--/*/<th:block th:insert="~{layout.html :: documentHead}"/>/*/-->
</head>
<body>
<main>
<h1>Test</h1>
<hr>
<p>This is a index page!</p>
</main>
<!--/*/<th:block th:replace="~{layout.html :: script}"/>/*/-->
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!DOCTYPE HTML>
<html lang="" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="documentHead">
<meta charset="UTF-8">
<link th:href="@{/css/management.css}" rel="stylesheet">
</head>
<body>
<div th:fragment="script">
<script th:src="@{/js/management.js}"></script>
</div>
</body>
</html>