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

78 lines
2.2 KiB
HTML
Raw Normal View History

<!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">
<head>
<title>Basiseventkonfiguration</title>
</head>
<body>
<nav>
<div class="topnav"> <!-- später für css -->
<a th:href="@{/}" th:text="Home">Home</a>
<a th:href="@{/catalog}" th:text="Katalog">Katalog</a>
<a th:href="@{/event}" th:text="Eventplaner">Eventplaner</a>
<a th:href="@{/orders}" th:text="Aufträge">Aufträge</a>
<!--<a href="#account">Mein Konto</a>-->
</div>
</nav>
<h1>Basisevent konfigurieren</h1>
<div class="content">
<h2>Dienstleistung</h2>
<label for="dienstleistungen"></label>
<select name="dienstleistungen" id="dienstleistungen">
<option value="eventcatering">Eventcatering</option>
<option value="partyservice">Partyservice</option>
<option value="mobile_breakfast">Mobile Breakfast</option>
<option value="rent-a-cook">Rent-a-Cook</option>
</select>
Eventbasispreis: 500€
<h2>Mindestzeitraum</h2>
<label>Mindestzeitraum:
<input type="number" name="amount" min="1" step="1" value="1"/>
</label>h
<h2>Basisausstattung</h2>
<table>
<tr>
<th>Produktname</th>
<th>Menge</th>
<th>Stückpreis</th>
</tr>
<tr>
<td>Brötchen</td>
<td>
<input type="number" name="amount" min="1" step="1" value="1"/>
</td>
<td>1,00 €</td>
<td>
<form method="post" th:action="@{/catalog/remove}">
<input type="hidden" name="itemID" value="0"/>
<input type="submit" value="remove" th:value="Entfernen"/>
</form>
</td>
</tr>
<tr>
<td>Kerze</td>
<td>
<input type="number" name="amount" min="1" step="1" value="1"/>
</td>
<td>3.00 €</td>
<td>
<form method="post" th:action="@{/catalog/remove}">
<input type="hidden" name="itemID" value="0"/>
<input type="submit" value="remove" th:value="Entfernen"/>
</form>
</td>
</tr>
<tr>
<td>[Artikel Hinzufügen]</td>
</tr>
</table>
<br>
Gesamtpreis: 90 €<br>
<button>Zum Katalog hinzufügen</button>
</div>
</body>
</html>