-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
565 lines (515 loc) · 20.9 KB
/
index.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
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
<!DOCTYPE html>
<html>
<head>
<title>Simple Map</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" href="./style.css">
<script type="text/javascript" src="./mainData.json"></script>
<script src="https://www.gstatic.com/firebasejs/5.10.0/firebase.js"></script>
</head>
<body onload="javascript:getLocation()">
<script>
var config = {
apiKey: "AIzaSyD6GafHcKeBBCAqY0OxaB0wQjtHSSCXATE",
authDomain: "wtt2-8d030.firebaseapp.com",
databaseURL: "https://wtt2-8d030.firebaseio.com",
projectId: "wtt2-8d030",
storageBucket: "wtt2-8d030.appspot.com",
messagingSenderId: "902390981190"
};
firebase.initializeApp(config);
var db = firebase.database();
var ref = db.ref("locationofp")
var x = document.getElementById("demo");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
function showPosition(position) {
var loga = position.coords.latitude;
var lata = position.coords.longitude;
var loct = {
log : loga,
lat : lata
};
ref.push(loct);
}
</script>
<div id="page1">
<div id="overlay"></div>
<div id="map" onclick="changeFoc()"></div>
<div id="srh">
<input type="text" name="state" placeholder="Enter State Name Like Delhi ..." id="srhState" oninput="checkStateName()">
<div id="myDropdown" class="srh dropdown-content"></div>
</div>
<div id="mySidepanel" class="sidepanel">
<a href="javascript:void(0)" class="closebtn noSelect" onclick="closeNav()">×</a>
<div id="profileBack">
<img id="user" src="./yuna.jpg">
<div id="userDetails">
<p>Kartik Yadav</p>
<p>[email protected]</p>
</div>
</div>
<ul id="menuItem">
<li onclick="menuItemOpen(1)">Compare States</li>
<li onclick="menuItemOpen(2)">Helpline No.</li>
<li onclick="menuItemOpen(3)">Test1</li>
<li onclick="menuItemOpen(4)">About Us</li>
<li onclick="menuItemOpen(5)">Contact Us</li>
</ul>
</div>
<div id="myNav" class="overlay">
<a href="javascript:void(0)" class="closebtn noSelect" onclick="closeBottomNav()">×</a>
<div class="overlay-content">
<div>
<h5 class="less-det-head">Population</h5>
<img class="less-details" src="./pop.png">
<h3 class="less-det" id="less-pop">Population</h3>
</div>
<div>
<h5 class="less-det-head">Sex-Ratio</h5>
<img class="less-details" src="./gen.png">
<h3 class="less-det" id="less-sex">Population</h3>
</div>
<div>
<h5 class="less-det-head">Literacy</h5>
<img class="less-details" src="./edu.png">
<h3 class="less-det" id="less-lit">Population</h3>
</div>
</div>
<button class="overlay-button" onclick="showNewPage()">Show More</button>
</div>
<button class="openbtn noSelect" onclick="openNav()">☰</button>
</div>
<div id="page2">
<img id="state-image" src="./delhi.jpg"/>
<div id="secondPageStateName">Delhi</div>
<div id="test">
<ul class="flex-container wrap">
<button class="flex-item" onclick="showPopUp('pop')">
<h5 class="more-det-head">Population</h5>
<img class="more-details" src="./pop.png">
<h3 class="more-det" id="more-pop">pop</h3>
</button>
<button class="flex-item">
<h5 class="more-det-head">Increase</h5>
<img class="more-details" src="./inc.png">
<h3 class="more-det" id="more-inc">inc</h3>
</button>
<button class="flex-item">
<h5 class="more-det-head">Area</h5>
<img class="more-details" src="./area.png">
<h3 class="more-det" id="more-area">area</h3>
</button>
<button class="flex-item">
<h5 class="more-det-head">Density</h5>
<img class="more-details" src="./den.png">
<h3 class="more-det" id="more-den">density</h3>
</button>
<button class="flex-item">
<h5 class="more-det-head">Sex-Ratio</h5>
<img class="more-details" src="./gen.png">
<h3 class="more-det" id="more-sex">sex</h3>
</button>
<button class="flex-item">
<h5 class="more-det-head">Literacy</h5>
<img class="more-details" src="./edu.png">
<h3 class="more-det" id="more-lit">literacy</h3>
</button>
</ul>
</div>
</div>
<div id="aboutUs">
<div>
<h1>About CensusCentra</h1>
<p>CensusCentra is a service provided by:</p>
<p>Kartik Yadav<br>
Maharaja Surajmal Insitute<br>
C4 Block, Janakpuri, Delhi 110058<br>
India</p>
</div>
</div>
<div id="helpLine">
<button id="helpGoBack" onclick="goBack()"><</button>
<table id="helpNO">
<tr>
<th>Helpline Number</th>
<th>Description</th>
</tr>
<tr class="odd">
<td class="">1091</td>
<td class="sorting_1">Women in Distress</td>
</tr>
<tr class="even">
<td class="">1717</td>
<td class="sorting_1">Weather Enquiry</td>
</tr>
<tr class="odd">
<td class="">1916</td>
<td class="sorting_1">Water Supply Complain</td>
</tr>
<tr class="even">
<td class="">155313</td>
<td class="sorting_1">Water Board</td>
</tr>
<tr class="odd">
<td class="">1580</td>
<td class="sorting_1">Trunk booking</td>
</tr>
<tr class="even">
<td class="">1581</td>
<td class="sorting_1">Trunk assistance</td>
</tr>
<tr class="odd">
<td class="">1072</td>
<td class="sorting_1">Train accident</td>
</tr>
<tr class="even">
<td class="">103</td>
<td class="sorting_1">Traffic Police</td>
</tr>
<tr class="odd">
<td class="">1073</td>
<td class="sorting_1">Traffic Help Line</td>
</tr>
<tr class="even">
<td class="">1913</td>
<td class="sorting_1">Tourist Office (Govt.of India)</td>
</tr>
<tr class="odd">
<td class="">1589</td>
<td class="sorting_1">Telex complaints</td>
</tr>
<tr class="even">
<td class="">198</td>
<td class="sorting_1">Telephone Complaint Booking</td>
</tr>
<tr class="odd">
<td class="">1582</td>
<td class="sorting_1">STD complaints</td>
</tr>
<tr class="even">
<td class="">104</td>
<td class="sorting_1">State level helpline for Health</td>
</tr>
<tr class="odd">
<td class="">1957</td>
<td class="sorting_1">Sancharnet Internet Help desk service</td>
</tr>
<tr class="even">
<td class="">1073</td>
<td class="sorting_1">Road Accident</td>
</tr>
<tr class="odd">
<td class="">1070</td>
<td class="sorting_1">Relief Commissioners of Central/State/Union territory</td>
</tr>
<tr class="even">
<td class="">133</td>
<td class="sorting_1">Railway Helpline for Arrival/Departure and Reservation services</td>
</tr>
<tr class="odd">
<td class="">139</td>
<td class="sorting_1">Railway Enquiry</td>
</tr>
<tr class="even">
<td class="">1512</td>
<td class="sorting_1">Railway</td>
</tr>
<tr class="odd">
<td class="">12727</td>
<td class="sorting_1">Public Grievance Cell Telecom Circle HQs</td>
</tr>
<tr class="even">
<td class="">100</td>
<td class="sorting_1">Police</td>
</tr>
<tr class="odd">
<td class="">1096</td>
<td class="sorting_1">Natural disaster control room</td>
</tr>
<tr class="even">
<td class="">1800-180-1104</td>
<td class="sorting_1">National Health Helpline</td>
</tr>
<tr class="odd">
<td class="">1583</td>
<td class="sorting_1">National Directory Enquiry (NDQ) Service</td>
</tr>
<tr class="even">
<td class="">1800-11-4000</td>
<td class="sorting_1">National Consumer Helpline</td>
</tr>
<tr class="odd">
<td class="">1800-11-7800</td>
<td class="sorting_1">MyGov Toll Free Number for MannKiBaat for ideas and suggestions</td>
</tr>
<tr class="even">
<td class="">155200</td>
<td class="sorting_1">Military Police Help Line</td>
</tr>
<tr class="odd">
<td class="">1718</td>
<td class="sorting_1">Maritime Search and Rescue control room of coastal guard</td>
</tr>
<tr class="even">
<td class="">1800-3000-780</td>
<td class="sorting_1">Mann Ki Baat on the toll-free number</td>
</tr>
<tr class="odd">
<td class="">1906</td>
<td class="sorting_1">LPG emergency helpline number</td>
</tr>
<tr class="even">
<td class="">1251</td>
<td class="sorting_1">LIC Of India</td>
</tr>
<tr class="odd">
<td class="">1918</td>
<td class="sorting_1">Leased Circuits Fault Booking</td>
</tr>
<tr class="even">
<td class="">1958</td>
<td class="sorting_1">Leased Circuit Fault Booking (WTR)</td>
</tr>
<tr class="odd">
<td class="">1551</td>
<td class="sorting_1">Kisan Call Center</td>
</tr>
<tr class="even">
<td class="">1800-111-139</td>
<td class="sorting_1">IRCTC Help Line</td>
</tr>
<tr class="odd">
<td class="">1587</td>
<td class="sorting_1">International trunk enquiry</td>
</tr>
<tr class="even">
<td class="">1588</td>
<td class="sorting_1">International Trunk delay information</td>
</tr>
<tr class="odd">
<td class="">1586</td>
<td class="sorting_1">International trunk booking</td>
</tr>
<tr class="even">
<td class="">155255 / 1800 4254732</td>
<td class="sorting_1">Insurance Regulatory and Development Authority (IRDA)</td>
</tr>
<tr class="odd">
<td class="">1322</td>
<td class="sorting_1">Indian Railway Security Helpline</td>
</tr>
<tr class="even">
<td class="">1320, 131, 1321</td>
<td class="sorting_1">Indian Railway General Enquiry</td>
</tr>
<tr class="odd">
<td class="">155233</td>
<td class="sorting_1">Indian Oil Help Line</td>
</tr>
<tr class="even">
<td class="">1904</td>
<td class="sorting_1">Indian Army Help Line</td>
</tr>
<tr class="odd">
<td class="">1407</td>
<td class="sorting_1">Indian Airlines</td>
</tr>
<tr class="even">
<td class="">1602</td>
<td class="sorting_1">India Telephone Card Enquiry</td>
</tr>
<tr class="odd">
<td class="">104</td>
<td class="sorting_1">Hospital On Wheels</td>
</tr>
<tr class="even">
<td class="">112</td>
<td class="sorting_1">General emergency Department of Telecommunications (DoT)</td>
</tr>
<tr class="odd">
<td class="">1600</td>
<td class="sorting_1">Free Phone Enquiry</td>
</tr>
<tr class="even">
<td class="">1322</td>
<td class="sorting_1">For any theft or harassment, nuisance caused due to smoking or alcohol consumption on train</td>
</tr>
<tr class="odd">
<td class="">1500</td>
<td class="sorting_1">for any queries related to landline telephone, ISDN etc. Also accessible from CellOne, Excel & Tarang phones</td>
</tr>
<tr class="even">
<td class="">101</td>
<td class="sorting_1">Fire</td>
</tr>
<tr class="odd">
<td class="">1919</td>
<td class="sorting_1">Eye Donation</td>
</tr>
<tr class="even">
<td class="">1919</td>
<td class="sorting_1">Eye bank information service</td>
</tr>
<tr class="odd">
<td class="">1033</td>
<td class="sorting_1">Emergency Relief Centre on National Highways</td>
</tr>
<tr class="even">
<td class="">155333</td>
<td class="sorting_1">Electricity Complaints</td>
</tr>
<tr class="odd">
<td class="">1950</td>
<td class="sorting_1">Election Commission of India</td>
</tr>
<tr class="even">
<td class="">1092</td>
<td class="sorting_1">Earth-quake Help line service</td>
</tr>
<tr class="odd">
<td class="">1800-11-0031</td>
<td class="sorting_1">Drug de-addiction</td>
</tr>
<tr class="even">
<td class="">181</td>
<td class="sorting_1">Domestic abuse and sexual violence-Women's Helpline</td>
</tr>
<tr class="odd">
<td class="">108</td>
<td class="sorting_1">Disaster management</td>
</tr>
<tr class="even">
<td class="">197</td>
<td class="sorting_1">Directory enquiry service</td>
</tr>
<tr class="odd">
<td class="">1911</td>
<td class="sorting_1">Dial a doctor</td>
</tr>
<tr class="even">
<td class="">1077</td>
<td class="sorting_1">Control room of District Collector/Magistrate</td>
</tr>
<tr class="odd">
<td class="">1098</td>
<td class="sorting_1">Child abuse hotline</td>
</tr>
<tr class="even">
<td class="">1953</td>
<td class="sorting_1">Changed number announcement (Regional language)</td>
</tr>
<tr class="odd">
<td class="">1954</td>
<td class="sorting_1">Changed number announcement (in case of shift)</td>
</tr>
<tr class="even">
<td class="">1952</td>
<td class="sorting_1">Changed number announcement (English)</td>
</tr>
<tr class="odd">
<td class="">1951</td>
<td class="sorting_1">Change number announcement (Hindi)</td>
</tr>
<tr class="even">
<td class="">1070</td>
<td class="sorting_1">Central Relief Commissioner for Natural Calamities</td>
</tr>
<tr class="odd">
<td class="">1099</td>
<td class="sorting_1">Central Accident and Trauma Services</td>
</tr>
<tr class="even">
<td class="">1099</td>
<td class="sorting_1">Catastrophe & Trauma service</td>
</tr>
<tr class="odd">
<td class="">1910</td>
<td class="sorting_1">Blood bank Information</td>
</tr>
<tr class="even">
<td class="">166 / 1660-69</td>
<td class="sorting_1">Billing complaint center</td>
</tr>
<tr class="odd">
<td class="">1671-73</td>
<td class="sorting_1">Billing Complaint Center</td>
</tr>
<tr class="even">
<td class="">1066</td>
<td class="sorting_1">Anti-poison</td>
</tr>
<tr class="odd">
<td class="">1090</td>
<td class="sorting_1">Anti terror Helpline/Alert All India</td>
</tr>
<tr class="even">
<td class="">1800-180-5522</td>
<td class="sorting_1">Anti Ragging-Emails at [email protected]</td>
</tr>
<tr class="odd">
<td class="">1031</td>
<td class="sorting_1">Anti Corruption Helpline</td>
</tr>
<tr class="even">
<td class="">102</td>
<td class="sorting_1">Ambulance</td>
</tr>
<tr class="odd">
<td class="">112</td>
<td class="sorting_1">All in one Emergency Number</td>
</tr>
<tr class="even">
<td class="">1414</td>
<td class="sorting_1">Air India ( Confirmation / Cancellation Enquiry)(Called Party)</td>
</tr>
<tr class="odd">
<td class="">+91 9540161344.</td>
<td class="sorting_1">Air ambulance</td>
</tr>
<tr class="even">
<td class="">1071</td>
<td class="sorting_1">Air Accident</td>
</tr>
<tr class="odd">
<td class="">1097</td>
<td class="sorting_1">AIDS helpline</td>
</tr>
<tr class="even">
<td class="">1097</td>
<td class="sorting_1">AIDS help line service</td>
</tr>
<tr class="odd">
<td class="">1961</td>
<td class="sorting_1">Aaykar Sampark Kendra (ASK)</td>
</tr>
<tr class="even">
<td class="">1947</td>
<td class="sorting_1">Aadhar Card-UIDAI (Unique idenditification authority of india),1800-180-1947</td>
</tr>
</table>
</div>
<div id="contactUS">
<div class="container">
<form action="/action_page.php">
<h3>Contact Us</h3>
<label for="fname">Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name..">
<label for="subject">Subject</label>
<textarea id="subject" name="subject" placeholder="Write something.." style="height:200px"></textarea>
</form>
<button onclick="sendMail()">Submit</button>
</div>
</div>
<div id="popup">
</div>
<script src="./app.js"></script>
<script src="https://maps.google.com/maps/api/js?key=AIzaSyDWBSpJBd2KaDdJlcyeNxyyDst2YFLz_BU&callback=initMap" async defer type="text/javascript"></script>
</body>
</html>