-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorders.handlebars
246 lines (197 loc) · 9.81 KB
/
orders.handlebars
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./views/public/scripts/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./views/public/scripts/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./views/public/scripts/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="./views/public/scripts/fonts/themify/themify-icons.css">
<link rel="stylesheet" type="text/css" href="./views/public/scripts/fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
<link rel="stylesheet" type="text/css" href="./views/public/scripts/fonts/elegant-font/html-css/style.css">
<link rel="stylesheet" type="text/css" href="./views/public/scripts/css-hamburgers/hamburgers.min.css">
<link rel="stylesheet" type="text/css" href="./views/public/css/util.css">
<link rel="stylesheet" type="text/css" href="./views/public/css/main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,900);
</style>
</head>
<body>
<header class="header1">
<!-- Header desktop -->
<div class="container-menu-header">
<div class="wrap_header">
<!-- Logo -->
<a href="index.html" class="logo">
<img src="./public/images/logo/logo.jpg" alt="IMG-LOGO">
</a>
<div class="header-icons">
<div class="dropdown">
<img src={{userDisplayPicture}} class="header-icon1" class="dropdown-toggle" data-toggle="dropdown" alt="ICON" style="border-radius:50%; height:32px;">
<ul class="dropdown-menu">
<li>
<a href="./restaurants">Restaurants</a>
</li>
<li>
<a href="./orders">Orders</a>
</li>
<li>
<a href="./logout">Logout</a>
</li>
</ul>
</div>
<span class="linedivide1"></span>
<div class="header-wrapicon2">
<img src="./public/images/icons/cart.png" class="header-icon1 js-show-header-dropdown" alt="ICON">
<span class="header-icons-noti">{{cartQuantity}}</span>
<div class="header-cart header-dropdown">
<ul class="header-cart-wrapitem">
{{!-- cartItems notifications --}}
</ul>
<div class="header-cart-total">
{{!-- cartItems total --}}
</div>
<div class="header-cart-buttons">
<div class="header-cart-wrapbtn">
<a href="./viewCartItems" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
View Cart
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- Header Mobile -->
<div class="wrap_header_mobile">
<!-- Logo moblie -->
<a href="index.html" class="logo-mobile">
<img src="./public/images/logo/logo.png" alt="IMG-LOGO">
</a>
<!-- Button show menu -->
<div class="btn-show-menu">
<!-- Header Icon mobile -->
<div class="header-icons-mobile">
<div class="dropdown">
<img src={{userDisplayPicture}} class="header-icon1" class="dropdown-toggle" data-toggle="dropdown" alt="ICON" style="border-radius:50%; height:32px;">
<ul class="dropdown-menu">
<li>
<a href="./restaurants">Restaurants</a>
</li>
<li>
<a href="./orders">Orders</a>
</li>
<li>
<a href="./logout">Logout</a>
</li>
</ul>
</div>
<span class="linedivide2"></span>
<div class="header-wrapicon2">
<img src="./public/images/icons/cart.png" class="header-icon1 js-show-header-dropdown" alt="ICON">
<span class="header-icons-noti cartQuantity">{{cartQuantity}}</span>
<!-- Header cart noti -->
<div class="header-cart header-dropdown">
<ul class="header-cart-wrapitem">
{{!-- mobile cart notification --}}
</ul>
<div class="header-cart-total">
{{!-- mobile total cost --}}
</div>
<div class="header-cart-buttons">
<div class="header-cart-wrapbtn">
<a href="./viewCartItems" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
View Cart
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<section class="cart bgwhite p-t-70 p-b-100">
<div class="container">
<!-- Cart item -->
<div class="container-table-cart pos-relative">
<div class="wrap-table-shopping-cart bgwhite">
<table class="table-shopping-cart">
<tr class="table-head">
<th class="column-1">Image</th>
<th class="column-2">Item</th>
<th class="column-3">Restaurant</th>
<th class="column-4">Cost</th>
<th class="column-5 p-l-10">Quantity</th>
<th class="column-6">Total</th>
</tr>
{{#each orders}}
<tr class="table-row">
<td class="column-1">
<div class="cart-img-product b-rad-4 o-f-hidden">
<img src={{itemImage}} alt="IMG-PRODUCT">
</div>
</td>
<td class="column-2">{{itemName}}</td>
<td class="column-3">{{restaurantName}}</td>
<td class="column-4">{{itemCost}}</td>
<td class="column-5">
<div class="">
<p>{{itemQuantity}}</p>
</div>
</td>
{{!-- total cost of item --}}
<td class="column-6">
<span class="total-item-cost"></span>
</td>
</tr>
{{/each}}
</table>
</div>
</div>
</div>
</section>
<footer class="bg6 p-t-45 p-b-43 p-l-45 p-r-45">
<div class="flex-w p-b-90">
<div class="w-size6 p-t-30 p-l-15 p-r-15 respon3">
<h4 class="s-text12 p-b-30">
</h4>
<div>
<p class="s-text7 w-size27">
Any issuses? Let us know ph.no 7095237775
</p>
<div class="flex-m p-t-30">
<a href="#" class="fs-18 color1 p-r-20 fa fa-facebook"></a>
<a href="#" class="fs-18 color1 p-r-20 fa fa-instagram"></a>
<a href="#" class="fs-18 color1 p-r-20 fa fa-pinterest-p"></a>
<a href="#" class="fs-18 color1 p-r-20 fa fa-snapchat-ghost"></a>
<a href="#" class="fs-18 color1 p-r-20 fa fa-youtube-play"></a>
</div>
</div>
</div>
<div class="w-size8 p-t-30 p-l-15 p-r-15 respon3">
<h4 class="s-text12 p-b-30">
Enquiries
</h4>
<form>
<div class="effect1 w-size9">
<input class="s-text7 bg6 w-full p-b-5" type="text" name="email" placeholder="email@example.com">
<span class="effect1-line"></span>
</div>
<div class="w-size2 p-t-20">
<button class="flex-c-m size2 bg4 bo-rad-23 hov1 m-text3 trans-0-4">
Send
</button>
</div>
</form>
</div>
</div>
</footer>
<script type="text/javascript" src="./views/public/scripts/jquery/dist/jquery.min.js"> </script>
<script type="text/javascript" src="./views/public/scripts/sweetalert/sweetalert.min.js"> </script>
<script type="text/javascript" src="./views/public/scripts/custom/cart.js"></script>
<script type="text/javascript" src="./views/public/scripts/custom/orderFunctions.js"></script>
</body>
</html>