Skip to content
Snippets Groups Projects
Commit 9cb656d9 authored by Rhys Evans's avatar Rhys Evans
Browse files

minor element colour change

parent 335ed2da
No related branches found
No related tags found
1 merge request!44Location apporval form validation update
...@@ -88,7 +88,7 @@ public class LandmarksController { ...@@ -88,7 +88,7 @@ public class LandmarksController {
placesCoordinatesRepo.addLocationCoord(ALocCoord); // adds valid landmark to locations table placesCoordinatesRepo.addLocationCoord(ALocCoord); // adds valid landmark to locations table
locationRepository.updateApprovalStatus(locationID); // updates approval status accordingly locationRepository.updateApprovalStatus(locationID); // updates approval status accordingly
System.out.println(placesCoordinatesRepo.getAllLocationCoords()); System.out.println(placesCoordinatesRepo.getAllLocationCoords());
ModelAndView modelAndView = new ModelAndView("redirect:/home"); //redirects back top form in case admin wants to input second location ModelAndView modelAndView = new ModelAndView("redirect:/mobile-home"); //redirects back top form in case admin wants to input second location
return modelAndView; return modelAndView;
// } // }
......
...@@ -12,7 +12,9 @@ main { ...@@ -12,7 +12,9 @@ main {
max-width: 620px; max-width: 620px;
margin: 0 auto margin: 0 auto
} }
.coordError{
color:darkred;
}
#formHeader{ #formHeader{
padding-top: 10px; padding-top: 10px;
color:white; color:white;
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</select> </select>
</label> </label>
<br><br> <br><br>
<div th:if="${param.error}" class="coordError">Invalid Coordinates entered</div> <div th:if="${param.error}" class="coordError">Invalid Coordinates entered.</div>
<label> Location Latitude: <label> Location Latitude:
<input type="text" th:field="*{locationCoordsLat}" placeholder="Latitude Here"> <input type="text" th:field="*{locationCoordsLat}" placeholder="Latitude Here">
<br><br> <br><br>
......
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