source: src/main/resources/templates/signIn.html

main
Last change on this file was f4b4afa, checked in by Nikola Todoroski <nikola.todoroski@…>, 6 months ago

Pushed whole project, original project location on github:https://github.com/hehxd/Tech-Harbor

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[f4b4afa]1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Sign In</title>
7 <!-- Tailwind CSS CDN -->
8 <script src="https://cdn.tailwindcss.com"></script>
9 <link href="./output.css" rel="stylesheet">
10</head>
11<body class="bg-gray-100 flex justify-center items-center h-screen">
12<div class="bg-white p-8 rounded shadow-md max-w-md w-full">
13 <h2 class="text-2xl font-semibold mb-6 text-center">Sign In</h2>
14 <form th:action="@{/login}" method="post">
15 <div class="mb-4">
16 <label for="username" class="block text-gray-700 font-semibold">Username</label>
17 <input type="text" id="username" name="username"
18 class="w-full mt-1 px-4 py-2 border rounded-md focus:outline-none focus:border-blue-400">
19 </div>
20 <div class="mb-6">
21 <label for="password" class="block text-gray-700 font-semibold">Password</label>
22 <input type="password" id="password" name="password"
23 class="w-full mt-1 px-4 py-2 border rounded-md focus:outline-none focus:border-blue-400">
24 </div>
25 <button type="submit"
26 class="w-full bg-blue-500 text-white font-semibold py-2 px-4 rounded-md hover:bg-blue-600 transition duration-300">
27 Sign In
28 </button>
29 </form>
30 <div class="text-center p-4">
31 <p>You don't have an account?</p>
32 <a th:href="@{'/register'}" class="underline hover:text-emerald-500">Click here to Register</a>
33 </div>
34</div>
35</body>
36</html>
Note: See TracBrowser for help on using the repository browser.