Untitled
unknown
plain_text
3 years ago
3.7 kB
8
Indexable
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>SignUp</title>
<style>
header {
display: flex;
flex-direction: column;
align-items: center;
background-color: #f5f5f5;
padding: 20px;
}
header img {
width: 150px;
margin-right: 20px;
}
header label {
font-size: 16px;
font-weight: bold;
}
.container {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin-top: 50px;
padding: 20px;
border-radius: 5px;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
width: 40% !important;
background-color: #fcfcfc;
}
h2 {
text-align: center;
margin-bottom: 30px;
font-size: 32px;
font-weight: 700;
}
.form-group label {
font-weight: 500;
}
.form-control {
border-radius: 0px;
box-shadow: none;
border: 1px solid #ccc;
}
.form-check-label {
font-weight: 500;
}
.btn-primary {
background-color: #007bff;
border: none;
border-radius: 0px;
padding: 10px 30px;
font-size: 16px;
font-weight: 500;
transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
background-color: #0062cc;
box-shadow: none;
}
</style>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
</head>
<body style="background-color: #c4d6f2;">
<header>
<div style="margin-left:40%;">
<img src="https://zuarifarmhub.com/wp-content/uploads/2022/11/farmhub-logo-1.png" alt="Example image" style="display:inline-block;">
<div>
<label style="text-align:right;">India's Leading AgriTech Company</label>
</div>
</div>
</header>
<div class="container">
<div>
<h2>Zuari Registration Form</h2>
</div>
<div>
<form class="mt-5" th:action="@{/zuari/submit}" th:object="${user}"
method="post">
<div class="form-group">
<label for="name">First Name:</label> <input type="text"
class="form-control" id="name" placeholder="Enter first name"
th:field="*{firstName}" required>
</div>
<div class="form-group">
<label for="lastname">Last Name:</label> <input type="text"
class="form-control" id="lastname" placeholder="Enter last name"
th:field="*{lastName}" required>
</div>
<div class="form-group">
<label for="email">Email:</label> <input type="email"
class="form-control" id="email" placeholder="Enter email"
th:field="*{email}" required>
</div>
<div class="form-group">
<label for="phone">Phone No:</label> <input type="text"
class="form-control" id="phone" placeholder="Enter Phone No"
th:field="*{phoneNumber}" required>
</div>
<div class="form-group">
<label for="DOB">DOB:</label> <input type="date"
class="form-control" id="DOB" placeholder="Enter Date of Birth"
th:field="*{dateOfBirth}" required>
</div>
<div class="form-group">
<label for="password">Password:</label> <input type="password"
class="form-control" id="password" placeholder="Enter password"
th:field="*{password}" required>
</div>
<div class="form-group form-check">
<label class="form-check-label"> <input
class="form-check-input" type="checkbox" required> I agree
to the terms and conditions.
</label>
</div>
<button type="submit" class="btn btn-primary">Register</button>
</form>
</div>
</div>
<!-- Add Bootstrap JavaScript -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"></script>
</body>
</html>
Editor is loading...