-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestaurant.html
129 lines (89 loc) · 2.97 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Normalize.css for better cross-browser consistency -->
<link rel="stylesheet" media="all" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />
<!-- Main CSS file -->
<link rel="stylesheet" href="css/styles.css" type="text/css">
<link rel="manifest" href="/manifest.json">
<title>Restaurant Info</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffa500">
</head>
<body>
<!-- Beginning header -->
<header>
<!-- Beginning nav -->
<nav>
<h1><a href="/">Restaurant Reviews</a></h1>
<!-- Beginning breadcrumb -->
<ul id="breadcrumb" aria-label="breadcrumb">
<li><a href="/">Home</a></li>
</ul>
<!-- End breadcrumb -->
<!-- End nav -->
</nav>
</header>
<!-- End header -->
<!-- Beginning main -->
<main id="maincontent">
<!-- Beginning map -->
<section id="map-container" role="application">
</section>
<!-- End map -->
<!-- Beginning restaurant -->
<section id="restaurant-container">
<h2 id="restaurant-name"></h2>
<div>
<div id="fave-button" role="button" onclick="toggleFaveButton()">
<div class="star">
<img src="img/star.png" alt="star"> Unfavourite
</div>
<div class="star-outline">
<img src="img/star_outline.png" alt="star outline"> Favourite
</div>
</div>
</div>
<div class="restaurant-left">
<div class="restaurant-img-holder">
<img id="restaurant-img">
<p id="restaurant-cuisine"></p>
</div>
</div>
<div class="restaurant-right">
<p id="restaurant-address"></p>
<table id="restaurant-hours"></table>
</div>
</section>
<!-- end restaurant -->
<!-- Beginning reviews -->
<section id="reviews-container" style="clear: both">
<ul id="reviews-list"></ul>
</section>
<!-- End reviews -->
<!-- Beginning add review -->
<section id="add-review">
</section>
<!-- End add review -->
</main>
<!-- End main -->
<!-- Beginning footer -->
<footer id="footer">
Copyright (c) 2017 <a href="/"><strong>Restaurant Reviews</strong></a> All Rights Reserved.
</footer>
<!-- End footer -->
<!-- Beginning scripts -->
<script src="js/idb.js"></script>
<!--
<script type="application/javascript" charset="utf-8" src="js/main.js"></script>-->
<!-- Database helpers -->
<script type="text/javascript" src="js/dbhelper.js"></script>
<!-- Main javascript file -->
<script type="text/javascript" src="js/restaurant_info.js"></script>
<!-- Google Maps -->
<script type="application/javascript" charset="utf-8" src="sw.js"></script>
<!--
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC89Xoq-j_tvlTwr_T6772k0DvAi0aEvpI&libraries=places&callback=initRestMap"></script>-->
<!-- End scripts -->
</body>
</html>