From eec4066dd06c193ed219fc70612a976a3bd0f8aa Mon Sep 17 00:00:00 2001 From: Theo Reichert Date: Fri, 10 Nov 2023 13:49:57 +0100 Subject: [PATCH] Add layout.html and navigation.html Co-authored-by: Simon Bruder --- src/main/resources/messages_de.properties | 10 +- src/main/resources/messages_en.properties | 10 +- src/main/resources/templates/layout.html | 23 ++++ src/main/resources/templates/navigation.html | 117 +++++++++++++++++++ 4 files changed, 158 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/templates/layout.html create mode 100644 src/main/resources/templates/navigation.html diff --git a/src/main/resources/messages_de.properties b/src/main/resources/messages_de.properties index 0d4a959..653d377 100644 --- a/src/main/resources/messages_de.properties +++ b/src/main/resources/messages_de.properties @@ -1,4 +1,4 @@ -# ATTENTION: +# ATTENTION: # Spring Boot expects this file to be UTF-8 encoded 👍 However, some IDEs will open it in # the wrong mode. For example, IntelliJ users must go to Preferences > Editor > File Encodings # and set "Default encoding for properties files" to "UTF-8". @@ -7,3 +7,11 @@ welcome.title = Willkommen zurück! welcome.text = Wenn Umlaute (äöü) falsch dargestellt werden, ist irgendwas kaputt + +nav.register=Registrierung +nav.login=Login +nav.inventory=Inventar +nav.employee=Angestellte +nav.customer=Kunden +nav.orders=Bestellungen +nav.orders.calender=Kalender diff --git a/src/main/resources/messages_en.properties b/src/main/resources/messages_en.properties index 5c2be64..b0aa556 100644 --- a/src/main/resources/messages_en.properties +++ b/src/main/resources/messages_en.properties @@ -1,6 +1,14 @@ -# ATTENTION: +# ATTENTION: # Spring Boot expects this file to be UTF-8 encoded 👍 However, some IDEs will open it in # the wrong mode. For example, IntelliJ users must go to Preferences > Editor > File Encodings # and set "Default encoding for properties files" to "UTF-8". # # HINT: Entries that are missing here are looked up in messages.properties + +nav.register=Register +nav.login=Login +nav.inventory=Inventory +nav.employee=Employee +nav.customer=Customer +nav.orders=Orders +nav.orders.calender=Calender diff --git a/src/main/resources/templates/layout.html b/src/main/resources/templates/layout.html new file mode 100644 index 0000000..6d1e688 --- /dev/null +++ b/src/main/resources/templates/layout.html @@ -0,0 +1,23 @@ + + + + + + + + + Catering + + +
+
+

Catering

+
+ +
+
+ + diff --git a/src/main/resources/templates/navigation.html b/src/main/resources/templates/navigation.html new file mode 100644 index 0000000..facd503 --- /dev/null +++ b/src/main/resources/templates/navigation.html @@ -0,0 +1,117 @@ + + + + + + + +