Spaces:
Configuration error
Configuration error
Download register.html from brucelloyd1/lost-found-tracker-pro: direct link, hf CLI and curl.
- Browser
- Download file 4.84 kB
-
https://huggingface.co/spaces/brucelloyd1/lost-found-tracker-pro/resolve/main/register.html
- Command line
-
hf download hf://spaces/brucelloyd1/lost-found-tracker-pro/register.html
-
curl -L -o register.html https://huggingface.co/spaces/brucelloyd1/lost-found-tracker-pro/resolve/main/register.html
4.84 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Register | 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">Create a new account</h2> | |
| <p class="mt-2 text-sm text-gray-600"> | |
| Already have an account? <a href="/login.html" class="font-medium text-primary-600 hover:text-primary-500">Sign in</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="username" class="block text-sm font-medium text-gray-700 mb-1">Username</label> | |
| <input id="username" name="username" type="text" autocomplete="username" 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="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="new-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> | |
| <label for="confirm-password" class="block text-sm font-medium text-gray-700 mb-1">Confirm Password</label> | |
| <input id="confirm-password" name="confirm-password" type="password" autocomplete="new-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-start"> | |
| <div class="flex items-center h-5"> | |
| <input id="terms" name="terms" type="checkbox" required | |
| class="h-4 w-4 text-primary-600 focus:ring-primary-500 border-gray-300 rounded"> | |
| </div> | |
| <div class="ml-3 text-sm"> | |
| <label for="terms" class="font-medium text-gray-700">I agree to the <a href="/terms.html" class="text-primary-600 hover:text-primary-500">Terms of Service</a> and <a href="/privacy.html" class="text-primary-600 hover:text-primary-500">Privacy Policy</a></label> | |
| </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">Register</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 register 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 = 'Registered!'; | |
| confirmIcon.classList.remove('hidden'); | |
| // Simulate registration request | |
| setTimeout(() => { | |
| window.location.href = '/dashboard.html'; | |
| }, 1500); | |
| }); | |
| </script> | |
| </body> | |
| </html> |