From c5b970ffc9f58b00e7039ce3b640b4fda09059a2 Mon Sep 17 00:00:00 2001 From: tomvahl Date: Fri, 6 Mar 2020 14:21:43 +0100 Subject: [PATCH] change index.html --- .../controllers/Gruppen2Controller.java | 10 ++++ src/main/resources/templates/index.html | 7 ++- src/main/resources/templates/search.html | 31 ++++++++++ src/main/resources/templates/test.html | 58 +++++++++++++++++++ 4 files changed, 104 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/templates/search.html create mode 100644 src/main/resources/templates/test.html diff --git a/src/main/java/mops/gruppen2/controllers/Gruppen2Controller.java b/src/main/java/mops/gruppen2/controllers/Gruppen2Controller.java index cb3d617..d693b24 100644 --- a/src/main/java/mops/gruppen2/controllers/Gruppen2Controller.java +++ b/src/main/java/mops/gruppen2/controllers/Gruppen2Controller.java @@ -53,4 +53,14 @@ public class Gruppen2Controller { System.out.println(gruppe); return "redirect:/"; } + + @GetMapping("/createGroup") + public String createGruppe(){ + return "test"; + } + + @GetMapping("/findGroup") + public String findGruppe(){ + return "search"; + } } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 6325eb7..44020e9 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -13,10 +13,13 @@ diff --git a/src/main/resources/templates/search.html b/src/main/resources/templates/search.html new file mode 100644 index 0000000..b84e2d9 --- /dev/null +++ b/src/main/resources/templates/search.html @@ -0,0 +1,31 @@ + + + + + Name des Subsystems + + + + + +
+ +
+
+ +
+ + \ No newline at end of file diff --git a/src/main/resources/templates/test.html b/src/main/resources/templates/test.html new file mode 100644 index 0000000..da8dd0d --- /dev/null +++ b/src/main/resources/templates/test.html @@ -0,0 +1,58 @@ + + + + + Name des Subsystems + + + + + +
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
TitelBeschreibung
Titel1Beschreibung1
Titel2Beschreibung2
Titel3Beschreibung3
+
+
+
+
+ + \ No newline at end of file