Skip to content
Snippets Groups Projects
Commit dec9b6bc authored by Rhys Nute's avatar Rhys Nute
Browse files

Added business page

parent b1b182ff
No related branches found
No related tags found
4 merge requests!39Draft: Towns,!38Draft: Businesses,!35Draft: Towns,!31Resolve "As a user, I want to see a page of local authorities so that I can easily source contact details for a variety of different local authorities."
...@@ -10,7 +10,22 @@ import org.springframework.stereotype.Controller; ...@@ -10,7 +10,22 @@ import org.springframework.stereotype.Controller;
public class organisationControllers { public class organisationControllers {
@GetMapping("/localauthorities") @GetMapping("/localauthorities")
public ModelAndView getLocalAuthoritiesPage(){ 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; return modelAndView;
} }
} }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Businesses</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Local Authorities</title> <title>Local Authorities</title>
<link rel="stylesheet" href="static/css/templatingstyle.css"> <link rel="stylesheet" href="../static/css/templatingstyle.css">
</head> </head>
<header th:insert="~{/towns/Templating.html::header}"></header> <header th:insert="~{/towns/Templating.html::header}"></header>
<body> <body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment