Untitled
unknown
plain_text
2 years ago
2.4 kB
4
Indexable
<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Change Password</title> <!-- Add Bootstrap CSS --> <style> .container { display: flex; margin: auto; width: 30%; flex-direction: column; margin-top: 50px; background-color: #fff; padding: 20px; border-radius: 10px; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); } input[type=text], input[type=password] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } button[type=submit] { background-color: #4CAF50; color: #fff; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; width: 100%; font-size: 18px; } button[type=submit]:hover { background-color: #45a049; } h2 { text-align: center; } label { font-size: 18px; display: block; margin-bottom: 10px; } 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; } </style> </head> <body> <header> <div> <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"> <h1 class="mt-5">Change Password</h1> <div th:if="${errorMessage}"> <p th:text="${errorMessage}"></p> </div> <form th:action="@{/zuari/change/{userId}(userId=${userId})}" method="post" class="mt-5"> <div class="mb-3"> <label for="current-password" class="form-label">Current Password:</label> <input type="password" id="current-password" name="current-password" class="form-control" required> </div> <div class="mb-3"> <label for="new-password" class="form-label">New Password:</label> <input type="password" id="new-password" name="new-password" class="form-control" required> </div> <div class="mb-3"> <label for="confirm-password" class="form-label">Confirm New Password:</label> <input type="password" id="confirm-password" name="confirm-password" class="form-control" required> </div> <button type="submit" class="btn btn-primary">Change Password</button> </form> </div> </body> </html>
Editor is loading...