File size: 1,751 Bytes
0b8efff
 
e49fc98
 
 
 
393d5bc
e49fc98
 
393d5bc
 
 
 
 
 
 
 
 
 
 
 
 
0b8efff
393d5bc
 
 
 
 
 
e49fc98
 
0b8efff
393d5bc
 
 
 
 
 
e49fc98
393d5bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<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>