-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
115 lines (104 loc) · 2.95 KB
/
admin.html
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<title>Admin Portal</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" href="logo.png" type="image/x-icon" />
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
<style>
.admin-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
background: rgba(0, 0, 0, 0.233);
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(10px);
}
.logout-btn {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 2rem;
margin-left: 25px;
background: rgba(255, 51, 102, 0.9);
border-radius: 10px;
border: none;
color: white;
cursor: pointer;
transition: all 0.3s ease;
}
.logout-btn:hover {
background: #ff4477;
transform: translateY(-2px);
}
.admin-content {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.admin-card {
background: rgba(255, 255, 255, 0.1);
padding: 2rem;
border-radius: 15px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
}
.admin-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.15);
}
.admin-card i {
font-size: 3rem;
margin-bottom: 1rem;
}
.admin-card h2 {
margin-bottom: 1rem;
}
.admin-card p {
color: rgba(255, 255, 255, 0.7);
}
</style>
</head>
<body>
<main>
<div class="admin-header">
<h1>Admin Dashboard</h1>
<button onclick="logout()" class="logout-btn">
<i class="fas fa-sign-out-alt"></i>
Logout
</button>
</div>
<div class="admin-content">
<div class="admin-card" onclick="window.location.href='admin-users.html'">
<i class="fas fa-users"></i>
<h2>User Management</h2>
<p>Manage faculty and student accounts</p>
</div>
<div class="admin-card" onclick="window.location.href='admin-notices.html'">
<i class="fas fa-bullhorn"></i>
<h2>Notice Board</h2>
<p>Broadcast announcements and notices</p>
</div>
<div class="admin-card" onclick="window.location.href='admin-accounts.html'">
<i class="fas fa-bank"></i>
<h2>Accounts</h2>
<p>Manage salaries and fees</p>
</div>
</div>
</main>
<script>
function logout() {
window.location.href = 'index.html';
}
</script>
</body>
</html>