From a384c57645d64fd10038503b532b9090219148a0 Mon Sep 17 00:00:00 2001 From: Juanjo Date: Fri, 10 Feb 2023 19:07:24 +0100 Subject: [PATCH] arreglando menu --- .../controladores/WebControlador.java | 5 ++ src/main/resources/templates/buscar.html | 52 +++++++++++++++++++ .../resources/templates/foot/javascript.html | 4 +- src/main/resources/templates/head/head.html | 3 ++ src/main/resources/templates/menu/m1.html | 13 ++--- src/main/resources/templates/usuarios.html | 1 - 6 files changed, 69 insertions(+), 9 deletions(-) create mode 100644 src/main/resources/templates/buscar.html diff --git a/src/main/java/es/fp/edu/conecta2/controladores/WebControlador.java b/src/main/java/es/fp/edu/conecta2/controladores/WebControlador.java index b1a4e82..30ac75f 100644 --- a/src/main/java/es/fp/edu/conecta2/controladores/WebControlador.java +++ b/src/main/java/es/fp/edu/conecta2/controladores/WebControlador.java @@ -51,6 +51,11 @@ public class WebControlador { return "redirect:/"; } + @GetMapping ("/buscar") + public String buscar(){ + return "buscar"; + } + @RequestMapping("parametros/{a}/{b}/{c}") public String parametros( @PathVariable int a, @PathVariable int b, diff --git a/src/main/resources/templates/buscar.html b/src/main/resources/templates/buscar.html new file mode 100644 index 0000000..7026157 --- /dev/null +++ b/src/main/resources/templates/buscar.html @@ -0,0 +1,52 @@ + + + + + +
+
+
+
+
+
+ +

+
+ Buscar +
+ +

+
+
+
+
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/foot/javascript.html b/src/main/resources/templates/foot/javascript.html index a47794b..db943fe 100644 --- a/src/main/resources/templates/foot/javascript.html +++ b/src/main/resources/templates/foot/javascript.html @@ -1,6 +1,6 @@ -