-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
227 lines (185 loc) · 9.27 KB
/
cart.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
<!--Inserting Bootstrap File V4.0-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--Inserting Bootstrap File V5.2-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<!--Inserting External CSS File -->
<link rel="stylesheet" href="asset/css/cart.css">
<!--Inserting External JS File -->
<script src="./asset/js/function.js"></script>
<!--Inserting Font Awesome icon File -->
<script src="https://use.fontawesome.com/886e3da45d.js"></script>
<link href="https://emoji-css.afeld.me/emoji.css" rel="stylesheet">
<!--Inserting Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Timmana&display=swap" rel="stylesheet">
<script>
var a = 0;
function incresingone()
{
a++;
document.getElementById('inc-dec-one').value = a;
}
function decresingone()
{
a--;
document.getElementById('inc-dec-one').value = a;
}
var b=0;
function increasingtwo()
{
b++;
document.getElementById('inc-dec-two').value = b;
}
function decreasingtwo()
{
b--;
document.getElementById('inc-dec-two').value = b;
}
var c=0;
function increasingthree()
{
c++;
document.getElementById('inc-dec-three').value = c;
}
function decreasingthree()
{
c--;
document.getElementById('inc-dec-three').value = c;
}
</script>
</head>
<body>
<header><h1><img src="asset/images/logo/mylogo.png" width="50px" height="50px" alt=""> Vibe With Briyani</h1></header>
<!-- Cart -->
<div style="margin-top: 40px;" class="container">
<div class="col-lg-auto ">
<div>
<div class="table-responsive">
<table class="table .table-borderless .table-feature" align="center;" >
<thead>
<tr>
<td class="hidden-xs head" >Image</td>
<td class="head">Dish Name</td>
<td class="td-qty head">Quantity</td>
<td class="head"> Price</td>
<td class="head">Sub Total</td>
<td class="head">Remove</td>
</tr>
</thead>
<tbody>
<tr>
<td class="hidden-xs">
<img src="asset/images/briyani/chicken briyani" alt="" title="" width="160" height="120">
</td>
<td class="body">Chicken Briyani</td>
<td>
<div class="input-group body" style="display: block;">
<span class="input-group-btn" onclick="multiplyBriyani()">
<button class="btn btn-default bootstrap-touchspin-down" onclick="decresingone()" type="button">-</button>
</span>
<span class="input-group-addon "></span>
<input type="text" id="inc-dec-one" name="" min="0" value="0" class="input-qty text-center">
<span class="input-group-addon "></span>
<span class="input-group-btn" onclick="multiplyBriyani()">
<button class="btn btn-default" onclick="incresingone()" type="button">+</button>
</span>
</div>
</td>
<td class="price body">₹210</td>
<td class="body">₹<span id="briyani">0</span></td>
<td class="text-center">
<a href="#" class="remove_cart" rel="2">
<i class="fa fa-trash-o"></i>
</a>
</td>
</tr>
<tr>
<td class="hidden-xs">
<img src="asset/images/starters/chicken manchurian.webp" alt="" title="" width="160" height="120">
</td>
<td class="body">Chicken Manchurian</td>
<td >
<div class="input-group body" style="display: block;">
<span class="input-group-btn" onclick="multiplyStarters()">
<button class="btn btn-default bootstrap-touchspin-down" onclick="decreasingtwo()" type="button">-</button>
</span>
<span class="input-group-addon bootstrap-touchspin-prefix" style="display:flexbox;align-items: center;"></span>
<input type="text" name="" value="0" id="inc-dec-two" class="input-qty text-center" style="display: flexbox;align-items: center;">
<span class="input-group-addon bootstrap-touchspin-postfix" style="display:flexbox;align-items: center;"></span>
<span class="input-group-btn" onclick="multiplyStarters()">
<button class="btn btn-default bootstrap-touchspin-up" onclick="increasingtwo()" type="button">+</button>
</span>
</div>
</td>
<td class="price body">₹190</td>
<td class="body">₹<span id="starters">0</span></td>
<td class="text-center">
<a href="#" class="remove_cart" rel="2">
<i class="fa fa-trash-o"></i>
</a>
</td>
</tr>
<tr>
<td class="hidden-xs">
<img src="asset/images/juice/orange juice.webp" alt="" title="" width="160" height="120">
</td>
<td class="body">Orange Juice</td>
<td>
<div class="input-group body" style="display: block;">
<span class="input-group-btn" onclick="multiplyJuices()">
<button class="btn btn-default bootstrap-touchspin-down" onclick="decreasingthree()" type="button">-</button>
</span>
<span class="input-group-addon bootstrap-touchspin-prefix" style="display: flexbox;"></span>
<input type="text" name="" id="inc-dec-three" value="0" class="input-qty text-center" style="display:flexbox;">
<span class="input-group-addon bootstrap-touchspin-postfix" style="display:flexbox;"></span>
<span class="input-group-btn" onclick="multiplyJuices()">
<button class="btn btn-default bootstrap-touchspin-up" onclick="increasingthree()" type="button">+</button>
</span>
</div>
</td>
<td class="price body">₹80</td>
<td class="body">₹<span id="juices">0</span></td>
<td class="text-center">
<a href="#" class="remove_cart" rel="2">
<i class="fa fa-trash-o"></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-6">
<a href="Our Menu.html" class="water" style="margin-left: 200px;margin-top: 50px;">
<span>Order more</span>
<div class="liquid"></div>
</a>
</div>
<div class="col-lg-3" >
<span><strong style="font-size: 25px;padding-bottom: 20px;">Price = ₹<span id="total">770</span></strong> <br>
<strong style="font-size: 25px;padding-bottom: 20px;">CGST = ₹3.86</strong> <br>
<strong style="font-size: 25px;padding-bottom: 20px;">SGST = ₹3.86</strong> <br>
<strong style="font-size: 25px;padding-bottom: 20px;">Total Cost = ₹777</strong><br> </div>
<div class="col-lg-3">
<a href="form.html" class="book" style="margin-left: 30px;margin-top: 50px;text-decoration: none;">Book </a></span>
</div>
</div>
</div><br><br><br>
=
</body>
</html>
<!--<div class="btn-group btns-cart">
<button type="button" class="btn btn-primary"><i class="fa fa-arrow-circle-left"></i> Continue Shopping</button>
<button type="button" class="btn btn-primary">Update Cart</button>
<button type="button" class="btn btn-primary">Checkout <i class="fa fa-arrow-circle-right"></i></button>
</div>-->