diff --git a/src/main/resources/static/css/landmarkFormStyle.css b/src/main/resources/static/css/landmarkFormStyle.css new file mode 100644 index 0000000000000000000000000000000000000000..5d55ace648577e3117dd272a654f6e624f4a70d0 --- /dev/null +++ b/src/main/resources/static/css/landmarkFormStyle.css @@ -0,0 +1,20 @@ +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 diff --git a/src/main/resources/templates/Landmarks/LandmarkForm.css b/src/main/resources/templates/Landmarks/LandmarkForm.css deleted file mode 100644 index df5c50ab8b7c4f24378094bd28c7020cda5037d6..0000000000000000000000000000000000000000 --- a/src/main/resources/templates/Landmarks/LandmarkForm.css +++ /dev/null @@ -1,10 +0,0 @@ -main{ - background: black; - color: wheat; -} - -#landmarkSubmission{ - color:white; - border-color: white; - align-content: center; -} \ No newline at end of file diff --git a/src/main/resources/templates/Landmarks/LandmarkFormTh.html b/src/main/resources/templates/Landmarks/LandmarkFormTh.html index 74f5aa54edd46160e8b57cb9c020864810f010ec..53430d518cfd11b37984c5939056bbf9d2d1f768 100644 --- a/src/main/resources/templates/Landmarks/LandmarkFormTh.html +++ b/src/main/resources/templates/Landmarks/LandmarkFormTh.html @@ -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> diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index 39906f23d230c075381eeb440453ce3b4ace4029..47b1dc1353c7c96bcb3409f54558ff18c4da6cf4 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -9,7 +9,6 @@ <body> <header th:replace="fragments/temp_frags.html :: header"></header> - <main> <div class="trailList"> <ul class="ulHeader"> diff --git a/src/main/resources/templates/Landmarks/Templating.html b/src/main/resources/templates/towns/Templating.html similarity index 79% rename from src/main/resources/templates/Landmarks/Templating.html rename to src/main/resources/templates/towns/Templating.html index 8a55caaa5c4fe53035587529ec417bead2ef8711..f7a4d184e91b2fb31759692f4d0771bfb781ac82 100644 --- a/src/main/resources/templates/Landmarks/Templating.html +++ b/src/main/resources/templates/towns/Templating.html @@ -1,21 +1,21 @@ -<<<<<<< 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 +<!-->>>>>>> main-->