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

Moved styling to landmarkFormStyle.css added title to form and cehcked anrrator functionality

parent 12dbc5e7
No related branches found
No related tags found
1 merge request!13Resolve "As a user I want to be able submit a form about a specific landmark to add to the trail"
body{
background: rgb(41, 41, 41);
color: wheat;
}
#landmarkSubmission {
background-color: rgb(206, 153, 253);;
color: black;
border-color: white;
align-content: center;
text-align: center;
border-radius: 25px;
max-width: 600px;
margin: 0 auto
}
#landmarkFormTitle{
color:white;
text-align: center;
}
\ No newline at end of file
main{
background: black;
color: wheat;
}
#landmarkSubmission{
color:white;
border-color: white;
align-content: center;
}
\ No newline at end of file
......@@ -3,44 +3,49 @@
<head>
<meta charset="UTF-8">
<title>Landmark Sign Up</title>
<link rel="stylesheet" th:href="@{LandmarkForm.css}">
<link rel="stylesheet" th:href="@{css/landmarkFormStyle.css}">
<link rel="stylesheet" th:href="@{css/templatingstyle.css}">
<style>
body{
background: rgb(41, 41, 41);
color: wheat;
}
#landmarkSubmission {
background-color: rgb(206, 153, 253);;
color: black;
border-color: white;
align-content: center;
text-align: center;
border-radius: 25px;
max-width: 600px;
/*main{*/
/* background: rgb(41, 41, 41);*/
/* color: wheat;*/
/*}*/
/*#landmarkSubmission {*/
/* background-color: rgb(206, 153, 253);;*/
/* color: black;*/
/* border-color: white;*/
/* align-content: center;*/
/* text-align: center;*/
/* border-radius: 25px;*/
/* max-width: 600px;*/
margin: 0 auto
/* margin: 0 auto*/
}
/*}*/
</style>
</head>
<body>
<header th:insert="~{/towns/Templating.html :: header}"></header>
<hr style="height:20px; visibility:hidden;" />
<H2 id="landmarkFormTitle"> Interested in joining our trails? Sign up Here! </H2>
<main>
<hr style="height:40px; visibility:hidden;" />
<form action="/landmarkSub" id="landmarkSubmission" name="landmarkSubmission" method="post" th:object="${landmarkData}" onsubmit="return landmarkFormValidation()">
<br>
<label>Business Name:
<input type="text" th:field="*{landmarkName}">
<input type="text" th:field="*{landmarkName}" placeholder="Business name here...">
</label><br>
<div th:errors="*{landmarkName}" th:if="${#fields.hasErrors('landmarkName')}">ErrorLandmarkName</div>
<br><label>Contact Address:
<input type="text" th:field="*{landmarkEmail}">
<input type="text" th:field="*{landmarkEmail}" placeholder="E-mail here...">
</label><br>
<div th:errors="*{landmarkEmail}" th:if="${#fields.hasErrors('landmarkEmail')}">ErrorEmail</div>
<br><label>Please Describe Your Business:<br>
......
......@@ -9,7 +9,6 @@
<body>
<header th:replace="fragments/temp_frags.html :: header"></header>
<main>
<div class="trailList">
<ul class="ulHeader">
......
<<<<<<< HEAD
<header th:fragment="headerBlock">
<br>Header Block<br>
</header>
<!--<<<<<<< HEAD-->
<!--<header th:fragment="headerBlock">-->
<!-- <br>Header Block<br>-->
<!--</header>-->
<footer th:fragment="footerBlock">
<br><b>VZTA</b><br>
<br>Near Me Now LTD<br>
<br>Britania House<br>
<br>Caerphilly Business Park<br>
<br>Caerphilly<br>
<br>CF83 3GG<br>
<br>(C) VZTA 2022<br>
<br><b>Follow Us</b><br>
<br>Facebook Twitter Instagram LinkedIn<br>
<br>Privacy Policy Terms and Conditions<br>
</footer>
=======
<!--<footer th:fragment="footerBlock">-->
<!-- <br><b>VZTA</b><br>-->
<!-- <br>Near Me Now LTD<br>-->
<!-- <br>Britania House<br>-->
<!-- <br>Caerphilly Business Park<br>-->
<!-- <br>Caerphilly<br>-->
<!-- <br>CF83 3GG<br>-->
<!-- <br>(C) VZTA 2022<br>-->
<!-- <br><b>Follow Us</b><br>-->
<!-- <br>Facebook Twitter Instagram LinkedIn<br>-->
<!-- <br>Privacy Policy Terms and Conditions<br>-->
<!--</footer>-->
<!--=======-->
<link rel="stylesheet" href="../../static/css/templatingstyle.css">
<header class="headerBar" th:fragment="header">
......@@ -71,4 +71,4 @@
</div>
</div>
</div>
>>>>>>> main
<!--&gt;>>>>>> main-->
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