forked from udacity/mws-restaurant-stage-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
restaurant.html
115 lines (97 loc) · 3.61 KB
/
restaurant.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content=" width=device-width, initial-scale=1.0">
<meta name="description" content="Restaurant Reviews - Review your favorite restaurant">
<meta name="keywords" content="restaurant, reviews, progressive web app, image responsive">
<!--Mobile Web Friendly-->
<meta name="mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!--Mobile Theme Header-->
<meta name="theme-color" content="#f3f3f3">
<!-- Normalize.css for better cross-browser consistency -->
<link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />
<!-- Main CSS file -->
<link rel="stylesheet" href="css/styles.css" type="text/css">
<title>Restaurant Info</title>
</head>
<body class="inside">
<!-- Beginning header -->
<header>
<!-- Beginning nav -->
<nav aria-label="Breadcrumb" class="breadcrumb">
<h1>
<a href="/">Restaurant Reviews</a>
</h1>
<!-- Beginning breadcrumb -->
<ul id="breadcrumb">
<li>
<a href="/" aria-current="page">Home</a>
</li>
</ul>
<!-- End breadcrumb -->
</nav>
<!-- End nav -->
</header>
<!-- End header -->
<!-- Beginning main -->
<main id="maincontent">
<!-- Beginning restaurant -->
<section id="restaurant-container">
<h2 id="restaurant-name"></h2>
<img id="restaurant-img">
<p id="restaurant-cuisine"></p>
</section>
<section id="restaurant-address-hours">
<p id="restaurant-address" aria-labelledby="restaurant-address-label"></p>
<label id="restaurant-address-label" class="restaurant-info-label">address</label>
<!-- Beginning map -->
<section id="map-container" aria-labelledby="map-aria-description" role="application">
<div id="map"></div>
</section>
<label id="map-aria-description" class="map-aria-description">Google map application</label>
<!-- End map -->
<div id="restaurant-hours-flexible">
<table id="restaurant-hours" aria-labelledby="restaurant-hours-label"></table>
<label id="restaurant-hours-label" class="restaurant-info-label">hours of operation</label>
</div>
</section>
<!-- end restaurant -->
<!-- Beginning reviews -->
<section id="reviews-container">
<ul id="reviews-list"></ul>
</section>
<!-- End reviews -->
</main>
<!-- End main -->
<!-- Beginning footer -->
<footer id="footer">
Copyright (c) 2017
<a class="footer-company-name"href="/">
<span>
<strong class="company-name">Restaurant Reviews</strong>
</span>
</a> All Rights Reserved.
</footer>
<!-- End footer -->
<!-- Beginning scripts -->
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js', { scope: '/' })
.then(function(registration) {
console.log('Service Worker Registered');
});
navigator.serviceWorker.ready.then(function(registration) {
console.log('Service Worker Ready');
});
}
</script>
<script type="text/javascript" src="js/dbhelper.js"></script>
<script type="text/javascript" src="js/restaurant_info.js"></script>
<!-- Google Maps -->
<script async defer src="https://maps.googleapis.com/maps/api/js?libraries=places&callback=initMap"></script>
<!-- End scripts -->
</body>
</html>