swt23w23/src/main/resources/templates/orders_calender.html

55 lines
1.3 KiB
HTML
Raw Normal View History

<!--/*-->
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-FileCopyrightText: 2023 swt23w23
<!--*/-->
<!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')}">
<head>
</head>
<body>
2023-11-15 17:27:04 +01:00
<div layout:fragment="content">
2023-11-17 00:31:02 +01:00
<table class="calendar bg-secondary-subtle" bgcolor="lightgrey" align="center" cellspacing="21" cellpadding="21">
<caption align="top">
</caption>
<thead>
<tr>
2023-11-15 17:27:04 +01:00
<th th:each="dayName : ${dayNames}" class="bg-primary"
>
<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"
>
<a
href="orders.html" th:href="@{'/allOrders/' + ${day.get(1)}}"
th:text="${day.get(0)}"
class="description"
>
</a>
</div>
</div>
<div class="content">
<p th:each="item, stat : ${day}" th:if="${stat.index} > 1" th:text="${item}"></p>
</div>
</td>
</tr>
</tbody>
</table>
2023-11-15 17:27:04 +01:00
</div>
</body>
</html>