<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="head::head"></head>
<body class="container">
	<div class="container-fluid">
		<h1><img th:src="@{/photos/logo.png}" alt="Logo" width="470" height="150"/></h1>
	</div>
	
	<nav th:include="menu::menu"></nav>
	<div class="container-fluid"><h2 th:text="${title}">Willkommen!</h2></div>
	<div class="container-fluid"><p th:text="${message}">Text</p></div>
	<div class="container-fluid">
		<table class="table table-striped table-hover" width="560" cellspacing="0" cellpadding="0">
			<tbody>
				<tr>
					
					<th>Zimmername</th>
					<th>Preis Erwachsener</th>
					<th>Preis Kind</th>
					<th>Anzahl Betten</th>
				</tr>
				
				<tr th:each="zimmer : ${zimmer}">
					<td><a th:href="@{~/kunde/edit(zimmerid=${zimmer.id})}" th:text="${zimmer.zimmername}"></a></td>
					<td th:text="${#numbers.formatCurrency(zimmer.preisErw)}"></td>
					<td th:text="${#numbers.formatCurrency(zimmer.preisKind)}"></td>
					<td th:text="${zimmer.anzbett}"></td>
				</tr>
			</tbody>
		</table>
	
		<table>
			<tbody>
				<tr>
					<td>&nbsp;</td>						
					<td>&nbsp;</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="fliesstext">
						<strong>Zimmer 1</strong>
						<br>
						Hier können Sie nun einen Blick in unser Zimmer 1 werfen.
						<br>
						<br>
						Doppelbett mit Etagenbett
						<br>								
					</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>
						<img th:src="@{/photos/zimmer1b.jpg}" alt="Zimmer1" width="348" height="261" border="0" class="bildrand"/>
					</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>
					<img th:src="@{/photos/zimmer1a.jpg}" alt="Zimmer1"  width="348" height="261" border="0" class="bildrand"/>
					</td>
			</tbody>		
		</table>
		
		
	
		
		
	</div>
	<div th:include="foot::foot"></div>
</body>
</html>