forked from socrata/flushots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·140 lines (134 loc) · 6.79 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
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Get A Flu Shot</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1">
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1" />
<link rel="icon" href="img/favicon.ico" type=”image/x-icon”>
<link rel="apple-touch-icon-precomposed" href="img/icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<style>
body { padding-bottom: 75px; }
.google-map-canvas,
.google-map-canvas * { .box-sizing(content-box); }
#map img { max-width: none; }
.dropdown-menu { background-color:#333; }
.dropdown-menu > li > a { color:#aaa; }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {background-color:#fff; color:#333; text-decoration:none;}
</style>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/ltIE9.min.js"></script>
<![endif]-->
</head>
<body>
<div id=map style="position:absolute; top:0; bottom:50px; left:0; right:0;"></div>
<nav class="navbar navbar-inverse navbar-fixed-bottom" role="navigation">
<div class="navbar-header">
<button id="navbar-button" type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a id="nav-brand" class="navbar-brand" data-toggle="modal" href="#modal-gafs">Get A Flu Shot</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li id="nav-li-all" class="active"><a id="nav-all" href="#all">All</a></li>
<li id="nav-li-seven"><a id="nav-seven" href="#seven">Next 7 Days</a></li>
<li id="nav-li-days" class="dropdown">
<a id="nav-days" href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="nav-days-text">On A Day</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="#today" id="nav-today" class="day">Today</a>
</li>
<li class="divider"></li>
<li>
<a href="#sunday" id="nav-sunday" class="day">Sunday</a>
</li>
<li>
<a href="#monday" id="nav-monday" class="day">Monday</a>
</li>
<li>
<a href="#tuesday" id="nav-tuesday" class="day">Tuesday</a>
</li>
<li>
<a href="#wednesday" id="nav-wednesday" class="day">Wednesday</a>
</li>
<li>
<a href="#thursday" id="nav-thursday" class="day">Thursday</a>
</li>
<li>
<a href="#friday" id="nav-friday" class="day">Friday</a>
</li>
<li>
<a href="#saturday" id="nav-saturday" class="day">Saturday</a>
</li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-left" onSubmit="$('#nav-go').click(); return false;" role="search">
<div class="form-group">
<input id="nav-address" type="text" class="form-control input-sm" placeholder="Enter an address">
</div>
<button id="nav-go" class="btn btn-default btn-sm" type="button">Go</button>
</form>
<a id="nav-agency" class="navbar-text pull-right" data-toggle="modal" href="#modal-cdph"><img src="img/codefornclogo.png"></a>
</div>
</nav>
<!-- CDPH Modal -->
<div class="modal fade" id="modal-cdph" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Notes</h4>
</div>
<div class="modal-body">
<small>Developed orginally by <a href="http://about.me/tomkompare" target="_blank">Tom Kompare</a> in partnership with the <a href="http://www.cityofchicago.org/city/en/depts/cdph.html" target="_blank">NC Department of Public Health (CDPH)</a>. This map application is developed in partnership with <a href="http://www.codeforraleigh.com" target="_blank">Code for Raleigh</a> and Socrata. <a href="https://github.com/socrata/flushots" target="_blank">The code behind this web application</a> is free, open, and under a <a href="https://github.com/socrata/flushots/blob/master/LICENSE"target="_blank">MIT License</a>. The data behind the application is a <a href="https://brigades.opendatanetwork.com/HEALTH/North-Carolina-Flu-Shot-Locations/7mef-4h72" target="_blank"> Socrata dataset</a> hosted on the <a href="https://brigades.opendatanetwork.com/"target="_blank">Brigade Open Data Sharing Platform.</a>
<p><button type="button" class="btn btn-default pull-right" data-dismiss="modal">Close</button><br></p>
</div>
</div>
</div>
</div>
<!-- Get A Flu Shot Modal -->
<div class="modal fade" id="modal-gafs" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Learn More</h4>
</div>
<div class="modal-body">
<small>Welcome to the Flu Shot Finder for North Carolina. If your device has GPS, you may click on the <i>Find Me</i> button to see locations near you. You may enter your address and click on <i>Go</i> to do the same. Click on <i>All</i>, <i>Next 7 Days</i>, or <i>On A Day</i> of the week to highlight locations available on a certain day. Blue map locations offer free flu shots for anyone six months of age or older.<br><br><a href="http://www.flu.nc.gov/" target="_blank">Click here for more information about flu shots.</a></small>
<p><br><button type="button" class="btn btn-default pull-right" data-dismiss="modal">Close</button><br></p>
</div>
</div>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
window.jQuery
|| document.write('<script src="js/jquery-1.10.2.min.js"><\/script>')
</script>
<script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCZyT6gk-tkkZwmlg9zovl2oIol0v1ZXK8&sensor=true"></script>
<!-- All JS files below are included in 'main.min.js' file -->
<script src="js/jquery-migrate-1.2.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/date.js"></script>
<script src="js/jquery.icalendar.js"></script>
<script src="js/infobox.js"></script>
<script src="js/tkmap.4.0.0.js"></script>
<script src="js/fusiontable.js"></script>
<script src="js/event.js"></script>
<script src="js/flushots.js"></script>
<script src="js/socrata.js"></script>
<script src="js/main.js"></script>
<!--<script src="js/main.min.js"></script>-->
</body>
</html>