Download admin.html from Presidor1/STC_APP: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/spaces/Presidor1/STC_APP/resolve/main/admin.html
- Command line
-
hf download hf://spaces/Presidor1/STC_APP/admin.html
-
curl -L -o admin.html https://huggingface.co/spaces/Presidor1/STC_APP/resolve/main/admin.html
1.75 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Admin Dashboard - STC</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <nav class="navbar"> | |
| <div class="nav-left"> | |
| <div class="nav-logo">STC Admin</div> | |
| <div class="nav-toggle" onclick="toggleMenu()">☰</div> | |
| </div> | |
| <ul class="nav-links" id="navLinks"> | |
| <li><a href="dashboard.php">Dashboard</a></li> | |
| <li><a href="view_pending.php">Pending Applications</a></li> | |
| <li><a href="view_approved.php">Processed Applications</a></li> | |
| <li><a href="change_password.php">Change Password</a></li> | |
| <li><a href="logout.php" style="color: red;">Logout</a></li> | |
| </ul> | |
| </nav> | |
| <div class="admin-login" style="max-width: 400px; margin: 60px auto; padding: 30px; background: #fff; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1);"> | |
| <h2 style="text-align:center; color:#004e56;">Admin Login</h2> | |
| <form action="admin_authenticate.php" method="POST" style="display: flex; flex-direction: column; gap: 15px;"> | |
| <input type="text" name="username" placeholder="Username" required style="padding:10px; border:1px solid #ccc; border-radius:5px;"> | |
| <input type="password" name="password" placeholder="Password" required style="padding:10px; border:1px solid #ccc; border-radius:5px;"> | |
| <button type="submit" class="btn" style="background:#004e56; color:white; padding:10px; border:none; border-radius:5px;">Login</button> | |
| </form> | |
| </div> | |
| <script> | |
| function toggleMenu() { | |
| const navLinks = document.getElementById('navLinks'); | |
| navLinks.classList.toggle('show'); | |
| } | |
| </script> | |
| </body> | |
| </html> | |