mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add event_configuration.html and adjusted WelcomeController.java to link it
This commit is contained in:
parent
e5811ad020
commit
304e37a118
|
@ -30,4 +30,9 @@ public class WelcomeController {
|
|||
public String catalog() {
|
||||
return "catalog";
|
||||
}
|
||||
|
||||
@GetMapping("/event_configuration")
|
||||
public String event_configuration() {
|
||||
return "event_configuration";
|
||||
}
|
||||
}
|
||||
|
|
52
src/main/resources/templates/event_configuration.html
Normal file
52
src/main/resources/templates/event_configuration.html
Normal file
|
@ -0,0 +1,52 @@
|
|||
<!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>Auftragskonfiguration</title></head>
|
||||
<body>
|
||||
<nav>
|
||||
<a href="/dienstleistungen.html/">Dienstleistungen</a> |
|
||||
<button>Login</button>
|
||||
</nav>
|
||||
<h1>Auftrag 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>
|
||||
Preis 30€
|
||||
|
||||
<h2>Artikel</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Produktname</th>
|
||||
<th>Menge</th>
|
||||
<th>Stückzahl</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brötchen</td>
|
||||
<td>30 [ + / - ]</td>
|
||||
<td>1,00 €</td>
|
||||
<td>[Löschen]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kerze</td>
|
||||
<td>20 [ + / - ]</td>
|
||||
<td>3.00 €</td>
|
||||
<td>[Löschen]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[Artikel Hinzufügen]</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
Gesamtpreis: 90 €<br>
|
||||
<button>In den Warenkorb</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue