-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (59 loc) · 2.11 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>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Neighborhood Map</title>
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/app.css">
</head>
<body>
<main class="main main-flex">
<section class="section section-first">
<div class="field category-field">
<select class="input" data-bind="options: allCategories, value: selectedCategory"></select>
</div>
<ol class="location-list" data-bind="foreach: filteredLocations">
<li class="location-item">
<a data-bind="click: $parent.handleLocationClick">
<span class="location-number" data-bind="text: number"></span>.
<span class="location-name" data-bind="text: name"></span>
</a>
</li>
</ol>
</section>
<section class="section section-middle">
<div id="map"></div>
</section>
<section class="section section-last">
<article class="location" data-bind="with: selectedLocation">
<h2 class="location-name" data-bind="text: name"></h2>
<p class="location-category" data-bind="text: category"></p>
<p class="location-hours" data-bind="text: hours"></p>
<article class="location-tips" data-bind="foreach: tips">
<p class="location-tip-content" data-bind="text: content"></p>
<p class="location-tip-author">
–
<span data-bind="text: author"></span>
</p>
</article>
<footer>
<p class="location-attribution">
Powered by
<a href="https://foursquare.com" target="_blank">Foursquare</a>
</p>
</footer>
</article>
</section>
</main>
<footer>
<div class="notification">
<p></p>
</div>
</footer>
<script src="/js/jquery.min.js"></script>
<script src="/js/knockout.min.js"></script>
<script src="/js/app.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=GOOGLE_MAPS_API_KEY&callback=initMap" async defer onerror="handleMapError()"></script>
</body>
</html>