Added HTML and Javascript files for a login page
This commit is contained in:
		
							
								
								
									
										59
									
								
								login.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								login.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,59 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en" class="h-full bg-white"> | ||||
| <head> | ||||
|     <link rel="stylesheet" href="output.css"> | ||||
|     <title>Title</title> | ||||
| </head> | ||||
| <body class="h-full"> | ||||
| <div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8"> | ||||
| <div class="sm:mx-auto sm:w-full sm:max-w-sm"> | ||||
|     <img class="mx-auto h-10 w-auto" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" alt="Your Company"> | ||||
|     <h2 class="mt-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">Log in to your account</h2> | ||||
| </div> | ||||
|  | ||||
| <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm"> | ||||
|     <form class="space-y-6" action="#" method="POST"> | ||||
|         <div> | ||||
|             <label for="email" class="block text-sm font-medium leading-6 text-gray-900">Email address</label> | ||||
|             <div class="mt-2"> | ||||
|                 <input id="email" name="email" type="email" autocomplete="email" required class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> | ||||
|                 <div id="email-error" class="hidden mt-2 text-red-800 text-xs"> | ||||
|                     invalid Email | ||||
|                 </div> | ||||
|             </div> | ||||
|         </div> | ||||
|         <div> | ||||
|             <div class="flex items-center justify-between"> | ||||
|                 <label for="password" class="block text-sm font-medium leading-6 text-gray-900">Password</label> | ||||
|                 <div class="text-sm"> | ||||
|                     <a href="#" class="font-semibold text-indigo-600 hover:text-indigo-500">Forgot password?</a> | ||||
|                 </div> | ||||
|             </div> | ||||
|             <div class="mt-2"> | ||||
|                 <input id="password" name="password" type="password" autocomplete="current-password" required class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> | ||||
|             </div> | ||||
|             <p id="letter" class="hidden text-red-800 text-xs"> | ||||
|                 A <b>lowercase</b> letter | ||||
|             </p> | ||||
|             <p id="capital" class="hidden text-red-800 text-xs"> | ||||
|                 A <b>capital (uppercase)</b> letter | ||||
|             </p> | ||||
|             <p id="number" class="hidden text-red-800 text-xs"> | ||||
|                 A <b>number</b> | ||||
|             </p> | ||||
|             <p id="symbol" class="hidden text-red-800 text-xs"> | ||||
|                 A <b>symbol</b> | ||||
|             </p> | ||||
|             <p id="length" class="hidden text-red-800 text-xs"> | ||||
|                 Minimum <b>10 characters</b> | ||||
|             </p> | ||||
|         </div> | ||||
|         <div> | ||||
|             <button type="submit" class="flex w-full justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">Sign in</button> | ||||
|         </div> | ||||
|     </form> | ||||
| </div> | ||||
| </div> | ||||
| <script src="login.js"></script> | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user