-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
210 lines (187 loc) · 12 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
<!DOCTYPE html>
<head>
<title>Affordable Housing Austin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<!-- css-->
<!-- Latest compiled and minified CSS (bootstrap) -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<!-- jquery ui css -->
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- leaflet -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ=="
crossorigin=""/>
<!-- for color markers -->
<script src="https://use.fontawesome.com/186244fe4f.js"></script>
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css">
<link rel="stylesheet" href="Leaflet.awesome-markers/dist/leaflet.awesome-markers.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap">
<!-- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<link href="search_script.css" rel="stylesheet" />
<script>
function showterms(){
$('.bottom-footer').show();
$('.bottom-footer').css('height', '0px');
$('.bottom-footer').animate({height: '450px'}, 'slow');
}
</script>
<!-- jQuery library -->
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<!-- jquery ui -->
<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script>
<!-- Latest compiled JavaScript (bootstrap)-->
<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<!-- underscore -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<!-- leaflet-->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-lInM/apFSqyy1o6s89K4iQUKg6ppXEgsVxT35HbzUupEVRh2Eu9Wdl4tHj7dZO0s1uvplcYGmt3498TtHq+log==" crossorigin=""></script>
<script src="Leaflet.awesome-markers/dist/leaflet.awesome-markers.js"></script>
<!-- ponyfill to allow css variables in IE11 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/css-vars-ponyfill.min.js"></script>
<!-- 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="mfi2024.js"></script>
<script type="text/javascript" language="javascript" src="search_script.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-27761834-12"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-27761834-12');
</script>
</head>
<body>
<div id="mapid" style="height: 100%; width: 100%; position: absolute; z-index: 1"></div>
<div class="top-header">
<div style="text-align: center;">
<button style="background-color:var(--coa-color-primary--blue); border: none; outline: none;" ><h4 class="top-header-title"><i class="fa fa-home" style="font-size:22px;color:white"></i> Affordable Housing Austin</h4></button>
</div>
</div>
<!-- The Modal -->
<div id="no-results-modal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p>Sorry, no results were found.</p>
<button id='search-again'>Try another search</button>
</div>
</div>
<div id='search-container'>
<div style='display: flex; justify-content: center; margin-top: 70px;'>
<div id='search-direct'><a href="index_spanish.html">Español</a></div>
</div>
<div id='options-wizard'>
<div class='justify-center' style='margin-top: 20px;'>
<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;'>
<input type='number' id='yearly-income-input' min='0' style='font-size: 18px; height: 30; width: 270px;' onkeypress="return event.charCode >= 48 && event.charCode <= 57 || event.charCode == 46" onchange="this.value = parseFloat(this.value).toFixed(2);" placeholder="$">
</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;'>
<input type='number' min='1' id='household-size' style='font-size: 18px; height: 30; width: 270px;' onkeypress="return event.charCode >= 48 && event.charCode <= 57">
</div>
</div>
</div>
<div style='margin-left: 60px;margin-top: 10px;'>
<label class="container"><i class="fa fa-wheelchair" style="font-size:16px;"></i> Wheelchair Accessible
<input type="checkbox" id="wheelchair" value="YES">
<span class="checkmark"></span>
</label>
</div>
<div style='margin-left: 60px;margin-top: 10px;'>
<label class="container">I have a Housing Choice Voucher
<input type="checkbox" id="select-voucher" value="YES">
<span class="checkmark"></span>
</label>
</div>
<div class="justify-center" style='margin-top: 30px;'>
<div class='justify-center'>
<label class="container" style="font-size: 12px; margin-top:30px;">I accept the <a href="#" onclick="showterms();">Terms and Conditions</a>
<input type="checkbox" id="accept_terms" value="YES">
<span class="checkmark"></span>
</label>
</div>
</div>
<div class='justify-center'>
<div class='justify-center'>
<div>
<div class='justify-center' style='margin-top: 10px;'>
<button class='done-btn' id='done-btn' disabled><i class="fa fa-search"></i> Find matching properties</button>
</div>
<div class='justify-center' style='margin-top: 30px;'>
<a href="#" class="skip-link"><i class="fa fa-hand-pointer-o" style="font-size:14px;background-color: #2196F3; color:white; padding: 5px;"></i> Show me all affordable housing properties in Austin</a>
</div>
<div class='justify-center' style='margin-bottom: 15px;'>
<button style='background-color: white;'><a href="" style="text-decoration: none;">New Search</a></button>
</div>
</div>
</div>
</div>
</div>
<!-- search text and Disclaimer -->
<div class="bottom-footer" style='height: 0%; display: none;'>
<span class='bottom-footer-text' style="float: right;"><button id='hide-bottom-footer'>×</button> </span>
<div> </div>
<h4> </h4>
<div class='bottom-footer-text'>
The Affordable Housing Search Tool contains a listing of all rental income-restricted affordable housing within the City of Austin. This includes income-restricted units from governmental agencies (Housing Authority City of Austin, Neighborhood Housing and Community Development, Housing Authority of Travis County, and the Texas Department of Housing and Community Affairs) and some market-rate properties that accept a large number of Housing Choice Vouchers. The search tool will show housing units that match the prospective tenants household income and household size according to the Department of Housing and Urban Development <a href="https://www.austintexas.gov/sites/default/files/files/Housing_%26_Planning/Income%20%26%20Rent%20Limits/MFI%20Chart%20Effective_2023.pdf" target="new"><span style='color: orange;'>( Link )</span></a> . Each property also has detailed information that helps prospective tenants find housing that best meets their needs.
<br/><br/>
Disclaimer: This tool is still a work in progress. Data gaps are being filled and new properties will continue to be added. No claims are made about the validity of the data.
</div>
</div>
</div>
<div id='map-legend-banner'>
<span style="margin-left:0.75em;">
Map Legend
</span>
</div>
<div id='property-info'>
</div>
<div id='legend-container' style="display: none;">
<div style='margin-top: 10px;'>
<button id='cancel-btn' style='width: 25px; height: 25px;'>x</button>
</div>
<div style='margin-left: 20px;'>
<div class='tear' style='background-color: green;'>
<i class="shift-icon glyphicon glyphicon-home icon-white"></i>
</div>
<span style='margin-top: 8px;margin-right: 8px;font-size:14px;'>Best property match to your income</span>
</div>
<div style='margin-left: 20px;'>
<div class='tear' style='background-color: orange;'>
<i class="shift-icon glyphicon glyphicon-home icon-white"></i>
</div>
<div style='margin-top: 8px;font-size:14px;;padding-right: 15px;'>Higher income property</div>
</div>
<div style='margin-left: 20px;'>
<div class='tear' style='background-color: #00BFFF;'>
<i class="shift-icon glyphicon glyphicon-home icon-white"></i>
</div>
<div style='margin-top: 8px;font-size:14px;'>All properties</div>
</div>
<div style='margin-left: 20px;'>
<div class='tear' style='background-color: red;'>
<i class="shift-icon glyphicon glyphicon-home icon-white"></i>
</div>
<div style='margin-top: 8px;font-size:14px;;padding-bottom: 20px;'>Selected property</div>
</div>
</div>
</body>
</html>