-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
292 lines (269 loc) · 9.59 KB
/
index.html
File metadata and controls
292 lines (269 loc) · 9.59 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
<!DOCTYPE HTML>
<html>
<head>
<title>CIVILIZED CHAOS</title>
<meta charset="utf-8">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600" rel="stylesheet" type="text/css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.dropotron.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<script src="js/init.js"></script>
<link rel="stylesheet" href="css/skel-noscript.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/style-noscript.css">
<link rel="icon" href="images/logo.jpg " type="image/x-icon">
<style>
#graph_report {
font-family: Arial, sans-serif;
background-color: #121212;
color: #ffffff;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
#graph_report h2 {
margin-bottom: 20px;
color: #ffffff;
}
canvas {
max-width: 100%;
height: auto;
}
</style>
</head>
<body class="homepage">
<div id="header">
<div class="inner">
<header>
<h1><a href="#" id="logo">CIVILIZED CHAOS</a></h1>
<hr>
<span class="byline">The People's Power App for Fixing India's Flaws!
</span> </header>
<footer> <a href="#banner" class="button circled scrolly">Start</a> </footer>
</div>
<nav id="nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="https://syntaxerror-hacknovare.onrender.com">Report Issue</a></li>
<li><a href="https://syntaxerror-hacknovare.onrender.com/view-reports">Trending Reports</a></li>
<li><a href="https://syntaxerror-hacknovare.onrender.com/view-authorities">Authorities</a></li>
<li><a href="https://syntaxerror-hacknovare.onrender.com/authorities-modify/login">Add or Modify Authority</a></li>
</ul>
</nav>
</div>
<div id="banner">
<h2>Living is everyone's <strong>rightful</strong> gift</h2>
<span class="byline">To live is not just a privilege—it's a birthright. Every soul deserves the chance to breathe freely, dream endlessly, and thrive fully</span>
<span class="byline"> CIVILIZED CHAOS is designed to address civic issues through community collaboration, transparency, and accountability, making urban and rural spaces safer and more efficient.
</span> </div>
<div class="carousel">
<div class="reel">
<article> <a href="#" class="image featured"><img src="images/india_national_emblem.png" alt=""></a>
<header>
<h3><a href="#">Empowering Citizens, Enabling Change</a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/people_1.jpg" alt=""></a>
<header>
<h3><a href="#" >Bridging the Gap Between Citizens and Authorities </a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/people_protest_1.jpg" alt=""></a>
<header>
<h3><a href="#">Voice of the People: United for Change </a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/authorities_help_1.jpg" alt=""></a>
<header>
<h3><a href="#">Compassion in Action: Lifting Lives</a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/garbage_road.jpg" alt=""></a>
<header>
<h3><a href="#">Street Scars: A Call for Cleanliness</a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/existing authorities.jpg" alt=""></a>
<header>
<h3><a href="#">Government Initiatives: Empowering Communities, Transforming Lives</a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/road_damage.jpg" alt=""></a>
<header>
<h3><a href="#">Steps on the Edge: Walking on Broken Paths</a></h3>
</header>
</article>
<article> <a href="#" class="image featured"><img src="images/water_clogging.jpg" alt=""></a>
<header>
<h3><a href="#">Paved with Neglect: Roads Turned into Muddy Traps</a></h3>
</header>
</article>
</div>
</div>
<div class="wrapper style2">
<article id="main" class="container special"> <a href="#" class="image featured"><img src="images/civilized chaos_1.jpeg" alt=""></a>
<header>
<h2><a href="#">Report Your Problems Now</a></h2>
<span class="byline">Never back out whenever you see a problem</span> </header>
<footer> <a href="https://syntaxerror-hacknovare.onrender.com" class="button">Report Here</a> </footer>
</article>
</div>
<div id="graph_report">
<h2>Monthly Report Statistics</h2>
<canvas id="reportsChart"></canvas>
<hr>
<h2>See RealTime Statistics</h2>
<footer><a href="https://syntaxerror-hacknovare.onrender.com/graphical-analysis" class="button">Trending Reports Submission</a></footer>
</div>
<br>
<div class="wrapper style1">
<section id="features" class="container special">
<header>
<h2><a href="">Local Authorities</a></h2>
</header>
<div class="row">
<article class="4u special"> <a href="#" class="image featured"><img src="images/pwd_dept.jpg" alt="" ></a>
<header>
<h3><a href="#">Public Works Department (PWD)</a></h3>
</header>
<p style="color: antiquewhite;"> Building and maintaining roads, bridges, and government buildings <br>
Ensuring safe and efficient transportation infrastructure <br>
Supporting disaster recovery efforts by restoring essential facilities</p>
</article>
<article class="4u special"> <a href="#" class="image featured"><img src="images/dda.jpg" alt="" ></a>
<header>
<h3><a href="#">Development Authorities</a></h3>
</header>
<p style="color: antiquewhite;"> Urban planning and implementation of development projects <br>
Approving building plans and enforcing zoning regulations <br>
Managing land acquisition and allocation for public use</p>
</article>
<article class="4u special"> <a href="#" class="image featured"><img src="images/electricity_board.jpg" alt=""></a>
<header>
<h3><a href="#">Electricity Boards</a></h3>
</header>
<p style="color: antiquewhite;" > Ensuring uninterrupted power supply to urban and rural areas<br>
Addressing complaints about power outages and faulty meters<br>
Promoting renewable energy adoption and energy efficiency programs
</p>
</article>
</div>
</section>
</div>
<div id="footer">
<div class="container">
<div class="row">
<div class="12u">
<section class="contact">
<header>
<h3>Never lower your voices!! </h3>
</header>
<p>Together, we turn voices into action and challenges into change. Civilized Chaos—empowering every citizen to build a better tomorrow, one step at a time..</p>
</section>
<div class="copyright">
<ul class="menu">
<li>© 2025. All rights reserved.</li>
<li>Developed by <a href="">Syntax Error</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<script>
// Sample data
const labels = ['December', 'January', 'February', 'March', 'April', 'May', 'June','July','August','September','October','November']; // X-axis labels
const data = {
labels: labels,
datasets: [{
label: 'Reports Filed',
data: [0, 0, 0, 0, 0, 0, 0],
backgroundColor: [
'rgba(54, 162, 235, 0.7)',
'rgba(75, 192, 192, 0.7)',
'rgba(255, 206, 86, 0.7)',
'rgba(153, 102, 255, 0.7)',
'rgba(255, 159, 64, 0.7)',
'rgba(201, 203, 207, 0.7)',
'rgba(99, 255, 132, 0.7)',
],
borderColor: [
'rgba(54, 162, 235, 1)',
'rgba(75, 192, 192, 1)',
'rgba(255, 206, 86, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)',
'rgba(201, 203, 207, 1)',
'rgba(99, 255, 132, 1)',
],
borderWidth: 1
}]
};
// Configurations
const config = {
type: 'bar',
data: data,
options: {
responsive: true,
plugins: {
legend: {
position: 'top',
labels: {
color: '#ffffff'
}
},
title: {
display: true,
text: 'Monthly Reports Filed',
color: '#ffffff'
}
},
scales: {
x: {
ticks: {
color: '#ffffff'
},
grid: {
color: 'rgba(255, 255, 255, 0.1)'
}
},
y: {
beginAtZero: true,
max: 1000,
ticks: {
color: '#ffffff'
},
grid: {
color: 'rgba(255, 255, 255, 0.1)'
}
}
}
}
};
const reportsChart = new Chart(
document.getElementById('reportsChart'),
config
);
function updateChart(month, reportsFiled) {
const index = labels.indexOf(month);
if (index !== -1) {
data.datasets[0].data[index] = reportsFiled;
} else {
labels.push(month);
data.datasets[0].data.push(reportsFiled);
}
reportsChart.update();
}
setTimeout(() => {
updateChart('December', 10);
}, 1500);
</script>
</body>
</html>