-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
231 lines (209 loc) · 11 KB
/
Copy pathindex.html
File metadata and controls
231 lines (209 loc) · 11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aadhaar Analytics Dashboard</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
<link rel="stylesheet" href="./frontend/css/index.css">
</head>
<body>
<!-- Navbar -->
<header class="navbar">
<div class="navbar-container">
<div class="navbar-left">
<button class="menu-toggle" id="menuToggle" aria-label="Toggle sidebar">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</button>
<div class="navbar-logo">
<div class="logo-circle">
<img src="./frontend/assets/logo/licensed.png" alt="">
</div>
<div class="logo-text">
<h1>Aadhaar Engine</h1>
<p>Visualizing India’s Identity Data</p>
</div>
</div>
</div>
<div class="navbar-right">
<span class="system-status">
<span class="status-indicator"></span>
System Live: All Regions
</span>
<button class="user-btn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
<circle cx="12" cy="7" r="4"></circle>
</svg>
</button>
</div>
</div>
</header>
<div class="dashboard-container">
<!-- Sidebar Navigation -->
<aside class="sidebar" id="sidebar">
<div class="sidebar-content">
<!-- Logo Section -->
<!-- <div class="sidebar-header">
<h2>Aadhaar Analytics</h2>
<p>District Monitoring</p>
</div> -->
<!-- Menu Items -->
<nav class="sidebar-nav">
<a href="index.html">
<button class="nav-item active" data-menu="dashboard">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-linecap="round" stroke-width="2">
<rect x="3" y="3" width="7" height="7"></rect>
<rect x="14" y="3" width="7" height="7"></rect>
<rect x="14" y="14" width="7" height="7"></rect>
<rect x="3" y="14" width="7" height="7"></rect>
</svg>
<span>Dashboard</span>
</button>
</a>
<a href="./frontend/public/analytics.html">
<button class="nav-item" data-menu="map-view">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-chart-no-axes-combined-icon lucide-chart-no-axes-combined">
<path d="M12 16v5" />
<path d="M16 14v7" />
<path d="M20 10v11" />
<path d="m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15" />
<path d="M4 18v3" />
<path d="M8 14v7" />
</svg>
<span>Spike Analysis</span>
</button>
</a>
<a href="#">
<button class="nav-item" data-menu="reports">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="lucide lucide-history-icon lucide-history">
<path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />
<path d="M3 3v5h5" />
<path d="M12 7v5l4 2" />
</svg>
<span> My Reports
</button>
</a>
<a href="./frontend/public/faq.html">
<button class="nav-item" data-menu="anomalies">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-message-circle-question-mark-icon lucide-message-circle-question-mark">
<path
d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719" />
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
<path d="M12 17h.01" />
</svg>
<span>FAQ</span>
</button>
</a>
<!-- <a href="#">
<button class="nav-item" data-menu="resource-planning">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg>
<span>Resource Planning</span>
</button>
</a> -->
</nav>
<!-- Bottom Section -->
<div class="sidebar-footer">
<a href="#">
<button class="nav-item settings-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="lucide lucide-settings-icon lucide-settings">
<path
d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" />
<circle cx="12" cy="12" r="3" />
</svg>
<span>Settings</span>
</button>
</a>
</div>
</div>
</aside>
<!-- Sidebar Overlay (Mobile) -->
<div class="sidebar-overlay" id="sidebarOverlay"></div>
<!-- Main Content -->
<main class="main-content">
<!-- Carousel Section -->
<div class="carousel-wrapper">
<div class="swiper mySwiper">
<div class="swiper-wrapper" id="carouselSlides">
<!-- Slides populated by JavaScript -->
</div>
<button class="swiper-button-prev"></button>
<button class="swiper-button-next"></button>
<div class="swiper-pagination"></div>
</div>
</div>
<!-- Content Container -->
<div class="content-container">
<!-- Dashboard Content -->
<div class="menu-content active" id="dashboard-content">
<!-- Stats Cards -->
<div class="stats-grid" id="statsContainer">
<!-- Stats populated by JavaScript -->
</div>
<!-- 📊 Charts Dashboard -->
<div class="charts-section">
<div class="charts-card">
<div class="charts-header">
<h1>Aadhaar Analytics (2025)</h1>
</div>
<div class="charts-grid">
<!-- Row 1 -->
<div class="chart-card">
<h3>Aadhaar Generated Trend</h3>
<canvas id="enrollmentChart"></canvas>
</div>
<div class="chart-card pie-card">
<h3>Adhaar Saturation</h3>
<canvas id="pieChart"></canvas>
</div>
<!-- Row 2 -->
<div class="chart-card full-width">
<h3>Aadhaar Update Trend</h3>
<canvas id="updateChart"></canvas>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Other Menu Contents -->
<div class="menu-content" id="map-view-content">
<div class="placeholder-content">Map View content coming soon</div>
</div>
<div class="menu-content" id="anomalies-content">
<div class="placeholder-content">Anomalies content coming soon</div>
</div>
<div class="menu-content" id="reports-content">
<div class="placeholder-content">Reports content coming soon</div>
</div>
<div class="menu-content" id="resource-planning-content">
<div class="placeholder-content">Resource Planning content coming soon</div>
</div>
</div>
</main>
</div>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script type="module" src="./frontend/js/index.js"></script>
<!-- <script type="module" src="./frontend/js/chartLogic.js"></script> -->
</body>
</html>