swt23w23/src/main/resources/templates/orders_calender.html
Simon Bruder bac025fd0a
Make project REUSE compliant
This finally makes the licensing under AGPL-3.0-or-later explicit after
I got the okay from the kickstart source owners.

This also checks the REUSE compliance in a pre commit hook, and
therefore also in CI.
2023-12-11 17:59:14 +01:00

55 lines
1.3 KiB
HTML

<!--/*-->
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"
layout:decorate="~{layout.html(title='Kalender')}">
<head>
</head>
<body>
<div layout:fragment="content">
<table class="calendar bg-secondary-subtle" bgcolor="lightgrey" align="center" cellspacing="21" cellpadding="21">
<caption align="top">
</caption>
<thead>
<tr>
<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>
</div>
</body>
</html>