-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
222 lines (202 loc) · 5.91 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
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Location Insights</title>
<meta name="generator" content="Bootply" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="static/css/bootstrap.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="static/css/styles.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700" rel="stylesheet">
</head>
<body>
<!-- begin template -->
<div class="navbar navbar-custom navbar-fixed-top">
<div class="navbar-header">
<a class="navbar-brand" href="#">Location Insights</a>
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="#">About</a></li>
<li> </li>
</ul>
<form class="navbar-form">
<div class="form-group" style="display:inline;">
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-chevron-down"></span></button>
<ul class="dropdown-menu">
<li><a href="#">Options</a></li>
</ul>
</div>
<input type="text" class="form-control" placeholder="Where do you want to search?">
<span class="input-group-addon"><span class="glyphicon glyphicon-search"></span> </span>
</div>
</div>
</form>
</div>
</div>
<div id="map-canvas"></div>
<div class="container-fluid" id="main">
<div class="row" id="left">
<div class="col-xs-12" >
<!-- item list -->
<h2> Choose Your Audience </h2>
<hr>
<h4>Age Ranges</h4>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="age0to12">0-12</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="age13to18">13-18</label>
</div>
</div>
</div>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="age19to25">19-25</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="age26to40">26-40</label>
</div>
</div>
</div>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="age41to60">41-60</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="age61to90">61-90</label>
</div>
</div>
</div>
<hr>
<h4>Gender</h4>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="male_cb" name="gender">Male</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="female_cb" name="gender">Female</label>
</div>
</div>
</div>
<hr>
<h4>Ethnicity</h4>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="white_cb">White</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="chinese_cb">Chinese</label>
</div>
</div>
</div>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="indian_cb">Indian</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="black_cb">Black</label>
</div>
</div>
</div>
<hr>
<h4>Income</h4>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="lowinc_cb">Low</label>
</div>
</div>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="medinc_cb">Medium</label>
</div>
</div>
</div>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="highinc_cb">High</label>
</div>
</div>
</div>
<hr>
<h4>Economics</h4>
<div class='row'>
<div class='col-md-6'>
<div class="checkbox">
<label>
<input type="checkbox" value="" id="activity_cb">Economic Activity</label>
</div>
</div>
<div class='col-md-6'>
</div>
</div>
<!-- /item list -->
<hr>
<div class="row">
<div class="col-md-6 col-md-offset-6">
<div style="padding-right:45px; padding-bottom: 30px;">
<button type="button" class="btn btn-success" id="update_btn" onclick="update_onclick()">Update</button>
</div>
</div>
</div>
<div class="col-xs-4">
<!--map-canvas will be postioned here-->
</div>
</div>
</div>
<!-- end template -->
<!-- script references -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="static/js/bootstrap.min.js"></script>
<script src="static/js/scripts.js"></script>
<script type="text/javascript" language="javascript" src="static/js/data.json"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBL-6b5jfho-AXqJnDWtugtjsSnimOWIFo&callback=initMap" async defer></script>
</body>
</html>