-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzamowienie.html
292 lines (289 loc) · 16.5 KB
/
zamowienie.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html lang="pl" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Swojska Chata | najlepsze obiady domowe!</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="css/form.css" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="js/orderForm_functions.js"></script>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="index.html">Strona główna</a></li>
<li><a href="menu.html">Menu</a>
<ul>
<li><a href="menu.html#zupy">Zupy</a></li>
<li><a href="menu.html#glowne">Dania główne</a></li>
<li><a href="menu.html#maczne">Potrawy mączne</a></li>
</ul>
</li>
<li><a href="zamowienie.html">Zamów online</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
</ul>
</nav>
<div id="banner">
<div>
<h1>Swojska Chata</h1>
<h2>Najlepsze obiady domowe w okolicy</h2>
</div>
<img src="images/banner.jpg" alt="baner">
</div>
</header>
<main>
<button type="button" name="load" id="load">Załaduj poprzednie zamówienie</button>
<h2>Formularz zamówienia</h2>
<form action="mailto:[email protected]" method="post">
<input type="hidden" name="mode" id="mode" value="new">
<fieldset class="visibility" id="cart">
<fieldset>
<input type="radio" name="order_type" value="takeway" id="takeway" required><label for="takeway">Na wynos</label>
<input type="radio" name="order_type" value="delivery" id="delivery"><label for="delivery">Dostawa na adres</label>
</fieldset>
<fieldset id="menu_positions">
<legend>Menu</legend>
<fieldset>
<legend>Dania główne</legend>
<input type="checkbox" name="tradycyjny" id="tradycyjny">
<div class="menuPosition" id="div_tradycyjny">
<label for="tradycyjny"><span class="menuPosition_element dish_name">
Kotlet schabowy tradycyjny</span>
<span class="menuPosition_element price">9 zł</span></label>
</div>
<input type="checkbox" name="zapiekany" id="zapiekany">
<div class="menuPosition" id="div_zapiekany">
<label for="zapiekany"><span class="menuPosition_element dish_name">Kotlet schabowy zapiekany serem i pieczarką</span>
<span class="menuPosition_element price">11 zł</span></label>
</div>
<input type="checkbox" name="piers" id="piers">
<div class="menuPosition" id="div_piers">
<label for="piers"><span class="menuPosition_element dish_name">Pierś z kurczaka w panierce</span>
<span class="menuPosition_element price">9 zł</span></label>
</div>
<input type="checkbox" name="mielony" id="mielony">
<div class="menuPosition" id="div_mielony">
<label for="mielony"><span class="menuPosition_element dish_name">Kotlet mielony</span>
<span class="menuPosition_element price">9 zł</span></label>
</div>
<input type="checkbox" name="zeberka" id="zeberka">
<div class="menuPosition" id="div_zeberka">
<label for="zeberka"><span class="menuPosition_element dish_name">Żeberka wieprzowe</span>
<span class="menuPosition_element price">13 zł</span></label>
</div>
<input type="checkbox" name="bitka" id="bitka">
<div class="menuPosition" id="div_bitka">
<label for="bitka"><span class="menuPosition_element dish_name">Bitka wołowa</span>
<span class="menuPosition_element price">12 zł</span></label>
</div>
<input type="checkbox" name="golabek" id="golabek">
<div class="menuPosition" id="div_golabek">
<label for="golabek"><span class="menuPosition_element dish_name">Gołąbek</span>
<span class="menuPosition_element price">11 zł</span></label>
</div>
<input type="checkbox" name="udko" id="udko">
<div class="menuPosition" id="div_udko">
<label for="udko"><span class="menuPosition_element dish_name">Udko pieczone</span>
<span class="menuPosition_element price">9 zł</span></label>
</div>
<input type="checkbox" name="devolaille" id="devolaille">
<div class="menuPosition" id="div_devolaille">
<label for="devolaille"><span class="menuPosition_element dish_name">Kotlet de’volaille z serem i masłem</span>
<span class="menuPosition_element price">11 zł</span></label>
</div>
<input type="checkbox" name="gulasz" id="gulasz">
<div class="menuPosition" id="div_gulasz">
<label for="gulasz"><span class="menuPosition_element dish_name">Gulasz wieprzowy warzywami</span>
<span class="menuPosition_element price">11 zł</span></label>
</div>
<input type="checkbox" name="wegierski" id="wegierski">
<div class="menuPosition" id="div_wegierski">
<label for="wegierski"><span class="menuPosition_element dish_name">Placek po węgiersku</span>
<span class="menuPosition_element price">20 zł</span></label>
</div>
<input type="checkbox" name="filet" id="filet">
<div class="menuPosition" id="div_filet">
<label for="filet"><span class="menuPosition_element dish_name">Filet z dorsza w delikatnej panierce</span>
<span class="menuPosition_element price">12 zł</span></label>
</div>
</fieldset>
<fieldset>
<legend>Dodatki obiadowe do wyboru</legend>
<input type="checkbox" name="frytki" id="frytki">
<div class="menuPosition" id="div_frytki">
<label for="frytki"><span class="menuPosition_element dish_name">Frytki</span>
<span class="menuPosition_element price">5 zł</span></label>
</div>
<input type="checkbox" name="ziemniaki" id="ziemniaki">
<div class="menuPosition" id="div_ziemniaki">
<label for="ziemniaki"><span class="menuPosition_element dish_name">Ziemniaki</span>
<span class="menuPosition_element price">5 zł</span></label>
</div>
<input type="checkbox" name="opiekane" id="opiekane">
<div class="menuPosition" id="div_opiekane">
<label for="opiekane"><span class="menuPosition_element dish_name">Ziemniaki opiekane</span>
<span class="menuPosition_element price">6 zł</span></label>
</div>
<input type="checkbox" name="cheb" id="cheb">
<div class="menuPosition" id="div_cheb">
<label for="cheb"><span class="menuPosition_element dish_name">Chleb (2 kromki)</span>
<span class="menuPosition_element price">1 zł</span></label>
</div>
<input type="checkbox" name="surowki" id="surowki">
<div class="menuPosition" id="div_surowki">
<label for="surowki"><span class="menuPosition_element dish_name">Zestaw surówek</span>
<span class="menuPosition_element price">5 zł</span></label>
</div>
<input type="checkbox" name="kapusta" id="kapusta">
<div class="menuPosition" id="div_kapusta">
<label for="kapusta"><span class="menuPosition_element dish_name">Kapusta zasmażana </span>
<span class="menuPosition_element price">5 zł</span></label>
</div>
<input type="checkbox" name="ketchup" id="ketchup">
<div class="menuPosition" id="div_ketchup">
<label for="ketchup"><span class="menuPosition_element dish_name">Ketchup</span>
<span class="menuPosition_element price">1 zł</span></label>
</div>
</fieldset>
<fieldset>
<legend>Zupy</legend>
<input type="checkbox" name="pomidorowa" id="pomidorowa">
<div class="menuPosition" id="div_pomidorowa">
<label for="pomidorowa"><span class="menuPosition_element dish_name">Pomidorowa</span>
<span class="menuPosition_element price">6 zł</span></label>
</div>
<input type="checkbox" name="zurek" id="zurek">
<div class="menuPosition" id="div_zurek">
<label for="zurek"><span class="menuPosition_element dish_name">Żurek staropolski</span>
<span class="menuPosition_element price">8 zł</span></label>
</div>
<input type="checkbox" name="flaki" id="flaki">
<div class="menuPosition" id="div_flaki">
<label for="flaki"><span class="menuPosition_element dish_name">Flaki wołowe</span>
<span class="menuPosition_element price">9 zł</span></label>
</div>
<input type="checkbox" name="ukrainski" id="ukrainski">
<div class="menuPosition" id="div_ukrainski">
<label for="ukrainski"><span class="menuPosition_element dish_name">Barszcz ukraiński</span>
<span class="menuPosition_element price">7 zł</span></label>
</div>
<input type="checkbox" name="barszcz" id="barszcz">
<div class="menuPosition" id="div_barszcz">
<label for="barszcz"><span class="menuPosition_element dish_name">Barszcz czerwony z uszkami</span>
<span class="menuPosition_element price">7 zł</span></label>
</div>
<input type="checkbox" name="grochowa" id="grochowa">
<div class="menuPosition" id="div_grochowa">
<label for="grochowa"><span class="menuPosition_element dish_name">Grochowa</span>
<span class="menuPosition_element price">7 zł</span></label>
</div>
<input type="checkbox" name="rosol" id="rosol">
<div class="menuPosition" id="div_rosol">
<label for="rosol"><span class="menuPosition_element dish_name">Rosół domowy</span>
<span class="menuPosition_element price">5 zł</span></label>
</div>
<input type="checkbox" name="ogorek" id="ogorek">
<div class="menuPosition" id="div_ogorek">
<label for="ogorek"><span class="menuPosition_element dish_name">Ogórkowa</span>
<span class="menuPosition_element price">7 zł</span></label>
</div>
<input type="checkbox" name="szczawiowa" id="szczawiowa">
<div class="menuPosition" id="div_szczawiowa">
<label for="szczawiowa"><span class="menuPosition_element dish_name">Szczawiowa</span>
<span class="menuPosition_element price">6 zł</span></label>
</div>
</fieldset>
<fieldset>
<legend>Potrawy mączne</legend>
<input type="checkbox" name="pierogiMiesne" id="pierogiMiesne">
<div class="menuPosition" id="div_pierogiMiesne">
<label for="pierogiMiesne"><span class="menuPosition_element dish_name">Pierogi z mięsem</span>
<span class="menuPosition_element price">14 zł</span></label>
</div>
<input type="checkbox" name="pierogiKapustne" id="pierogiKapustne">
<div class="menuPosition" id="div_pierogiKapustne">
<label for="pierogiKapustne"><span class="menuPosition_element dish_name">Pierogi z kapustą</span>
<span class="menuPosition_element price">14 zł</span></label>
</div>
<input type="checkbox" name="ruskie" id="ruskie">
<div class="menuPosition" id="div_ruskie">
<label for="ruskie"><span class="menuPosition_element dish_name">Pierogi ruskie</span>
<span class="menuPosition_element price">14 zł</span></label>
</div>
<input type="checkbox" name="pierogiSerowe" id="pierogiSerowe">
<div class="menuPosition" id="div_pierogiSerowe">
<label for="pierogiSerowe"><span class="menuPosition_element dish_name">Pierogi z serem</span>
<span class="menuPosition_element price">14 zł</span></label>
</div>
<input type="checkbox" name="placki" id="placki">
<div class="menuPosition" id="div_placki">
<label for="placki"><span class="menuPosition_element dish_name">Placki ziemniaczane ze śmietaną (3 szt.)</span>
<span class="menuPosition_element price">9 zł</span></label>
</div>
<input type="checkbox" name="nalesniki" id="nalesniki">
<div class="menuPosition" id="div_nalesniki">
<label for="nalesniki"><span class="menuPosition_element dish_name">Naleśniki z serem, bitą śmietaną i owocami (1 szt.)</span>
<span class="menuPosition_element price">4,50 zł</span></label>
</div>
<input type="checkbox" name="leniwe" id="leniwe">
<div class="menuPosition" id="div_leniwe">
<label for="leniwe"><span class="menuPosition_element dish_name">Kluski leniwe na słodko</span>
<span class="menuPosition_element price">10 zł</span></label>
</div>
</fieldset>
</fieldset>
</fieldset>
<fieldset class="visibility" id="details">
<fieldset>
<legend>Dane osoby zamawiającej</legend>
<label for="name">Imię: </label><input type="text" name="name" id="name" pattern="^[A-Za-z](\D)+" title="Podaj co najmniej dwie litery. Nie uzywaj cyfr." required>
<label for="surname">Nazwisko: </label><input type="text" name="surname" id="surname" pattern="^[A-Za-z](\D)+" title="Podaj co najmniej dwie litery. Nie uzywaj cyfr." required>
<label for="phone">Nr telefonu: </label><input type="tel" name="phone" id="phone" pattern="^\d{9}" title="Podaj dziewięć cyfr bez spacji i innych znaków." required>
</fieldset>
<fieldset>
<legend>Czas realizacji</legend>
<input type="radio" name="time" value="asap" id="asap" required><label for="asap">Jak najszybciej</label>
<input type="radio" name="time" value="date" id="date"><label for="date">Wybieram przewidywany czas realizacji</label><br>
<span id="data_time">
<label for="hour">Godzina: </label><input type="time" name="hour" id="hour">
<label for="day">Data: </label><input type="date" name="day" id="day">
</span>
</fieldset>
<fieldset id="address">
<legend>Adres dostawy</legend>
<label for="street">Ulica: </label><input type="text" name="street" id="street" minlength="2" title="Podaj co najmniej dwa znaki.">
<label for="number">Numer: </label><input type="text" name="number" id="number"><br><br>
<label for="payment">Sposób płatności kurierowi: </label><select id="payment" name="payment">
<option value="cash">Gotowka</option>
<option value="card">Karta</option>
<option value="voucher">Bon rabatowy</option>
</select>
</fieldset>
<textarea name="uwagi" rows="3" cols="80" placeholder="Uwagi do zamówienia"></textarea>
<input type="submit" value="Zamawiam">
<p>UWAGA: płatność tylko przy odbiorze!</p>
</fieldset>
</form>
</main>
<footer>
<section id="links">
<h4>Na skróty:</h4>
<a href="index.html">Strona główna</a><br>
<a href="menu.html">Menu</a><br>
<a href="zamowienie.html">Zamów online</a><br>
</section>
<section class="contact">
<h4>Dane kontaktowe:</h4>
Restauracja Swojska Chata<br>
<a href="mailto:[email protected]"><span class="material-icons">email</span> [email protected]</a><br>
<a href="tel:+48225553040"><span class="material-icons">call</span> (+48) 22 555 30 40</a><br>
<a href="https://www.google.com/maps/place/Kr%C3%B3tka+11,+24-100+Pu%C5%82awy/" target="_blank"><span class="material-icons">location_on</span> ul. Krótka 11 00-001 Miasto</a><br>
</section>
<div>
<hr>© 2021 Mateusz Szewczyk
</div>
</footer>
</body>
</html>