-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
103 lines (102 loc) · 3.77 KB
/
admin.html
File metadata and controls
103 lines (102 loc) · 3.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard | GoTSUian</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body data-page="admin">
<header>
<div class="site-shell navbar">
<a class="brand" href="index.html"><span>G</span>GoTSUian</a>
<nav class="nav-links">
<a href="index.html" data-page="home">Home</a>
<a href="booking.html" data-page="booking">Booking</a>
<a href="driver.html" data-page="driver">Driver</a>
<a href="admin.html" data-page="admin">Admin</a>
<a href="auth.html" data-page="auth">Login</a>
</nav>
<div class="nav-cta">
<a href="auth.html">Logout</a>
</div>
<button class="nav-toggle" aria-label="Open navigation"><span></span></button>
</div>
</header>
<main class="site-shell">
<section class="section">
<div class="section-intro">
<h2>Admin Control Center</h2>
<p class="lead">Monitor ride performance, manage drivers, and review student booking activity from one dashboard.</p>
</div>
<div class="stats-grid">
<article class="stat-card admin-stat-card" data-key="bookings">
<div class="icon">📥</div>
<h3>Total Bookings</h3>
<strong>0</strong>
</article>
<article class="stat-card admin-stat-card" data-key="drivers">
<div class="icon">🚗</div>
<h3>Active Drivers</h3>
<strong>0</strong>
</article>
<article class="stat-card admin-stat-card" data-key="students">
<div class="icon">🎓</div>
<h3>Students Registered</h3>
<strong>0</strong>
</article>
<article class="stat-card admin-stat-card" data-key="revenue">
<div class="icon">💰</div>
<h3>Revenue Today</h3>
<strong>₱0</strong>
</article>
</div>
<div class="admin-grid">
<article class="table-card">
<div class="card-header">
<div>
<h3>Recent Bookings</h3>
<p class="tagline">Latest student requests from the last 24 hours.</p>
</div>
</div>
<table>
<thead>
<tr><th>Student Name</th><th>Pickup</th><th>Drop-off</th><th>Status</th><th>Driver</th></tr>
</thead>
<tbody id="recent-bookings-body"></tbody>
</table>
</article>
<article class="table-card">
<div class="card-header">
<div>
<h3>Driver Management</h3>
<p class="tagline">See driver status, ratings, and quick action controls.</p>
</div>
</div>
<table>
<thead>
<tr><th>Name</th><th>Status</th><th>Rating</th><th>Action</th></tr>
</thead>
<tbody id="driver-management-body"></tbody>
</table>
</article>
</div>
<article class="chart-card mt-24">
<div class="card-header">
<div>
<h3>Weekly Booking Trends</h3>
<p class="tagline">Insight into daily booking volume for the campus network.</p>
</div>
</div>
<canvas id="booking-chart" width="800" height="360"></canvas>
</article>
</section>
</main>
<button class="back-to-top" aria-label="Back to top">↑</button>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="app.js"></script>
</body>
</html>