forked from htmlacademy-yii/1674445-task-force-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.html
371 lines (371 loc) · 20.6 KB
/
view.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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>TaskForce</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="table-layout">
<header class="page-header">
<div class="main-container page-header__container">
<div class="page-header__logo">
<a href="landing.html">
<svg class="page-header__logo-image" id="Layer_2" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1634 646.35">
<title>taskforce_logo2-01</title>
<g>
<g>
<path
d="M829.09,330.74c-8.27,0-21.8-1.92-33-12.62L737,260a35.91,35.91,0,0,1-9.5-16.28L710.87,182a23.69,23.69,0,0,0-6.78-11.22c-23-21.3-34.59-36.85-34.59-46.23,0-7.37,2.63-13.55,7.59-17.85,6.77-5.87,16.15-7,22.12-6.1,9.52,1.36,19.72,5.93,26.6,9.52,5.31,2.77,11.7,10.65,14.08,15,19.43,35.76,29.43,40.7,32,41.37a2,2,0,0,0,1.86-.18C787.33,157.54,870.85,71.47,901.89,39l.21-.2c6.1-5.67,21.29-12.5,35.06,2.25,10,10.72,3.22,25.31-1.76,31.54l-.28.32-51.61,54q-.6.65-1.35,1.38c8.22-.75,16.16,1.07,21.62,7.38a19.57,19.57,0,0,1,5,15.22,24.89,24.89,0,0,1-2.44,8.22c6.91-1,13.78.44,18.66,6.78,7.28,9.46,5.17,20,.31,28.53a32,32,0,0,1,8,.07c9.16,1.35,15.26,7,17.16,15.91,1.44,6.73-1.14,15.49-4.29,20.31s-7.49,8.87-11.61,12.64c-1.09,1-2.18,2-3.23,3l-76.19,72.72c-7.68,7.33-15.67,11.21-23.77,11.56C830.61,330.73,829.88,330.74,829.09,330.74ZM695.39,110.29c-3.83,0-8.53,1.13-11.74,3.91-2.79,2.42-4.15,5.79-4.15,10.3s8.22,17.4,31.39,38.9a33.62,33.62,0,0,1,9.63,15.95l16.62,61.73A26,26,0,0,0,744,252.84l59,58.1c9.08,8.65,20.17,10.09,27.87,9.77,7-.3,13.25-4.95,17.28-8.8l76.19-72.73c1.11-1.05,2.24-2.09,3.38-3.14,3.83-3.51,7.45-6.83,10-10.73,2.25-3.45,3.6-9.41,2.88-12.77-1-4.85-3.76-7.35-8.84-8.09-5.41-.8-12.94,1-18.74,4.36l-5.74-8.15c.19-.15,19.17-16.36,9.75-28.61-6.81-8.85-24.92,3.87-25.1,4L886,168c3.29-2.48,12-10.59,12.8-18.13a9.48,9.48,0,0,0-2.58-7.6c-7.33-8.45-23.81-1.49-27.38.16l-.64.56c-2.82,2.48-5.37,2.72-7.56.72l-3.31-3,2.61-3.63c2.51-3.5,7.48-8.33,11.87-12.6,1.75-1.7,3.4-3.3,4.47-4.42l51.43-53.84c1-1.39,8.41-11.6,2.13-18.32-10-10.76-19.4-3.13-20.84-1.83-6,6.28-112.61,117.51-129.78,128.62a12.09,12.09,0,0,1-9.77,1.47c-10.17-2.59-23.07-18.16-38.34-46.28-1.92-3.52-7.07-9.47-9.92-11-5.07-2.64-14.85-7.26-23.4-8.48A16.38,16.38,0,0,0,695.39,110.29Zm173,32.38h0Z"
transform="translate(-5.5 -7.17)"/>
<path d="M718.46,34.54l29,31c4.41,4.71,11.47-2.38,7.08-7.08l-29-31c-4.41-4.71-11.47,2.38-7.08,7.08Z"
transform="translate(-5.5 -7.17)"/>
<path d="M782,12V52c0,6.43,10,6.45,10,0V12c0-6.43-10-6.45-10,0Z" transform="translate(-5.5 -7.17)"/>
<path d="M822.54,66.54l31-30c4.63-4.49-2.45-11.55-7.08-7.08l-31,30c-4.63,4.49,2.45,11.55,7.08,7.08Z"
transform="translate(-5.5 -7.17)"/>
</g>
<rect y="272.33" width="605" height="18"/>
<rect x="1027" y="272.33" width="607" height="18"/>
<g>
<path
d="M122.47,650.47v-32.6H148.4V490.13H122.47v44.94H92.82V457.53H249.26v77.54H220V490.13H193.31V617.87h25.93v32.6Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M412.66,619.54v30.93H355V639.86q-15.51,12.55-32.76,12.55A45.22,45.22,0,0,1,291.38,641q-13-11.38-13-30.52t13.65-32.32q13.64-13,35.23-13,12,0,27.67,6.79v-8.18q0-10.26-6.21-16.85t-16.62-6.59q-12.9,0-22.08,10.54l-30.9-6.24q13.41-31.77,58.19-31.76,17.37,0,28.78,4.36t17,11.31A42,42,0,0,1,391,543.74q2.3,8.25,2.29,26.84v49ZM355,600.81q-13.91-9.7-22.21-9.71a18.78,18.78,0,0,0-12,4.3q-5.4,4.3-5.4,12.49a19.25,19.25,0,0,0,4.34,12.62,13.84,13.84,0,0,0,11.17,5.27q10.67,0,24.07-14Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M452.36,650.47V604.28h28a18.9,18.9,0,0,0,7.82,15.05q7.44,5.61,18.36,5.62,9.42,0,14.7-3.68t5.27-9.36a9.1,9.1,0,0,0-4.84-8.19q-4.83-2.91-19-5.56-29.14-5.29-42.05-16t-12.91-28.49a37,37,0,0,1,12.16-28.07q12.15-11.43,32.26-11.44a69.92,69.92,0,0,1,30.39,6.73V516.2H550v39H522.58q-3.72-14-26.3-14-16.62,0-16.62,10.26a6.44,6.44,0,0,0,3.41,5.9q3.4,2,17.43,4.78,22.2,4.3,33.25,8.6a37,37,0,0,1,17.68,14.22q6.63,9.92,6.63,23.79,0,19.69-12.59,32.25T509.8,653.52q-21.46,0-29.4-9.78v6.73Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M597.15,650.47V619.54H616.5V488.46H597.15V457.53h57.56V579.38L696,541.86H670.59V516.2h72.58v27.19h-12L696,576.9l32,42.64h16.63v30.93H707.81l-53.1-71.09v41.68h14.52v29.41Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M781.14,650.47v-32.6h24.69V490.13H781.14v-32.6H935.6V517h-33V490.13H850.74v44.66h37.34v32.59H850.74v50.49h26.55v32.6Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M1006.82,653.52q-26.55,0-44.85-18.8t-18.3-51.52q0-32.73,18.3-51.53t44.85-18.79q26.67,0,44.91,18.79T1070,583.2q0,32.31-18,51.32T1006.82,653.52Zm-.13-33.29q10.66,0,17.31-9.15t6.64-28.72q0-17.19-6.46-26.83t-17.49-9.64q-23.7,0-23.69,38.28,0,15.68,5.89,25.87T1006.69,620.23Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M1192.3,619.54v30.93h-84.49V619.54H1130V547.13h-20.85V516.2h56v34.12a48.51,48.51,0,0,1,14.7-25.45,38.35,38.35,0,0,1,27.11-10.75q2.6,0,6.2.14v40.5q-14.52,0-23.7,3.61t-15.13,15.81q-6,12.21-6,28.85v16.51Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M1369.34,516.2v54.51h-27.29q-9.32-22.47-29.16-22.47-12.66,0-20.16,9.37t-7.51,25q0,19,7.94,28.09t19.48,9.08a29.23,29.23,0,0,0,17.37-5.89,42.89,42.89,0,0,0,13.15-15.6L1372.94,613q-16.64,40.57-58.31,40.57-31.39,0-50.06-19.14T1245.9,583.2q0-32,18.3-50.56t42.61-18.52q19.47,0,36.35,13.18V516.2Z"
transform="translate(-5.5 -7.17)"/>
<path
d="M1506.43,610l29.78,10.68q-18.74,32.86-58.56,32.87-31.76,0-49.56-18.73t-17.81-49.24q0-31.06,18.37-51.87t46.77-20.8q20.6,0,35.6,11.65a60.5,60.5,0,0,1,20.85,29q5.82,17.34,5.83,38.7h-89.45q.87,18.31,10.36,25.94t20,7.63Q1492.41,625.78,1506.43,610Zm-7.32-41.61a36.09,36.09,0,0,0-7.86-19.15q-6.52-7.9-17.82-7.9-21.09,0-24.56,27.05Z"
transform="translate(-5.5 -7.17)"/>
</g>
</g>
</svg>
</a>
</div>
<div class="header__nav">
<ul class="header-nav__list site-list">
<li class="site-list__item">
<a href="browse.html">Задания</a>
</li>
<li class="site-list__item">
<a href="users.html">Исполнители</a>
</li>
<li class="site-list__item">
<a href="create.html">Создать задание</a>
</li>
<li class="site-list__item">
<a href="account.html">Мой профиль</a>
</li>
</ul>
</div>
<div class="header__town">
<select class="multiple-select input town-select" size="1" name="town[]">
<option value="Moscow">Москва</option>
<option selected value="SPB">Санкт-Петербург</option>
<option value="Krasnodar">Краснодар</option>
<option value="Irkutsk">Иркутск</option>
<option value="Vladivostok">Владивосток</option>
</select>
</div>
<div class="header__lightbulb"></div>
<div class="lightbulb__pop-up">
<h3>Новые события</h3>
<p class="lightbulb__new-task lightbulb__new-task--message">
Новое сообщение в чате
<a href="#" class="link-regular">«Помочь с курсовой»</a>
</p>
<p class="lightbulb__new-task lightbulb__new-task--executor">
Выбран исполнитель для
<a href="#" class="link-regular">«Помочь с курсовой»</a>
</p>
<p class="lightbulb__new-task lightbulb__new-task--close">
Завершено задание
<a href="#" class="link-regular">«Помочь с курсовой»</a>
</p>
</div>
<div class="header__account">
<a class="header__account-photo">
<img src="./img/user-photo.png"
width="43" height="44"
alt="Аватар пользователя">
</a>
<span class="header__account-name">
Василий
</span>
</div>
<div class="account__pop-up">
<ul class="account__pop-up-list">
<li>
<a href="mylist.html">Мои задания</a>
</li>
<li>
<a href="account.html">Настройки</a>
</li>
<li>
<a href="landing.html">Выход</a>
</li>
</ul>
</div>
</div>
</header>
<main class="page-main">
<div class="main-container page-container">
<section class="content-view">
<div class="content-view__card">
<div class="content-view__card-wrapper">
<div class="content-view__header">
<div class="content-view__headline">
<h1>Убрать квартиру после вписки</h1>
<span>Размещено в категории
<a href="browse.html" class="link-regular">Уборка</a>
25 минут назад</span>
</div>
<b class="new-task__price new-task__price--clean content-view-price">1500<b> ₽</b></b>
<div class="new-task__icon new-task__icon--clean content-view-icon"></div>
</div>
<div class="content-view__description">
<h3 class="content-view__h3">Общее описание</h3>
<p>
Внезапно, ключевые особенности структуры проекта неоднозначны и будут подвергнуты целой серии
независимых исследований. Следует отметить, что высококачественный прототип будущего проекта, в
своём классическом представлении, допускает внедрение своевременного выполнения сверхзадачи.
Кстати, некоторые особенности внутренней политики будут функционально разнесены на независимые
элементы.
</p>
</div>
<div class="content-view__attach">
<h3 class="content-view__h3">Вложения</h3>
<a href="#">my_picture.jpeg</a>
<a href="#">agreement.docx</a>
</div>
<div class="content-view__location">
<h3 class="content-view__h3">Расположение</h3>
<div class="content-view__location-wrapper">
<div class="content-view__map">
<a href="#"><img src="./img/map.jpg" width="361" height="292"
alt="Москва, Новый арбат, 23 к. 1"></a>
</div>
<div class="content-view__address">
<span class="address__town">Москва</span><br>
<span>Новый арбат, 23 к. 1</span>
<p>Вход под арку, код домофона 1122</p>
</div>
</div>
</div>
</div>
<div class="content-view__action-buttons">
<button class=" button button__big-color response-button open-modal"
type="button" data-for="response-form">Откликнуться
</button>
<button class="button button__big-color refusal-button open-modal"
type="button" data-for="refuse-form">Отказаться
</button>
<button class="button button__big-color request-button open-modal"
type="button" data-for="complete-form">Завершить
</button>
</div>
</div>
<div class="content-view__feedback">
<h2>Отклики <span>(2)</span></h2>
<div class="content-view__feedback-wrapper">
<div class="content-view__feedback-card">
<div class="feedback-card__top">
<a href="user.html"><img src="./img/man-glasses.jpg" width="55" height="55"></a>
<div class="feedback-card__top--name">
<p><a href="user.html" class="link-regular">Астахов Павел</a></p>
<span></span><span></span><span></span><span></span><span class="star-disabled"></span>
<b>4.25</b>
</div>
<span class="new-task__time">25 минут назад</span>
</div>
<div class="feedback-card__content">
<p>
Могу сделать всё в лучшем виде. У меня есть необходимый опыт и инструменты.
</p>
<span>1500 ₽</span>
</div>
<div class="feedback-card__actions">
<a class="button__small-color response-button button"
type="button">Подтвердить</a>
<a class="button__small-color refusal-button button"
type="button">Отказать</a>
</div>
</div>
<div class="content-view__feedback-card">
<div class="feedback-card__top">
<a href="user.html"><img src="./img/man-blond.jpg" width="55" height="55"></a>
<div class="feedback-card__top--name">
<p class="link-name"><a href="user.html" class="link-regular">Богатырев Дмитрий</a></p>
<span></span><span></span><span></span><span></span><span class="star-disabled"></span>
<b>4.25</b>
</div>
<span class="new-task__time">25 минут назад</span>
</div>
<div class="feedback-card__content">
<p>
Примусь за выполнение задания в течение часа, сделаю быстро и качественно.
</p>
<span>1500 ₽</span>
</div>
<div class="feedback-card__actions">
<a class="button__small-color response-button button"
type="button">Подтвердить</a>
<a class="button__small-color refusal-button button"
type="button">Отказать</a>
</div>
</div>
</div>
</div>
</section>
<section class="connect-desk">
<div class="connect-desk__profile-mini">
<div class="profile-mini__wrapper">
<h3>Заказчик</h3>
<div class="profile-mini__top">
<img src="./img/man-brune.jpg" width="62" height="62" alt="Аватар заказчика">
<div class="profile-mini__name five-stars__rate">
<p>Николай Демченко</p>
</div>
</div>
<p class="info-customer"><span>12 заданий</span><span class="last-">2 года на сайте</span></p>
<a href="#" class="link-regular">Смотреть профиль</a>
</div>
</div>
<div id="chat-container">
<!-- добавьте сюда атрибут task с указанием в нем id текущего задания-->
<chat class="connect-desk__chat"></chat>
</div>
</section>
</div>
</main>
<footer class="page-footer">
<div class="main-container page-footer__container">
<div class="page-footer__info">
<p class="page-footer__info-copyright">
© 2020, ООО «ТаскФорс»
Все права защищены
</p>
<p class="page-footer__info-use">
«TaskForce» — это сервис для поиска исполнителей на разовые задачи.
</p>
</div>
<div class="page-footer__links">
<ul class="links__list">
<li class="links__item">
<a href="browse.html">Задания</a>
</li>
<li class="links__item">
<a href="account.html">Мой профиль</a>
</li>
<li class="links__item">
<a href="users.html">Исполнители</a>
</li>
<li class="links__item">
<a href="signup.html">Регистрация</a>
</li>
<li class="links__item">
<a href="create.html">Создать задание</a>
</li>
<li class="links__item">
<a href="">Справка</a>
</li>
</ul>
</div>
<div class="page-footer__copyright">
<a>
<img class="copyright-logo"
src="./img/academy-logo.png"
width="185" height="63"
alt="Логотип HTML Academy">
</a>
</div>
</div>
</footer>
<section class="modal response-form form-modal" id="response-form">
<h2>Отклик на задание</h2>
<form action="#" method="post">
<p>
<label class="form-modal-description" for="response-payment">Ваша цена</label>
<input class="response-form-payment input input-middle input-money" type="text" name="response-payment"
id="response-payment">
</p>
<p>
<label class="form-modal-description" for="response-comment">Комментарий</label>
<textarea class="input textarea" rows="4" id="response-comment" name="response-comment"
placeholder="Place your text"></textarea>
</p>
<button class="button modal-button" type="submit">Отправить</button>
</form>
<button class="form-modal-close" type="button">Закрыть</button>
</section>
<section class="modal completion-form form-modal" id="complete-form">
<h2>Завершение задания</h2>
<p class="form-modal-description">Задание выполнено?</p>
<form action="#" method="post">
<input class="visually-hidden completion-input completion-input--yes" type="radio" id="completion-radio--yes"
name="completion" value="yes">
<label class="completion-label completion-label--yes" for="completion-radio--yes">Да</label>
<input class="visually-hidden completion-input completion-input--difficult" type="radio"
id="completion-radio--yet" name="completion" value="difficulties">
<label class="completion-label completion-label--difficult" for="completion-radio--yet">Возникли проблемы</label>
<p>
<label class="form-modal-description" for="completion-comment">Комментарий</label>
<textarea class="input textarea" rows="4" id="completion-comment" name="completion-comment"
placeholder="Place your text"></textarea>
</p>
<p class="form-modal-description">
Оценка
<div class="feedback-card__top--name completion-form-star">
<span class="star-disabled"></span>
<span class="star-disabled"></span>
<span class="star-disabled"></span>
<span class="star-disabled"></span>
<span class="star-disabled"></span>
</div>
</p>
<input type="hidden" name="rating" id="rating">
<button class="button modal-button" type="submit">Отправить</button>
</form>
<button class="form-modal-close" type="button">Закрыть</button>
</section>
<section class="modal form-modal refusal-form" id="refuse-form">
<h2>Отказ от задания</h2>
<p>
Вы собираетесь отказаться от выполнения задания.
Это действие приведёт к снижению вашего рейтинга.
Вы уверены?
</p>
<button class="button__form-modal button" id="close-modal"
type="button">Отмена
</button>
<button class="button__form-modal refusal-button button"
type="button">Отказаться
</button>
<button class="form-modal-close" type="button">Закрыть</button>
</section>
</div>
<div class="overlay"></div>
<script src="js/main.js"></script>
<script src="js/messenger.js"></script>
</body>
</html>