-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
203 lines (193 loc) · 13 KB
/
form.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="css/style.css" rel="stylesheet">
<title>Отзыв</title>
</head>
<body>
<header class="page-header page-header--small">
<div class="page-header__wrapper">
<ul class="page-header__items">
<li class="page-header__item"><a class="page-header__link" href="index.html">Главная</a></li>
<li class="page-header__item"><a class="page-header__link" href="photo.html">Фото и видео</a></li>
<li class="page-header__item"><a class="page-header__link" href="#">Форма отзыва</a></li>
<li class="page-header__item"><a class="page-header__link" href="https://htmlacademy.ru">Html academy</a></li>
</ul>
<div class="page-header__logo">
<a class="page-header__logo-link" href="index.html">
<picture>
<source media="(min-width: 1200px)" srcset="img/logo-sedona-desktop.svg">
<source media="(min-width: 768px) and (max-width: 1199px)" srcset="img/logo-sedona-tablet.svg">
<img src="img/logo-sedona-mobile.svg" alt="Седона">
</picture>
</a>
<button class="page-header__trigger" type="button">
<svg version="1.0" id="Layer_1" fill="#81b3d2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="22.928px" height="21.982px" viewBox="0 0 22.928 21.982" enable-background="new 0 0 22.928 21.982" xml:space="preserve">
<g>
<rect width="22.928" height="3.964"/>
<rect y="9.009" width="22.928" height="3.964"/>
<rect y="18.018" width="22.928" height="3.964"/>
</g>
</svg>
</button>
</div>
</div>
</header>
<div class="promo promo--mini">
<div class="promo__wrapper">
<div class="promo__preview promo__preview--mini">
<img class="promo__img-text promo__img-text--mini" src="img/text-sedona.svg" alt="Седона">
<picture>
<source media="(min-width:768px) and (max-width: 1199px)" srcset="img/bg-intro-triangle-tablet.svg">
<source media="(min-width:1200px)" srcset="img/bg-intro-triangle-desktop.svg">
<img class="promo__img-triangle promo__img-triangle--mini" src="img/bg-intro-triangle-mobile.svg" alt="Треугольник">
</picture>
</div>
<div class="promo__item">
<h3 class="promo__title promo__title--big">Оставьте свой отзыв</h3>
<p class="promo__text promo__text--big">Помогите нашим отелям стать лучше оставьте отзыв о них, а также о посещённых вами достопримечательностях</p>
</div>
</div>
</div>
<form class="form" action="https://echo.htmlacademy.ru/">
<div class="form__wrapper">
<div class="form__field field-text">
<h3 class="field-text__title">Представьтесь:</h3>
<div class="field-text__items">
<label class="field-text__item">
<span class="field-text__text">Имя *</span>
<input class="field-text__input" type="text" name="name" placeholder="Петр" required>
</label>
<label class="field-text__item">
<span class="field-text__text">Фамилия*</span>
<input class="field-text__input field-text__input--small" type="text" name="surname" placeholder="Иванов" required>
</label>
<label class="field-text__item">
<span class="field-text__text">Отчество</span>
<input class="field-text__input field-text__input--small" type="text" name="patronymic" placeholder="Александрович">
</label>
</div>
</div>
<div class="form__field field-text field-text--wide">
<h3 class="field-text__title field-text__title--center">Контактная информация</h3>
<div class="field-text__items field-text__items--wide">
<label class="field-text__item field-text__item--wide field-text__item--wide-reverse">
<span class="field-text__text field-text__text--wide field-text__text--wide-reverse"><span class="field-text__hidden">Контактный </span>телефон</span>
<input class="field-text__input field-text__input--wide" type="tel" name="tel" placeholder="Введите телефон">
<span class="field-text__icon field-text__icon--phone"></span>
<span class="field-text__span">Ошибка, переправьте номер</span>
</label>
<label class="field-text__item field-text__item--wide">
<span class="field-text__text field-text__text--wide">Электронная почта *</span>
<input class="field-text__input field-text__input--wide" type="email" name="email" placeholder="Введите e-mail" required>
<span class="field-text__icon field-text__icon--email"></span>
</label>
</div>
</div>
<div class="form__field field-radio">
<h3 class="field-radio__title">Ваше общее впечатление:</h3>
<div class="field-radio__items">
<label class="field-radio__item">
<input class="field-radio__input" type="radio" name="radio" value="1" checked>
<span class="field-radio__text">Скорее положительное</span>
</label>
<label class="field-radio__item">
<input class="field-radio__input" type="radio" name="radio" value="2">
<span class="field-radio__text">Скорее отрицательное</span>
</label>
<label class="field-radio__item">
<input class="field-radio__input" type="radio" name="radio" value="3">
<span class="field-radio__text">Затрудняюсь ответить</span>
</label>
</div>
</div>
<div class="form__field field-checkbox">
<h3 class="field-checkbox__title">Посещённые достопримечательности:</h3>
<div class="field-checkbox__items">
<label class="field-checkbox__item">
<input class="field-checkbox__input" type="checkbox" name="checkbox-1" checked>
<span class="field-checkbox__text">Мост Дъявола</span>
</label>
<label class="field-checkbox__item">
<input class="field-checkbox__input" type="checkbox" name="checkbox-2" checked>
<span class="field-checkbox__text">Слайд-парк</span>
</label>
<label class="field-checkbox__item">
<input class="field-checkbox__input" type="checkbox" name="checkbox-3">
<span class="field-checkbox__text">Гора-Колокол</span>
</label>
<label class="field-checkbox__item">
<input class="field-checkbox__input" type="checkbox" name="checkbox-4" checked>
<span class="field-checkbox__text">Красные скалы</span>
</label>
</div>
</div>
<div class="form__field field-text field-text--small">
<label class="field-text__label" for="review">Опишите свои эмоции:</label>
<textarea class="field-text__textarea" type="text" id="review" name="review-field" placeholder="Опишите подробно все свои восторги"></textarea>
</div>
<div class="form__field field-action">
<input class="field-action__btn btn" type="submit" value="Отправить отзыв">
<div class="field-action__item">
<span class="field-action__text">* - обязательные поля</span>
</div>
</div>
</div>
</form>
<footer class="page-footer">
<div class="page-footer__wrapper">
<div class="page-footer__contacts page-footer__contacts--medium">
<div class="page-footer__hashtag-container">
<a class="page-footer__hashtag" href="#">#VISITSEDONA</a>
</div>
<div class="page-footer__social-items">
<a class="page-footer__social-item page-footer__social-item--twitter" href="https://twitter.com/?lang=ru">
<svg version="1.0" id="Layer_1" fill ="white" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="17.5px" height="14.663px" viewBox="0 0 17.5 14.663" enable-background="new 0 0 17.5 14.663" xml:space="preserve">
<g id="W6EeEF_1_">
<g>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.283,0.153c1.736-0.484,3.074,0.264,3.685,1.15 c0.694-0.225,1.372-0.47,2.072-0.69c-0.004,0.841-0.538,1.478-0.883,1.728C16.861,2.506,17.5,1.86,17.5,1.86 c-0.175,0.977-1.035,1.746-1.611,1.977C15.65,10.429,12.617,14.793,5.507,14.66c-0.538,0,0.077,0-0.46,0 c-0.422,0-4.29-0.45-5.047-1.843c2.341,0.192,4.011-0.412,4.835-1.15c-0.989-0.293-2.761-0.464-3.07-2.881 c0.362,0.105,0.583,0.223,1.228,0.117C1.757,8.067,0.385,7.366,0.461,5.218c0.294,0.319,1.1,0.523,1.381,0.461 c-0.725-0.235-2.03-3.281-0.921-4.836C2.794,2.655,4.769,4.364,8.29,4.528C8.506,2.288,9.461,0.788,11.283,0.153z"/>
</g>
</g>
</svg>
</a>
<a class="page-footer__social-item page-footer__social-item--fb" href="https://facebook.com/htmlacademy">
<svg version="1.0" id="Layer_1" fill="white" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="8.672px" height="18.944px" viewBox="0 0 8.672 18.944" enable-background="new 0 0 8.672 18.944" xml:space="preserve">
<path d="M6.275,3.356c0.799,0,1.599,0,2.398,0c0-1.119,0-2.237,0-3.356c-0.959,0-1.92,0-2.878,0C2.656,0.181,1.54,2.387,1.948,6.114 H0v3.518h1.959c0,3.104,0,6.208,0,9.312c1.279,0,2.559,0,3.837,0c0-3.104,0-6.208,0-9.312h2.857V6.114H5.787 C5.765,5.069,5.75,3.709,6.275,3.356z"/>
</svg>
</a>
<a class="page-footer__social-item page-footer__social-item--youtube" href="https://www.youtube.com/">
<svg version="1.0" id="Layer_1" fill="white" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="19.979px" height="14.015px" viewBox="0 0 19.979 14.015" enable-background="new 0 0 19.979 14.015" xml:space="preserve">
<path d="M17.145,0H2.835C1.275,0,0,1.275,0,2.835v8.345c0,1.56,1.275,2.835,2.835,2.835h14.31c1.56,0,2.835-1.275,2.835-2.835V2.835 C19.979,1.275,18.704,0,17.145,0z M7.036,10.392V3.623l6.769,3.384L7.036,10.392z"/>
</svg>
</a>
</div>
<div class="page-footer__copyright">
<p class="page-footer__text">Разработано</p>
<a class="page-footer__copyright-link" href="https://htmlacademy.ru">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="26.943px" height="34.09px" viewBox="0 0 26.943 34.09" enable-background="new 0 0 26.943 34.09" xml:space="preserve">
<path d="M13.62,0.017L13.472,0L0,1.412v24.661l13.473,8.017l13.43-7.99l0.042-0.025V1.412L13.62,0.017z M25.019,12.127L13.495,5.334 L13.494,5.23l-0.087,0.05l-0.088-0.056v0.109L1.925,12.118V3.147l11.548-1.212l11.547,1.212V12.127z M13.405,6.787L24.923,13.5 l-4.479,2.64l-7.093-4.221l-0.014,1.415l5.904,3.513l-0.86,0.507l-5.03-2.992l-0.014,1.415l3.827,2.275l-0.782,0.523l-3.031-1.787 l-0.014,1.413l1.853,1.091l-1.8,1.081L2.034,13.622L13.405,6.787z M1.925,15.127l11.411,6.791l0.016,1.044L5.41,18.234L5.395,19.65 l7.979,4.795l0.018,1.076l-7.973-4.74l-0.013,1.414l8.021,4.822l0.046,0.025l8.143-4.872l-0.011-5.177l3.415-2.036v10.021 L13.472,31.85L1.925,24.979V15.127z"/>
</svg>
</a>
</div>
</div>
</div>
</footer>
<div class="popup popup--failure">
<div class="popup__wrapper">
<h3 class="popup__title">Что-то пошло не так!</h3>
<p class="popup__text">Проверьте поля, выделенные красным, скорее всего вы забыли их заполнить</p>
<button class="popup__btn btn" type="submit">Ok</button>
</div>
</div>
<div class="popup popup--success">
<div class="popup__wrapper popup__wrapper--success">
<h3 class="popup__title">Ваша заявка отправлена</h3>
<p class="popup__text popup__text--success">Спасибо за ваше участие, ваша заявка уже поступила к нам. В ближайшее время мы рассмотрим ее и оповестим вас.</p>
<button class="popup__btn popup__btn--success btn" type="submit">Закрыть окно</button>
</div>
</div>
<script src="js/popups.js"></script>
</body>
</html>