forked from udacity/mws-restaurant-stage-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
restaurant.html
108 lines (90 loc) · 3.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme-color" content="#252830">
<title>Restaurant Info</title>
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="img/icon.ico">
<link rel="dns-prefetch" src="//normalize-css.googlecode.com/svn/trunk/normalize.css">
<link rel="dns-prefetch" src="https://maps.googleapis.com">
<link rel="dns-prefetch" src="https://fonts.googleapis.com">
<link rel="dns-prefetch" src="http://localhost:1337">
<link rel="preload" href="css/styles.css" as="style">
<link rel="preload" href="css/responsive.css" as="style">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/responsive.css">
</head>
<body class="inside">
<header>
<nav class="header">
<h1><a href="/">Restaurant Reviews</a></h1>
</nav>
<nav
role="navigation"
aria-label="Breadcrumb"
class="breadcrumb"
>
<ol>
<li><a href="/">Home</a></li>
</ol>
</nav>
</header>
<main role="main">
<section class="content">
<section class="map">
<div id="map" role="application"></div>
</section>
<section class="restaurant">
<h2 class="restaurant__name"></h2>
<img class="restaurant__image">
<p class="restaurant__cuisine"></p>
<p class="restaurant__address"></p>
<table class="restaurant__hours"></table>
</section>
<section class="reviews">
<ul class="reviews-list">
<li>
<form
id="add-review-form"
role="form"
aria-labelledby="add-review"
>
<fieldset>
<legend id="add-review">Add a review</legend>
<label id="username">Username: </label>
<input type="text" aria-labelledby="username" name="name">
<label id="restaurant_id">Restaurant ID: </label>
<input type="text" aria-labelledby="restaurant_id" name="restaurant_id">
<label for="rating">Rating: </label>
<select id="rating" name="rating" form="add-review-form">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5" selected>5</option>
</select>
<label id="comments">Comments: </label>
<textarea aria-labelledby="comments" name="comments"></textarea>
<br>
<input id="add-review-form-button" type="submit" value="Submit" />
</fieldset>
</form>
</li>
</ul>
</section>
</section>
<footer class="footer">
Copyright (c) 2018 <a href="/"><strong>Restaurant Reviews</strong></a> All Rights Reserved.
</footer>
</main>
<script async defer src="js/idb.js"></script>
<script async defer src="js/store.js"></script>
<script async defer src="sw.js"></script>
<script async defer src="js/dbhelper.js"></script>
<script async defer src="js/restaurant_info.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBkgHfsjfdpAaamtxsilyLtiLmBZAEDfbk&libraries=places&callback=initMap"></script>
</body>
</html>