From 5f04f2e1b8524b3c837afc5b8abe33df897978c0 Mon Sep 17 00:00:00 2001 From: Mathis Kral Date: Sun, 5 Nov 2023 09:38:25 +0100 Subject: [PATCH] Initial commit for prototype --- .../catering/welcome/WelcomeController.java | 10 +++ src/main/resources/templates/catalog.html | 77 ++++++++++++++++++ src/main/resources/templates/orders.html | 78 +++++++++++++++++++ src/main/resources/templates/welcome.html | 15 ++++ 4 files changed, 180 insertions(+) create mode 100644 src/main/resources/templates/catalog.html create mode 100644 src/main/resources/templates/orders.html diff --git a/src/main/java/catering/welcome/WelcomeController.java b/src/main/java/catering/welcome/WelcomeController.java index 9dbdb42..03a9ac9 100644 --- a/src/main/java/catering/welcome/WelcomeController.java +++ b/src/main/java/catering/welcome/WelcomeController.java @@ -25,4 +25,14 @@ public class WelcomeController { public String index() { return "welcome"; } + + @GetMapping("/catalog") + public String catalog() { + return "catalog"; + } + + @GetMapping("/orders") + public String orders() { + return "orders"; + } } diff --git a/src/main/resources/templates/catalog.html b/src/main/resources/templates/catalog.html new file mode 100644 index 0000000..04f0225 --- /dev/null +++ b/src/main/resources/templates/catalog.html @@ -0,0 +1,77 @@ + + + + + + Katalog + + +
+ Home + Katalog + Aufträge + +
+ +
+

Katalog

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
NameMindestzeitraumBasisausstattungPreis ab
+ **BILD** + Rent-a-Cook3h +
    +
  • 1 Koch
  • +
  • 300kg Mettbrötchen
  • +
  • 300kg vegane Weißwurst
  • +
+
499,99€
+ **BILD** + Sushi-Abend4h +
    +
  • 2 Köche
  • +
  • 300kg Sushi
  • +
  • 300kg Sushi vegan
  • +
+
699,99€
+
+ +
+ +
+ + + + + + diff --git a/src/main/resources/templates/orders.html b/src/main/resources/templates/orders.html new file mode 100644 index 0000000..4fb9b8f --- /dev/null +++ b/src/main/resources/templates/orders.html @@ -0,0 +1,78 @@ + + + + + + Aufträge + + +
+ Home + Katalog + Aufträge + +
+ +
+

Auftragsliste

+
+ +
+

Zukünftige Aufträge

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VonBisKundeProduktRechnungBezahltPreis
01.10.2024 0:00Uhr30.10.2023 23:59UhrHans Käse + Mobile Breakfast + + noch keine Rechnung verfügbar + 10550,99€ + +
24.11.2023 10:00Uhr24.11.2023 15:00UhrHans Käse + Rent-a-Cook + + Rechnung + 350,99 + +
+
+ + + + + diff --git a/src/main/resources/templates/welcome.html b/src/main/resources/templates/welcome.html index f556a99..ce6e28f 100644 --- a/src/main/resources/templates/welcome.html +++ b/src/main/resources/templates/welcome.html @@ -6,7 +6,22 @@ Welcome! + +
+ Home + Katalog + Aufträge + +
+

Welcome!

+ +