Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ChipFlow Commander - Admin Login</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <div class="container py-8"> | |
| <div class="max-w-md mx-auto bg-white rounded-xl shadow-md overflow-hidden p-6"> | |
| <div class="text-center mb-6"> | |
| <h1 class="text-2xl font-bold text-gray-800">π Admin Portal</h1> | |
| <p class="text-gray-600">Restricted access - authorized personnel only</p> | |
| </div> | |
| <form id="adminLoginForm"> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">Username</label> | |
| <input type="text" class="w-full px-3 py-2 border rounded-lg" placeholder="Admin username" required> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-2">Password</label> | |
| <input type="password" class="w-full px-3 py-2 border rounded-lg" placeholder="β’β’β’β’β’β’β’β’" required> | |
| </div> | |
| <button type="submit" class="w-full bg-gray-800 hover:bg-gray-900 text-white py-3 px-4 rounded-lg font-bold transition"> | |
| Login | |
| </button> | |
| </form> | |
| <div class="mt-6 text-center text-sm text-gray-500"> | |
| <p>Forgot password? <a href="#" class="text-blue-600">Reset here</a></p> | |
| <p class="mt-2"><a href="/index.html" class="text-blue-600">β Back to Home</a></p> | |
| </div> | |
| <script> | |
| document.getElementById('adminLoginForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // In a real app, you would validate credentials here | |
| window.location.href = '/admin_dashboard.html'; | |
| }); | |
| </script> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |