<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" layout:decorate="~{template}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
<title>Camp Organizer 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	<th:block layout:fragment="header">
		<ul class="navbar-nav mb-2 mb-lg-0">
			<li class="nav-item"><a th:href="@{${keycloakProfileUrl}}" class="btn btn-secondary btn-icon-silent" target="_blank">Profil</a></li>
		</ul>
		<ul class="navbar-nav mb-2 mb-lg-0" sec:authorize="hasRole('business')">
			<li class="nav-item"><a th:href="@{/business}" class="btn btn-secondary btn-icon-silent">Abrechnung</a></li>
		</ul>
		<ul class="navbar-nav mb-2 mb-lg-0" sec:authorize="hasRole('registrator')">
			<li class="nav-item"><a th:href="@{/confirmation}" class="btn btn-secondary btn-icon-silent">Bestätigung</a></li>
		</ul>
		<ul class="navbar-nav mb-2 mb-lg-0">
			<li class="nav-item"><a href="https://www.onkelwernerfreizeiten.de/cloud" class="btn btn-secondary btn-icon-silent" target="_blank">Nextcloud</a></li>
		</ul>
	</th:block>
	<th:block layout:fragment="content">
		<div class="mainpage">
		  <div th:each="f : ${feeds}">
		  	<span th:text="${f}"></span>
		  </div>
		</div>
	</th:block>
</body>
</html>