forked from udacity/mws-restaurant-stage-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (63 loc) · 2.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Normalize.css for better cross-browser consistency -->
<link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="
crossorigin="" />
<title>Restaurant Reviews</title>
</head>
<body>
<!-- Beginning header -->
<header role="banner">
<!-- Beginning nav -->
<nav>
<h1 aria-label="Return to Home Page"><a href="/">Restaurant Reviews</a></h1>
</nav>
<!-- End nav -->
</header>
<!-- End header -->
<!-- Beginning main -->
<main role="main" aria-label="Interactive Restaurant Map of New York" id="maincontent">
<!-- Beginning map -->
<section id="map-container">
<div role="application" id="map" aria-label="Restaurant location Map"></div>
</section>
<!-- End map -->
<section role="region" aria-label="Filter results">
<div role="search" aria-label="Filter Options" class="filter-options">
<div class="filter-title">
<h2>Filter Results</h2>
</div>
<div class="filter-hoods" aria-labelledby="neighborhoods-select"><select id="neighborhoods-select" aria-label="Select Neighborhoods"
name="neighborhoods" onchange="updateRestaurants()">
<option value="all">All Neighborhoods</option>
</select></div>
<div class="filter-foods" aria-labelledby="cuisines-select"> <select id="cuisines-select" aria-label="Select Cuisine"
name="cuisines" onchange="updateRestaurants()">
<option value="all">All Cuisines</option>
</select></div>
</div>
<ul id="restaurants-list" role="list" aria-label="Restaurant Details"></ul>
</section>
</main>
<!-- End main -->
<!-- Beginning scripts -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw=="
crossorigin=""></script>
<script src="js/dbhelper.js"></script>
<script src="js/main.js"></script>
<!-- <script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_MAPS_API_KEY&libraries=places&callback=initMap"></script> -->
<script src="serviceworker.js"></script>
<!-- End scripts -->
<!-- Beginning footer -->
<footer role="contentinfo" id="footer">
Copyright (c) 2017 <a href="/" role="navigation" aria-label="Return to Home Page"><strong>Restaurant Reviews</strong></a>
All Rights Reserved.
</footer>
<!-- End footer -->
</body>
</html>