-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjaipur.html
143 lines (137 loc) · 4.39 KB
/
jaipur.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
<!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>Hospital</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="#">Pristyn Care <span id="tag">covid</span></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>
<!-- <div class="tag">
<p>covid</p>
</div> -->
<li class="myDIV"><a href="#">Fortis Hospital</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="#">Manipal 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="#">Columbia Asia Referral Hospital</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="#">Apollo 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="#">Hosmat 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="#">Columbia Asia</a></li>
<div class="hide">
<ul>
<li>General beds: 0</li>
<li>Oxygen beds: 430</li>
<li>ICU beds without ventilator: 90</li>
<li>ICU beds with ventilator: 80</li>
</ul>
</div>
</section>
</div>
<div class="home">
</div>
</ul>
<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>