-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (152 loc) · 8.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="VaxSlotSearch">
<meta name="author" content="VaxSlotSearch">
<meta name="keywords" content="VaxSlotSearch">
<!-- Title Page-->
<title>Vaccination Slot Search</title>
<!-- Icons font CSS-->
<link href="vendor/mdi-font/css/material-design-iconic-font.min.css" rel="stylesheet" media="all">
<link href="vendor/font-awesome-4.7/css/font-awesome.min.css" rel="stylesheet" media="all">
<!-- Font special for pages-->
<link href="https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<!-- Vendor CSS-->
<link href="vendor/select2/select2.min.css" rel="stylesheet" media="all">
<link href="vendor/datepicker/daterangepicker.css" rel="stylesheet" media="all">
<!-- Main CSS-->
<link href="css/main.css" rel="stylesheet" media="all">
</head>
<body>
<div class="page-wrapper bg-gra-02 p-t-130 p-b-100 font-poppins">
<div class="wrapper wrapper--w680">
<div class="card card-4">
<div class="card-body">
<h2 class="title">COVID-19 Vaccination Slot Finder</h2>
<form method="POST">
<div class="input-group">
<label class="radio-container m-r-45">Search by District
<input type="radio" id="stateSelectRadio" onchange="toggleSearchType(this)" type="radio" name="searchType" onclick="show1();" value="stateSelectRadio" checked>
<span class="checkmark"></span>
</label>
<label class="radio-container m-r-45">Search by PIN
<input type="radio" id="pinSelectRadio" onchange="toggleSearchType(this)" type="radio" name="searchType" onclick="show2();" value="pinSelectRadio">
<span class="checkmark"></span>
</label>
</div>
<div class="row row-space" id="disshow">
<div class="col-2" style="margin-bottom: 20px;">
<label class="label">State</label>
<div class="rs-select2 js-select-simple select--no-search">
<select id="stateSelect" onchange="populateDistrict(this)">
<option disabled="disabled" selected="selected" class="stateOption" value="">Choose option</option>
</select>
<div class="select-dropdown"></div>
</div>
</div>
<div class="col-2" style="margin-bottom: 20px;">
<label class="label">District</label>
<div class="rs-select2 js-select-simple select--no-search">
<select id="distSelect">
<option disabled="disabled" selected="selected" class="districtOption" value="">Choose option</option>
</select>
<div class="select-dropdown"></div>
</div>
</div>
</div>
<div class="row row-space" id="pinshow">
<div class="col-2">
<div class="input-group">
<label class="label fieldLabel">Enter Your PIN</label>
<input class="input--style-4" id="pinSelect" type="text" disabled>
</div>
</div>
</div>
<div class="row row-space">
<div class="col-2">
<div class="input-group">
<label for="slotDate" class="label">Select Slot Date</label>
<div class="input-group-icon">
<input class="input--style-4 js-datepicker" type="text" id="slotDate" name="slotDate">
<i class="zmdi zmdi-calendar-note input-icon js-btn-calendar"></i>
</div>
</div>
</div>
<div class="col-2">
<div class="input-group">
<label class="label">Select Age Group</label>
<div class="rs-select2 js-select-simple select--no-search">
<select id="ageSelect">
<option value="44">18-44</option>
<option value="45">45+</option>
</select>
<div class="select-dropdown"></div>
</div>
</div>
</div>
</div>
<div class="row row-space">
<div class="col-2">
<div class="input-group">
<label for="doseType" class="label">Select Dose</label>
<div class="rs-select2 js-select-simple select--no-search">
<select id="doseSelect">
<option value="dose1">Dose-1</option>
<option value="dose2">Dose-2</option>
</select>
<div class="select-dropdown"></div>
</div>
</div>
</div>
<div class="col-2">
<div class="input-group">
<label for="vaccineType" class="label">Select Vaccine</label>
<div class="rs-select2 js-select-simple select--no-search">
<select id="vaccineSelect">
<option value="ALL">All</option>
<option value="COVAXIN">Covaxin</option>
<option value="COVISHIELD">Covishield</option>
<option value="sputnik5">Sputnik 5</option>
</select>
<div class="select-dropdown"></div>
</div>
</div>
</div>
</div>
<div class="p-t-15">
<button class="btn btn--radius-2 btn--blue searchBtn" type="button" onClick="startInterval(searchSlot, 6000)">Search Slot</button>
</div>
</form>
<h2 id="searchSection"></h2>
<img id="loader" src="img/loader.gif"/>
<h4 id="error"></h4>
<table id="slotsTable">
<tr>
<th style="width:50px;">Age</th>
<th style="width:100px;">Date</th>
<th style="width:120px;">Available Slot</th>
<th style="width:120px;">Vaccine Name</th>
<th style="width:340px;">Hospital Name</th>
<th style="width:60px;">Fee</th>
</tr>
</table>
</div>
</div>
</div>
</div>
<!---->
<!-- Jquery JS-->
<script src="vendor/jquery/jquery.min.js"></script>
<!-- Vendor JS-->
<script src="vendor/select2/select2.min.js"></script>
<script src="vendor/datepicker/moment.min.js"></script>
<script src="vendor/datepicker/daterangepicker.js"></script>
<!-- Main JS-->
<script src="js/global.js"></script>
<script src="js/main.js"></script>
</body>
</html>
<!-- end document-->