-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin_profile.html
More file actions
394 lines (348 loc) · 13 KB
/
Copy pathadmin_profile.html
File metadata and controls
394 lines (348 loc) · 13 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Profile | BAUST</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--baust-primary: #003366; /* BAUST Official Deep Blue */
--baust-secondary: #005A31; /* BAUST Official Green */
--background-light: #f4f7f6;
--text-dark: #343a40;
--text-light: #f8f9fa;
--border-color: #e9ecef;
--sidebar-width: 260px;
}
body {
font-family: 'Poppins', sans-serif;
background-color: var(--background-light);
color: var(--text-dark);
font-size: 16px;
}
#wrapper {
display: flex;
transition: padding-left 0.3s ease;
}
#sidebar-wrapper {
min-height: 100vh;
width: var(--sidebar-width);
margin-left: 0;
background-color: var(--baust-primary);
color: var(--text-light);
transition: margin 0.3s ease-out;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
}
#wrapper.toggled #sidebar-wrapper {
margin-left: calc(-1 * var(--sidebar-width));
}
.sidebar-heading {
background-color: #002244;
padding: 1.25rem 1.5rem;
font-weight: 700;
text-align: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}
.logo-icon {
width: 45px;
height: 45px;
border-radius: 50%;
}
.sidebar-heading span {
font-size: 1.1rem;
}
.list-group-item {
background-color: transparent !important;
border: none !important;
color: rgba(255, 255, 255, 0.8) !important;
padding: 1rem 1.5rem;
font-weight: 500;
transition: all 0.2s ease;
border-left: 4px solid transparent;
font-size: 0.95rem;
}
.list-group-item:hover, .list-group-item.active {
background-color: var(--baust-secondary) !important;
color: white !important;
border-left-color: #ffc107;
transform: translateX(5px);
}
.list-group-item i {
width: 25px;
margin-right: 5px;
}
#page-content-wrapper {
width: 100%;
padding-left: var(--sidebar-width);
transition: padding-left 0.3s ease-out;
}
#wrapper.toggled #page-content-wrapper {
padding-left: 0;
}
.navbar {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
padding: 1rem 2rem;
}
.navbar-brand {
color: var(--baust-primary);
font-weight: 700;
font-size: 1.8rem;
}
#menu-toggle {
color: var(--baust-primary);
cursor: pointer;
font-size: 1.5rem;
}
.user-avatar {
width: 45px;
height: 45px;
background-color: var(--baust-primary);
color: white;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
margin-right: 12px;
}
.user-info .user-name {
font-weight: 600;
color: var(--text-dark);
font-size: 1rem;
}
.user-info .user-role {
font-size: 0.8rem;
color: #6c757d;
}
.dropdown-menu {
border: 1px solid var(--border-color);
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.content-wrapper {
padding: 30px;
max-width: 1200px;
margin: auto;
}
.profile-card {
background-color: #fff;
border: 1px solid var(--border-color);
border-radius: 15px;
padding: 40px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(15px); }
to { opacity: 1; transform: translateY(0); }
}
.profile-header {
text-align: center;
margin-bottom: 40px;
padding-bottom: 30px;
border-bottom: 1px solid var(--border-color);
}
.profile-avatar {
width: 140px;
height: 140px;
background-color: var(--baust-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
color: white;
}
.profile-avatar i {
font-size: 4rem;
}
.profile-header h2 {
color: var(--baust-primary);
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 8px;
}
.profile-header p {
color: #6c757d;
font-size: 1.2rem;
}
.info-group {
margin-bottom: 25px;
}
.info-label {
color: #6c757d;
font-size: 1rem;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 10px;
font-weight: 500;
}
.info-label i {
color: var(--baust-secondary);
}
.info-value {
color: var(--text-dark);
font-size: 1.1rem;
font-weight: 600;
background-color: var(--background-light);
padding: 15px 20px;
border-radius: 10px;
border: 1px solid var(--border-color);
}
.btn-back {
background-color: var(--baust-secondary);
border: none;
color: white;
padding: 12px 35px;
border-radius: 8px;
font-weight: 600;
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 10px;
}
.btn-back:hover {
background-color: var(--baust-primary);
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 15px rgba(0, 51, 102, 0.2);
}
@media (max-width: 992px) {
#sidebar-wrapper {
margin-left: calc(-1 * var(--sidebar-width));
}
#wrapper.toggled #sidebar-wrapper {
margin-left: 0;
}
#page-content-wrapper {
padding-left: 0;
}
}
</style>
</head>
<body>
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<div class="sidebar-heading">
<img src="baust_logo.png" alt="BAUST Logo" class="logo-icon">
<span>BAUST Routine</span>
</div>
<div class="list-group list-group-flush my-3">
<a href="admin_dashboard.html" class="list-group-item">
<i class="fas fa-tachometer-alt me-2"></i>Dashboard
</a>
<a href="routine_management.html" class="list-group-item">
<i class="fas fa-calendar-plus me-2"></i>Routine Builder
</a>
<a href="view_routines.html" class="list-group-item">
<i class="fas fa-eye me-2"></i>View Routines
</a>
<a href="resource_management.html" class="list-group-item">
<i class="fas fa-cogs me-2"></i>Manage Resources
</a>
<a href="reports.html" class="list-group-item">
<i class="fas fa-chart-line me-2"></i>Reports
</a>
</div>
</div>
<!-- Page Content -->
<div id="page-content-wrapper">
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<i class="fas fa-align-left" id="menu-toggle"></i>
<div class="ms-auto">
<div class="dropdown user-profile">
<a class="nav-link dropdown-toggle d-flex align-items-center" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<div class="user-avatar">A</div>
<div class="user-info d-none d-md-block">
<div class="user-name">Admin User</div>
<div class="user-role">System Administrator</div>
</div>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="admin_profile.html"><i class="fas fa-user me-2"></i>Profile</a></li>
<li><a class="dropdown-item" href="admin_settings.html"><i class="fas fa-cog me-2"></i>Settings</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item text-danger" href="login.html"><i class="fas fa-sign-out-alt me-2"></i>Logout</a></li>
</ul>
</div>
</div>
</div>
</nav>
<div class="content-wrapper">
<div class="profile-card">
<div class="profile-header">
<div class="profile-avatar">
<i class="fas fa-user-shield"></i>
</div>
<h2>Admin User</h2>
<p>System Administrator</p>
</div>
<div class="info-group">
<div class="info-label">
<i class="fas fa-user"></i>
Username
</div>
<div class="info-value">admin</div>
</div>
<div class="info-group">
<div class="info-label">
<i class="fas fa-envelope"></i>
Email
</div>
<div class="info-value">admin@baust.edu.bd</div>
</div>
<div class="info-group">
<div class="info-label">
<i class="fas fa-shield-alt"></i>
Role
</div>
<div class="info-value">System Administrator</div>
</div>
<div class="info-group">
<div class="info-label">
<i class="fas fa-calendar-alt"></i>
Last Login
</div>
<div class="info-value">January 10, 2025 - 10:30 AM</div>
</div>
<div class="text-center mt-5">
<a href="admin_dashboard.html" class="btn-back">
<i class="fas fa-arrow-left"></i>
Back to Dashboard
</a>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script>
var el = document.getElementById("wrapper");
var toggleButton = document.getElementById("menu-toggle");
toggleButton.onclick = function () {
el.classList.toggle("toggled");
};
window.onload = function() {
if (window.innerWidth < 992) {
el.classList.add("toggled");
}
};
</script>
</body>
</html>