-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlightweight.html
140 lines (127 loc) · 6.09 KB
/
lightweight.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
<!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, maximum-scale=1, user-scalable=no"
/>
<meta name="description" content="Пример формы обработной связи с подсказками DaData.ru" />
<title>Обращение в правительство Москвы</title>
<link rel="icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/bootstrap-3.1.1.min.css" />
<link rel="stylesheet" href="css/styles.css" />
<link
href="https://cdn.jsdelivr.net/npm/suggestions-jquery@20.3.0/dist/css/suggestions.min.css"
rel="stylesheet"
/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-10 col-md-6">
<header>
<h3>Обращение в правительство Москвы</h3>
<p>Пожалуйста, укажите ваши контактные данные и суть вопроса</p>
</header>
<hr />
<form role="form" id="feedback-form">
<!-- ФИО -->
<div class="form-group">
<label for="fullname">ФИО</label><span class="required"> ∗</span>
<input
type="text"
class="form-control"
id="fullname"
placeholder="ФИО в свободной форме"
autofocus
required
/>
</div>
<!-- Email-->
<div class="form-group">
<label for="email">E-mail</label><span class="required"> ∗</span>
<input
type="email"
class="form-control"
id="email"
placeholder="me@example.com"
required
/>
</div>
<!-- Телефон -->
<div class="form-group">
<label for="phone">Контактный телефон</label>
<input
type="tel"
class="form-control"
id="phone"
placeholder="+7 916 123-45-67"
/>
</div>
<!-- Адрес -->
<div class="form-group">
<label for="address">Адрес</label><span class="required"> </span>
<input
type="text"
class="form-control"
id="address"
placeholder="адрес в свободной форме"
/>
</div>
<!-- Обращение -->
<div class="form-group">
<label for="message">Содержание обращения</label
><span class="required"> ∗</span>
<textarea
class="form-control"
id="message"
rows="5"
required
></textarea>
</div>
<!-- Прогресс отправки формы -->
<div class="progress" style="display: none;">
<div
id="feedback-progress"
class="progress-bar"
role="progressbar"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"
style="width: 0;"
>
<span class="sr-only"></span>
</div>
</div>
<!-- Результат отправки формы -->
<div
id="feedback-message"
class="alert alert-danger fade in"
style="display: none;"
>
<h4></h4>
<p data-message></p>
<p>
<button type="button" class="btn btn-default" data-action="ok">
Хорошо, я понял
</button>
</p>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary btn-lg">
Отправить обращение
</button>
</div>
</form>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/suggestions-jquery@20.3.0/dist/js/jquery.suggestions.js"></script>
<script src="js/suggest.js"></script>
<script src="js/main.js"></script>
</body>
</html>