Commit cf60bea3e55b300a15247f05333e94b6946bc131
Exists in
master
uncommited files
Showing 6 changed files Side-by-side Diff
public/css/style_may2024.css
... | ... | @@ -4258,12 +4258,12 @@ h1 { |
4258 | 4258 | } |
4259 | 4259 | @media (min-width: 992px) { |
4260 | 4260 | .main__spoiler-body table td { |
4261 | - width: 40%; | |
4261 | + width: 50%; | |
4262 | 4262 | } |
4263 | 4263 | } |
4264 | 4264 | @media (min-width: 992px) { |
4265 | 4265 | .main__spoiler-body table td + td { |
4266 | - width: 60%; | |
4266 | + width: 50%; | |
4267 | 4267 | } |
4268 | 4268 | } |
4269 | 4269 | .active + .main__spoiler-body { |
... | ... | @@ -4356,14 +4356,18 @@ h1 { |
4356 | 4356 | z-index: 2; |
4357 | 4357 | color: #000; |
4358 | 4358 | } |
4359 | -.main__resume-profile-about-text { | |
4360 | - position: relative; | |
4361 | - z-index: 2; | |
4359 | +.main__resume-profile-about-buttons{ | |
4360 | + display: flex; | |
4361 | + width: 100%; | |
4362 | + position: relative; | |
4363 | + z-index: 2; | |
4364 | +} | |
4365 | +.main__resume-profile-about-buttons .like{ | |
4366 | + width: 200px; | |
4362 | 4367 | } |
4363 | -.main__resume-profile-about-button { | |
4368 | +.main__resume-profile-about-text { | |
4364 | 4369 | position: relative; |
4365 | 4370 | z-index: 2; |
4366 | - margin-top: 10px; | |
4367 | 4371 | } |
4368 | 4372 | .main__resume-profile-info { |
4369 | 4373 | display: -webkit-box; |
... | ... | @@ -9164,7 +9168,7 @@ main + .news { |
9164 | 9168 | display: -ms-flexbox; |
9165 | 9169 | display: flex; |
9166 | 9170 | } |
9167 | -.main__vacancies-item .main__employer-page-two-item-text-body img { | |
9171 | +.main__employer-page-two-item-text-body img { | |
9168 | 9172 | display: inline !important; |
9169 | 9173 | border: none !important; |
9170 | 9174 | box-shadow: none !important; |
... | ... | @@ -9175,7 +9179,7 @@ main + .news { |
9175 | 9179 | background: none !important; |
9176 | 9180 | padding: 0 !important; |
9177 | 9181 | } |
9178 | -.main__vacancies-item .main__employer-page-two-item-text-body p{ | |
9182 | +.main__employer-page-two-item-text-body p{ | |
9179 | 9183 | margin: 0 0 20px; |
9180 | 9184 | } |
9181 | 9185 | #sertificate .one-sertificate{ |
resources/views/modals/send_worker.blade.php
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | <div class="modal__text">Если вы готовы владеете компитентыми навыками, напишите данному работодателю письмо</div> |
26 | 26 | <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> |
27 | 27 | @csrf |
28 | - <div class="modal__form-item"> | |
28 | + <div class="modal__form-item" style="display: none"> | |
29 | 29 | Отправитель сообщения: |
30 | 30 | <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> |
31 | 31 | Получатель сообщения: |
resources/views/modals/send_worker_new.blade.php
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | <div class="modal__text">Если вы готовы владеете компитентыми навыками, напишите данному работодателю письмо</div> |
26 | 26 | <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> |
27 | 27 | @csrf |
28 | - <div class="modal__form-item"> | |
28 | + <div class="modal__form-item" style="display: none"> | |
29 | 29 | Отправитель сообщения: |
30 | 30 | <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> |
31 | 31 | Получатель сообщения: |
... | ... | @@ -40,16 +40,6 @@ |
40 | 40 | <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> |
41 | 41 | <label for="title">Не заполнено поле</label> |
42 | 42 | </div> |
43 | - <!--<div class="modal__form-item send_title_div error_"> | |
44 | - <select class="js-select2" name="send_job_title_id" id="send_job_title_id"> | |
45 | - if ($jobs->count()) | |
46 | - foreach($jobs as $j) | |
47 | - <option value=" $j->id }}"> $j->name }} ( $j->id }})</option> | |
48 | - endforeach | |
49 | - endif | |
50 | - </select> | |
51 | - <label for="title">Не заполнено поле</label> | |
52 | - </div>--> | |
53 | 43 | <div class="modal__form-item send_text_div"> |
54 | 44 | <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> |
55 | 45 | <label for="i2">Не заполнено поле</label> |
resources/views/resume.blade.php
... | ... | @@ -308,16 +308,6 @@ |
308 | 308 | <option value="created_at_down">По дате (убывание)</option> |
309 | 309 | </select> |
310 | 310 | </div> |
311 | - <button type="button" class="filters__item active" data-tab="1"> | |
312 | - <svg> | |
313 | - <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use> | |
314 | - </svg> | |
315 | - </button> | |
316 | - <button type="button" class="filters__item" data-tab="2"> | |
317 | - <svg> | |
318 | - <use xlink:href="{{ asset('images/sprite.svg#grid-2') }}"></use> | |
319 | - </svg> | |
320 | - </button> | |
321 | 311 | </div> |
322 | 312 | </div> |
323 | 313 | <div class="main__resume-base-body showed" data-body="1"> |
... | ... | @@ -441,10 +431,6 @@ |
441 | 431 | <b>E-mail:</b> |
442 | 432 | <span><a href="mailto:{{ $res->email }}">{{ $res->email }}</a></span> |
443 | 433 | </div> |
444 | - <div> | |
445 | - <b>Опыт работы:</b> | |
446 | - <span>{{ $res->experience }}</span> | |
447 | - </div> | |
448 | 434 | </div> |
449 | 435 | </div> |
450 | 436 | </div> |
resources/views/worker.blade.php
... | ... | @@ -2,6 +2,15 @@ |
2 | 2 | |
3 | 3 | @section('scripts') |
4 | 4 | <script> |
5 | + $(function(){ | |
6 | + $('[name="footer-like-button"]').click(function(){ | |
7 | + $('[name="header-like-button"]').click(); | |
8 | + }); | |
9 | + $('[name="header-like-button"]').click(function(){ | |
10 | + $('[name="footer-like-button"]').toggleClass('active'); | |
11 | + }); | |
12 | + }); | |
13 | + | |
5 | 14 | console.log('Test system'); |
6 | 15 | $(document).on('change', '#jobs', function() { |
7 | 16 | var val = $(this).val(); |
... | ... | @@ -53,6 +62,9 @@ |
53 | 62 | @endsection |
54 | 63 | |
55 | 64 | @section('content') |
65 | +@php | |
66 | + $worker = $Query[0]; | |
67 | +@endphp | |
56 | 68 | <section class="thing"> |
57 | 69 | <div class="container"> |
58 | 70 | <ul class="breadcrumbs thing__breadcrumbs"> |
... | ... | @@ -73,7 +85,9 @@ |
73 | 85 | <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> |
74 | 86 | </svg> |
75 | 87 | </a> |
76 | - <button type="button" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" data-val="{{ $Query[0]->id }}" id="elem{{ $Query[0]->id }}"> | |
88 | + <button type="button" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" data-val="{{ $Query[0]->id }}" id="elem{{ $Query[0]->id }}" | |
89 | + name="header-like-button" | |
90 | + > | |
77 | 91 | <svg> |
78 | 92 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> |
79 | 93 | </svg> |
... | ... | @@ -95,170 +109,214 @@ |
95 | 109 | <table class="main__table"> |
96 | 110 | <tbody> |
97 | 111 | <tr> |
98 | - <td>Имя:</td> | |
99 | - <td><b>{{ $Query[0]->users->name_man }}</b></td> | |
112 | + <td><b>Статус:</b></td> | |
113 | + <td>{{ $status_work[$worker->status_work] }}</td> | |
114 | + </tr> | |
115 | + <tr> | |
116 | + <td><b>ФИО:</b></td> | |
117 | + <td>{{ $worker->users->surname." ".$worker->users->name_man." ".$worker->users->surname2 }}</td> | |
118 | + </tr> | |
119 | + <tr> | |
120 | + <td><b>Возраст:</b></td> | |
121 | + <td>{{ $worker->old_year ?? '-' }}</td> | |
100 | 122 | </tr> |
101 | 123 | <tr> |
102 | - <td>Должность:</td> | |
124 | + <td><b>Желаемые вакансии:</b></td> | |
103 | 125 | <td> |
104 | 126 | @if ($Query[0]->job_titles->count()) |
105 | 127 | @foreach ($Query[0]->job_titles as $it) |
106 | 128 | @if ($it->is_remove == 0) |
107 | - <b>{{ $it->name }}</b> | |
129 | + {{ $it->name }} / | |
108 | 130 | @endif |
109 | 131 | @endforeach |
132 | + @else | |
133 | + - | |
110 | 134 | @endif |
111 | 135 | </td> |
112 | 136 | </tr> |
113 | 137 | <tr> |
114 | - <td>Телефон:</td> | |
115 | - <td><b><a href="tel:{{ $Query[0]->telephone }}">{{ $Query[0]->telephone }}</a></b></td> | |
138 | + <td><b>Пожелания по З/П:</b></td> | |
139 | + <td>{{ $worker->salary_expectations ?? '-' }}</td> | |
140 | + </tr> | |
141 | + <tr> | |
142 | + <td><b>Опыт работы:</b></td> | |
143 | + <td>{{ $worker->experience ?? '-' }}</td> | |
144 | + </tr> | |
145 | + <tr> | |
146 | + <td><b>Уровень английского:</b></td> | |
147 | + <td>{{ $worker->english_level ?? '-' }}</td> | |
148 | + </tr> | |
149 | + <tr> | |
150 | + <td><b>Дата готовности к посадке:</b></td> | |
151 | + <td>{{ $worker->ready_boart_date ?? '-' }}</td> | |
116 | 152 | </tr> |
117 | 153 | <tr> |
118 | - <td>E-mail:</td> | |
119 | - <td><b><a href="mailto:{{ $Query[0]->email }}">{{ $Query[0]->email }}</a></b></td> | |
154 | + <td><b>Предпочтение по типу судна:</b></td> | |
155 | + <td>{{ $worker->boart_type_preference ?? '-' }}</td> | |
120 | 156 | </tr> |
121 | 157 | <tr> |
122 | - <td>Возраст:</td> | |
123 | - <td><b>{{ $Query[0]->old_year }}</b></td> | |
158 | + <td><b>Наличие визы:</b></td> | |
159 | + <td>{{ $worker->visa_available ?? '-' }}</td> | |
124 | 160 | </tr> |
125 | 161 | <tr> |
126 | - <td>Статус:</td> | |
127 | - <td><b>{{ $status_work[$Query[0]->status_work] }}</b></td> | |
162 | + <td><b>Наличие танкерных документов:</b></td> | |
163 | + <td>{{ $worker->tanker_documents_available ?? '-' }}</td> | |
128 | 164 | </tr> |
129 | 165 | <tr> |
130 | - <td>Город проживания:</td> | |
131 | - <td><b>{{ $Query[0]->city }}</b></td> | |
166 | + <td><b>Наличие подтверждения для работы на ВВП:</b></td> | |
167 | + <td>{{ $worker->confirmation_work_for_vvp ?? '-' }}</td> | |
132 | 168 | </tr> |
133 | 169 | <tr> |
134 | - <td>Уровень английского:</td> | |
135 | - <td><b>{{ $Query[0]->en_is }}</b></td> | |
170 | + <td><b>Наличие военного билета / приписного свидетельства:</b></td> | |
171 | + <td>{{ $worker->military_id_available ?? '-' }}</td> | |
136 | 172 | </tr> |
137 | 173 | <tr> |
138 | - <td>Опыт работы:</td> | |
139 | - <td><b>{{ $Query[0]->experience }}</b></td> | |
174 | + <td><b>Город проживания:</b></td> | |
175 | + <td>{{ $worker->city ?? '-' }}</td> | |
176 | + </tr> | |
177 | + <tr> | |
178 | + <td><b>Телефон:</b></td> | |
179 | + <td>{{ $worker->telephone ?? '-' }}</td> | |
180 | + </tr> | |
181 | + <tr> | |
182 | + <td><b>E-mail:</b></td> | |
183 | + <td>{{ $worker->email ?? '-' }}</td> | |
184 | + </tr> | |
185 | + <tr> | |
186 | + <td><b>Контакты родственников:</b></td> | |
187 | + <td>{{ $worker->telephone2 ?? '-' }}</td> | |
140 | 188 | </tr> |
141 | 189 | </tbody> |
142 | 190 | </table> |
143 | 191 | </div> |
144 | 192 | </div> |
193 | + | |
145 | 194 | <div class="main__spoiler"> |
146 | 195 | <button type="button" class="main__spoiler-toper js-toggle">Сертификаты / документы</button> |
147 | 196 | <div class="main__spoiler-body"> |
148 | 197 | |
149 | 198 | @if (isset($Query[0]->sertificate)) |
150 | 199 | @if ($Query[0]->sertificate->count()) |
151 | - @foreach($Query[0]->sertificate as $it) | |
152 | 200 | <table class="main__table"> |
153 | 201 | <tbody> |
154 | - <tr> | |
155 | - <td>Название сертификата:</td> | |
156 | - <td><b>{{ $it->name }}</b></td> | |
157 | - </tr> | |
158 | - <tr> | |
159 | - <td>Организация выдавшая документ:</td> | |
160 | - <td><b>{{ $it->education }}</b></td> | |
161 | - </tr> | |
162 | - <tr> | |
163 | - <td>Дата начала обучения:</td> | |
164 | - <td><b>{{ $it->date_begin }}</b></td> | |
165 | - </tr> | |
166 | - <tr> | |
167 | - <td>Дата конца обучения:</td> | |
168 | - <td><b>{{ $it->end_begin }}</b></td> | |
169 | - </tr> | |
202 | + <tr> | |
203 | + <td><b>Название сертификата:</b></td> | |
204 | + <td><b>Действителен до:</b></td> | |
205 | + </tr> | |
206 | + @foreach($Query[0]->sertificate as $it) | |
207 | + <tr> | |
208 | + <td>{{ $it->name }}</td> | |
209 | + <td>{{ date('d.m.Y', strtotime($it->end_begin)) }}</td> | |
210 | + </tr> | |
211 | + @endforeach | |
170 | 212 | </tbody> |
171 | 213 | </table> |
172 | - <br> | |
173 | - @endforeach | |
174 | 214 | @endif |
175 | 215 | @endif |
176 | 216 | </div> |
177 | 217 | </div> |
178 | 218 | |
179 | 219 | <div class="main__spoiler"> |
220 | + <button type="button" class="main__spoiler-toper js-toggle">Дополнительные документы</button> | |
221 | + <div class="main__spoiler-body"> | |
222 | + @if ($infoblocks->count()) | |
223 | + <table class="main__table"> | |
224 | + <tbody> | |
225 | + @foreach ($infoblocks as $info) | |
226 | + @php $finder = false; @endphp | |
227 | + @if (isset($Query[0]->infobloks)) | |
228 | + @if ($Query[0]->infobloks->count()) | |
229 | + | |
230 | + @foreach($Query[0]->infobloks as $it) | |
231 | + @if ($info->id == $it->id) | |
232 | + <tr> | |
233 | + <td><b>{{ $it->name }}</b></td> | |
234 | + <td> | |
235 | + @if ($it->model_dop_info[0]->status == 0) Не указано | |
236 | + @elseif($it->model_dop_info[0]->status==1) В наличии | |
237 | + @else Отсутствует | |
238 | + @endif | |
239 | + </td> | |
240 | + </tr> | |
241 | + @php $finder = true; @endphp | |
242 | + @endif | |
243 | + @endforeach | |
244 | + @endif | |
245 | + @endif | |
246 | + @if (!$finder) | |
247 | + <tr> | |
248 | + <td><b>{{ $info->name }}</b></td> | |
249 | + <td> | |
250 | + Не указано | |
251 | + </td> | |
252 | + </tr> | |
253 | + @endif | |
254 | + @endforeach | |
255 | + </tbody> | |
256 | + </table> | |
257 | + @endif | |
258 | + </div> | |
259 | + </div> | |
260 | + | |
261 | + <div class="main__spoiler"> | |
180 | 262 | <button type="button" class="main__spoiler-toper js-toggle">Опыт работы</button> |
181 | 263 | <div class="main__spoiler-body"> |
182 | 264 | |
183 | 265 | @if (isset($Query[0]->place_worker)) |
184 | 266 | @if ($Query[0]->place_worker->count()) |
185 | - @foreach($Query[0]->place_worker as $it) | |
186 | - | |
187 | - <table class="main__table"> | |
188 | - <tbody> | |
189 | - <tr> | |
190 | - <td>Должность:</td> | |
191 | - <td><b>{{ $it->job_title }}</b></td> | |
192 | - </tr> | |
193 | - <tr> | |
194 | - <td>Опыт работы в танкерном флоте:</td> | |
195 | - <td><b>@if($it->tanker==1) Есть @else Нет @endif</b></td> | |
196 | - </tr> | |
197 | - <tr> | |
198 | - <td>Дата начала работы:</td> | |
199 | - <td><b>{{ $it->begin_work }}</b></td> | |
200 | - </tr> | |
201 | - <tr> | |
202 | - <td>Дата конца работы:</td> | |
203 | - <td><b>{{ $it->end_work }}</b></td> | |
204 | - </tr> | |
205 | - <tr> | |
206 | - <td>Название компании:</td> | |
207 | - <td><b>{{ $it->name_company }}</b></td> | |
208 | - </tr> | |
209 | - <tr> | |
210 | - <td>GWT тип</td> | |
211 | - <td><b>{{ $it->GWT }}</b></td> | |
212 | - </tr> | |
267 | + <table class="main__table"> | |
268 | + <tbody> | |
213 | 269 | <tr> |
214 | - <td>ГД:</td> | |
215 | - <td><b>{{ $it->KBT }}</b></td> | |
270 | + <td><b>Должность:</b></td> | |
271 | + <td><b>Название т/х:</b></td> | |
272 | + <td><b>Тип судна:</b></td> | |
273 | + <td><b>Марка ГД:</b></td> | |
274 | + <td><b>Мощность ГД (кВТ):</b></td> | |
275 | + <td><b>Водоизмещение (DWT):</b></td> | |
276 | + <td><b>Название компании:</b></td> | |
277 | + <td><b>Начало контракта:</b></td> | |
278 | + <td><b>Конец контракта:</b></td> | |
216 | 279 | </tr> |
217 | - </tbody> | |
218 | - </table> | |
219 | - <br> | |
220 | - @endforeach | |
280 | + @foreach($Query[0]->place_worker as $it) | |
281 | + <tr> | |
282 | + <td>{{ $it->job_title }}</td> | |
283 | + <td>{{ $it->teplohod }}</td> | |
284 | + <td>{{ $it->GWT }}</td> | |
285 | + <td>{{ $it->Marka_GD }}</td> | |
286 | + <td>{{ $it->KBT }}</td> | |
287 | + <td>{{ $it->GRT }}</td> | |
288 | + <td>{{ $it->name_company }}</td> | |
289 | + <td>{{ date('d.m.Y', strtotime($it->begin_work)) }}</td> | |
290 | + <td>{{ date('d.m.Y', strtotime($it->end_work)) }}</td> | |
291 | + </tr> | |
292 | + @endforeach | |
293 | + </tbody> | |
294 | + </table> | |
221 | 295 | @endif |
222 | 296 | @endif |
223 | 297 | </div> |
224 | 298 | </div> |
225 | 299 | |
226 | 300 | <div class="main__spoiler"> |
227 | - <button type="button" class="main__spoiler-toper js-toggle">Дополнительные документы</button> | |
301 | + <button type="button" class="main__spoiler-toper js-toggle">Данные о прошлых компаниях</button> | |
228 | 302 | <div class="main__spoiler-body"> |
229 | - @if ($infoblocks->count()) | |
303 | + @if ((isset($worker->prev_company)) && ($worker->prev_company->count())) | |
230 | 304 | <table class="main__table"> |
231 | 305 | <tbody> |
232 | - @foreach ($infoblocks as $info) | |
233 | - @php $finder = false; @endphp | |
234 | - @if (isset($Query[0]->infobloks)) | |
235 | - @if ($Query[0]->infobloks->count()) | |
236 | - | |
237 | - @foreach($Query[0]->infobloks as $it) | |
238 | - @if ($info->id == $it->id) | |
239 | - <tr> | |
240 | - <td><b>{{ $it->name }}</b></td> | |
241 | - <td> | |
242 | - @if ($it->model_dop_info[0]->status == 0) Не указано | |
243 | - @elseif($it->model_dop_info[0]->status==1) В наличии | |
244 | - @else Отсутствует | |
245 | - @endif | |
246 | - </td> | |
247 | - </tr> | |
248 | - @php $finder = true; @endphp | |
249 | - @endif | |
250 | - @endforeach | |
251 | - @endif | |
252 | - @endif | |
253 | - @if (!$finder) | |
306 | + <tr> | |
307 | + <td><b>Название компании:</b></td> | |
308 | + <td><b>ФИО сотрудника:</b></td> | |
309 | + <td><b>Должность сотрудника:</b></td> | |
310 | + <td><b>Телефон сотрудника:</b></td> | |
311 | + </tr> | |
312 | + @foreach ($worker->prev_company as $prev_company) | |
254 | 313 | <tr> |
255 | - <td><b>{{ $info->name }}</b></td> | |
256 | - <td> | |
257 | - Не указано | |
258 | - </td> | |
314 | + <td>{{ $prev_company->name_company }}</td> | |
315 | + <td>{{ $prev_company->direct }}</td> | |
316 | + <td>{{ $prev_company->telephone }}</td> | |
317 | + <td>{{ $prev_company->telephone2 }}</td> | |
259 | 318 | </tr> |
260 | - @endif | |
261 | - @endforeach | |
319 | + @endforeach | |
262 | 320 | </tbody> |
263 | 321 | </table> |
264 | 322 | @endif |
... | ... | @@ -271,42 +329,30 @@ |
271 | 329 | <p class="main__resume-profile-about-text">{{ $Query[0]->text }}</p> |
272 | 330 | @if (App\Classes\StatusUser::Status()==0) |
273 | 331 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) |
274 | - <div class="button main__resume-profile-about-button js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot }}" data-tuid="{{ $Query[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'>Написать сообщение</div> | |
275 | - @endif | |
276 | - @endif | |
277 | - </div> | |
278 | - <div class="main__resume-profile-info"> | |
279 | - <h2 class="main__resume-profile-info-title">Данные о прошлых компаниях</h2> | |
280 | - <div class="main__resume-profile-info-body"> | |
281 | - @if ((isset($Query[0]->prev_company)) && ($Query[0]->prev_company->count())) | |
282 | - @foreach ($Query[0]->prev_company as $it) | |
283 | - <div class="main__resume-profile-info-body-item"> | |
284 | - <h3 class="main__resume-profile-info-body-subtitle">{{ $it->name_company }}</h3> | |
285 | - <ul class="main__resume-profile-info-body-inner"> | |
286 | - <li> | |
287 | - <b>Руководитель</b> | |
288 | - <span>{{ $it->direct }}</span> | |
289 | - </li> | |
290 | - <li> | |
291 | - <b>Телефон того, кто может дать рекомендацию</b> | |
292 | - <span> | |
293 | - @if (!empty($it->telephone)) | |
294 | - <a href="tel:{{$it->telephone }}">{{ $it->telephone }}</a> | |
295 | - @endif | |
296 | - @if (!empty($it->telephone2)) | |
297 | - <a href="tel:{{$it->telephone2 }}">{{ $it->telephone2 }}</a> | |
298 | - @endif | |
299 | - </span> | |
300 | - </li> | |
301 | - </ul> | |
302 | - </div> | |
303 | - @endforeach | |
304 | - @else | |
305 | - <div class="main__resume-profile-info-body-item"> | |
306 | - <h3 class="main__resume-profile-info-body-subtitle">Нету данных о компании</h3> | |
332 | + <div class="main__resume-profile-about-buttons flex width100"> | |
333 | + <button type="button" class="like js-toggle mr-10 js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" | |
334 | + name="footer-like-button" | |
335 | + > | |
336 | + <svg class="mr-5"> | |
337 | + <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | |
338 | + </svg> | |
339 | + В избранное | |
340 | + </button> | |
341 | + <div class="button button_light mr-10 main__resume-profile-about-button js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot }}" data-tuid="{{ $Query[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'> | |
342 | + <svg> | |
343 | + <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | |
344 | + </svg> | |
345 | + Написать | |
346 | + </div> | |
347 | + <a class="button mr-10" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}"> | |
348 | + <svg> | |
349 | + <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> | |
350 | + </svg> | |
351 | + Скачать резюме | |
352 | + </a> | |
307 | 353 | </div> |
308 | 354 | @endif |
309 | - </div> | |
355 | + @endif | |
310 | 356 | </div> |
311 | 357 | |
312 | 358 | <div class="main__resume-profile-info"> |
resources/views/workers/cabinet.blade.php
... | ... | @@ -216,9 +216,9 @@ |
216 | 216 | </div> |
217 | 217 | </div> |
218 | 218 | <div class="cabinet__inputs-item form-group"> |
219 | - <label class="form-group__label">Город проживания:</label> | |
219 | + <label class="form-group__label">Телефон:</label> | |
220 | 220 | <div class="form-group__item"> |
221 | - {{ $worker->city ?? '-' }} | |
221 | + {{ $worker->telephone ?? '-' }} | |
222 | 222 | </div> |
223 | 223 | </div> |
224 | 224 | |
... | ... | @@ -254,6 +254,8 @@ |
254 | 254 | {{ $worker->ready_boart_date ?? '-' }} |
255 | 255 | </div> |
256 | 256 | </div> |
257 | + <div class="cabinet__inputs-item form-group"></div> | |
258 | + | |
257 | 259 | <div class="cabinet__inputs-item form-group"> |
258 | 260 | <label class="form-group__label">Предпочтение по типу судна:</label> |
259 | 261 | <div class="form-group__item"> |
... | ... | @@ -344,14 +346,14 @@ |
344 | 346 | <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div> |
345 | 347 | </div> |
346 | 348 | <div class="cabinet__works-spoiler-buttons"> |
347 | - <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> | |
349 | + <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit"> | |
348 | 350 | <svg> |
349 | - <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | |
351 | + <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | |
350 | 352 | </svg> |
351 | 353 | </a> |
352 | - <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light js-works-edit"> | |
354 | + <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> | |
353 | 355 | <svg> |
354 | - <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | |
356 | + <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | |
355 | 357 | </svg> |
356 | 358 | </a> |
357 | 359 | </div> |
... | ... | @@ -451,14 +453,14 @@ |
451 | 453 | </div> |
452 | 454 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"> |
453 | 455 | <div class="flex"> |
454 | - <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light mr-10"> | |
456 | + <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10"> | |
455 | 457 | <svg> |
456 | - <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | |
458 | + <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | |
457 | 459 | </svg> |
458 | 460 | </a> |
459 | - <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light"> | |
461 | + <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light"> | |
460 | 462 | <svg> |
461 | - <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | |
463 | + <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | |
462 | 464 | </svg> |
463 | 465 | </a> |
464 | 466 | </div> |