2023-11-12 14:42:07 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns:th="http://www.thymeleaf.org"
|
|
|
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
|
|
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
2023-11-13 20:09:39 +01:00
|
|
|
layout:decorate="~{layout.html(title='Kalender')}">
|
2023-11-12 14:42:07 +01:00
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
background: white;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section layout:fragment="content">
|
|
|
|
<!-- class="ui celled table"-->
|
|
|
|
<table bgcolor="lightgrey" align="center"
|
|
|
|
cellspacing="21" cellpadding="21">
|
|
|
|
|
|
|
|
<!-- The tr tag is used to enter
|
|
|
|
rows in the table -->
|
|
|
|
|
|
|
|
<!-- It is used to give the heading to the
|
|
|
|
table. We can give the heading to the
|
|
|
|
top and bottom of the table -->
|
|
|
|
|
|
|
|
<caption align="top">
|
|
|
|
<!-- Here we have used the attribute
|
|
|
|
that is style and we have colored
|
|
|
|
the sentence to make it better
|
|
|
|
depending on the web page-->
|
|
|
|
</caption>
|
|
|
|
|
|
|
|
<!-- Here th stands for the heading of the
|
|
|
|
table that comes in the first row-->
|
|
|
|
|
|
|
|
<!-- The text in this table header tag will
|
|
|
|
appear as bold and is center aligned-->
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<!-- Here we have applied inline style
|
|
|
|
to make it more attractive-->
|
|
|
|
<th th:each="dayName : ${dayNames}" style="color: white; background: purple;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="header"
|
|
|
|
th:text="${dayName}"
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
<tr th:each="week : ${weeksOfMonth}">
|
|
|
|
<td th:each="day : ${week}">
|
|
|
|
<div class="content">
|
|
|
|
<div
|
|
|
|
class="header"
|
|
|
|
>
|
2023-11-15 00:34:16 +01:00
|
|
|
<a
|
|
|
|
href="orders.html" th:href="@{'/orders/' + ${day.get(1)}}"
|
|
|
|
th:text="${day.get(0)}"
|
|
|
|
class="description"
|
|
|
|
>
|
|
|
|
</a>
|
2023-11-12 14:42:07 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
2023-11-15 00:34:16 +01:00
|
|
|
<p th:each="item, stat : ${day}" th:if="${stat.index} > 1" th:text="${item}"></p>
|
2023-11-12 14:42:07 +01:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<!--th:href="@{/orders/{id}(id=${day.id})}"-->
|