diff --git a/src/main/java/Team5/SmartTowns/Organisation/organisationControllers.java b/src/main/java/Team5/SmartTowns/Organisation/organisationControllers.java index b9b1b8e33b09ae4be4fa64d9247a9caa1b8b2001..3108a2dded7d5b65991dda3d6b7859e5a052278f 100644 --- a/src/main/java/Team5/SmartTowns/Organisation/organisationControllers.java +++ b/src/main/java/Team5/SmartTowns/Organisation/organisationControllers.java @@ -10,7 +10,22 @@ import org.springframework.stereotype.Controller; public class organisationControllers { @GetMapping("/localauthorities") public ModelAndView getLocalAuthoritiesPage(){ - ModelAndView modelAndView = new ModelAndView("local-authorities"); + ModelAndView modelAndView = new ModelAndView("WorkWith/local-authorities.html"); + return modelAndView; + } + @GetMapping("/businesses") + public ModelAndView getBusinessPage(){ + ModelAndView modelAndView = new ModelAndView("WorkWith/business.html"); + return modelAndView; + } + @GetMapping("/consumers") + public ModelAndView getConsumersPage(){ + ModelAndView modelAndView = new ModelAndView("WorkWith/consumers.html"); + return modelAndView; + } + @GetMapping("/towns") + public ModelAndView getTownsPage(){ + ModelAndView modelAndView = new ModelAndView("WorkWith/towns.html"); return modelAndView; } } diff --git a/src/main/resources/WorkWith/businesses.html b/src/main/resources/WorkWith/businesses.html new file mode 100644 index 0000000000000000000000000000000000000000..5636d33fa1e858a3986a6dea5e57d5103bef951e --- /dev/null +++ b/src/main/resources/WorkWith/businesses.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Businesses</title> +</head> +<body> + +</body> +</html> \ No newline at end of file diff --git a/src/main/resources/local-authorities.html b/src/main/resources/WorkWith/local-authorities.html similarity index 92% rename from src/main/resources/local-authorities.html rename to src/main/resources/WorkWith/local-authorities.html index 896b9d4aa0f5d9e738c40d7003656e8161183fb3..1ee0ecc9a514154645c3bf8ab3902b9e27e09076 100644 --- a/src/main/resources/local-authorities.html +++ b/src/main/resources/WorkWith/local-authorities.html @@ -3,7 +3,7 @@ <head> <meta charset="UTF-8"> <title>Local Authorities</title> - <link rel="stylesheet" href="static/css/templatingstyle.css"> + <link rel="stylesheet" href="../static/css/templatingstyle.css"> </head> <header th:insert="~{/towns/Templating.html::header}"></header> <body>