Skip to content
Snippets Groups Projects
Commit 1f584293 authored by Connor Brock's avatar Connor Brock
Browse files

Modified HTMl pages to include a landmark list, including the basic CSS to...

Modified HTMl pages to include a landmark list, including the basic CSS to correct how the information is displayed. Starting to intergrate controllers for Thymeleaf integration.
parent 08b7a18a
No related branches found
No related tags found
1 merge request!12Draft: Resolve "As a user I want to be able to see landmarks related to the trail I am looking at, so that I can find out where to go"
......@@ -3,13 +3,21 @@ package Team5.SmartTowns.trailcontrollers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class DragonsTale {
@GetMapping("/dragonstale")
public ModelAndView getDragonsTale(){
ModelAndView modelAndView = new ModelAndView("src/main/resources/templates/towns/trails/dragonstale/index.html");
return modelAndView;
}
@RequestMapping("/dragonstale")
public ModelAndView thymeleafInteration(){
}
}
......@@ -20,6 +20,17 @@
</p>
</div>
<div class="centre" id="landmarkList">
<ul>
<li> Landmark 1 </li>
<li> Landmark 2 </li>
<li> Larkmark 3 </li>
<li> Larkmark 4 </li>
<li> Larkmark 5 </li>
<li> Larkmark 6 </li>
</ul>
</div>
<div class="centre">
<h3>Begin your hunt!</h3>
<button type="button" id="begin">Click here!</button>
......
......@@ -6,4 +6,11 @@
margin-right: auto;
width: 50%;
background-color: antiquewhite;
}
#landmarkList.centre{
text-align: left;
border-style: solid;
border-width: 2px;
border-color: #FF7F50;
}
\ No newline at end of file
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