-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarmer.html
208 lines (204 loc) · 6.6 KB
/
barmer.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Jaipur</title>
<link rel="stylesheet" href="index.css">
<!-- Boxicons CDN Link -->
<link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<div class="sidebar">
<div class="logo-details">
<i class='bx bxs-plus-circle'></i>
<span class="logo_name">MedGuide Panel</span>
</div>
<ul class="nav-links">
<li>
<a href="index.html" class="active">
<!-- <i class='bx bx-grid-alt'></i> -->
<span class="links_name">Home</span>
</a>
</li>
</ul>
</div>
<section class="home-section" id="jaipur">
<nav>
<div class="sidebar-button">
<i class='bx bx-menu sidebarBtn'></i>
<span class="dashboard">Dashboard</span>
</div>
<div class="search-box">
<input type="text" id="myInput" placeholder="Search for Hospital.." onkeyup="myFunction()">
<i class='bx bx-search'></i>
</div>
<div class="profile-details">
<!--<img src="images/profile.jpg" alt="">-->
<span class="admin_name">Coding Connoisseurs</span>
<i class='bx bx-chevron-down'></i>
</div>
</nav>
<div class="home-content">
<ul id="myUL">
<li class="myDIV"><a href="#">MEGEX Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 38</li>
<li>ICU beds without ventilator: 0</li>
<li>ICU beds with ventilator: 0</li>
</ul>
</div>
<li class="myDIV"><a href="#">C2C Behror</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 35</li>
<li>ICU beds with ventilator: 7</li>
<li>ICU beds without ventilator: 0</li>
</ul>
</div>
<li class="myDIV"><a href="#">Rajeev Gandhi Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 15</li>
<li>ICU beds without ventilator: 2</li>
<li>ICU beds with ventilator: 8</li>
</ul>
</div>
<li class="myDIV"><a href="#">ESI Hospital ,Bhiwadi</a></li>
<div class="hide">
<ul>
<li>General beds: 5</li>
<li>Oxygen beds: 11</li>
<li>ICU beds without ventilator: 11</li>
<li>ICU beds with ventilator: 4</li>
</ul>
</div>
<li class="myDIV"><a href="#">Sania Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 23</li>
<li>Oxygen beds: 23</li>
<li>ICU beds without ventilator: 7</li>
<li>ICU beds with ventilator: 7</li>
</ul>
</div>
<li class="myDIV"><a href="#">Mittal Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 9</li>
<li>Oxygen beds: 12</li>
<li>ICU beds without ventilator: 6</li>
<li>ICU beds with ventilator: 1</li>
</ul>
</div>
<li class="myDIV"><a href="#">Arihant Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 5</li>
</ul>
</div>
<li class="myDIV"><a href="#">Sachkhand Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 10</li>
<li>Oxygen beds: 14</li>
<li>ICU beds without vetilator: 15</li>
<li>ICU beds with ventilator: 5</li>
</ul>
</div>
<li class="myDIV"><a href="#">Kailash Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 5</li>
</ul>
</div>
<li class="myDIV"><a href="#">Kailash Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 5</li>
</ul>
</div>
<li class="myDIV"><a href="#">City Nursingh Home</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 5</li>
</ul>
</div>
<li class="myDIV"><a href="#">Star Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 23</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 15</li>
</ul>
</div>
<li class="myDIV"><a href="#">Gupta Nursing Home</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 5</li>
</ul>
</div>
<li class="myDIV"><a href="#">Diamond Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 23</li>
<li>Oxygen beds: 46</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 8</li>
</ul>
</div>
<li class="myDIV"><a href="#">Patel Hospital</a></li>
<div class="hide">
<ul>
<li>General beds: 23</li>
<li>Oxygen beds: 4</li>
<li>ICU beds without vetilator: 5</li>
<li>ICU beds with ventilator: 4</li>
</ul>
</div>
</ul>
</div>
</section>
<script>
function myFunction() {
// Declare variables
var input, filter, ul, li, a, i, txtValue;
input = document.getElementById('myInput');
filter = input.value.toUpperCase();
ul = document.getElementById("myUL");
li = ul.getElementsByTagName('li');
// Loop through all list items, and hide those who don't match the search query
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName("a")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
li[i].style.display = "";
} else {
li[i].style.display = "none";
}
}
}
</script>
</body>
</html>