-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathordering.html
83 lines (79 loc) · 5.89 KB
/
ordering.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elite Shop</title>
<link rel="icon" href="images/icon.svg">
<link rel = "stylesheet" href = " https://unpkg.com/simplebar@latest/dist/simplebar.css"/>
<link rel="stylesheet" href="fonts/fonts.css">
<link rel="stylesheet" href="css/blocks.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<main>
<div class="es-container">
<div class="es-breadcrumbs">
<a href="index.html">Главная</a> /
<a href="cart.html">Корзина</a> /
<span>Оформление заказа</span>
</div>
<div class="es-ordering">
<div class="es-ordering__content es-margin-top80">
<h2 class="es-title--h2 es-modal__title">Оформление заказа</h2>
<form class="es-ordering__form">
<input class="es-input-text es-input--hover es-input--focus" type="text" name="firstName" placeholder="Имя" required>
<input class="es-input-text es-input--hover es-input--focus es-margin-top" type="email" name="email" placeholder="Email" required>
<input class="es-input-text es-input--hover es-input--focus es-margin-top" type="tel" name="number" placeholder="Телефон" required>
<textarea class="es-input-text es-input--hover es-input--focus es-ordering__textarea es-margin-top" name="comment" placeholder="Комментарий"></textarea>
<div class="es-ordering__shipping-and-payment">
<div class="es-ordering__shipping-and-payment-item es-margin-top">
<h3 class="es-title--h3-bold">Способы доставки</h3>
<div class="es-ordering__radio-btns">
<label class="es-input es-modal__radio-btn">
<input class="es-input__radio" type="radio" name="shipping" value="Курьером" required>
<span class="es-input__radio-style"><span class="es-input__radio-style-span"></span></span>
<span class="es-input__text">Курьером</span>
</label>
<label class="es-input">
<input class="es-input__radio" type="radio" name="shipping" value="Самовывоз" required>
<span class="es-input__radio-style"><span class="es-input__radio-style-span"></span></span>
<span class="es-input__text">Самовывоз</span>
</label>
</div>
</div>
<div class="es-ordering__shipping-and-payment-item es-margin-top">
<h3 class="es-title--h3-bold">Способы оплаты</h3>
<div class="es-ordering__radio-btns">
<label class="es-input es-modal__radio-btn">
<input class="es-input__radio" id="btn-bank-card" type="radio" name="payment" value="Банковская карта" onclick="checkedOrNotChecked('btn-bank-card', 'es-ordering__bank-card')" required>
<span class="es-input__radio-style"><span class="es-input__radio-style-span"></span></span>
<span class="es-input__text">Банковская карта</span>
</label>
<label class="es-input">
<input class="es-input__radio" type="radio" name="payment" value="Наличными" onclick="checkedOrNotChecked('btn-bank-card', 'es-ordering__bank-card')" required>
<span class="es-input__radio-style"><span class="es-input__radio-style-span"></span></span>
<span class="es-input__text">Наличными</span>
</label>
</div>
</div>
</div>
<div class="es-ordering__bank-card es-hide" id="es-ordering__bank-card">
<input class="es-input-text es-input--hover es-input--focus es-margin-top es-ordering__input-card-number" type="number" name="сard number" placeholder="Номер карты" onkeypress="this.value=this.value.substring(0,15)" required>
<input class="es-input-text es-input--hover es-input--focus es-margin-top es-ordering__input-cvv" type="number" name="CVV" placeholder="CVV" onkeypress="this.value=this.value.substring(0,2)" required>
<input class="es-input-text es-input--hover es-input--focus es-margin-top es-ordering__input-mmgg" type="text" name="ММ/ГГ" placeholder="ММ / ГГ" onkeypress="this.value=this.value.substring(0,4)" required>
</div>
<button class="es-btn es-btn--size-all-width es-btn--style-inherit-orange es-margin-top" type="submit">Оформить заказ</button>
</form>
</div>
</div>
</div>
</main>
<script src = " https://unpkg.com/simplebar@latest/dist/simplebar.min.js " ></script>
<script src="js/modal.js"></script>
<script src="js/header.js"></script>
<script src="js/footer.js"></script>
<script src="js/script.js"></script>
</body>
</html>