2023-11-10 13:49:57 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns:th="http://www.thymeleaf.org"
|
|
|
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
|
|
|
|
<head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav th:fragment="navigation">
|
|
|
|
<div class="ui menu">
|
2023-11-13 20:09:39 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="welcome.html"
|
|
|
|
th:href="@{/}"
|
|
|
|
th:text="Startseite"
|
|
|
|
>
|
|
|
|
Startseite
|
|
|
|
</a>
|
2023-11-10 13:49:57 +01:00
|
|
|
|
|
|
|
<!--prototype-paul-simon-->
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasRole('CUSTOMER')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="register.html"
|
|
|
|
th:href="@{/register}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Registrierung"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Registrierung
|
|
|
|
</a>
|
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="login.html"
|
|
|
|
th:href="@{/login}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Login"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Login
|
|
|
|
</a>
|
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasRole('BOSS')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="inventory.html"
|
|
|
|
th:href="@{/inventory}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Inventar"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Inventar
|
|
|
|
</a>
|
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="catalog.html"
|
|
|
|
th:href="@{/catalog}"
|
|
|
|
th:text="Katalog"
|
|
|
|
>
|
|
|
|
Katalog
|
|
|
|
</a>
|
|
|
|
|
2023-11-10 13:49:57 +01:00
|
|
|
|
|
|
|
<!--prototype-eren-denis-->
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasRole('BOSS')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
2023-11-13 20:09:39 +01:00
|
|
|
href="staff.html"
|
|
|
|
th:href="@{/staff}"
|
|
|
|
th:text="Angestellte"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Angestellte
|
|
|
|
</a>
|
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasRole('BOSS')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="customer.html"
|
|
|
|
th:href="@{/customer}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Kunden"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Kunden
|
|
|
|
</a>
|
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="profile.html"
|
|
|
|
th:href="@{/profile}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Profil"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Registrierung
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
<!--prototype-eric-mathis-->
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="orders.html"
|
|
|
|
th:href="@{/orders}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Bestellungen"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Bestellungen
|
|
|
|
</a>
|
|
|
|
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="event.html"
|
|
|
|
th:href="@{/event}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="'Event planen'"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Events
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<!--prototpye-theo-->
|
2023-11-13 20:09:39 +01:00
|
|
|
<!--sec:authorize="hasRole('BOSS')"-->
|
2023-11-10 13:49:57 +01:00
|
|
|
<a
|
|
|
|
class="item"
|
|
|
|
href="orders.calender.html"
|
|
|
|
th:href="@{/orders/calender}"
|
2023-11-13 20:09:39 +01:00
|
|
|
th:text="Kalender"
|
2023-11-10 13:49:57 +01:00
|
|
|
>
|
|
|
|
Kalender der Bestellungen
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="right menu">
|
|
|
|
<a class="item" th:href="@{/login}" sec:authorize="isAuthenticated()" th:text="#{nav.login}">Login</a>
|
|
|
|
<form class="item" sec:authorize="isAuthenticated()" th:action="@{/logout}" method="post">
|
|
|
|
<button type="submit" class="ui button" th:text="#{nav.logout}">Logout</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-13 20:09:39 +01:00
|
|
|
<br/>
|
2023-11-10 13:49:57 +01:00
|
|
|
</nav>
|
|
|
|
</body>
|
|
|
|
</html>
|