-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
331 lines (314 loc) · 14.7 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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Nirbhay Pherwani">
<title>ESD : RESTful API Client : Project II</title>
<link rel="shortcut icon" href="assets/images/favicon.png" />
<!-- Font Awesome -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- PagePiling CSS -->
<link rel="stylesheet" href="assets/css/page_piling.css"/>
<!-- Bootstrap CSS Import -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Leaflet Import Begins -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.5.1/dist/leaflet.js"
integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og=="
crossorigin=""></script>
<!-- Leaflet Import Ends -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css"/>
<!-- Animate CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css"/>
<!-- JQV Map CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqvmap/1.5.1/jqvmap.min.css" rel="stylesheet"/>
<!-- Data Table CSS -->
<link href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css" rel="stylesheet"/>
<!-- Custom JQuery Tabs UI Theme Import -->
<link href = "assets/css/jquery-ui.min.css" rel = "stylesheet">
<!-- Select2 CSS -->
<link href="https://cdn.jsdelivr.net/npm/select2@4.0.12/dist/css/select2.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2-bootstrap-theme/0.1.0-beta.10/select2-bootstrap.min.css" rel="stylesheet"/>
<!-- Select2 CSS Ends-->
<!-- App CSS -->
<link rel="stylesheet" href="assets/css/app.css"/>
<!-- Minor Appearances -->
<link rel="stylesheet" href="assets/css/minor_appearances.css"/>
<!-- Form CSS -->
<link rel="stylesheet" href="assets/css/form.css"/>
<!-- Errors CSS -->
<link rel="stylesheet" href="assets/css/errors.css"/>
<!-- Data-Table Custom CSS -->
<link rel="stylesheet" href="assets/css/data_table_custom_style.css"/>
<!-- Map CSS -->
<link rel="stylesheet" href="assets/css/map.css"/>
<!-- Loading CSS -->
<link rel="stylesheet" href="assets/css/loading.css"/>
<!-- Results CSS -->
<link rel="stylesheet" href="assets/css/result.css"/>
</head>
<!-- App Body Begins -->
<body>
<!-- Loading Text and Indicator -->
<div class="loading">
<h1 class="loading-text"><i class="fa fa-circle-o-notch fa-spin fa-fw"></i> Loading ... </h1>
</div>
<!-- Loading Text and Indicator Ends -->
<!-- Bottom Sticky Navigation -->
<nav class="navbar navbar-expand-md navbar-dark bg-danger fixed-bottom">
<div class="navbar-collapse collapse w-100 order-1 order-md-0 dual-collapse2">
<!-- Previous and Next Buttons -->
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<div class="nav-link" id="prevS"><i class="fa fa-angle-left" aria-hidden="true"></i> Previous Section</div>
</li>
<li class="nav-item active">
<div class="nav-link" id="nextS">Next Section <i class="fa fa-angle-right" aria-hidden="true"></i></div>
</li>
</ul>
<!-- Previous and Next Buttons Ends -->
</div>
<!-- Search Directly As Is Option -->
<div class="mx-auto order-0">
<div class="navbar-brand mx-auto nav-link lets-search"><i class="fa fa-search" aria-hidden="true"></i> Search Now Directly</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".dual-collapse2">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<!-- Search Directly As Is Option Ends -->
<!-- Author's Profile Links -->
<div class="navbar-collapse collapse w-100 order-3 dual-collapse2">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a href="https://nirbhay.me" target="_blank" class="nav-link">Made with <i class="fa fa-heart" aria-hidden="true"></i> in Rochester, NY! </a>
</li>
<li class="nav-item active">
<a href="https://github.com/nirbhayph" target="_blank" class="nav-link"> <i class="fa fa-github" aria-hidden="true"></i></a>
</li>
<li class="nav-item active">
<a href="https://www.linkedin.com/in/nirbhaypherwani/" target="_blank" class="nav-link"> <i class="fa fa-linkedin" aria-hidden="true"></i></a>
</li>
<li class="nav-item active">
<a href="https://nirbhay.me" target="_blank" class="nav-link"> <i class="fa fa-user" aria-hidden="true"></i></a>
</li>
</ul>
</div>
<!-- Author's Profile Links Ends -->
</nav>
<!-- Bottom Sticky Navigation Ends -->
<!-- Search Form -->
<form id="searchForm" class="page-content">
<!-- PagePiling Sections -->
<div id="pagepiling">
<!-- Header Section -->
<div class="section header-section">
<h1 class="header-text"><i id="esd-logo" class="fa fa-ambulance" aria-hidden="true"></i><br/><span id="badge-header-text">Emergency</span> <br/> <div id="header-supporting-text"> Services Directory </div></h1>
</div>
<!-- Header Section Ends -->
<!-- Organization Type Section-->
<div class="section">
<div class="container">
<label for="orgTypes">
<h1>
Which organization type are you looking for?
</h1>
</label>
<br/>
<select name="type" id="orgTypes">
<option value="" selected>Loading...</option>
<option value="" >...</option>
</select>
</div>
</div>
<!-- Organization Type Section Ends -->
<!-- Organization Name Section -->
<div class="section">
<div class="container">
<label for="organizationName">
<h1>Do you have an organization name in mind?</h1>
</label>
<input type="text" name="name" id="organizationName" class="form-control form-control-lg form-input-app" placeholder="Organization Name Here (Partial Name Acceptable ...)" autocomplete="off">
</div>
</div>
<!-- Organization Name Section Ends -->
<!-- Custom USA State Selector Section -->
<div class="section pp-scrollable">
<div class="container states-container">
<div id="statesMap"></div>
</div>
<br/>
<div class="row justify-content-around">
<div class="col-4">
<button id="resetStateMap" type="button" class="btn btn-danger" style="visibility:hidden;">Select All Instead</button>
</div>
<div class="col-4">
<input type="text" name="state" id="states" class="form-control form-input-app" placeholder="All States" readonly>
</div>
</div>
<br/>
<div class="container states-supporting-text">
<h5>Only colored regions are available for selection.</h5>
<h5>You can select any one region. If none selected, all available regions will be considered.</h5>
</div>
</div>
<!-- Custom USA State Selector Section Ends -->
<!-- Cities Selection Section -->
<div class="section">
<div class="container">
<label for="cities">
<div>
<h1>Here's a list of cities you can choose from!</h1>
</div>
</label>
<br/>
<select id="cities" name="town">
<option value="">No Single State Selected Yet!</option>
</select>
</div>
</div>
<!-- Cities Selection Section Ends -->
<!-- County and ZipCode Input Section -->
<div class="section">
<div class="container">
<div class="row">
<div class="col-sm-6">
<label for="countyName">
<h1>Any county in mind?</h1>
</label>
<input type="text" name="county" id="countyName" class="form-control form-control-lg form-input-app" placeholder="Organization Name Here (Partial Name Acceptable ...)" autocomplete="off">
</div>
<div class="col-sm-6">
<div class="container">
<label for="countyName">
<h1>Any zip-code specifically?</h1>
</label>
<input type="number" name="zip" id="zips" class="form-control form-control-lg form-input-app" placeholder="Zip Code Here" autocomplete="off">
</div>
</div>
</div>
<div class="result">
<button id="viewResults" type="button" class="btn btn-danger btn-block lets-search">Let's See Results <i class="fa fa-angle-right"></i></button>
</div>
</div>
</div>
<!-- County and Zip Code Input Section Ends -->
<!-- DataTable Display Results Section -->
<div class="section pp-scrollable">
<div class="pie-container">
<br/>
<!-- Button Trigger Pie Chart Modal -->
<button id="pieDisplayButton" type="button" class="btn btn-danger" data-toggle="modal" data-target="#pieChartModal">
View County Distribution Chart
</button>
<!-- Button Trigger Pie Chart Modal Ends -->
</div>
<div class="container results">
<h1>Try pressing the view results button!</h1>
</div>
</div>
<!-- DataTable Display Results Section -->
<!-- Tabs Detailed Results Section -->
<div class="section pp-scrollable">
<div class="container detailed-results">
<div id="tabLayout" class="details-content-section">
<h1>Get to know more about a particular result!</h1>
</div>
</div>
</div>
<!-- Tabs Detailed Results Section Ends -->
</div>
<!-- Page Piling Sections End -->
</form>
<!-- Search Form Ends -->
<!-- Pie Chart Modal -->
<div class="modal fade" id="pieChartModal" tabindex="-1" role="dialog" aria-labelledby="pieChartModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="pieChartModalLabel">County Wise % Distribution</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="pieChartContainer" style="height: 370px; width: 100%;"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Pie Chart Modal Ends -->
<!-- Unsupported Browsers Message -->
<div class="container" id="overlayError">
<div class="row" id="errMessage">
<div class="col-sm-12">
This version of Internet Explorer is not supported for this application. <br/>
You can choose from one of the following modern browsers or update to the latest release. Thank you!
</div>
</div>
<br/>
<div class="row">
<div class="col-sm-12">
<a href="https://google.com/chrome"><img src="assets/images/icons/chrome.png"></a>
<a href="https://www.mozilla.org/en-US/firefox/new/"><img src="assets/images/icons/firefox.png"></a>
<a href="https://www.microsoft.com/en-us/windows/microsoft-edge"><img src="assets/images/icons/edge.png"></a>
<a href="https://www.apple.com/ae/safari/"><img src="assets/images/icons/safari.png"></a><br/>
<img class="ritchie" src="https://media.giphy.com/media/OLpvCvKbnFUm4/giphy.gif"><br/><br/>
<a href="https://nirbhay.me" target="_blank" style="font-size:22px">Regards, Nirbhay Pherwani</a>
</div>
</div>
</div>
<!-- Unsupported Browsers Message Ends -->
<!-- CDN Imports -->
<!-- JQuery -->
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<!-- JQuery UI -->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
<!-- Bootstrap Imports -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- Bootstrap Imports End -->
<!-- DataTable -->
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<!-- Select2 -->
<script src="https://cdn.jsdelivr.net/npm/select2@4.0.12/dist/js/select2.min.js"></script>
<!-- Page Piling -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pagePiling.js/1.5.6/jquery.pagepiling.min.js"></script>
<!-- JQV Map -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqvmap/1.5.1/jquery.vmap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqvmap/1.5.1/maps/jquery.vmap.usa.js"></script>
<!-- JQV Map Ends -->
<!-- Textillate Imports -->
<script src="https://github.com/downloads/davatron5000/Lettering.js/jquery.lettering-0.6.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/textillate/0.4.0/jquery.textillate.min.js"></script>
<!-- Textillate Imports End -->
<!-- Toast -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js"></script>
<!-- Canvas JS Charts -->
<script src="https://canvasjs.com/assets/script/jquery.canvasjs.min.js"></script>
<!-- CDN Imports End -->
<!-- Project Scripts Imports -->
<script src="assets/js/browser_detect.js"></script>
<script src="assets/js/constants.js"></script>
<script src="assets/js/errors.js"></script>
<script src="assets/js/map.js"></script>
<!-- Custom JQuery Plugin -->
<script src="assets/js/custom_plugin/filter_elements_plugin.js"></script>
<!-- Custom JQuery Plugin Import Ends -->
<script src="assets/js/navigation.js"></script>
<script src="assets/js/validation.js"></script>
<script src="assets/js/pie_chart.js"></script>
<script src="assets/js/emoji-translate-bundle.js"></script>
<script src="assets/js/details_content.js"></script>
<script src="assets/js/search_form_contents.js"></script>
<script src="assets/js/run.js"></script>
<!-- Project Scripts Imports End -->
</body>
<!-- App Body Ends -->
</html>