forked from rmathur101/AffordableHousingSearchToolFinal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_2.html
433 lines (382 loc) · 21.9 KB
/
index_2.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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<html style="height: 100%">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<!-- Latest compiled and minified CSS (bootstrap) -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jquery ui css -->
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- jquery ui -->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<!-- Latest compiled JavaScript (bootstrap)-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- underscore -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<!-- leaflet -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ=="
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-lInM/apFSqyy1o6s89K4iQUKg6ppXEgsVxT35HbzUupEVRh2Eu9Wdl4tHj7dZO0s1uvplcYGmt3498TtHq+log=="
crossorigin=""></script>
<!-- for color markers -->
<script src="https://use.fontawesome.com/186244fe4f.js"></script>
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css">
<link rel="stylesheet" href="Leaflet.awesome-markers/dist/leaflet.awesome-markers.css">
<script src="Leaflet.awesome-markers/dist/leaflet.awesome-markers.js"></script>
<!-- my search files -->
<script type="text/javascript" language="javascript" src="data_hub_api_endpoint.js"></script>
<script type="text/javascript" language="javascript" src="mapbox_public_key.js"></script>
<script type="text/javascript" language="javascript" src="search_script.js"></script>
<link href="search_script.css" rel="stylesheet" />
</head>
<body>
<div id="mapid" style="height: 100%; width: 100%; position: absolute; z-index: 1"></div>
<div class="top-header" style='display: none;'>
<h4 class="top-header-title">AFFORDABLE HOUSING AUSTIN</h4>
</div>
<div id='welcome-container'>
<div style='display: flex; justify-content: center;'>
<div id='welcome-title'>AUSTIN AFFORDABLE HOUSING</div>
</div>
<div id='options-wizard-1' style='margin-bottom: 350px;'>
<br/>
<div style='display: flex; justify-content: center; margin-top: 20px;'>
<div id='welcome-header'>WELCOME</div>
</div>
<div style='display: flex; justify-content: center;'>
<div style='margin-top: 50px;'>
<div class='justify-center'>
<span id='select-lang-header'>Please Select Language: </span>
</div>
<div class='justify-center'>
<button class='select-lang'>English</button>
</div>
<div class='justify-center'>
<button class='select-lang'>Espanol</button>
</div>
</div>
</div>
</div>
<div id='options-wizard-2' style='margin-bottom: 130px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header'>BASIC INFO</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text'>How many people are in your household, including yourself?</span>
<div>
<div class='justify-center' style='margin-top: 10px;'>
<button class='options-wizard-plus-minus-btn'>-</button>
<span class='options-wizard-plus-minus-val'>0</span>
<button class='options-wizard-plus-minus-btn'>+</button>
</div>
</div>
</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text'>How many children (under 18) are in your household?</span>
<div class='justify-center' style='margin-top: 10px;'>
<button class='options-wizard-plus-minus-btn'>-</button>
<span class='options-wizard-plus-minus-val'>0</span>
<button class='options-wizard-plus-minus-btn'>+</button>
</div>
</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text'>How many seniors (65+) are in your household?</span>
<div class='justify-center' style='margin-top: 10px;'>
<button class='options-wizard-plus-minus-btn'>-</button>
<span class='options-wizard-plus-minus-val'>0</span>
<button class='options-wizard-plus-minus-btn'>+</button>
</div>
</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text'>How many beds are required?</span>
<div class='justify-center' style='margin-top: 10px;'>
<div class='justify-center'>
<button class='options-wizard-plus-minus-btn'>-</button>
<span class='options-wizard-plus-minus-val'>0</span>
<button class='options-wizard-plus-minus-btn'>+</button>
</div>
</div>
</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text'>How many baths are required?</span>
<div class='justify-center' style='margin-top: 10px;'>
<div class='justify-center'>
<button class='options-wizard-plus-minus-btn'>-</button>
<span class='options-wizard-plus-minus-val'>0</span>
<button class='options-wizard-plus-minus-btn'>+</button>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-3' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header'>WELCOME</div>
</div>
<br/>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<div class='justify-center'>
<span class='options-wizard-question-text justify-center'>What is your household's yearly income?</span>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<span id='money-symbol'>$ </span><input type='number' id='yearly-income-input' class='form-control' style='font-size: 18px; height: 30; width: 200px;'>
</div>
</div>
</div>
<br/>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<div class='justify-center'>
<span class='options-wizard-question-text justify-center'>How many people are in your household?</span>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<span id='money-symbol' style='color: #337ab7; opacity: 0.9'>x </span><input type='number' id='household-size' class='form-control' style='font-size: 18px; height: 30; width: 200px;'>
</div>
</div>
</div>
<div class='justify-center' style='margin-top: 30px;'>
<div class='justify-center'>
<div>
<span class='justify-center'>
<span class='options-wizard-question-text justify-center'>Do you have a section 8 voucher?</span>
</span>
<div class='justify-center' style='margin-top: 0px;'>
<div>
<div class='justify-center'>
<button class='select-voucher'>YES</button>
</div>
<div class='justify-center'>
<button class='select-voucher'>NO</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-4' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header'>CRITERIA</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Select any options below that describe you :</span>
<div>
<div style='margin-top: 10px;'>
<button data-field='students_only' class='options-big-btn'>Student</button>
<button data-field='community_elderly' class='options-big-btn'>Senior (65+)</button>
<button data-field='community_disabled' class='options-big-btn'>Physically Disabled</button>
<button data-field='community_mental' class='options-big-btn'>Mentally Disabled</button>
<button data-field='community_veteran' class='options-big-btn'>Veteran</button>
<button data-field='community_military' class='options-big-btn'>Military</button>
<button style='font-size: 13px;' data-field='community_domestic_abuse_survivor' class='options-big-btn'>Domestic Abuse Survivor</button>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-5' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header'>FILTERS</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Which of the following are important to you when looking for housing? Select all that apply: </span>
<div style='margin-top: 10px;' class='justify-center'>
<div>
<button class='options-big-btn'>Amenities</button>
<button class='options-big-btn'>Public Schools</button>
<button class='options-big-btn'>Acceptance Criteria</button>
<button class='options-big-btn'>Parks</button>
<button class='options-big-btn'>Communities Served</button>
<button class='options-big-btn'>Public Transit</button>
<button class='options-big-btn'>Neighborhood</button>
<button class='options-big-btn'>Grocery</button>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-6' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header'>AMENITIES</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Select the amenities that you need your housing to have.</span>
<div style='margin-top: 10px;' class='justify-center'>
<div>
<button class='options-big-btn'>Playground</button>
<button class='options-big-btn'>Pool</button>
<button class='options-big-btn'>Off-Street Parking</button>
<button class='options-big-btn'>Air Conditioning</button>
<button class='options-big-btn'>Ceiling Fans</button>
<button class='options-big-btn'>In-Unit Washer/Dryer</button>
<button class='options-big-btn'>Washer/Dryer Hookups</button>
<button class='options-big-btn'>Washer/Dryer Onsite</button>
<button class='options-big-btn'>Pets Allowed</button>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-7' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header'>SCHOOLS</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Select any school preferences.</span>
<div style='margin-top: 10px;' class='justify-center'>
<div>
<button class='options-big-btn'>Akins High</button>
<button class='options-big-btn'>Allison Elementary</button>
<button class='options-big-btn'>Anderson High</button>
<button class='options-big-btn'>Andrews Elementary</button>
<button class='options-big-btn'>Austin High</button>
<button class='options-big-btn'>Bailey Middle</button>
<button class='options-big-btn'>Baldwin Elementary</button>
<button class='options-big-btn'>Baranoff Elementary</button>
<button class='options-big-btn'>Barabara Jordan Elementary</button>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-8' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header' style='text-align: center;'>ACCEPTANCE CRITERIA</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Select the acceptance criteria the property should have.</span>
<div style='margin-top: 10px;' class='justify-center'>
<div>
<button data-field='broken_lease' class='options-big-btn'>Broken Lease Accepted</button>
<button data-field='eviction_history' class='options-big-btn'>Eviction History Accepted</button>
<button data-field='criminal_history' class='options-big-btn'>Criminal History Accepted</button>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-9' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header' style='text-align: center;'>PUBLIC TRANSIT</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Is public transportation your primary mode of transportation?</span>
<div style='margin-top: 10px;' class='justify-center'>
<div class='justify-center' style='margin-top: 0px;'>
<div>
<div class='justify-center'>
<button class='select-public-transport'>YES</button>
</div>
<div class='justify-center'>
<button class='select-public-transport'>NO</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id='options-wizard-10' style='margin-bottom: 350px;'>
<br/>
<div class='justify-center'>
<div id='welcome-header' style='text-align: center;'>FOOD</div>
</div>
<div class='justify-center' style='margin-top: 10px;'>
<div>
<span class='options-wizard-question-text justify-center'>Is it important that you have a grocery store within walking distance from your home?</span>
<div style='margin-top: 10px;' class='justify-center'>
<div class='justify-center' style='margin-top: 0px;'>
<div>
<div class='justify-center'>
<button style='width: 210px;' class='select-grocery'>NOT IMPORTANT</button>
</div>
<div class='justify-center'>
<button style='width: 210px;' class='select-grocery'>SOMEWHAT IMPORTANT</button>
</div>
<div class='justify-center'>
<button style='width: 210px;' class='select-grocery'>VERY IMPORTANT</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ----------------------------------------------- -->
<div class='justify-center wizard-btns-container'>
<div class='justify-center'>
<button class='back-btn' style='display: none;'>BACK</button>
<!-- <button class='next-btn'>NEXT</button> -->
<button class='done-btn'>DONE</button>
</div>
</div>
</div>
<div id='filter-applied-banner' style='display: none'>
<span style='margin-top: 35px; margin-left: 5px; display: block;'>
Welcome
</span>
</div>
<div id='map-legend-banner' style='display: none'>
<span style='margin-top: 28; margin-left: 5; display: block;'>
Map Legend
</span>
</div>
<div id='property-info'>
</div>
<div id='legend-container' style='height: 0%; display: none;'>
<button style='margin-top: 20px;' id='cancel-map-legend'>x</button>
<div style='margin-left: 50px;'>
<div>
<div class='tear' style='background-color: #00BFFF; margin-left: 50px;'>
<i class="shift-icon glyphicon glyphicon-home icon-white"></i>
</div>
</div>
<div style='margin-top: 20px;'>Affordable property</div>
</div>
<div style='margin-left: 50px;'>
<div class='tear' style='background-color: green; margin-left: 50px;'>
<i class="shift-icon glyphicon glyphicon-home icon-white"></i>
</div>
<div style='margin-top: 20px;'>Recommended based on your preferences</div>
</div>
<div style='margin-left: 50px;'>
<div class='tear' style='background-color: orange; margin-left: 50px;'>
<i class="shift-icon glyphicon glyphicon-star icon-white"></i>
</div>
<div style='margin-top: 20px;'>Recommended and recently available </div>
</div>
<div style='margin-left: 50px;'>
<div class='tear' style='background-color: red; margin-left: 50px;'>
<i class="shift-icon glyphicon glyphicon-heart icon-white"></i>
</div>
<div style='margin-top: 20px;'>Selected property</div>
</div>
</div>
</body>
</html>