From 663b24f02fcf10cd6e3d065c28a86006838c5dde Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 19 Feb 2020 20:38:22 +0100 Subject: [PATCH] Modificadas el redsto de navbars --- .../java/com/practica/demo/Controlador.java | 6 ++ .../resources/templates/bracketCreation.html | 2 +- .../src/main/resources/templates/diamond.html | 2 +- .../main/resources/templates/infoPage.html | 2 +- .../main/resources/templates/leaderBoard.html | 33 ++++---- .../src/main/resources/templates/profile.html | 37 +++++---- .../main/resources/templates/register.html | 24 ++++-- .../resources/templates/rocketLeague.html | 30 ++++---- .../src/main/resources/templates/signIn.html | 76 ++++++++++--------- .../src/main/resources/templates/team.html | 37 +++++---- .../resources/templates/teamCreation.html | 37 ++++----- 11 files changed, 159 insertions(+), 127 deletions(-) diff --git a/practica/src/main/java/com/practica/demo/Controlador.java b/practica/src/main/java/com/practica/demo/Controlador.java index 83484fa3..8f664ae0 100644 --- a/practica/src/main/java/com/practica/demo/Controlador.java +++ b/practica/src/main/java/com/practica/demo/Controlador.java @@ -48,6 +48,12 @@ public String index(Model model) { return "index"; //es necesario poner el .html } + + @RequestMapping("/index") + public String goIndex(Model model) { + return "index"; + } + @RequestMapping("/tournaments") public String goTournaments(Model model) { return "rocketLeague"; diff --git a/practica/src/main/resources/templates/bracketCreation.html b/practica/src/main/resources/templates/bracketCreation.html index f59d7881..2c8bfc0f 100644 --- a/practica/src/main/resources/templates/bracketCreation.html +++ b/practica/src/main/resources/templates/bracketCreation.html @@ -26,7 +26,7 @@