refactor(project): adopt feature JPA boundaries

This commit is contained in:
sechmachine
2026-08-15 00:25:55 +07:00
parent dd1f3ed05f
commit 25a855ea90
39 changed files with 1549 additions and 345 deletions
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head><meta charset="utf-8"><title>Projects</title></head>
<body>
<main>
<h1>Projects</h1>
<a href="/projects/new">Create Project</a>
<p th:if="${#lists.isEmpty(projects)}">No authorized Projects.</p>
<table th:unless="${#lists.isEmpty(projects)}">
<caption>Authorized Projects</caption>
<thead><tr><th scope="col">Name</th><th scope="col">Status</th><th scope="col">Dates</th></tr></thead>
<tbody><tr th:each="project : ${projects}">
<td><a th:href="@{/projects/{id}(id=${project.id})}" th:text="${project.name}">Project</a></td>
<td th:text="${project.status}">PLANNED</td>
<td><span th:text="${project.startDate}">Start</span> <span th:text="${project.endDate}">End</span></td>
</tr></tbody>
</table>
</main>
</body>
</html>