This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
147 lines (131 loc) · 5.92 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
<!doctype html>
<html lang="en">
<head>
<title>AI4Bharat COVID19 App</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Rubik&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Open Graph Protocol (OGP) Tags -->
<meta property='og:title' content='AI4Bharat COVID19 App'/>
<meta property='og:image' content='https://covid19.ai4bharat.org/img/open_graph/og_img.png'/>
<meta property='og:description' content='Help the nation with the right information.'/>
<meta property='og:url' content='https://covid19.ai4bharat.org' />
</head>
<body style="overflow: hidden;">
<div class="wrapper d-flex align-items-stretch">
<div id="nav_sidebar">
<nav id="sidebar" style="min-height: 100vh">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Toggle Menu</span>
</button>
</div>
<div class="p-4 pt-5">
<h1><a href="index.html" class="logo">AI4Bharat<br/>COVID·19</a></h1>
<ul class="list-unstyled components mb-5">
<li class="active">
<a href="index.html" id="a_home">Home</a>
</li>
<li>
<a href="chatbot.html" id="a_chatbot">Chatbot</a>
</li>
<li>
<a href="risk_assessment.html" id="a_risk_tool">Risk Assessment</a>
</li>
<li>
<a href="#statsSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Statistics</a>
<ul class="collapse list-unstyled" id="statsSubmenu">
<li>
<a href="patient_tracker.html" id="a_patient_tracker">Patient Tracker</a>
</li>
<li>
<a href="states_statistics.html" id="a_state_wise_stats">State-wise Statistics</a>
</li>
<li>
<a href="states_maps.html" id="a_state_wise_map">State-wise Maps</a>
</li>
</ul>
</li>
<li>
<a href="#helpSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">SOS/Volunteer/Reports</a>
<ul class="collapse list-unstyled" id="helpSubmenu">
<li>
<a href="sos.html" id="a_sos_map">SOS Map</a>
</li>
<li>
<a href="volunteers.html" id="a_volunteer_map">Volunteer Map</a>
</li>
<li>
<a href="reports.html" id="a_report_map">Report Map</a>
</li>
</ul>
</li>
<li>
<a href="#infoSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Info</a>
<ul class="collapse list-unstyled" id="infoSubmenu">
<li>
<a href="govt_advisory.html" id="a_advisory">Government Advisory</a>
</li>
<li>
<a href="covid_hospitals.html" id="a_hospitals">COVID Hospitals</a>
</li>
<li>
<a href="dos_donts.html" id="a_dos">Do's and Dont's</a>
</li>
</ul>
</li>
<li>
<a href="https://ai4bharat.org/">About</a>
</li>
</ul>
<div class="footer">
<p><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
<!-- Copyright ©<script>document.write(new Date().getFullYear());</script> -->
This website is created by One Fourth Labs, an IIT Madras incubated startup with the help of doctors from JIPMER.
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p>
<a href="https://covid19.ai4bharat.org/open_source.html" type="button" class="btn btn-git btn-sm btn-dark"><i class="fa fa-github left"></i> Open-sourced on GitHub</a>
</div>
</div>
</nav>
</div>
<!-- Page Content -->
<div id="content" class="p-4 p-md-5 pt-5" style="padding:0rem !important" >
<iframe src="splash.html" style="margin:0; padding:0rem; width:inherit; height:100vh; overflow:auto; border:none; margin:0; padding:0; overflow:hidden;">
</iframe>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
<script>
$(function(){
// $("#nav_sidebar").load("nav.html");
function load_home() {
$("#content").replaceWith("<div id=\"content\" class=\"p-4 p-md-5 pt-5\" style=\"padding:0rem !important\" ><iframe id=\"embed\" src=\"splash.html\" style=\"margin:0; padding:0rem; width:inherit; height:100vh; height: calc(var(--vh, 1vh)*100); overflow:auto; border:none; margin:0; padding:0; overflow:hidden;\"></iframe></div>")
if (screen.width < 800) {
$("#sidebarCollapse").click()
}
window.scrollTo(500, 0);
let vh = window.innerHeight;
document.getElementById("embed").style.setProperty('height', `${vh}px`)
window.addEventListener('resize', () => {
let vh = window.innerHeight;
document.getElementById("embed").style.setProperty('height', `${vh}px`)
});
return false;
}
if (screen.width >= 800 && screen.width < 1000) {
$("#sidebarCollapse").click()
}
var a_home = document.getElementById("a_home");
a_home.onclick = load_home;
});
</script>
</body>
</html>