-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (62 loc) · 2.71 KB
/
index.html
File metadata and controls
70 lines (62 loc) · 2.71 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
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<title>NoMAD</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/styles_1024.css" type="text/css">
<link rel="stylesheet" media="screen and (max-width:700px)" href="css/styles_700.css">
<link rel="stylesheet" media="screen and (max-width:420px)" href="css/styles_420.css">
</head>
<body>
<header>
<nav>
<h1><a id="header" href="/" tabindex="-1" aria-label="Link Restaurant Reviews">NoMAD</a></h1>
</nav>
</header>
<main id="maincontent">
<section id="map-container" tabindex="-1" aria-label="Google Map" aria-hidden="true">
<div id="map" role="application" aria-hidden="true"></div>
</section>
<section>
<div class="filter-options">
<h2>Filter Results</h2>
<select tabindex="1" id="neighborhoods-select" name="neighborhoods" aria-label="Select Neighborhood" onchange="updateRestaurants()">
<option value="all">All Categories</option>
</select>
<select tabindex="2" id="cuisines-select" name="cuisines" aria-label="Select Cusisine" onchange="updateRestaurants()">
<option value="all">All Items</option>
</select>
</div>
<ul id="restaurants-list"></ul>
</section>
</main>
<!-- Beginning scripts -->
<!-- Service Worker Registration -->
<!--script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('./sw.js').then(function (registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}, function (err) {
console.log('ServiceWorker registration failed: ', err);
});
});
}
else{
console.log('ServiceWorker registration failed: ', err);
}
</script-->
<script type="application/javascript" charset="utf-8" src="js/dbhelper.js"></script>
<script type="application/javascript" charset="utf-8" src="js/main.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDxzfjJXaXED2RoCNrW8HtRv7bkHngNP8g&libraries=places&callback=initMap"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCP3yO0nubZ8vCiyK-ZF-XEJ7VQWe6wVIM&libraries=geometry"></script>
<script type="text/javascript" src="js/examples.js"></script>
<script type="text/javascript" src="js/openlocationcode.min.js"></script>
<footer id="footer">
Copyright (c) 2017 <a href="/"><strong>Nomad</strong></a> All Rights Reserved.
</footer>
</body>
</html>