-
Notifications
You must be signed in to change notification settings - Fork 0
/
restaurant.html
114 lines (104 loc) · 4.43 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#3397DB">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="restaurants, review, food, cousins">
<meta name="description" content="Restaurant Review Applications help you to choose your best restaurant and see the review from other users"/>
<!-- 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">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin=""/>
<title>Restaurant Info</title>
</head>
<body class="inside">
<!-- Beginning header -->
<header>
<!-- Beginning nav -->
<nav>
<h1><a href="/">Restaurant Reviews</a></h1>
</nav>
<!-- Beginning breadcrumb -->
<nav aria-label="Breadcrumb" role="navigation">
<ul id="breadcrumb">
<li><a href="/">Home</a></li>
</ul>
</nav>
<!-- End breadcrumb -->
<!-- End nav -->
</header>
<!-- End header -->
<!-- Beginning main -->
<main id="maincontent">
<!-- Beginning map -->
<section id="map-container">
<div id="map" role="application" role="application" aria-hidden="true" aria-describedby="map-text"></div>
<span hidden id="map-text">restaurant location on the map</span>
</section>
<!-- End map -->
<!-- Beginning restaurant -->
<section id="restaurant-container">
<h1 id="restaurant-name"></h1>
<div class="restaurant-img-cont">
<img id="restaurant-img">
<div class="restaurant-add-favourite">
<label for="addToFavourite">
<input type="checkbox" id="addToFavourite" class="">
<span></span>
</label>
</div>
</div>
<p id="restaurant-cuisine"></p>
<p id="restaurant-address"></p>
<table id="restaurant-hours"></table>
</section>
<!-- end restaurant -->
<!-- Beginning reviews -->
<section id="reviews-container">
<ul id="reviews-list"></ul>
</section>
<!-- End reviews -->
<!-- Adding Review Form -->
<section id="adding-review-container">
<p>
We would love to know your opinion of this restaurant, <br> anna add some review about it ?! </p>
<form id="reviews-form" class="reviews-form" action="">
<div class="reviews-form-item">
<label for="name">What is your name</label>
<input type="text" id="name" name="name" placeholder="Your Name" required>
</div>
<div class="reviews-form-item">
<label for="rating">what is your rating for this restaurant ?</label>
<select name="rating" id="rating">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
<div class="reviews-form-item">
<label for="review">wanna add some review for it ?!</label>
<textarea name="comments" id="review" rows="4" placeholder="Write your review here"></textarea>
</div>
<div class="reviews-form-item reviews-form-item-button ">
<input type="submit" value="Submit Review">
</div>
</form>
</section>
</main>
<!-- End main -->
<!-- Beginning footer -->
<footer id="footer">
Copyright (c) 2017 <a href="/"><strong>Restaurant Reviews</strong></a> All Rights Reserved.
</footer>
<!-- End footer -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script>
<script type="application/javascript" charset="utf-8" src="node_modules/idb/lib/idb.js"></script>
<script type="text/javascript" src="js/dbhelper.js"></script>
<script type="text/javascript" src="js/restaurant_info.js"></script>
<script type="application/javascript" charset="utf-8" src="js/register-sw.js"></script>
</body>
</html>