-
Notifications
You must be signed in to change notification settings - Fork 0
/
restaurant.html
101 lines (93 loc) · 4.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#252831" />
<link rel="manifest" href="./manifest.webmanifest">
<!-- Normalize.css for better cross-browser consistency -->
<link rel="stylesheet" href="css/normalize.css">
<!-- Main CSS file -->
<link rel="stylesheet" href="css/styles.css" type="text/css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin="" />
<link rel="shortcut icon" href="/favicon.ico" />
<title>Restaurant Info</title>
</head>
<body class="inside">
<!-- Beginning header -->
<header>
<!-- Beginning nav -->
<nav>
<h1><a href="/">Restaurant Reviews</a></h1>
</nav>
<!-- Beginning breadcrumb -->
<ul id="breadcrumb" aria-label="Breadcrumb" role="navigation">
<li><a href="/">Home</a></li>
</ul>
<!-- End breadcrumb -->
<!-- End nav -->
</header>
<!-- End header -->
<!-- Beginning main -->
<main id="maincontent" class="restaurant-page">
<!-- Beginning map -->
<section id="map-container">
<div id="map" aria-label="location" role="application"></div>
</section>
<!-- End map -->
<div>
<!-- Beginning restaurant -->
<section id="restaurant-container">
<h2 id="restaurant-name"></h2>
<img id="restaurant-img">
<p id="restaurant-cuisine"></p>
<p id="restaurant-address"></p>
<table id="restaurant-hours"></table>
</section>
<!-- end restaurant -->
<!-- Beginning review form -->
<section id="review-form-section">
<h3>Add your review</h3>
<form id="review-form">
<label for="review-author">Author</label>
<div>
<input id="review-author" name="name" type="text" required placeholder="Your name" />
</div>
<div class="rating-values">
<label for="rating-values-list">Select your rating</label>
<select aria-label="Select your rating" id="rating-values-list" name="Rating">
<option value="5">5 stars</option>
<option value="4">4 stars</option>
<option value="3">3 stars</option>
<option value="2">2 stars</option>
<option value="1">1 stars</option>
</select>
</div>
<label for="review-comment">Your Comment</label>
<div>
<textarea id="review-comment" name="comment" rows="5"></textarea>
</div>
<div id="review-form-error"></div>
<button class="submit-review" onclick="createReview()">Post Review</button>
</form>
</section>
<!-- End review form -->
<!-- Beginning reviews -->
<section id="reviews-container">
<ul id="reviews-list"></ul>
</section>
<!-- End reviews -->
</div>
</main>
<!-- End main -->
<!-- Beginning footer -->
<footer id="footer">
<span>Copyright (c) 2017 <a href="/"><strong>Restaurant Reviews</strong></a> All Rights Reserved.</span>
</footer>
<!-- End footer -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script>
<!-- Beginning scripts -->
<script type="application/javascript" charset="utf-8" src="js/app.js"></script>
<script type="text/javascript" src="js/restaurant_info.js"></script>
</body>
</html>