-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest.html
115 lines (109 loc) · 4.6 KB
/
Test.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
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta name="description" content="Vaccine Finder with Auto Search">
<meta name="keywords" content="VaccineFinder, Covid19, Vaccine, vaccine Slot, Free slot, Vaccine Finder">
<title>Vaccine Finder</title>
<head>
<link rel="stylesheet" href="./style.css">
<script src="./master.js"></script>
</head>
<body>
<h2>Vaccine Slot Finder</h2>
<div id="loader" style="display: none"></div>
<div class="row">
<div id="selectDrpDiv" class="column">
<label>Select State:</label>
<select name="state" id="statedrp" onChange="populateDistrict(this.value);">
<option value="" disabled selected>Select</option>
</select>
</div>
<div id="selectDrpDiv" class="column">
<label>Select District:</label>
<select name="district" id="districtdrp" onChange="changeDistrict(this.value);">
<option value="" disabled selected>Select</option>
</select>
</div>
<div class="column">
<fieldset>
<legend>Age Group</legend>
<div id="ageGrpDiv">
<input type="radio" id="18" name="ageGrp" value="18">
<label for="18">18+</label>
<input type="radio" id="40" name="ageGrp" value="40">
<label for="40">40+</label>
<input type="radio" id="45" name="ageGrp" value="45">
<label for="45">45+</label>
</div>
</fieldset>
</div>
<div class="column" id="vaccDiv">
<fieldset>
<legend>Vaccine</legend>
<div id="vaccDivGrp">
<input type="radio" id="coviChk" name="vaccGrp" value="COVISHIELD">
<label for="coviChk">Covishield</label>
<input type="radio" id="covaxChk" name="vaccGrp" value="COVAXIN">
<label for="covaxChk">Covaxin</label>
<input type="radio" id="allChk" name="vaccGrp" checked value="ALL">
<label for="allChk">All</label>
</div>
</div>
</div>
<div class="row">
<div class="column">
<fieldset>
<legend>Dose</legend>
<div id="doseGrpDiv" >
<input type="radio" id="D1" name="doseGrp" value="D1">
<label for="D1">Dose1</label>
<input type="radio" id="D2" name="doseGrp" value="D2">
<label for="D2">Dose2</label>
</div>
</fieldset>
</div>
<div class="column" id="feeDiv">
<fieldset>
<legend>Fee</legend>
<div id="feeDivGrp">
<input type="checkbox" id="freeChk" checked>
<label for="freeChk">Free</label>
<input type="checkbox" id="paidChk" checked>
<label for="paidChk">Paid</label>
</div>
</div>
<div class="column" id="dateDiv">
<label for="searchDt">Date:</label>
<input type="date" id="searchDt" name="searchDt">
</div>
<div class="searchBtnDiv" ><input type="button" class="searchBtn" onclick="searchSlot()" value="Search"></div>
</div>
<div>
<input type="hidden" id="hidDistrct" value=""/>
<input type="hidden" id="hidDistrctName" value=""/>
<input type="hidden" id="hidVaccine" value="ALL"/>
<input type="hidden" id="hidFeeTyp" value="ALL"/>
</div>
<div>
<p id="day0"></p>
<p id="day1"></p>
<p id="day2"></p>
<p id="day3"></p>
<p id="day4"></p>
<p id="day5"></p>
<p id="day6"></p>
<p id="day7"></p>
<p id="errorlbl"></p>
</div>
<br><br>
<p id="date"></p>
<div class="footer">
<div class="row">
<div class="col-md-12">
<strong>Disclaimer:</strong> This web app uses CoWin open API to find slots. Please <b><a href="https://selfregistration.cowin.gov.in/" target="_blank">Register/Book Slot</a></b> in CoWin site.
</div>
</div>
</div>
</body>
</html>