Spaces:
Configuration error
Configuration error
Download login.html from brucelloyd1/lost-found-tracker-pro: direct link, hf CLI and curl.
- Browser
- Download file 3.98 kB
-
https://huggingface.co/spaces/brucelloyd1/lost-found-tracker-pro/resolve/main/login.html
- Command line
-
hf download hf://spaces/brucelloyd1/lost-found-tracker-pro/login.html
-
curl -L -o login.html https://huggingface.co/spaces/brucelloyd1/lost-found-tracker-pro/resolve/main/login.html
3.98 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login | Lost & Found Tracker Pro</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen flex flex-col"> | |
| <custom-navbar></custom-navbar> | |
| <main class="flex-grow flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="w-full max-w-md space-y-8"> | |
| <div class="text-center"> | |
| <h2 class="mt-6 text-3xl font-bold text-gray-900">Sign in to your account</h2> | |
| <p class="mt-2 text-sm text-gray-600"> | |
| Or <a href="/register.html" class="font-medium text-primary-600 hover:text-primary-500">register for a new account</a> | |
| </p> | |
| </div> | |
| <form class="mt-8 space-y-6" action="#" method="POST"> | |
| <div class="rounded-md shadow-sm space-y-4"> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email address</label> | |
| <input id="email" name="email" type="email" autocomplete="email" required | |
| class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| <div> | |
| <label for="password" class="block text-sm font-medium text-gray-700 mb-1">Password</label> | |
| <input id="password" name="password" type="password" autocomplete="current-password" required | |
| class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <input id="remember-me" name="remember-me" type="checkbox" | |
| class="h-4 w-4 text-primary-600 focus:ring-primary-500 border-gray-300 rounded"> | |
| <label for="remember-me" class="ml-2 block text-sm text-gray-900">Remember me</label> | |
| </div> | |
| <div class="text-sm"> | |
| <a href="/forgot-password.html" class="font-medium text-primary-600 hover:text-primary-500">Forgot your password?</a> | |
| </div> | |
| </div> | |
| <div> | |
| <button type="submit" | |
| class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| <span class="confirm-text">Sign in</span> | |
| <span class="confirm-icon hidden ml-2"> | |
| <i data-feather="check-circle"></i> | |
| </span> | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| // Add confirmation animation to login button | |
| document.querySelector('form').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| const btn = this.querySelector('button[type="submit"]'); | |
| const confirmText = btn.querySelector('.confirm-text'); | |
| const confirmIcon = btn.querySelector('.confirm-icon'); | |
| btn.disabled = true; | |
| confirmText.textContent = 'Success!'; | |
| confirmIcon.classList.remove('hidden'); | |
| // Simulate login request | |
| setTimeout(() => { | |
| window.location.href = '/dashboard.html'; | |
| }, 1500); | |
| }); | |
| </script> | |
| </body> | |
| </html> |