-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (47 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<title>Neighborhood Map - SP Bike Shopper</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="data:image/x-icon;" type="image/x-icon">
<link rel="stylesheet" href="dist/css/normalize.css">
<link rel="stylesheet" href="dist/css/skeleton.css">
<link rel="stylesheet" href="dist/css/app.min.css">
</head>
<body>
<header>
<section id="menu">
<h1>SP Bike Shopper</h1>
</section>
</header>
<section id="errors" class="hide">
<div class="error hide" id="error-map">
<h3>Oops. Flat Tire.</h3>
<p>Google Maps didn't load properly. <br/> Check your Internet connection and we'll grab a pump.</p>
<a href="/map-project" class="button button-primary">Reload the Page</a>
</div>
<div class="error hide" id="error-foursquare">
<h3>Oops. Flat Tire.</h3>
<p>Foursquare didn't load properly. <br/> Check your Internet connection and we'll grab a pump.</p>
<a href="/map-project" class="button button-primary">Reload the Page</a>
</div>
</section>
<section id="listview">
<section id='search'>
<input type="search" name="search" autocomplete="off" placeholder="Search"
data-bind="textInput: searchQuery">
</section>
<ul id="results" data-bind="foreach: search">
<li>
<a data-bind="text: title, click: $parent.setInfoWindow"></a>
</li>
</ul>
</section>
<section id="map"></section>
<script src="dist/js/knockoutjs-3.4.0.min.js"></script>
<script src="dist/js/app.min.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAOomDghDBh0XiIpMbixy04-X1aSNnGhkU&callback=initApp" onerror="initApp()">
</script>
</body>
</html>