-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (60 loc) · 2.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Recommended Venus</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div data-bind="visible: optionsVisible" class="col-xs-4 col-md-4 options-box">
<h3>Recommended Venues</h3>
<h4 data-bind="text: currentArea"></h4>
<section>
<input data-bind="textInput: currentArea" id="go-to-area-text" type="text" placeholder="Enter your area">
<input data-bind="click: setCurrentArea" id="go-to-area" type="button" value="Go">
</section>
<hr>
<section>
<span>Looking for: </span>
<select data-bind="options: sectionList, value: currentSection"></select>
</section>
<section>
<input data-bind="click: getVenueList" id="find-venues" type="button" value="Find Venues">
<input data-bind="click: deleteVenueList" id="clear-searches" type="button" value="Clear Searches">
</section>
<section data-bind="visible: isVenueList()" id="drop-down">
<hr>
<select data-bind="options: catList, value: currentFilter"></select>
<input data-bind="click: setCurrentFilter" id="filter" type="button" value="Filter">
<input data-bind="click: clearFilter" id="filter-all" type="button" value="Show All">
</section>
<hr>
<ul class="list-unstyled" id="venueList" data-bind="foreach: venueList">
<li data-bind="text:name, click: $parent.selectVenue($index), visible: $parent.isfiltered($index), css: { selected: $parent.isSelected($index) }">
<span data-bind="text: name"></span>
</li>
</ul>
</div>
<div data-bind="click: toggleOptions" class="col-xs-1 text-center toggle-button">☰
<span class="tooltiptext text-center"> Show / Hide </span>
</div>
<div class="col">
<div id="map">
</div>
</div>
</div>
</div>
<script src="js/libs/jquery-3.2.1.min.js"></script>
<script src="js/libs/bootstrap.min.js"></script>
<script src="js/libs/knockout-3.4.2.js"></script>
<script src="js/FS_secret.js"></script>
<script src="js/script.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBxz1F05ba1OK7sEIk4olJZ9CPhnXg58tw&libraries=places,geometry&v=3&callback=initMap" onerror="googleMapError()">
</script>
</body>
</html>