-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (60 loc) · 2.09 KB
/
index.html
File metadata and controls
65 lines (60 loc) · 2.09 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link rel="stylesheet" href="css/styles.css">
<title>Edinburgh Restaurants</title>
</head>
<body>
<div class="container">
<div class='row'>
<header class='col-md-12'>
<h1>Edinburgh Restaurants</h1>
</header>
<hr>
</div>
<div class='row'>
<nav class='col-md-2'>
<input type="text" id="filterInput" placeholder="Filter restaurants"
data-bind="textInput: currentFilter">
<div class="options-box" id="placesUL" data-bind="foreach: filterPlaces">
<div data-bind="if: visible">
<span data-bind="text: title, click: $parent.placeClick"></span>
</div>
</div>
<div>
<input data-bind="click:reset" class="full_width" type=button value="Reset Map">
<!--<input id='reset' class='full_width' type=button value="Reset Map">-->
</div>
</nav>
<div class='col-md-10'>
<div id="map"></div>
<div>
<h3 id="error_report">Loading GoogleMaps</h1>
</div>
</div>
</div>
<div class='row'>
<footer class='col-md-12'>
<p>Created by Doug Wight - dcfwight@gmail.com</p>
</footer>
</div>
</div>
<script src="./bower_components/jquery/dist/jquery.js"></script>
<script src="./bower_components/knockout/dist/knockout.js"></script>
<script src="./data/places.js"></script>
<script src="./js/app.js"></script>
<!--Load the googlemaps API asynchronously and pass in the initMap function
into the callback-->
<!--Note we are using both async and defer because of a bug in IE browsers-->
<!--see https://discussions.udacity.com/t/handling-google-maps-in-async-and-fallback/34282-->
<script async defer onerror="mapError()"
src="https://maps.googleapis.com/maps/api/js?&key=AIzaSyBCaqWELpjt43Ueno1JfvRMvE5Xz4Ab6xI&v=3&libraries=places,geometry&callback=initMap">-->
</script>
</body>
</html>