|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
|
|
|
|
|
<form class="space-y-6" action="#" method="POST">
|
|
|
|
|
<form class="space-y-6" action="login.php" method="GET"> <!--Change to php-->
|
|
|
|
|
<div>
|
|
|
|
|
<label for="email" class="block text-sm font-medium leading-6 text-gray-900">Email address</label>
|
|
|
|
|
<div class="mt-2">
|
|
|
|
@ -29,9 +29,31 @@
|
|
|
|
|
<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 class="mt-2 relative block">
|
|
|
|
|
<input id="password" name="password" type="password" autocomplete="off" required class="block w-11/12 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">
|
|
|
|
|
|
|
|
|
|
<span id="pswd-invisible" class="absolute inset-y-0 right-0 flex items-center px-1 rounded-r-md">
|
|
|
|
|
<svg class="w-6 h-6 m-auto" fill="none" stroke="currentColor" viewBox="0 0 24 24"
|
|
|
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" color="black"
|
|
|
|
|
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
|
|
d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z">
|
|
|
|
|
</path>
|
|
|
|
|
</svg>
|
|
|
|
|
</span>
|
|
|
|
|
<span id="pswd-visible" class="absolute inset-y-0 right-0 flex items-center px-1 hidden">
|
|
|
|
|
<svg class="w-6 h-6 m-auto" fill="none" stroke="currentColor" viewBox="0 0 24 24"
|
|
|
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
|
|
d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21">
|
|
|
|
|
</path>
|
|
|
|
|
</svg>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<p id="domain" class="hidden text-red-800 text-xs">
|
|
|
|
|
<b>Invalid characters entered</b>
|
|
|
|
|
</p>
|
|
|
|
|
<p id="letter" class="hidden text-red-800 text-xs">
|
|
|
|
|
A <b>lowercase</b> letter
|
|
|
|
|
</p>
|
|
|
|
@ -47,9 +69,12 @@
|
|
|
|
|
<p id="length" class="hidden text-red-800 text-xs">
|
|
|
|
|
Minimum <b>10 characters</b>
|
|
|
|
|
</p>
|
|
|
|
|
<p id="auth" class="hidden text-red-800 text-xs">
|
|
|
|
|
Incorrect Email or password
|
|
|
|
|
</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>
|
|
|
|
|
<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">Log in</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|