Commit c40f2b065cea930f5629b64a4516523032e7b56f

Authored by Fedor K
Exists in master

Merge branch 'task-132687' into 'master'

task-132687 Доделки по сайту

Showing 33 changed files Inline Diff

app/Http/Controllers/WorkerController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers; 3 namespace App\Http\Controllers;
4 4
5 use App\Classes\RusDate; 5 use App\Classes\RusDate;
6 use App\Http\Requests\DocumentsRequest; 6 use App\Http\Requests\DocumentsRequest;
7 use App\Http\Requests\PrevCompanyRequest; 7 use App\Http\Requests\PrevCompanyRequest;
8 use App\Http\Requests\SertificationRequest; 8 use App\Http\Requests\SertificationRequest;
9 use App\Models\Ad_employer; 9 use App\Models\Ad_employer;
10 use App\Models\ad_response; 10 use App\Models\ad_response;
11 use App\Models\Chat; 11 use App\Models\Chat;
12 use App\Models\Dop_info; 12 use App\Models\Dop_info;
13 use App\Models\infobloks; 13 use App\Models\infobloks;
14 use App\Models\Job_title; 14 use App\Models\Job_title;
15 use App\Models\Like_vacancy; 15 use App\Models\Like_vacancy;
16 use App\Models\Message; 16 use App\Models\Message;
17 use App\Models\place_works; 17 use App\Models\place_works;
18 use App\Models\PrevCompany; 18 use App\Models\PrevCompany;
19 use App\Models\ResponseWork; 19 use App\Models\ResponseWork;
20 use App\Models\sertification; 20 use App\Models\sertification;
21 use App\Models\Static_worker; 21 use App\Models\Static_worker;
22 use App\Models\Title_worker; 22 use App\Models\Title_worker;
23 use App\Models\User; 23 use App\Models\User;
24 use App\Models\User as User_Model; 24 use App\Models\User as User_Model;
25 use App\Models\Worker; 25 use App\Models\Worker;
26 use Barryvdh\DomPDF\Facade\Pdf; 26 use Barryvdh\DomPDF\Facade\Pdf;
27 use Carbon\Carbon; 27 use Carbon\Carbon;
28 use Illuminate\Auth\Events\Registered; 28 use Illuminate\Auth\Events\Registered;
29 use Illuminate\Database\Eloquent\Builder; 29 use Illuminate\Database\Eloquent\Builder;
30 use Illuminate\Http\Request; 30 use Illuminate\Http\Request;
31 use Illuminate\Support\Facades\Auth; 31 use Illuminate\Support\Facades\Auth;
32 use Illuminate\Support\Facades\Hash; 32 use Illuminate\Support\Facades\Hash;
33 use Illuminate\Support\Facades\Storage; 33 use Illuminate\Support\Facades\Storage;
34 use Illuminate\Support\Facades\Validator; 34 use Illuminate\Support\Facades\Validator;
35 use PhpOffice\PhpSpreadsheet\Spreadsheet; 35 use PhpOffice\PhpSpreadsheet\Spreadsheet;
36 use PhpOffice\PhpSpreadsheet\Writer\Xlsx; 36 use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
37 use Symfony\Component\HttpFoundation\StreamedResponse; 37 use Symfony\Component\HttpFoundation\StreamedResponse;
38 use App\Enums\DbExportColumns; 38 use App\Enums\DbExportColumns;
39 use App\Enums\WorkerStatuses; 39 use App\Enums\WorkerStatuses;
40 use DateTime; 40 use DateTime;
41 41
42 class WorkerController extends Controller 42 class WorkerController extends Controller
43 { 43 {
44 //профиль 44 //профиль
45 public function profile(Worker $worker) 45 public function profile(Worker $worker)
46 { 46 {
47 $get_date = date('Y.m'); 47 $get_date = date('Y.m');
48 48
49 $c = Static_worker::query()->where('year_month', '=', $get_date) 49 $c = Static_worker::query()->where('year_month', '=', $get_date)
50 ->where('user_id', '=', $worker->users->id) 50 ->where('user_id', '=', $worker->users->id)
51 ->get(); 51 ->get();
52 52
53 if ($c->count() > 0) { 53 if ($c->count() > 0) {
54 $upd = Static_worker::find($c[0]->id); 54 $upd = Static_worker::find($c[0]->id);
55 $upd->lookin = $upd->lookin + 1; 55 $upd->lookin = $upd->lookin + 1;
56 $upd->save(); 56 $upd->save();
57 } else { 57 } else {
58 $crt = new Static_worker(); 58 $crt = new Static_worker();
59 $crt->lookin = 1; 59 $crt->lookin = 1;
60 $crt->year_month = $get_date; 60 $crt->year_month = $get_date;
61 $crt->user_id = $worker->user_id; 61 $crt->user_id = $worker->user_id;
62 $crt->save(); 62 $crt->save();
63 } 63 }
64 64
65 $stat = Static_worker::query()->where('year_month', '=', $get_date) 65 $stat = Static_worker::query()->where('year_month', '=', $get_date)
66 ->where('user_id', '=', $worker->users->id) 66 ->where('user_id', '=', $worker->users->id)
67 ->get(); 67 ->get();
68 68
69 return view('public.workers.profile', compact('worker', 'stat')); 69 return view('public.workers.profile', compact('worker', 'stat'));
70 } 70 }
71 71
72 // лист база резюме 72 // лист база резюме
73 public function bd_resume(Request $request) 73 public function bd_resume(Request $request)
74 { 74 {
75 $look = false; 75 $look = false;
76 $idiot = 0; 76 $idiot = 0;
77 if (isset(Auth()->user()->id)) { 77 if (isset(Auth()->user()->id)) {
78 $idiot = Auth()->user()->id; 78 $idiot = Auth()->user()->id;
79 if ((!Auth()->user()->is_worker) && (Auth()->user()->is_lookin)) 79 if ((!Auth()->user()->is_worker) && (Auth()->user()->is_lookin))
80 $look = true; 80 $look = true;
81 } 81 }
82 82
83 if ($look) { 83 if ($look) {
84 $status_work = WorkerStatuses::getWorkerStatuses(); 84 $status_work = WorkerStatuses::getWorkerStatuses();
85 $resumes = Worker::query()->with('users')->with('job_titles')->orderByDesc('updated_at');; 85 $resumes = Worker::query()->with('users')->with('job_titles')->orderByDesc('updated_at');;
86 $resumes = $resumes->whereHas('users', function (Builder $query) { 86 $resumes = $resumes->whereHas('users', function (Builder $query) {
87 $query->Where('is_worker', '=', '1') 87 $query->Where('is_worker', '=', '1')
88 ->Where('is_bd', '=', '0'); 88 ->Where('is_bd', '=', '0');
89 }); 89 });
90 90
91 //dd($request->get('job')); 91 //dd($request->get('job'));
92 if (($request->has('job')) && ($request->get('job') > 0)) { 92 if (($request->has('job')) && ($request->get('job') > 0)) {
93 $resumes = $resumes->whereHas('job_titles', function (Builder $query) use ($request) { 93 $resumes = $resumes->whereHas('job_titles', function (Builder $query) use ($request) {
94 $query->Where('job_titles.id', $request->get('job')); 94 $query->Where('job_titles.id', $request->get('job'));
95 }); 95 });
96 } 96 }
97 97
98 $Job_title = Job_title::query() 98 $Job_title = Job_title::query()
99 ->where('is_remove', '=', '0') 99 ->where('is_remove', '=', '0')
100 ->where('is_bd', '=' , '1') 100 ->where('is_bd', '=' , '1')
101 ->orderByDesc('sort') 101 ->orderByDesc('sort')
102 ->get() 102 ->get()
103 ; 103 ;
104 104
105 if ($request->get('sort')) { 105 if ($request->get('sort')) {
106 $sort = $request->get('sort'); 106 $sort = $request->get('sort');
107 switch ($sort) { 107 switch ($sort) {
108 case 'looking_for_work': 108 case 'looking_for_work':
109 $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value); 109 $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value);
110 break; 110 break;
111 case 'considering_offers': 111 case 'considering_offers':
112 $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value); 112 $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value);
113 break; 113 break;
114 case 'not_looking_for_work': 114 case 'not_looking_for_work':
115 $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value); 115 $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value);
116 break; 116 break;
117 } 117 }
118 } 118 }
119 119
120 $res_count = $resumes->count(); 120 $res_count = $resumes->count();
121 //$resumes = $resumes->get(); 121 //$resumes = $resumes->get();
122 $resumes = $resumes->paginate(4); 122 $resumes = $resumes->paginate(4);
123 if ($request->ajax()) { 123 if ($request->ajax()) {
124 // Условия обставлены 124 // Условия обставлены
125 if ($request->has('block') && ($request->get('block') == 1)) { 125 if ($request->has('block') && ($request->get('block') == 1)) {
126 return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot')); 126 return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot'));
127 } 127 }
128 } else { 128 } else {
129 return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title')); 129 return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title'));
130 } 130 }
131 } else { 131 } else {
132 return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); 132 return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]);
133 } 133 }
134 } 134 }
135 135
136 public function basic_information(){ 136 public function basic_information(){
137 if (!isset(Auth()->user()->id)) { 137 if (!isset(Auth()->user()->id)) {
138 abort(404); 138 abort(404);
139 } 139 }
140 140
141 $user_id = Auth()->user()->id; 141 $user_id = Auth()->user()->id;
142 142
143 $user = User::query() 143 $user = User::query()
144 ->with('workers') 144 ->with('workers')
145 ->with(['jobtitles' => function ($query) { 145 ->with(['jobtitles' => function ($query) {
146 $query->select('job_titles.id'); 146 $query->select('job_titles.id');
147 }]) 147 }])
148 ->where('id', '=', $user_id) 148 ->where('id', '=', $user_id)
149 ->first(); 149 ->first();
150 $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); 150 $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray();
151 151
152 $job_titles = Job_title::query() 152 $job_titles = Job_title::query()
153 ->where('is_remove', '=', 0) 153 ->where('is_remove', '=', 0)
154 ->where('is_bd', '=', 1) 154 ->where('is_bd', '=', 1)
155 ->orderByDesc('sort') 155 ->orderByDesc('sort')
156 ->get() 156 ->get()
157 ; 157 ;
158 158
159 return view('workers.form_basic_information', compact('user', 'job_titles')); 159 return view('workers.form_basic_information', compact('user', 'job_titles'));
160 } 160 }
161 161
162 public function additional_documents(){ 162 public function additional_documents(){
163 if (!isset(Auth()->user()->id)) { 163 if (!isset(Auth()->user()->id)) {
164 abort(404); 164 abort(404);
165 } 165 }
166 166
167 $user_id = Auth()->user()->id; 167 $user_id = Auth()->user()->id;
168 168
169 $info_blocks = infobloks::query()->OrderBy('name')->get(); 169 $info_blocks = infobloks::query()->OrderBy('name')->get();
170 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; 170 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует'];
171 171
172 $worker = Worker::query() 172 $worker = Worker::query()
173 ->with('users') 173 ->with('users')
174 ->with('infobloks') 174 ->with('infobloks')
175 ->WhereHas('users', function (Builder $query) use ($user_id) { 175 ->WhereHas('users', function (Builder $query) use ($user_id) {
176 $query->Where('id', $user_id); 176 $query->Where('id', $user_id);
177 }) 177 })
178 ->first(); 178 ->first();
179 if ($worker->dop_info->count()){ 179 if ($worker->dop_info->count()){
180 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); 180 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray();
181 } 181 }
182 182
183 return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); 183 return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses'));
184 } 184 }
185 185
186 //Лайк резюме 186 //Лайк резюме
187 public function like_controller() { 187 public function like_controller() {
188 188
189 } 189 }
190 190
191 // анкета соискателя 191 // анкета соискателя
192 public function resume_profile(Worker $worker) 192 public function resume_profile(Worker $worker)
193 { 193 {
194 if (isset(Auth()->user()->id)) { 194 if (isset(Auth()->user()->id)) {
195 $idiot = Auth()->user()->id; 195 $idiot = Auth()->user()->id;
196 } else { 196 } else {
197 $idiot = 0; 197 $idiot = 0;
198 } 198 }
199 199
200 $status_work = WorkerStatuses::getWorkerStatuses(); 200 $status_work = WorkerStatuses::getWorkerStatuses();
201 $Query = Worker::query()->with('users')->with('job_titles') 201 $Query = Worker::query()->with('users')->with('job_titles')
202 ->with('place_worker')->with('sertificate')->with('prev_company') 202 ->with('place_worker')->with('sertificate')->with('prev_company')
203 ->with('infobloks')->with('response'); 203 ->with('infobloks')->with('response');
204 $Query = $Query->where('id', '=', $worker->id); 204 $Query = $Query->where('id', '=', $worker->id);
205 $Query = $Query->get(); 205 $Query = $Query->get();
206 206
207 $get_date = date('Y.m'); 207 $get_date = date('Y.m');
208 208
209 $infoblocks = infobloks::query()->get(); 209 $infoblocks = infobloks::query()->get();
210 210
211 $c = Static_worker::query()->where('year_month', '=', $get_date) 211 $c = Static_worker::query()->where('year_month', '=', $get_date)
212 ->where('user_id', '=', $worker->user_id) 212 ->where('user_id', '=', $worker->user_id)
213 ->get(); 213 ->get();
214 214
215 if ($c->count() > 0) { 215 if ($c->count() > 0) {
216 $upd = Static_worker::find($c[0]->id); 216 $upd = Static_worker::find($c[0]->id);
217 $upd->lookin = $upd->lookin + 1; 217 $upd->lookin = $upd->lookin + 1;
218 $upd->save(); 218 $upd->save();
219 } else { 219 } else {
220 $crt = new Static_worker(); 220 $crt = new Static_worker();
221 $crt->lookin = 1; 221 $crt->lookin = 1;
222 $crt->year_month = $get_date; 222 $crt->year_month = $get_date;
223 $crt->user_id = $worker->user_id; 223 $crt->user_id = $worker->user_id;
224 $status = $crt->save(); 224 $status = $crt->save();
225 } 225 }
226 226
227 $stat = Static_worker::query()->where('year_month', '=', $get_date) 227 $stat = Static_worker::query()->where('year_month', '=', $get_date)
228 ->where('user_id', '=', $worker->user_id) 228 ->where('user_id', '=', $worker->user_id)
229 ->get(); 229 ->get();
230 230
231 return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); 231 return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat'));
232 } 232 }
233 233
234 // скачать анкету соискателя 234 // скачать анкету соискателя
235 public function resume_download(Worker $worker) 235 public function resume_download(Worker $worker)
236 { 236 {
237 $status_work = WorkerStatuses::getWorkerStatuses(); 237 $status_work = WorkerStatuses::getWorkerStatuses();
238 $Query = Worker::query()->with('users')->with('job_titles') 238 $Query = Worker::query()->with('users')->with('job_titles')
239 ->with('place_worker')->with('sertificate')->with('prev_company') 239 ->with('place_worker')->with('sertificate')->with('prev_company')
240 ->with('infobloks'); 240 ->with('infobloks');
241 $Query = $Query->where('id', '=', $worker->id); 241 $Query = $Query->where('id', '=', $worker->id);
242 $Query = $Query->get(); 242 $Query = $Query->get();
243 243
244 view()->share('Query',$Query); 244 view()->share('Query',$Query);
245 245
246 $status_work = WorkerStatuses::getWorkerStatuses(); 246 $status_work = WorkerStatuses::getWorkerStatuses();
247 $infoblocks = infobloks::query()->get(); 247 $infoblocks = infobloks::query()->get();
248 248
249 //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks')); 249 //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks'));
250 $pdf = PDF::loadView('layout.pdf', [ 250 $pdf = PDF::loadView('layout.pdf', [
251 'Query' => $Query, 251 'Query' => $Query,
252 'status_work' => $status_work, 252 'status_work' => $status_work,
253 'infoblocks' => $infoblocks 253 'infoblocks' => $infoblocks
254 ])->setPaper('a4', 'landscape'); 254 ])->setPaper('a4', 'landscape');
255 255
256 return $pdf->stream(); 256 return $pdf->stream();
257 } 257 }
258 258
259 public function resume_download_all(Request $request) { 259 public function resume_download_all(Request $request) {
260 $spreadsheet = new Spreadsheet(); 260 $spreadsheet = new Spreadsheet();
261 $sheet = $spreadsheet->getActiveSheet(); 261 $sheet = $spreadsheet->getActiveSheet();
262 262
263 $columnMap = range('A', 'Z'); 263 $columnMap = range('A', 'Z');
264 $columns = []; 264 $columns = [];
265 265
266 foreach (DbExportColumns::toArray() as $key => $value){ 266 foreach (DbExportColumns::toArray() as $key => $value){
267 if ($request->input($key, 0)){ 267 if ($request->input($key, 0)){
268 $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); 268 $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value));
269 $columns[] = str_replace('__', '.', $key); 269 $columns[] = str_replace('__', '.', $key);
270 } 270 }
271 } 271 }
272 272
273 if (empty($columns)) { 273 if (empty($columns)) {
274 return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); 274 return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.');
275 } 275 }
276 276
277 $query = User::select($columns) 277 $query = User::select($columns)
278 ->leftJoin('workers', 'users.id', '=', 'workers.user_id') 278 ->leftJoin('workers', 'users.id', '=', 'workers.user_id')
279 ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id') 279 ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id')
280 ->where('users.is_bd', '=', 1) 280 ->where('users.is_bd', '=', 1);
281 ;
282 281
283 $job_title_list = $request->input('job_title_list', []); 282 $job_title_list = $request->input('job_title_list', []);
284 if (!empty($job_title_list)){ 283 if (!empty($job_title_list)){
285 $query->whereIn('job_titles.id', $job_title_list); 284 $query->whereIn('job_titles.id', $job_title_list);
286 } 285 }
287 286
288 $users = $query->get(); 287 $users = $query->get();
289 if ($users->count()){ 288 if ($users->count()){
290 $i = 2; 289 $i = 2;
291 foreach ($users->toArray() as $user){ 290 foreach ($users->toArray() as $user){
292 $j = 0; 291 $j = 0;
293 foreach ($user as $field){ 292 foreach ($user as $field){
294 $sheet->setCellValue("{$columnMap[$j++]}$i", $field); 293 $sheet->setCellValue("{$columnMap[$j++]}$i", $field);
295 } 294 }
296 $i++; 295 $i++;
297 } 296 }
298 } 297 }
299 $writer = new Xlsx($spreadsheet); 298 $writer = new Xlsx($spreadsheet);
300 $fileName = 'DB.xlsx'; 299 $fileName = 'DB.xlsx';
301 300
302 $response = new StreamedResponse(function() use ($writer) { 301 $response = new StreamedResponse(function() use ($writer) {
303 $writer->save('php://output'); 302 $writer->save('php://output');
304 }); 303 });
305 304
306 $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); 305 $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
307 $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); 306 $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"');
308 $response->headers->set('Cache-Control', 'max-age=0'); 307 $response->headers->set('Cache-Control', 'max-age=0');
309 308
310 return $response; 309 return $response;
311 } 310 }
312 311
313 // Кабинет работника 312 // Кабинет работника
314 public function cabinet(Request $request) 313 public function cabinet(Request $request)
315 { 314 {
316 // дата год и месяц 315 // дата год и месяц
317 $get_date = date('Y.m'); 316 $get_date = date('Y.m');
318 317
319 $id = Auth()->user()->id; 318 $id = Auth()->user()->id;
320 319
321 $Infobloks = infobloks::query()->get(); 320 $Infobloks = infobloks::query()->get();
322 321
323 $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')-> 322 $Worker = Worker::query()
324 with('infobloks')->with('place_worker')-> 323 ->with(['users', 'sertificate', 'prev_company', 'infobloks', 'place_worker'])
325 WhereHas('users', 324 ->WhereHas('users', function (Builder $query) use ($id) {
326 function (Builder $query) use ($id) {$query->Where('id', $id); 325 $query->Where('id', $id);
327 })->get(); 326 })->get();
328 327
329 $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> 328 $Job_titles = Job_title::query()->where('is_remove', '=', '0')
330 where('is_bd', '=' , '1')-> 329 ->where('is_bd', '=' , '1')
331 OrderByDesc('sort')->OrderBy('name')->get(); 330 ->OrderByDesc('sort')->OrderBy('name')
332 331 ->get();
333 332
334 $stat = Static_worker::query()->where('year_month', '=', $get_date) 333 $stat = Static_worker::query()->where('year_month', '=', $get_date)
335 ->where('user_id', '=', $id) 334 ->where('user_id', '=', $id)
336 ->get(); 335 ->get();
337 336
338 337
339 // 10% 338 // 10%
340 339
341 $persent = 10; 340 $persent = 10;
342 $persent1 = 0; 341 $persent1 = 0;
343 $persent2 = 0; 342 $persent2 = 0;
344 $persent3 = 0; 343 $persent3 = 0;
345 $persent4 = 0; 344 $persent4 = 0;
346 $persent5 = 0; 345 $persent5 = 0;
347 346
348 if ((!empty($Worker[0]->telephone)) && 347 if ((!empty($Worker[0]->telephone)) &&
349 (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) && 348 (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) &&
350 (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) { 349 (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) {
351 // 40% 350 // 40%
352 $persent = $persent + 40; 351 $persent = $persent + 40;
353 $persent1 = 40; 352 $persent1 = 40;
354 } 353 }
355 354
356 //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year); 355 //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year);
357 356
358 if ($Worker[0]->sertificate->count() > 0) { 357 if ($Worker[0]->sertificate->count() > 0) {
359 // 15% 358 // 15%
360 $persent = $persent + 15; 359 $persent = $persent + 15;
361 $persent2 = 15; 360 $persent2 = 15;
362 } 361 }
363 362
364 if ($Worker[0]->infobloks->count() > 0) { 363 if ($Worker[0]->infobloks->count() > 0) {
365 // 20% 364 // 20%
366 $persent = $persent + 20; 365 $persent = $persent + 20;
367 $persent3 = 20; 366 $persent3 = 20;
368 } 367 }
369 368
370 if ($Worker[0]->prev_company->count() > 0) { 369 if ($Worker[0]->prev_company->count() > 0) {
371 // 10% 370 // 10%
372 $persent = $persent + 10; 371 $persent = $persent + 10;
373 $persent4 = 10; 372 $persent4 = 10;
374 } 373 }
375 374
376 if (!empty($Worker[0]->photo)) { 375 if (!empty($Worker[0]->photo)) {
377 // 5% 376 // 5%
378 $persent = $persent + 5; 377 $persent = $persent + 5;
379 $persent5 = 5; 378 $persent5 = 5;
380 } 379 }
381 380
382 $status_work = WorkerStatuses::getWorkerStatuses(); 381 $status_work = WorkerStatuses::getWorkerStatuses();
383 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; 382 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует'];
384 $info_blocks = infobloks::query()->OrderBy('name')->get(); 383 $info_blocks = infobloks::query()->OrderBy('name')->get();
385 384
386 $worker = Worker::query() 385 $worker = Worker::query()
387 ->with('users') 386 ->with('users')
388 ->with('sertificate') 387 ->with('sertificate')
389 ->with('prev_company') 388 ->with('prev_company')
390 ->with('infobloks') 389 ->with('infobloks')
391 ->with('place_worker') 390 ->with('place_worker')
392 ->with('job_titles') 391 ->with('job_titles')
393 ->WhereHas('users', function (Builder $query) use ($id) { 392 ->WhereHas('users', function (Builder $query) use ($id) {
394 $query->Where('id', $id); 393 $query->Where('id', $id);
395 }) 394 })
396 ->first(); 395 ->first();
397 if ($worker->dop_info->count()){ 396 if ($worker->dop_info->count()){
398 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); 397 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray();
399 } 398 }
400 399
401 //dd($worker->dop_info); 400 //dd($worker->dop_info);
402 401
403 if ($request->has('print')) { 402 if ($request->has('print')) {
404 dd($Worker); 403 dd($Worker);
405 } else { 404 } else {
406 return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', 405 return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat',
407 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' 406 'worker', 'info_blocks', 'status_work', 'additional_document_statuses'
408 )); 407 ));
409 } 408 }
410 } 409 }
411 410
412 // Сохранение данных 411 // Сохранение данных
413 public function cabinet_save(Worker $worker, Request $request) 412 public function cabinet_save(Worker $worker, Request $request)
414 { 413 {
415 $id = $worker->id; 414 $id = $worker->id;
416 $params = $request->all(); 415 $params = $request->all();
417 $job_title_id = $request->get('job_title_id'); 416 $job_title_id = $request->get('job_title_id');
418 417
419 $rules = [ 418 $rules = [
420 'surname' => ['required', 'string', 'max:255'], 419 'surname' => ['required', 'string', 'max:255'],
421 'name_man' => ['required', 'string', 'max:255'], 420 'name_man' => ['required', 'string', 'max:255'],
422 'email' => ['required', 'string', 'email', 'max:255'], 421 'email' => ['required', 'string', 'email', 'max:255'],
423 422
424 ]; 423 ];
425 424
426 $messages = [ 425 $messages = [
427 'required' => 'Укажите обязательное поле', 426 'required' => 'Укажите обязательное поле',
428 'min' => [ 427 'min' => [
429 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 428 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
430 'integer' => 'Поле «:attribute» должно быть :min или больше', 429 'integer' => 'Поле «:attribute» должно быть :min или больше',
431 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 430 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
432 ], 431 ],
433 'max' => [ 432 'max' => [
434 'string' => 'Поле «:attribute» должно быть не больше :max символов', 433 'string' => 'Поле «:attribute» должно быть не больше :max символов',
435 'integer' => 'Поле «:attribute» должно быть :max или меньше', 434 'integer' => 'Поле «:attribute» должно быть :max или меньше',
436 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 435 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
437 ] 436 ]
438 ]; 437 ];
439 438
440 $validator = Validator::make($params, $rules, $messages); 439 $validator = Validator::make($params, $rules, $messages);
441 440
442 if ($validator->fails()) { 441 if ($validator->fails()) {
443 return redirect()->route('worker.cabinet')->withErrors($validator); 442 return redirect()->route('worker.cabinet')->withErrors($validator);
444 } else { 443 } else {
445 444
446 if ($request->has('photo')) { 445 if ($request->has('photo')) {
447 if (!empty($worker->photo)) { 446 if (!empty($worker->photo)) {
448 Storage::delete($worker->photo); 447 Storage::delete($worker->photo);
449 } 448 }
450 $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); 449 $params['photo'] = $request->file('photo')->store("worker/$id", 'public');
451 } 450 }
452 451
453 if ($request->has('file')) { 452 if ($request->has('file')) {
454 if (!empty($worker->file)) { 453 if (!empty($worker->file)) {
455 Storage::delete($worker->file); 454 Storage::delete($worker->file);
456 } 455 }
457 $params['file'] = $request->file('file')->store("worker/$id", 'public'); 456 $params['file'] = $request->file('file')->store("worker/$id", 'public');
458 } 457 }
459 458
460 $worker->update($params); 459 $worker->update($params);
461 $use = User::find($worker->user_id); 460 $use = User::find($worker->user_id);
462 $use->surname = $request->get('surname'); 461 $use->surname = $request->get('surname');
463 $use->name_man = $request->get('name_man'); 462 $use->name_man = $request->get('name_man');
464 $use->surname2 = $request->get('surname2'); 463 $use->surname2 = $request->get('surname2');
465 464
466 $use->save(); 465 $use->save();
467 $worker->job_titles()->sync($job_title_id); 466 $worker->job_titles()->sync($job_title_id);
468 467
469 return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); 468 return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены');
470 } 469 }
471 } 470 }
472 471
473 public function cabinet_save_foto(Worker $worker, Request $request){ 472 public function cabinet_save_foto(Worker $worker, Request $request){
474 $params = ['photo' => null]; 473 $params = ['photo' => null];
475 474
476 if ($request->has('photo')) { 475 if ($request->has('photo')) {
477 if (!empty($worker->photo)) { 476 if (!empty($worker->photo)) {
478 Storage::delete($worker->photo); 477 Storage::delete($worker->photo);
479 } 478 }
480 $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); 479 $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public');
481 } 480 }
482 481
483 if ($request->has('file')) { 482 if ($request->has('file')) {
484 if (!empty($worker->file)) { 483 if (!empty($worker->file)) {
485 Storage::delete($worker->file); 484 Storage::delete($worker->file);
486 } 485 }
487 $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); 486 $params['file'] = $request->file('file')->store("worker/$worker->id", 'public');
488 } 487 }
489 488
490 $worker->update($params); 489 $worker->update($params);
491 490
492 return redirect()->route('worker.cabinet'); 491 return redirect()->route('worker.cabinet');
493 } 492 }
494 493
495 // Сообщения данные 494 // Сообщения данные
496 public function messages($type_message) 495 public function messages($type_message)
497 { 496 {
498 $user_id = Auth()->user()->id; 497 $user_id = Auth()->user()->id;
499 498
500 $chats = Chat::get_user_chats($user_id); 499 $chats = Chat::get_user_chats($user_id);
501 $admin_chat = Chat::get_user_admin_chat($user_id); 500 $admin_chat = Chat::get_user_admin_chat($user_id);
502 $user_type = 'worker'; 501 $user_type = 'worker';
503 502
504 return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type')); 503 return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type'));
505 } 504 }
506 505
507 // Избранный 506 // Избранный
508 public function favorite() 507 public function favorite()
509 { 508 {
510 return view('workers.favorite'); 509 return view('workers.favorite');
511 } 510 }
512 511
513 // Сменить пароль 512 // Сменить пароль
514 public function new_password() 513 public function new_password()
515 { 514 {
516 $email = Auth()->user()->email; 515 $email = Auth()->user()->email;
517 return view('workers.new_password', compact('email')); 516 return view('workers.new_password', compact('email'));
518 } 517 }
519 518
520 // Обновление пароля 519 // Обновление пароля
521 public function save_new_password(Request $request) { 520 public function save_new_password(Request $request) {
522 $use = Auth()->user(); 521 $use = Auth()->user();
523 $request->validate([ 522 $request->validate([
524 'password' => 'required|string', 523 'password' => 'required|string',
525 'new_password' => 'required|string', 524 'new_password' => 'required|string',
526 'new_password2' => 'required|string' 525 'new_password2' => 'required|string'
527 ]); 526 ]);
528 527
529 if ($request->get('new_password') == $request->get('new_password2')) 528 if ($request->get('new_password') == $request->get('new_password2'))
530 if ($request->get('password') !== $request->get('new_password')) { 529 if ($request->get('password') !== $request->get('new_password')) {
531 $credentials = $request->only('email', 'password'); 530 $credentials = $request->only('email', 'password');
532 if (Auth::attempt($credentials, $request->has('save_me'))) { 531 if (Auth::attempt($credentials, $request->has('save_me'))) {
533 532
534 if (!is_null($use->email_verified_at)){ 533 if (!is_null($use->email_verified_at)){
535 534
536 $user_data = User_Model::find($use->id); 535 $user_data = User_Model::find($use->id);
537 $user_data->update([ 536 $user_data->update([
538 'password' => Hash::make($request->get('new_password')), 537 'password' => Hash::make($request->get('new_password')),
539 'pubpassword' => base64_encode($request->get('new_password')), 538 'pubpassword' => base64_encode($request->get('new_password')),
540 ]); 539 ]);
541 return redirect() 540 return redirect()
542 ->route('worker.new_password') 541 ->route('worker.new_password')
543 ->with('success', 'Поздравляю! Вы обновили свой пароль!'); 542 ->with('success', 'Поздравляю! Вы обновили свой пароль!');
544 } 543 }
545 544
546 return redirect() 545 return redirect()
547 ->route('worker.new_password') 546 ->route('worker.new_password')
548 ->withError('Данная учетная запись не было верифицированна!'); 547 ->withError('Данная учетная запись не было верифицированна!');
549 } 548 }
550 } 549 }
551 550
552 return redirect() 551 return redirect()
553 ->route('worker.new_password') 552 ->route('worker.new_password')
554 ->withErrors('Не совпадение данных, обновите пароли!'); 553 ->withErrors('Не совпадение данных, обновите пароли!');
555 } 554 }
556 555
557 // Удаление профиля форма 556 // Удаление профиля форма
558 public function delete_profile() 557 public function delete_profile()
559 { 558 {
560 $login = Auth()->user()->email; 559 $login = Auth()->user()->email;
561 return view('workers.delete_profile', compact('login')); 560 return view('workers.delete_profile', compact('login'));
562 } 561 }
563 562
564 // Удаление профиля код 563 // Удаление профиля код
565 public function delete_profile_result(Request $request) { 564 public function delete_profile_result(Request $request) {
566 $Answer = $request->all(); 565 $Answer = $request->all();
567 $user_id = Auth()->user()->id; 566 $user_id = Auth()->user()->id;
568 $request->validate([ 567 $request->validate([
569 'password' => 'required|string', 568 'password' => 'required|string',
570 ]); 569 ]);
571 570
572 $credentials = $request->only('email', 'password'); 571 $credentials = $request->only('email', 'password');
573 if (Auth::attempt($credentials)) { 572 if (Auth::attempt($credentials)) {
574 Auth::logout(); 573 Auth::logout();
575 $it = User_Model::find($user_id); 574 $it = User_Model::find($user_id);
576 $it->delete(); 575 $it->delete();
577 return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); 576 return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт');
578 } else { 577 } else {
579 return redirect()->route('worker.delete_profile') 578 return redirect()->route('worker.delete_profile')
580 ->withErrors( 'Неверный пароль! Нужен корректный пароль'); 579 ->withErrors( 'Неверный пароль! Нужен корректный пароль');
581 } 580 }
582 } 581 }
583 582
584 // Регистрация соискателя 583 // Регистрация соискателя
585 public function register_worker(Request $request) 584 public function register_worker(Request $request)
586 { 585 {
587 $params = $request->all(); 586 $params = $request->all();
588 $params['is_worker'] = 1; 587 $params['is_worker'] = 1;
589 588
590 $rules = [ 589 $rules = [
591 'surname' => ['required', 'string', 'max:255'], 590 'surname' => ['required', 'string', 'max:255'],
592 'name_man' => ['required', 'string', 'max:255'], 591 'name_man' => ['required', 'string', 'max:255'],
593 'email' => ['required', 'email', 'max:255', 'unique:users'], 592 'email' => ['required', 'email', 'max:255', 'unique:users'],
594 'password' => ['required', 'string', 'min:6'] 593 'password' => ['required', 'string', 'min:6']
595 ]; 594 ];
596 595
597 $messages = [ 596 $messages = [
598 'required' => 'Укажите обязательное поле', 597 'required' => 'Укажите обязательное поле',
599 'min' => [ 598 'min' => [
600 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 599 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
601 'integer' => 'Поле «:attribute» должно быть :min или больше', 600 'integer' => 'Поле «:attribute» должно быть :min или больше',
602 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 601 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
603 ], 602 ],
604 'max' => [ 603 'max' => [
605 'string' => 'Поле «:attribute» должно быть не больше :max символов', 604 'string' => 'Поле «:attribute» должно быть не больше :max символов',
606 'integer' => 'Поле «:attribute» должно быть :max или меньше', 605 'integer' => 'Поле «:attribute» должно быть :max или меньше',
607 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 606 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
608 ] 607 ]
609 ]; 608 ];
610 609
611 $email = $request->get('email'); 610 $email = $request->get('email');
612 if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { 611 if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) {
613 return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); 612 return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл"));
614 } 613 }
615 614
616 if ($request->get('password') !== $request->get('confirmed')){ 615 if ($request->get('password') !== $request->get('confirmed')){
617 return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); 616 return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля"));
618 } 617 }
619 618
620 if (strlen($request->get('password')) < 6) { 619 if (strlen($request->get('password')) < 6) {
621 return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); 620 return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!"));
622 } 621 }
623 622
624 /*$haystack = $request->get('password'); 623 /*$haystack = $request->get('password');
625 624
626 $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); 625 $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?');
627 $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', 626 $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z',
628 'X', 'C', 'V', 'B', 'N', 'M'); 627 'X', 'C', 'V', 'B', 'N', 'M');
629 $lenpwd_bool = true; 628 $lenpwd_bool = true;
630 $spec_bool = false; 629 $spec_bool = false;
631 $alpha_bool = false; 630 $alpha_bool = false;
632 631
633 if (strlen($haystack) < 8) $lenpwd_bool = false; 632 if (strlen($haystack) < 8) $lenpwd_bool = false;
634 633
635 foreach ($specsumbol as $it) { 634 foreach ($specsumbol as $it) {
636 if (strpos($haystack, $it) !== false) { 635 if (strpos($haystack, $it) !== false) {
637 $spec_bool = true; 636 $spec_bool = true;
638 } 637 }
639 } 638 }
640 639
641 foreach ($alpha as $it) { 640 foreach ($alpha as $it) {
642 if (strpos($haystack, $it) !== false) { 641 if (strpos($haystack, $it) !== false) {
643 $alpha_bool = true; 642 $alpha_bool = true;
644 } 643 }
645 } 644 }
646 645
647 if ((!$spec_bool) || (!$alpha_bool)) { 646 if ((!$spec_bool) || (!$alpha_bool)) {
648 return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); 647 return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?"));
649 }*/ 648 }*/
650 649
651 if (($request->has('politik')) && ($request->get('politik') == 1)) { 650 if (($request->has('politik')) && ($request->get('politik') == 1)) {
652 $validator = Validator::make($params, $rules, $messages); 651 $validator = Validator::make($params, $rules, $messages);
653 652
654 if ($validator->fails()) { 653 if ($validator->fails()) {
655 return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); 654 return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе."));
656 } else { 655 } else {
657 //dd($params); 656 //dd($params);
658 $user = $this->create($params); 657 $user = $this->create($params);
659 event(new Registered($user)); 658 event(new Registered($user));
660 Auth::guard()->login($user); 659 Auth::guard()->login($user);
661 } 660 }
662 if ($user) { 661 if ($user) {
663 return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; 662 return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));;
664 } else { 663 } else {
665 return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); 664 return json_encode(Array("ERROR" => "Error2: Данные были утеряны!"));
666 } 665 }
667 666
668 } else { 667 } else {
669 return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); 668 return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!"));
670 } 669 }
671 } 670 }
672 671
673 // Звездная оценка и ответ 672 // Звездная оценка и ответ
674 public function stars_answer(Request $request) { 673 public function stars_answer(Request $request) {
675 $params = $request->all(); 674 $params = $request->all();
676 $rules = [ 675 $rules = [
677 'message' => ['required', 'string', 'max:255'], 676 'message' => ['required', 'string', 'max:255'],
678 ]; 677 ];
679 678
680 $messages = [ 679 $messages = [
681 'required' => 'Укажите обязательное поле', 680 'required' => 'Укажите обязательное поле',
682 'min' => [ 681 'min' => [
683 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 682 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
684 'integer' => 'Поле «:attribute» должно быть :min или больше', 683 'integer' => 'Поле «:attribute» должно быть :min или больше',
685 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 684 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
686 ], 685 ],
687 'max' => [ 686 'max' => [
688 'string' => 'Поле «:attribute» должно быть не больше :max символов', 687 'string' => 'Поле «:attribute» должно быть не больше :max символов',
689 'integer' => 'Поле «:attribute» должно быть :max или меньше', 688 'integer' => 'Поле «:attribute» должно быть :max или меньше',
690 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 689 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
691 ] 690 ]
692 ]; 691 ];
693 $response_worker = ResponseWork::create($params); 692 $response_worker = ResponseWork::create($params);
694 return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); 693 return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!');
695 } 694 }
696 695
697 public function TestWorker() 696 public function TestWorker()
698 { 697 {
699 $Use = new User(); 698 $Use = new User();
700 699
701 $Code_user = $Use->create([ 700 $Code_user = $Use->create([
702 'name' => 'surname name_man', 701 'name' => 'surname name_man',
703 'name_man' => 'name_man', 702 'name_man' => 'name_man',
704 'surname' => 'surname', 703 'surname' => 'surname',
705 'surname2' => 'surname2', 704 'surname2' => 'surname2',
706 'subscribe_email' => '1', 705 'subscribe_email' => '1',
707 'email' => 'email@mail.com', 706 'email' => 'email@mail.com',
708 'telephone' => '1234567890', 707 'telephone' => '1234567890',
709 'password' => Hash::make('password'), 708 'password' => Hash::make('password'),
710 'pubpassword' => base64_encode('password'), 709 'pubpassword' => base64_encode('password'),
711 'email_verified_at' => Carbon::now(), 710 'email_verified_at' => Carbon::now(),
712 'is_worker' => 1, 711 'is_worker' => 1,
713 ]); 712 ]);
714 713
715 if ($Code_user->id > 0) { 714 if ($Code_user->id > 0) {
716 $Worker = new Worker(); 715 $Worker = new Worker();
717 $Worker->user_id = $Code_user->id; 716 $Worker->user_id = $Code_user->id;
718 $Worker->position_work = 1; //'job_titles'; 717 $Worker->position_work = 1; //'job_titles';
719 $Worker->email = 'email@email.com'; 718 $Worker->email = 'email@email.com';
720 $Worker->telephone = '1234567890'; 719 $Worker->telephone = '1234567890';
721 $status = $Worker->save(); 720 $status = $Worker->save();
722 721
723 $Title_Worker = new Title_worker(); 722 $Title_Worker = new Title_worker();
724 $Title_Worker->worker_id = $Worker->id; 723 $Title_Worker->worker_id = $Worker->id;
725 $Title_Worker->job_title_id = 1; 724 $Title_Worker->job_title_id = 1;
726 $Title_Worker->save(); 725 $Title_Worker->save();
727 } 726 }
728 } 727 }
729 728
730 // Создание пользователя 729 // Создание пользователя
731 protected function create(array $data) 730 protected function create(array $data)
732 { 731 {
733 $Use = new User(); 732 $Use = new User();
734 733
735 $Code_user = $Use->create([ 734 $Code_user = $Use->create([
736 'name' => $data['surname']." ".$data['name_man'], 735 'name' => $data['surname']." ".$data['name_man'],
737 'name_man' => $data['name_man'], 736 'name_man' => $data['name_man'],
738 'surname' => $data['surname'], 737 'surname' => $data['surname'],
739 'surname2' => $data['surname2'], 738 'surname2' => $data['surname2'],
740 'subscribe_email' => $data['email'], 739 'subscribe_email' => $data['email'],
741 'email' => $data['email'], 740 'email' => $data['email'],
742 'telephone' => $data['telephone'], 741 'telephone' => $data['telephone'],
743 'password' => Hash::make($data['password']), 742 'password' => Hash::make($data['password']),
744 'pubpassword' => base64_encode($data['password']), 743 'pubpassword' => base64_encode($data['password']),
745 'email_verified_at' => Carbon::now(), 744 'email_verified_at' => Carbon::now(),
746 'is_worker' => $data['is_worker'], 745 'is_worker' => $data['is_worker'],
747 ]); 746 ]);
748 747
749 if ($Code_user->id > 0) { 748 if ($Code_user->id > 0) {
750 $Worker = new Worker(); 749 $Worker = new Worker();
751 $Worker->user_id = $Code_user->id; 750 $Worker->user_id = $Code_user->id;
752 $Worker->position_work = $data['job_titles']; 751 $Worker->position_work = $data['job_titles'];
753 $Worker->email = $data['email']; 752 $Worker->email = $data['email'];
754 $Worker->telephone = $data['telephone']; 753 $Worker->telephone = $data['telephone'];
755 $Worker->save(); 754 $Worker->save();
756 755
757 if (isset($Worker->id)) { 756 if (isset($Worker->id)) {
758 $Title_Worker = new Title_worker(); 757 $Title_Worker = new Title_worker();
759 $Title_Worker->worker_id = $Worker->id; 758 $Title_Worker->worker_id = $Worker->id;
760 $Title_Worker->job_title_id = $data['job_titles']; 759 $Title_Worker->job_title_id = $data['job_titles'];
761 $Title_Worker->save(); 760 $Title_Worker->save();
762 } 761 }
763 762
764 return $Code_user; 763 return $Code_user;
765 } 764 }
766 } 765 }
767 766
768 // Вакансии избранные 767 // Вакансии избранные
769 public function colorado(Request $request) { 768 public function colorado(Request $request) {
770 $IP_address = RusDate::ip_addr_client(); 769 $IP_address = RusDate::ip_addr_client();
771 $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); 770 $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get();
772 771
773 if ($Arr->count()) { 772 if ($Arr->count()) {
774 $A = Array(); 773 $A = Array();
775 foreach ($Arr as $it) { 774 foreach ($Arr as $it) {
776 $A[] = $it->code_record; 775 $A[] = $it->code_record;
777 } 776 }
778 777
779 $Query = Ad_employer::query()->whereIn('id', $A); 778 $Query = Ad_employer::query()->whereIn('id', $A);
780 } else { 779 } else {
781 $Query = Ad_employer::query()->where('id', '=', '0'); 780 $Query = Ad_employer::query()->where('id', '=', '0');
782 } 781 }
783 782
784 $Query = $Query->with('jobs')-> 783 $Query = $Query->with(['jobs', 'cat', 'employer'])
785 with('cat')-> 784 ->whereHas('jobs_code', function ($query) use ($request) {
786 with('employer')-> 785 if ($request->ajax()) {
787 whereHas('jobs_code', function ($query) use ($request) { 786 if (null !== ($request->get('job'))) {
788 if ($request->ajax()) { 787 $query->where('job_title_id', $request->get('job'));
789 if (null !== ($request->get('job'))) { 788 }
790 $query->where('job_title_id', $request->get('job'));
791 } 789 }
792 } 790 })
793 })->select('ad_employers.*'); 791 ->select('ad_employers.*');
792
793 if ($request->get('search') !== null) {
794 $search = $request->get('search');
795 $Query->where('name', 'LIKE', "%$search%");
796 }
797
798 //dd($Query->get());
794 799
795 $Job_title = Job_title::query()->OrderBy('name')->get(); 800 $Job_title = Job_title::query()->OrderBy('name')->get();
796 801
797 $Query_count = $Query->count(); 802 $Query_count = $Query->count();
798 803
799 $Query = $Query->OrderBy('updated_at')->paginate(3); 804 $Query = $Query->OrderBy('updated_at')->paginate(3);
800 805
801
802 return view('workers.favorite', compact('Query', 806 return view('workers.favorite', compact('Query',
803 'Query_count', 807 'Query_count',
804 'Job_title')); 808 'Job_title'));
805 809
806 } 810 }
807 811
808 //Переписка 812 //Переписка
809 public function dialog(Chat $chat, Request $request) { 813 public function dialog(Chat $chat, Request $request) {
810 // Получение параметров. 814 // Получение параметров.
811 if ($request->has('ad_employer')){ 815 if ($request->has('ad_employer')){
812 $ad_employer = $request->get('ad_employer'); 816 $ad_employer = $request->get('ad_employer');
813 } else { 817 } else {
814 $ad_employer = 0; 818 $ad_employer = 0;
815 } 819 }
816 820
817 $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); 821 $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first();
818 $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); 822 $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first();
819 823
820 $Messages = Chat::get_chat_messages($chat); 824 $Messages = Chat::get_chat_messages($chat);
821 825
822 Message::where('chat_id_to', '=', $chat->id)->update(['flag_new' => 0]); 826 Message::where('chat_id_to', '=', $chat->id)->update(['flag_new' => 0]);
823 827
824 return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer')); 828 return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer'));
825 } 829 }
826 830
827 // Даунылоады 831 // Даунылоады
828 public function download(Worker $worker) { 832 public function download(Worker $worker) {
829 $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; 833 $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...'];
830 view()->share('house',$arr_house); 834 view()->share('house',$arr_house);
831 $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); 835 $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape');
832 return $pdf->stream(); 836 return $pdf->stream();
833 } 837 }
834 838
835 // Поднятие анкеты 839 // Поднятие анкеты
836 public function up(Worker $worker) { 840 public function up(Worker $worker) {
837 $worker->updated_at = Carbon::now(); 841 $worker->updated_at = Carbon::now();
838 $worker->save(); 842 $worker->save();
839 // 0 843 // 0
840 return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); 844 return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных');
841 } 845 }
842 846
843 // Форма сертификате 847 // Форма сертификате
844 public function new_sertificate(Worker $worker) { 848 public function new_sertificate(Worker $worker) {
845 return view('workers.sertificate_add', compact('worker')); 849 return view('workers.sertificate_add', compact('worker'));
846 } 850 }
847 851
848 // Добавление сертификата 852 // Добавление сертификата
849 public function add_serificate(SertificationRequest $request) { 853 public function add_serificate(SertificationRequest $request) {
850 $request->validate([ 854 $request->validate([
851 'name' => 'required|string|max:255', 855 'name' => 'required|string|max:255',
852 'end_begin' => 'required|date|date_format:d.m.Y' 856 'end_begin' => 'required|date|date_format:d.m.Y'
853 ], 857 ],
854 [ 858 [
855 'name' => 'Навание сертификата обязательно для заполнения.', 859 'name' => 'Навание сертификата обязательно для заполнения.',
856 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' 860 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг'
857 ]); 861 ]);
858 862
859 $params = $request->all(); 863 $params = $request->all();
860 864
861 $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); 865 $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']);
862 $params['end_begin'] = $end_begin->format('Y-m-d'); 866 $params['end_begin'] = $end_begin->format('Y-m-d');
863 867
864 $Sertificate = new sertification(); 868 $Sertificate = new sertification();
865 $Sertificate->create($params); 869 $Sertificate->create($params);
866 870
867 return response()->json([ 871 return response()->json([
868 'success' => true 872 'success' => true
869 ]); 873 ]);
870 } 874 }
871 875
872 // Удалить сертификат 876 // Удалить сертификат
873 public function delete_sertificate(sertification $doc) { 877 public function delete_sertificate(sertification $doc) {
874 $doc->delete(); 878 $doc->delete();
875 879
876 return redirect()->route('worker.cabinet'); 880 return redirect()->route('worker.cabinet');
877 } 881 }
878 882
879 // Редактирование сертификата 883 // Редактирование сертификата
880 public function edit_sertificate(Worker $worker, sertification $doc) { 884 public function edit_sertificate(Worker $worker, sertification $doc) {
881 return view('workers.sertificate_edit', compact('doc', 'worker')); 885 return view('workers.sertificate_edit', compact('doc', 'worker'));
882 } 886 }
883 887
884 // Редактирование обновление сертификата 888 // Редактирование обновление сертификата
885 public function update_serificate(SertificationRequest $request, sertification $doc) { 889 public function update_serificate(SertificationRequest $request, sertification $doc) {
886 $request->validate([ 890 $request->validate([
887 'name' => 'required|string|max:255', 891 'name' => 'required|string|max:255',
888 'end_begin' => 'required|date|date_format:d.m.Y' 892 'end_begin' => 'required|date|date_format:d.m.Y'
889 ], 893 ],
890 [ 894 [
891 'name' => 'Навание сертификата обязательно для заполнения.', 895 'name' => 'Навание сертификата обязательно для заполнения.',
892 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' 896 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг'
893 ]); 897 ]);
894 898
895 $all = $request->all(); 899 $all = $request->all();
896 900
897 $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); 901 $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']);
898 $all['end_begin'] = $end_begin->format('Y-m-d'); 902 $all['end_begin'] = $end_begin->format('Y-m-d');
899 903
900 $doc->worker_id = $all['worker_id']; 904 $doc->worker_id = $all['worker_id'];
901 $doc->name = $all['name']; 905 $doc->name = $all['name'];
902 $doc->end_begin = $all['end_begin']; 906 $doc->end_begin = $all['end_begin'];
903 $doc->save(); 907 $doc->save();
904 908
905 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); 909 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!');
906 } 910 }
907 911
908 public function edit_diploms(Request $request, Worker $worker) { 912 public function edit_diploms(Request $request, Worker $worker) {
909 $dop_info_data = $request->input('diploms'); 913 $dop_info_data = $request->input('diploms');
910 914
911 if (empty($dop_info_data)) { 915 if (empty($dop_info_data)) {
912 return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); 916 return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!');
913 } 917 }
914 918
915 foreach ($dop_info_data as $infoblok_id => $status) { 919 foreach ($dop_info_data as $infoblok_id => $status) {
916 Dop_info::updateOrCreate( 920 Dop_info::updateOrCreate(
917 ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], 921 ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id],
918 ['status' => $status] 922 ['status' => $status]
919 ); 923 );
920 } 924 }
921 925
922 return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); 926 return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!');
923 } 927 }
924 928
925 public function delete_add_diplom(Request $request, Worker $worker) { 929 public function delete_add_diplom(Request $request, Worker $worker) {
926 $infoblok_id = $request->get('infoblok_id'); 930 $infoblok_id = $request->get('infoblok_id');
927 931
928 if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) 932 if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0)
929 $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); 933 $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete();
930 else { 934 else {
931 $params['infoblok_id'] = $infoblok_id; 935 $params['infoblok_id'] = $infoblok_id;
932 $params['worker_id'] = $worker->id; 936 $params['worker_id'] = $worker->id;
933 $params['status'] = $request->get('val'); 937 $params['status'] = $request->get('val');
934 $id = Dop_info::create($params); 938 $id = Dop_info::create($params);
935 //$id = $worker->infobloks()->sync([$infoblok_id]); 939 //$id = $worker->infobloks()->sync([$infoblok_id]);
936 } 940 }
937 941
938 //$Infoblocks = infobloks::query()->get(); 942 //$Infoblocks = infobloks::query()->get();
939 return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); 943 return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks'));
940 } 944 }
941 945
942 946
943 947
944 // Добавление диплома 948 // Добавление диплома
945 public function add_diplom_ajax(Request $request) { 949 public function add_diplom_ajax(Request $request) {
946 // конец 950 // конец
947 $params = $request->all(); 951 $params = $request->all();
948 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); 952 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count();
949 953
950 if ($count == 0) $dop_info = Dop_info::create($params); 954 if ($count == 0) $dop_info = Dop_info::create($params);
951 $Infoblocks = infobloks::query()->get(); 955 $Infoblocks = infobloks::query()->get();
952 $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); 956 $Worker = Worker::query()->where('id', $request->get('worker_id'))->get();
953 $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); 957 $data = Dop_info::query()->where('worker_id', $request->has('worker_id'));
954 return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); 958 return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker'));
955 } 959 }
956 960
957 // Добавление диплома без ajax 961 // Добавление диплома без ajax
958 public function add_diplom(Worker $worker) { 962 public function add_diplom(Worker $worker) {
959 $worker_id = $worker->id; 963 $worker_id = $worker->id;
960 $Infoblocks = infobloks::query()->get(); 964 $Infoblocks = infobloks::query()->get();
961 return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); 965 return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks'));
962 } 966 }
963 // Сохранить 967 // Сохранить
964 // Сохраняю диплом 968 // Сохраняю диплом
965 public function add_diplom_save(Request $request) { 969 public function add_diplom_save(Request $request) {
966 $params = $request->all(); 970 $params = $request->all();
967 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); 971 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count();
968 if ($count == 0) $dop_info = Dop_info::create($params); 972 if ($count == 0) $dop_info = Dop_info::create($params);
969 return redirect()->route('worker.cabinet'); 973 return redirect()->route('worker.cabinet');
970 } 974 }
971 975
972 // Добавление стандартного документа 976 // Добавление стандартного документа
973 public function add_document(Worker $worker) { 977 public function add_document(Worker $worker) {
974 return view('workers.docs', compact('worker')); 978 return view('workers.docs', compact('worker'));
975 } 979 }
976 980
977 //Сохранение стандартого документа 981 //Сохранение стандартого документа
978 public function add_document_save(DocumentsRequest $request) { 982 public function add_document_save(DocumentsRequest $request) {
979 $params = $request->all(); 983 $params = $request->all();
980 place_works::create($params); 984 place_works::create($params);
981 return response()->json(['success' => true]); 985 return response()->json(['success' => true]);
982 } 986 }
983 987
984 // Редактирование документа 988 // Редактирование документа
985 public function edit_document(place_works $doc, Worker $worker) { 989 public function edit_document(place_works $doc, Worker $worker) {
986 return view('workers.docs-edit', compact('doc', 'worker')); 990 return view('workers.docs-edit', compact('doc', 'worker'));
987 } 991 }
988 992
989 //Сохранение отредактированного документа 993 //Сохранение отредактированного документа
990 public function edit_document_save(DocumentsRequest $request, place_works $doc) { 994 public function edit_document_save(DocumentsRequest $request, place_works $doc) {
991 $params = $request->all(); 995 $params = $request->all();
992 $doc->update($params); 996 $doc->update($params);
993 997
994 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); 998 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!');
995 } 999 }
996 1000
997 // Удаление документа 1001 // Удаление документа
998 public function delete_document(place_works $doc) { 1002 public function delete_document(place_works $doc) {
999 $doc->delete(); 1003 $doc->delete();
1000 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); 1004 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!');
1001 } 1005 }
1002 1006
1003 //Отправка нового сообщения 1007 //Отправка нового сообщения
1004 public function new_message(Request $request) { 1008 public function new_message(Request $request) {
1005 $params = $request->all(); 1009 $params = $request->all();
1006 1010
1007 $id = $params['send_user_id']; 1011 $id = $params['send_user_id'];
1008 $message_params = [ 1012 $message_params = [
1009 'title' => $params['send_title'], 1013 'title' => $params['send_title'],
1010 'text' => $params['send_text'], 1014 'text' => $params['send_text'],
1011 'ad_employer_id' => $params['send_vacancy'], 1015 'ad_employer_id' => $params['send_vacancy'],
1012 'flag_new' => 1 1016 'flag_new' => 1
1013 ]; 1017 ];
1014 1018
1015 $message = Message::add_message( 1019 $message = Message::add_message(
1016 $request, 1020 $request,
1017 $params['send_user_id'], 1021 $params['send_user_id'],
1018 $params['send_to_user_id'], 1022 $params['send_to_user_id'],
1019 $message_params, 1023 $message_params,
1020 file_store_path: "worker/$id" 1024 file_store_path: "worker/$id"
1021 ); 1025 );
1022 1026
1023 $data['message_id'] = $message->id; 1027 $data['message_id'] = $message->id;
1024 $data['ad_employer_id'] = $params['send_vacancy']; 1028 $data['ad_employer_id'] = $params['send_vacancy'];
1025 $data['job_title_id'] = $params['send_job_title_id']; 1029 $data['job_title_id'] = $params['send_job_title_id'];
1026 $data['flag'] = 1; 1030 $data['flag'] = 1;
1027 $ad_responce = ad_response::create($data); 1031 $ad_responce = ad_response::create($data);
1028 return redirect()->route('worker.messages', ['type_message' => 'output']); 1032 return redirect()->route('worker.messages', ['type_message' => 'output']);
1029 } 1033 }
1030 1034
1031 1035
1032 public function test123(Request $request) { 1036 public function test123(Request $request) {
1033 $params = $request->all(); 1037 $params = $request->all();
1034 $user1 = $params['user_id']; 1038 $user1 = $params['user_id'];
1035 $user2 = $params['to_user_id']; 1039 $user2 = $params['to_user_id'];
1036 1040
1037 $rules = [ 1041 $rules = [
1038 'text' => 'nullable|required_without:file|min:1|max:150000', 1042 'text' => 'nullable|required_without:file|min:1|max:150000',
1039 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' 1043 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000'
1040 ]; 1044 ];
1041 $messages = [ 1045 $messages = [
1042 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен', 1046 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен',
1043 'min' => [ 1047 'min' => [
1044 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 1048 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
1045 'integer' => 'Поле «:attribute» должно быть :min или больше', 1049 'integer' => 'Поле «:attribute» должно быть :min или больше',
1046 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 1050 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
1047 ], 1051 ],
1048 'max' => [ 1052 'max' => [
1049 'string' => 'Поле «:attribute» должно быть не больше :max символов', 1053 'string' => 'Поле «:attribute» должно быть не больше :max символов',
1050 'integer' => 'Поле «:attribute» должно быть :max или меньше', 1054 'integer' => 'Поле «:attribute» должно быть :max или меньше',
1051 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 1055 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
1052 ] 1056 ]
1053 ]; 1057 ];
1054 1058
1055 $validator = Validator::make($request->all(), $rules, $messages); 1059 $validator = Validator::make($request->all(), $rules, $messages);
1056 1060
1057 if ($validator->fails()) { 1061 if ($validator->fails()) {
1058 $chat = Chat::where('user_id', $user1) 1062 $chat = Chat::where('user_id', $user1)
1059 ->where('to_user_id', $user2) 1063 ->where('to_user_id', $user2)
1060 ->where('is_removed', 0) 1064 ->where('is_removed', 0)
1061 ->first() 1065 ->first()
1062 ; 1066 ;
1063 1067
1064 if ($chat->id){ 1068 if ($chat->id){
1065 return redirect()->route('worker.dialog', ['chat' => $chat->id])->withErrors($validator); 1069 return redirect()->route('worker.dialog', ['chat' => $chat->id])->withErrors($validator);
1066 } else { 1070 } else {
1067 return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator); 1071 return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator);
1068 } 1072 }
1069 } else { 1073 } else {
1070 $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); 1074 $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages');
1071 1075
1072 return redirect()->route('worker.dialog', ['chat' => $new_message->chat_id_from]); 1076 return redirect()->route('worker.dialog', ['chat' => $new_message->chat_id_from]);
1073 1077
1074 } 1078 }
1075 } 1079 }
1076 1080
1077 // Информация о предыдущих компаниях 1081 // Информация о предыдущих компаниях
1078 public function new_prev_company(Worker $worker) { 1082 public function new_prev_company(Worker $worker) {
1079 return view('workers.prev_company_form', compact('worker')); 1083 return view('workers.prev_company_form', compact('worker'));
1080 } 1084 }
1081 1085
1082 // Добавление контакта компании 1086 // Добавление контакта компании
1083 public function add_prev_company(PrevCompanyRequest $request) { 1087 public function add_prev_company(PrevCompanyRequest $request) {
1084 // Возвращение параметров 1088 // Возвращение параметров
1085 $all = $request->all(); 1089 $all = $request->all();
1086 PrevCompany::create($all); 1090 PrevCompany::create($all);
1087 1091
1088 return response()->json(['success' => true]); 1092 return response()->json(['success' => true]);
1089 } 1093 }
1090 1094
1091 // Редактирование контакта компании 1095 // Редактирование контакта компании
1092 public function edit_prev_company(PrevCompany $doc, Worker $worker) { 1096 public function edit_prev_company(PrevCompany $doc, Worker $worker) {
1093 return view('workers.prev_company_edit_form', compact('doc', 'worker')); 1097 return view('workers.prev_company_edit_form', compact('doc', 'worker'));
1094 } 1098 }
1095 1099
1096 //Сохранение редактирования контакта компании 1100 //Сохранение редактирования контакта компании
1097 public function update_prev_company(PrevCompany $doc, Request $request){ 1101 public function update_prev_company(PrevCompany $doc, Request $request){
1098 $all = $request->all(); 1102 $all = $request->all();
1099 $doc->update($all); 1103 $doc->update($all);
1100 1104
1101 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); 1105 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись');
1102 } 1106 }
1103 1107
1104 // Удаление контакта предыдущей компании 1108 // Удаление контакта предыдущей компании
1105 public function delete_prev_company(PrevCompany $doc) { 1109 public function delete_prev_company(PrevCompany $doc) {
1106 $doc->delete(); 1110 $doc->delete();
1107 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); 1111 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!');
1108 } 1112 }
1 <?php 1 <?php
2 2
3 use Illuminate\Support\Str; 3 use Illuminate\Support\Str;
4 4
5 return [ 5 return [
6 6
7 /* 7 /*
8 |-------------------------------------------------------------------------- 8 |--------------------------------------------------------------------------
9 | Default Database Connection Name 9 | Default Database Connection Name
10 |-------------------------------------------------------------------------- 10 |--------------------------------------------------------------------------
11 | 11 |
12 | Here you may specify which of the database connections below you wish 12 | Here you may specify which of the database connections below you wish
13 | to use as your default connection for all database work. Of course 13 | to use as your default connection for all database work. Of course
14 | you may use many connections at once using the Database library. 14 | you may use many connections at once using the Database library.
15 | 15 |
16 */ 16 */
17 17
18 'default' => env('DB_CONNECTION', 'mysql'), 18 'default' => env('DB_CONNECTION', 'mysql'),
19 19
20 /* 20 /*
21 |-------------------------------------------------------------------------- 21 |--------------------------------------------------------------------------
22 | Database Connections 22 | Database Connections
23 |-------------------------------------------------------------------------- 23 |--------------------------------------------------------------------------
24 | 24 |
25 | Here are each of the database connections setup for your application. 25 | Here are each of the database connections setup for your application.
26 | Of course, examples of configuring each database platform that is 26 | Of course, examples of configuring each database platform that is
27 | supported by Laravel is shown below to make development simple. 27 | supported by Laravel is shown below to make development simple.
28 | 28 |
29 | 29 |
30 | All database work in Laravel is done through the PHP PDO facilities 30 | All database work in Laravel is done through the PHP PDO facilities
31 | so make sure you have the driver for your particular database of 31 | so make sure you have the driver for your particular database of
32 | choice installed on your machine before you begin development. 32 | choice installed on your machine before you begin development.
33 | 33 |
34 */ 34 */
35 35
36 'connections' => [ 36 'connections' => [
37 37
38 'sqlite' => [ 38 'sqlite' => [
39 'driver' => 'sqlite', 39 'driver' => 'sqlite',
40 'url' => env('DATABASE_URL'), 40 'url' => env('DATABASE_URL'),
41 'database' => env('DB_DATABASE', database_path('database.sqlite')), 41 'database' => env('DB_DATABASE', database_path('database.sqlite')),
42 'prefix' => '', 42 'prefix' => '',
43 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), 43 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
44 ], 44 ],
45 45
46 'mysql' => [ 46 'mysql' => [
47 'driver' => 'mysql', 47 'driver' => 'mysql',
48 'url' => env('DATABASE_URL'), 48 'url' => env('DATABASE_URL'),
49 'host' => env('DB_HOST', '127.0.0.1'), 49 'host' => env('DB_HOST', '127.0.0.1'),
50 'port' => env('DB_PORT', '3306'), 50 'port' => env('DB_PORT', '3306'),
51 'database' => env('DB_DATABASE', 'forge'), 51 'database' => env('DB_DATABASE', 'forge'),
52 'username' => env('DB_USERNAME', 'forge'), 52 'username' => env('DB_USERNAME', 'forge'),
53 'password' => env('DB_PASSWORD', ''), 53 'password' => env('DB_PASSWORD', ''),
54 'unix_socket' => env('DB_SOCKET', ''), 54 'unix_socket' => env('DB_SOCKET', ''),
55 'charset' => 'utf8mb4', 55 'charset' => 'utf8mb4',
56 'collation' => 'utf8mb4_unicode_ci', 56 'collation' => 'utf8mb4_unicode_ci',
57 'prefix' => '', 57 'prefix' => '',
58 'prefix_indexes' => true, 58 'prefix_indexes' => true,
59 'strict' => true, 59 //'strict' => true,
60 'engine' => 'InnoDB ROW_FORMAT=DYNAMIC', 60 'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
61 'options' => extension_loaded('pdo_mysql') ? array_filter([ 61 'options' => extension_loaded('pdo_mysql') ? array_filter([
62 PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), 62 PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
63 ]) : [], 63 ]) : [],
64 ], 64 ],
65 65
66 'pgsql' => [ 66 'pgsql' => [
67 'driver' => 'pgsql', 67 'driver' => 'pgsql',
68 'url' => env('DATABASE_URL'), 68 'url' => env('DATABASE_URL'),
69 'host' => env('DB_HOST', '127.0.0.1'), 69 'host' => env('DB_HOST', '127.0.0.1'),
70 'port' => env('DB_PORT', '5432'), 70 'port' => env('DB_PORT', '5432'),
71 'database' => env('DB_DATABASE', 'forge'), 71 'database' => env('DB_DATABASE', 'forge'),
72 'username' => env('DB_USERNAME', 'forge'), 72 'username' => env('DB_USERNAME', 'forge'),
73 'password' => env('DB_PASSWORD', ''), 73 'password' => env('DB_PASSWORD', ''),
74 'charset' => 'utf8', 74 'charset' => 'utf8',
75 'prefix' => '', 75 'prefix' => '',
76 'prefix_indexes' => true, 76 'prefix_indexes' => true,
77 'search_path' => 'public', 77 'search_path' => 'public',
78 'sslmode' => 'prefer', 78 'sslmode' => 'prefer',
79 ], 79 ],
80 80
81 'sqlsrv' => [ 81 'sqlsrv' => [
82 'driver' => 'sqlsrv', 82 'driver' => 'sqlsrv',
83 'url' => env('DATABASE_URL'), 83 'url' => env('DATABASE_URL'),
84 'host' => env('DB_HOST', 'localhost'), 84 'host' => env('DB_HOST', 'localhost'),
85 'port' => env('DB_PORT', '1433'), 85 'port' => env('DB_PORT', '1433'),
86 'database' => env('DB_DATABASE', 'forge'), 86 'database' => env('DB_DATABASE', 'forge'),
87 'username' => env('DB_USERNAME', 'forge'), 87 'username' => env('DB_USERNAME', 'forge'),
88 'password' => env('DB_PASSWORD', ''), 88 'password' => env('DB_PASSWORD', ''),
89 'charset' => 'utf8', 89 'charset' => 'utf8',
90 'prefix' => '', 90 'prefix' => '',
91 'prefix_indexes' => true, 91 'prefix_indexes' => true,
92 // 'encrypt' => env('DB_ENCRYPT', 'yes'), 92 // 'encrypt' => env('DB_ENCRYPT', 'yes'),
93 // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), 93 // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
94 ], 94 ],
95 95
96 ], 96 ],
97 97
98 /* 98 /*
99 |-------------------------------------------------------------------------- 99 |--------------------------------------------------------------------------
100 | Migration Repository Table 100 | Migration Repository Table
101 |-------------------------------------------------------------------------- 101 |--------------------------------------------------------------------------
102 | 102 |
103 | This table keeps track of all the migrations that have already run for 103 | This table keeps track of all the migrations that have already run for
104 | your application. Using this information, we can determine which of 104 | your application. Using this information, we can determine which of
105 | the migrations on disk haven't actually been run in the database. 105 | the migrations on disk haven't actually been run in the database.
106 | 106 |
107 */ 107 */
108 108
109 'migrations' => 'migrations', 109 'migrations' => 'migrations',
110 110
111 /* 111 /*
112 |-------------------------------------------------------------------------- 112 |--------------------------------------------------------------------------
113 | Redis Databases 113 | Redis Databases
114 |-------------------------------------------------------------------------- 114 |--------------------------------------------------------------------------
115 | 115 |
116 | Redis is an open source, fast, and advanced key-value store that also 116 | Redis is an open source, fast, and advanced key-value store that also
117 | provides a richer body of commands than a typical key-value system 117 | provides a richer body of commands than a typical key-value system
118 | such as APC or Memcached. Laravel makes it easy to dig right in. 118 | such as APC or Memcached. Laravel makes it easy to dig right in.
119 | 119 |
120 */ 120 */
121 121
122 'redis' => [ 122 'redis' => [
123 123
124 'client' => env('REDIS_CLIENT', 'phpredis'), 124 'client' => env('REDIS_CLIENT', 'phpredis'),
125 125
126 'options' => [ 126 'options' => [
127 'cluster' => env('REDIS_CLUSTER', 'redis'), 127 'cluster' => env('REDIS_CLUSTER', 'redis'),
128 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), 128 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
129 ], 129 ],
130 130
131 'default' => [ 131 'default' => [
132 'url' => env('REDIS_URL'), 132 'url' => env('REDIS_URL'),
133 'host' => env('REDIS_HOST', '127.0.0.1'), 133 'host' => env('REDIS_HOST', '127.0.0.1'),
134 'username' => env('REDIS_USERNAME'), 134 'username' => env('REDIS_USERNAME'),
135 'password' => env('REDIS_PASSWORD'), 135 'password' => env('REDIS_PASSWORD'),
136 'port' => env('REDIS_PORT', '6379'), 136 'port' => env('REDIS_PORT', '6379'),
137 'database' => env('REDIS_DB', '0'), 137 'database' => env('REDIS_DB', '0'),
138 ], 138 ],
139 139
140 'cache' => [ 140 'cache' => [
141 'url' => env('REDIS_URL'), 141 'url' => env('REDIS_URL'),
142 'host' => env('REDIS_HOST', '127.0.0.1'), 142 'host' => env('REDIS_HOST', '127.0.0.1'),
143 'username' => env('REDIS_USERNAME'), 143 'username' => env('REDIS_USERNAME'),
144 'password' => env('REDIS_PASSWORD'), 144 'password' => env('REDIS_PASSWORD'),
145 'port' => env('REDIS_PORT', '6379'), 145 'port' => env('REDIS_PORT', '6379'),
146 'database' => env('REDIS_CACHE_DB', '1'), 146 'database' => env('REDIS_CACHE_DB', '1'),
147 ], 147 ],
148 148
149 ], 149 ],
150 150
151 ]; 151 ];
152 152
public/images/sprite.svg
1 <svg xmlns="http://www.w3.org/2000/svg" display="none"> 1 <svg xmlns="http://www.w3.org/2000/svg" display="none">
2 2
3 <symbol id="logo" viewBox="0 0 182 54" fill="none"> 3 <symbol id="logo" viewBox="0 0 182 54" fill="none">
4 <path d="M26.9375 54C41.8147 54 53.875 41.9117 53.875 27C53.875 12.0883 41.8147 0 26.9375 0C12.0603 0 0 12.0883 0 27C0 41.9117 12.0603 54 26.9375 54Z" fill="currentColor"/> 4 <path d="M26.9375 54C41.8147 54 53.875 41.9117 53.875 27C53.875 12.0883 41.8147 0 26.9375 0C12.0603 0 0 12.0883 0 27C0 41.9117 12.0603 54 26.9375 54Z" fill="currentColor"/>
5 <path d="M66.8154 37.1175C66.6503 36.5881 66.5183 36.2903 66.5183 34.6359V31.4594C66.5183 29.5734 65.8911 28.9116 64.4385 28.9116H63.3492V37.1175H60.147V16.9668H64.9667C68.2679 16.9668 69.7204 18.4889 69.7204 21.5992V23.1874C69.7204 25.2719 69.0602 26.6286 67.6407 27.2903C69.2252 27.9521 69.7534 29.4741 69.7534 31.5918V34.7021C69.7534 35.6947 69.7864 36.3896 70.1165 37.1506H66.8154V37.1175ZM63.3492 19.8455V26.033H64.6036C65.792 26.033 66.5183 25.5036 66.5183 23.9153V21.93C66.5183 20.5072 66.0231 19.8455 64.9007 19.8455H63.3492Z" fill="currentColor"/> 5 <path d="M66.8154 37.1175C66.6503 36.5881 66.5183 36.2903 66.5183 34.6359V31.4594C66.5183 29.5734 65.8911 28.9116 64.4385 28.9116H63.3492V37.1175H60.147V16.9668H64.9667C68.2679 16.9668 69.7204 18.4889 69.7204 21.5992V23.1874C69.7204 25.2719 69.0602 26.6286 67.6407 27.2903C69.2252 27.9521 69.7534 29.4741 69.7534 31.5918V34.7021C69.7534 35.6947 69.7864 36.3896 70.1165 37.1506H66.8154V37.1175ZM63.3492 19.8455V26.033H64.6036C65.792 26.033 66.5183 25.5036 66.5183 23.9153V21.93C66.5183 20.5072 66.0231 19.8455 64.9007 19.8455H63.3492Z" fill="currentColor"/>
6 <path d="M75.0356 25.4705H79.4261V28.3491H75.0356V34.2389H80.5485V37.1175H71.8334V16.9668H80.5485V19.8455H75.0356V25.4705Z" fill="currentColor"/> 6 <path d="M75.0356 25.4705H79.4261V28.3491H75.0356V34.2389H80.5485V37.1175H71.8334V16.9668H80.5485V19.8455H75.0356V25.4705Z" fill="currentColor"/>
7 <path d="M86.7218 29.1102L85.7315 30.9631V37.1506H82.5294V16.9668H85.7315V25.7352L89.924 16.9668H93.1261L88.6695 25.9337L93.1261 37.1175H89.8249L86.7218 29.1102Z" fill="currentColor"/> 7 <path d="M86.7218 29.1102L85.7315 30.9631V37.1506H82.5294V16.9668H85.7315V25.7352L89.924 16.9668H93.1261L88.6695 25.9337L93.1261 37.1175H89.8249L86.7218 29.1102Z" fill="currentColor"/>
8 <path d="M104.944 37.1175H101.709L101.148 33.4778H97.2193L96.6581 37.1175H93.7531L97.0212 16.9668H101.676L104.944 37.1175ZM97.6484 30.7315H100.719L99.167 20.5403L97.6484 30.7315Z" fill="currentColor"/> 8 <path d="M104.944 37.1175H101.709L101.148 33.4778H97.2193L96.6581 37.1175H93.7531L97.0212 16.9668H101.676L104.944 37.1175ZM97.6484 30.7315H100.719L99.167 20.5403L97.6484 30.7315Z" fill="currentColor"/>
9 <path d="M113.197 31.294L115.376 16.9999H119.833V37.1506H116.795V22.6911L114.584 37.1506H111.58L109.203 22.8896V37.1506H106.397V16.9668H110.853L113.197 31.294Z" fill="currentColor"/> 9 <path d="M113.197 31.294L115.376 16.9999H119.833V37.1506H116.795V22.6911L114.584 37.1506H111.58L109.203 22.8896V37.1506H106.397V16.9668H110.853L113.197 31.294Z" fill="currentColor"/>
10 <path d="M121.912 21.8313C121.912 18.6217 123.629 16.7688 126.765 16.7688C129.901 16.7688 131.618 18.6217 131.618 21.8313V32.3203C131.618 35.5298 129.901 37.3828 126.765 37.3828C123.629 37.3828 121.912 35.5298 121.912 32.3203V21.8313ZM125.114 32.4857C125.114 33.9085 125.742 34.471 126.765 34.471C127.788 34.471 128.415 33.9085 128.415 32.4857V21.6328C128.415 20.21 127.788 19.6475 126.765 19.6475C125.742 19.6475 125.114 20.21 125.114 21.6328V32.4857Z" fill="currentColor"/> 10 <path d="M121.912 21.8313C121.912 18.6217 123.629 16.7688 126.765 16.7688C129.901 16.7688 131.618 18.6217 131.618 21.8313V32.3203C131.618 35.5298 129.901 37.3828 126.765 37.3828C123.629 37.3828 121.912 35.5298 121.912 32.3203V21.8313ZM125.114 32.4857C125.114 33.9085 125.742 34.471 126.765 34.471C127.788 34.471 128.415 33.9085 128.415 32.4857V21.6328C128.415 20.21 127.788 19.6475 126.765 19.6475C125.742 19.6475 125.114 20.21 125.114 21.6328V32.4857Z" fill="currentColor"/>
11 <path d="M140.399 37.1175C140.234 36.5881 140.101 36.2903 140.101 34.6359V31.4594C140.101 29.5734 139.474 28.9116 138.022 28.9116H136.932V37.1175H133.697V16.9668H138.517C141.818 16.9668 143.271 18.4889 143.271 21.5992V23.1874C143.271 25.2719 142.61 26.6286 141.191 27.2903C142.775 27.9521 143.304 29.4741 143.304 31.5918V34.7021C143.304 35.6947 143.337 36.3896 143.667 37.1506H140.399V37.1175ZM136.899 19.8455V26.033H138.154C139.342 26.033 140.068 25.5036 140.068 23.9153V21.93C140.068 20.5072 139.573 19.8455 138.451 19.8455H136.899Z" fill="currentColor"/> 11 <path d="M140.399 37.1175C140.234 36.5881 140.101 36.2903 140.101 34.6359V31.4594C140.101 29.5734 139.474 28.9116 138.022 28.9116H136.932V37.1175H133.697V16.9668H138.517C141.818 16.9668 143.271 18.4889 143.271 21.5992V23.1874C143.271 25.2719 142.61 26.6286 141.191 27.2903C142.775 27.9521 143.304 29.4741 143.304 31.5918V34.7021C143.304 35.6947 143.337 36.3896 143.667 37.1506H140.399V37.1175ZM136.899 19.8455V26.033H138.154C139.342 26.033 140.068 25.5036 140.068 23.9153V21.93C140.068 20.5072 139.573 19.8455 138.451 19.8455H136.899Z" fill="currentColor"/>
12 <path d="M148.586 25.4705H152.976V28.3491H148.586V34.2389H154.099V37.1175H145.384V16.9668H154.099V19.8455H148.586V25.4705Z" fill="currentColor"/> 12 <path d="M148.586 25.4705H152.976V28.3491H148.586V34.2389H154.099V37.1175H145.384V16.9668H154.099V19.8455H148.586V25.4705Z" fill="currentColor"/>
13 <path d="M159.182 34.0737V37.1178H156.112V34.0737H159.182Z" fill="currentColor"/> 13 <path d="M159.182 34.0737V37.1178H156.112V34.0737H159.182Z" fill="currentColor"/>
14 <path d="M165.685 16.7688C168.789 16.7688 170.406 18.6217 170.406 21.8313V22.46H167.369V21.6328C167.369 20.21 166.775 19.6475 165.785 19.6475C164.761 19.6475 164.2 20.21 164.2 21.6328C164.2 25.7688 170.472 26.5629 170.472 32.3203C170.472 35.5298 168.855 37.3828 165.685 37.3828C162.549 37.3828 160.899 35.5298 160.899 32.3203V31.096H163.936V32.5188C163.936 33.9416 164.563 34.471 165.586 34.471C166.61 34.471 167.237 33.9416 167.237 32.5188C167.237 28.3828 160.965 27.5887 160.965 21.8313C160.965 18.5887 162.549 16.7688 165.685 16.7688Z" fill="currentColor"/> 14 <path d="M165.685 16.7688C168.789 16.7688 170.406 18.6217 170.406 21.8313V22.46H167.369V21.6328C167.369 20.21 166.775 19.6475 165.785 19.6475C164.761 19.6475 164.2 20.21 164.2 21.6328C164.2 25.7688 170.472 26.5629 170.472 32.3203C170.472 35.5298 168.855 37.3828 165.685 37.3828C162.549 37.3828 160.899 35.5298 160.899 32.3203V31.096H163.936V32.5188C163.936 33.9416 164.563 34.471 165.586 34.471C166.61 34.471 167.237 33.9416 167.237 32.5188C167.237 28.3828 160.965 27.5887 160.965 21.8313C160.965 18.5887 162.549 16.7688 165.685 16.7688Z" fill="currentColor"/>
15 <path d="M175.325 16.9668V32.5183C175.325 33.9411 175.952 34.4705 176.975 34.4705C177.999 34.4705 178.626 33.9411 178.626 32.5183V16.9668H181.663V32.3197C181.663 35.5293 180.045 37.3822 176.876 37.3822C173.74 37.3822 172.09 35.5293 172.09 32.3197V16.9668H175.325Z" fill="currentColor"/> 15 <path d="M175.325 16.9668V32.5183C175.325 33.9411 175.952 34.4705 176.975 34.4705C177.999 34.4705 178.626 33.9411 178.626 32.5183V16.9668H181.663V32.3197C181.663 35.5293 180.045 37.3822 176.876 37.3822C173.74 37.3822 172.09 35.5293 172.09 32.3197V16.9668H175.325Z" fill="currentColor"/>
16 <path d="M18.2556 11.5144V13.235C18.2556 15.3195 17.1662 16.4776 14.9214 16.4776H13.865V21.4078H11.6533V8.27173H14.9214C17.1662 8.27173 18.2556 9.39673 18.2556 11.5144ZM13.865 10.1247V14.5585H14.9214C15.6147 14.5585 16.0108 14.2607 16.0108 13.3342V11.382C16.0108 10.4556 15.6147 10.1578 14.9214 10.1578H13.865V10.1247Z" fill="white"/> 16 <path d="M18.2556 11.5144V13.235C18.2556 15.3195 17.1662 16.4776 14.9214 16.4776H13.865V21.4078H11.6533V8.27173H14.9214C17.1662 8.27173 18.2556 9.39673 18.2556 11.5144ZM13.865 10.1247V14.5585H14.9214C15.6147 14.5585 16.0108 14.2607 16.0108 13.3342V11.382C16.0108 10.4556 15.6147 10.1578 14.9214 10.1578H13.865V10.1247Z" fill="white"/>
17 <path d="M21.5239 13.7975H24.594V15.6835H21.5239V19.5217H25.3863V21.4078H19.2791V8.27173H25.3533V10.1578H21.5239V13.7975Z" fill="white"/> 17 <path d="M21.5239 13.7975H24.594V15.6835H21.5239V19.5217H25.3863V21.4078H19.2791V8.27173H25.3533V10.1578H21.5239V13.7975Z" fill="white"/>
18 <path d="M29.6443 16.1467L28.9511 17.3379V21.3747H26.7393V8.27173H28.9511V13.996L31.8891 8.27173H34.1009L30.9978 14.1283L34.1009 21.4078H31.8231L29.6443 16.1467Z" fill="white"/> 18 <path d="M29.6443 16.1467L28.9511 17.3379V21.3747H26.7393V8.27173H28.9511V13.996L31.8891 8.27173H34.1009L30.9978 14.1283L34.1009 21.4078H31.8231L29.6443 16.1467Z" fill="white"/>
19 <path d="M42.3209 21.375H40.0761L39.68 18.9927H36.973L36.5769 21.375H34.5302L36.808 8.23901H40.0761L42.3209 21.375ZM37.2371 17.2059H39.3829L38.3265 10.5883L37.2371 17.2059Z" fill="white"/> 19 <path d="M42.3209 21.375H40.0761L39.68 18.9927H36.973L36.5769 21.375H34.5302L36.808 8.23901H40.0761L42.3209 21.375ZM37.2371 17.2059H39.3829L38.3265 10.5883L37.2371 17.2059Z" fill="white"/>
20 <path d="M15.9117 32.2945L17.2982 22.9636H20.1372V36.0997H18.2225V26.7026L16.803 36.0997H14.8553L13.3368 26.8349V36.0997H11.5541V22.9967H14.3931L15.9117 32.2945Z" fill="white"/> 20 <path d="M15.9117 32.2945L17.2982 22.9636H20.1372V36.0997H18.2225V26.7026L16.803 36.0997H14.8553L13.3368 26.8349V36.0997H11.5541V22.9967H14.3931L15.9117 32.2945Z" fill="white"/>
21 <path d="M21.4578 26.1404C21.4578 24.0558 22.5471 22.8315 24.5609 22.8315C26.5746 22.8315 27.6639 24.0227 27.6639 26.1404V32.9565C27.6639 35.0411 26.5746 36.2654 24.5609 36.2654C22.5471 36.2654 21.4578 35.0742 21.4578 32.9565V26.1404ZM23.5045 33.0889C23.5045 34.0154 23.9006 34.3793 24.5609 34.3793C25.2211 34.3793 25.6172 34.0154 25.6172 33.0889V26.008C25.6172 25.0815 25.2211 24.7176 24.5609 24.7176C23.9006 24.7176 23.5045 25.0815 23.5045 26.008V33.0889Z" fill="white"/> 21 <path d="M21.4578 26.1404C21.4578 24.0558 22.5471 22.8315 24.5609 22.8315C26.5746 22.8315 27.6639 24.0227 27.6639 26.1404V32.9565C27.6639 35.0411 26.5746 36.2654 24.5609 36.2654C22.5471 36.2654 21.4578 35.0742 21.4578 32.9565V26.1404ZM23.5045 33.0889C23.5045 34.0154 23.9006 34.3793 24.5609 34.3793C25.2211 34.3793 25.6172 34.0154 25.6172 33.0889V26.008C25.6172 25.0815 25.2211 24.7176 24.5609 24.7176C23.9006 24.7176 23.5045 25.0815 23.5045 26.008V33.0889Z" fill="white"/>
22 <path d="M35.0257 26.239V27.9596C35.0257 30.0441 34.0353 31.2022 31.9886 31.2022H31.0313V36.1324H28.9846V22.9963H31.9886C34.0353 22.9963 35.0257 24.1213 35.0257 26.239ZM31.0313 24.8493V29.2831H31.9886C32.6488 29.2831 32.979 28.9853 32.979 28.0588V26.1066C32.979 25.1802 32.6158 24.8824 31.9886 24.8824H31.0313V24.8493Z" fill="white"/> 22 <path d="M35.0257 26.239V27.9596C35.0257 30.0441 34.0353 31.2022 31.9886 31.2022H31.0313V36.1324H28.9846V22.9963H31.9886C34.0353 22.9963 35.0257 24.1213 35.0257 26.239ZM31.0313 24.8493V29.2831H31.9886C32.6488 29.2831 32.979 28.9853 32.979 28.0588V26.1066C32.979 25.1802 32.6158 24.8824 31.9886 24.8824H31.0313V24.8493Z" fill="white"/>
23 <path d="M38.0294 28.5221H40.8354V30.4081H38.0294V34.2463H41.5617V36.1324H35.9827V22.9963H41.5617V24.8824H38.0294V28.5221Z" fill="white"/> 23 <path d="M38.0294 28.5221H40.8354V30.4081H38.0294V34.2463H41.5617V36.1324H35.9827V22.9963H41.5617V24.8824H38.0294V28.5221Z" fill="white"/>
24 <path d="M41.1323 40.169C40.9342 39.408 39.9439 39.1764 39.2176 39.6727C38.8545 39.9374 38.4914 40.2352 38.0952 40.4999C37.2369 41.0624 36.2466 40.9962 35.4213 40.3676C34.9921 40.0367 34.563 39.7058 34.1008 39.3749C33.3415 38.8786 32.5163 38.4815 31.4929 38.5146C30.5686 38.5477 29.8093 38.8786 29.1161 39.3418C28.5219 39.7389 27.9937 40.169 27.3664 40.5661C26.6072 41.0624 25.6829 40.9962 24.9566 40.4668C24.5935 40.2021 24.2303 39.9043 23.8672 39.6396C22.1176 38.2499 20.2029 38.1507 18.2882 39.408C17.8261 39.7058 17.4299 40.0367 17.0008 40.3676C16.2415 40.9301 15.4492 41.0293 14.69 40.6654C14.624 40.6323 14.5249 40.5992 14.4589 40.533C14.3929 40.4999 14.3269 40.4337 14.2608 40.4007C13.9967 40.2021 13.7657 40.0036 13.4685 39.8051C12.9404 39.4742 12.3462 39.5073 11.917 39.8712C11.5209 40.2021 11.5209 40.7315 11.95 41.1286C12.2141 41.3602 12.5112 41.5918 12.8413 41.8234C12.9074 41.8896 13.0064 41.9227 13.0724 41.9889V42.022C13.6336 42.3859 14.2608 42.5845 14.888 42.6837C14.9541 42.6837 14.9871 42.7168 15.0531 42.7168C15.0861 42.7168 15.0861 42.7168 15.1191 42.7168C15.3172 42.7499 15.5153 42.7499 15.7133 42.7499C16.6377 42.7499 17.595 42.4521 18.4533 41.8565C18.9155 41.5257 19.3446 41.1948 19.8068 40.8639C20.6981 40.2683 21.3253 40.2683 22.2166 40.897C22.6128 41.1948 23.0089 41.4926 23.405 41.7904C24.3954 42.4852 25.5178 42.8161 26.8713 42.6837C27.8616 42.5514 28.6539 42.1543 29.3802 41.658C29.8423 41.3271 30.3045 40.9632 30.7997 40.6654C31.4269 40.2683 31.922 40.2683 32.5493 40.6984C33.0775 41.0293 33.5396 41.3933 34.0348 41.7573C34.8601 42.3859 35.8174 42.7168 36.9728 42.7168C37.7321 42.6837 38.5244 42.5845 39.1846 42.1543C39.8448 41.7573 40.439 41.294 41.0333 40.7977C41.0993 40.6984 41.1653 40.4007 41.1323 40.169Z" fill="white"/> 24 <path d="M41.1323 40.169C40.9342 39.408 39.9439 39.1764 39.2176 39.6727C38.8545 39.9374 38.4914 40.2352 38.0952 40.4999C37.2369 41.0624 36.2466 40.9962 35.4213 40.3676C34.9921 40.0367 34.563 39.7058 34.1008 39.3749C33.3415 38.8786 32.5163 38.4815 31.4929 38.5146C30.5686 38.5477 29.8093 38.8786 29.1161 39.3418C28.5219 39.7389 27.9937 40.169 27.3664 40.5661C26.6072 41.0624 25.6829 40.9962 24.9566 40.4668C24.5935 40.2021 24.2303 39.9043 23.8672 39.6396C22.1176 38.2499 20.2029 38.1507 18.2882 39.408C17.8261 39.7058 17.4299 40.0367 17.0008 40.3676C16.2415 40.9301 15.4492 41.0293 14.69 40.6654C14.624 40.6323 14.5249 40.5992 14.4589 40.533C14.3929 40.4999 14.3269 40.4337 14.2608 40.4007C13.9967 40.2021 13.7657 40.0036 13.4685 39.8051C12.9404 39.4742 12.3462 39.5073 11.917 39.8712C11.5209 40.2021 11.5209 40.7315 11.95 41.1286C12.2141 41.3602 12.5112 41.5918 12.8413 41.8234C12.9074 41.8896 13.0064 41.9227 13.0724 41.9889V42.022C13.6336 42.3859 14.2608 42.5845 14.888 42.6837C14.9541 42.6837 14.9871 42.7168 15.0531 42.7168C15.0861 42.7168 15.0861 42.7168 15.1191 42.7168C15.3172 42.7499 15.5153 42.7499 15.7133 42.7499C16.6377 42.7499 17.595 42.4521 18.4533 41.8565C18.9155 41.5257 19.3446 41.1948 19.8068 40.8639C20.6981 40.2683 21.3253 40.2683 22.2166 40.897C22.6128 41.1948 23.0089 41.4926 23.405 41.7904C24.3954 42.4852 25.5178 42.8161 26.8713 42.6837C27.8616 42.5514 28.6539 42.1543 29.3802 41.658C29.8423 41.3271 30.3045 40.9632 30.7997 40.6654C31.4269 40.2683 31.922 40.2683 32.5493 40.6984C33.0775 41.0293 33.5396 41.3933 34.0348 41.7573C34.8601 42.3859 35.8174 42.7168 36.9728 42.7168C37.7321 42.6837 38.5244 42.5845 39.1846 42.1543C39.8448 41.7573 40.439 41.294 41.0333 40.7977C41.0993 40.6984 41.1653 40.4007 41.1323 40.169Z" fill="white"/>
25 <path d="M41.1323 43.8748C40.9342 43.1138 39.9439 42.8822 39.2176 43.3785C38.8545 43.6432 38.4914 43.941 38.0952 44.2057C37.2369 44.7682 36.2466 44.7021 35.4213 44.0734C34.9921 43.7425 34.563 43.4116 34.1008 43.0807C33.3415 42.5844 32.5163 42.1873 31.4929 42.2204C30.5686 42.2535 29.8093 42.5844 29.1161 43.0476C28.5219 43.4447 27.9937 43.8748 27.3664 44.2719C26.6072 44.7682 25.6829 44.7021 24.9566 44.1726C24.5935 43.9079 24.2303 43.6101 23.8672 43.3454C22.1176 41.9557 20.2029 41.8565 18.2882 43.1469C17.8261 43.4447 17.4299 43.7756 17.0008 44.1065C16.2415 44.669 15.4492 44.7682 14.69 44.4043C14.624 44.3712 14.5249 44.3381 14.4589 44.2719C14.3929 44.2388 14.3269 44.1726 14.2608 44.1396C13.9967 43.941 13.7657 43.7425 13.4685 43.544C12.9404 43.2131 12.3462 43.2462 11.917 43.6101C11.5209 43.941 11.5209 44.4704 11.95 44.8675C12.2141 45.0991 12.5112 45.3307 12.8413 45.5623C12.9074 45.6285 13.0064 45.6616 13.0724 45.7278V45.7609C13.6336 46.1248 14.2608 46.3234 14.888 46.4226C14.9541 46.4226 14.9871 46.4557 15.0531 46.4557C15.0861 46.4557 15.0861 46.4557 15.1191 46.4557C15.3172 46.4888 15.5153 46.4888 15.7133 46.4888C16.6377 46.4888 17.595 46.191 18.4533 45.5954C18.9155 45.2646 19.3446 44.9337 19.8068 44.6028C20.6981 44.0072 21.3253 44.0072 22.2166 44.6359C22.6128 44.9337 23.0089 45.2315 23.405 45.5293C24.3954 46.2241 25.5178 46.555 26.8713 46.4226C27.8616 46.2903 28.6539 45.8932 29.3802 45.3969C29.8423 45.066 30.3045 44.7021 30.7997 44.4043C31.4269 44.0072 31.922 44.0072 32.5493 44.4373C33.0775 44.7682 33.5396 45.1322 34.0348 45.4962C34.8601 46.1248 35.8174 46.4557 36.9728 46.4557C37.7321 46.4226 38.5244 46.3234 39.1846 45.8932C39.8448 45.4962 40.439 45.0329 41.0333 44.5366C41.0993 44.4043 41.1653 44.0734 41.1323 43.8748Z" fill="white"/> 25 <path d="M41.1323 43.8748C40.9342 43.1138 39.9439 42.8822 39.2176 43.3785C38.8545 43.6432 38.4914 43.941 38.0952 44.2057C37.2369 44.7682 36.2466 44.7021 35.4213 44.0734C34.9921 43.7425 34.563 43.4116 34.1008 43.0807C33.3415 42.5844 32.5163 42.1873 31.4929 42.2204C30.5686 42.2535 29.8093 42.5844 29.1161 43.0476C28.5219 43.4447 27.9937 43.8748 27.3664 44.2719C26.6072 44.7682 25.6829 44.7021 24.9566 44.1726C24.5935 43.9079 24.2303 43.6101 23.8672 43.3454C22.1176 41.9557 20.2029 41.8565 18.2882 43.1469C17.8261 43.4447 17.4299 43.7756 17.0008 44.1065C16.2415 44.669 15.4492 44.7682 14.69 44.4043C14.624 44.3712 14.5249 44.3381 14.4589 44.2719C14.3929 44.2388 14.3269 44.1726 14.2608 44.1396C13.9967 43.941 13.7657 43.7425 13.4685 43.544C12.9404 43.2131 12.3462 43.2462 11.917 43.6101C11.5209 43.941 11.5209 44.4704 11.95 44.8675C12.2141 45.0991 12.5112 45.3307 12.8413 45.5623C12.9074 45.6285 13.0064 45.6616 13.0724 45.7278V45.7609C13.6336 46.1248 14.2608 46.3234 14.888 46.4226C14.9541 46.4226 14.9871 46.4557 15.0531 46.4557C15.0861 46.4557 15.0861 46.4557 15.1191 46.4557C15.3172 46.4888 15.5153 46.4888 15.7133 46.4888C16.6377 46.4888 17.595 46.191 18.4533 45.5954C18.9155 45.2646 19.3446 44.9337 19.8068 44.6028C20.6981 44.0072 21.3253 44.0072 22.2166 44.6359C22.6128 44.9337 23.0089 45.2315 23.405 45.5293C24.3954 46.2241 25.5178 46.555 26.8713 46.4226C27.8616 46.2903 28.6539 45.8932 29.3802 45.3969C29.8423 45.066 30.3045 44.7021 30.7997 44.4043C31.4269 44.0072 31.922 44.0072 32.5493 44.4373C33.0775 44.7682 33.5396 45.1322 34.0348 45.4962C34.8601 46.1248 35.8174 46.4557 36.9728 46.4557C37.7321 46.4226 38.5244 46.3234 39.1846 45.8932C39.8448 45.4962 40.439 45.0329 41.0333 44.5366C41.0993 44.4043 41.1653 44.0734 41.1323 43.8748Z" fill="white"/>
26 </symbol> 26 </symbol>
27 27
28 <symbol id="burger" viewBox="0 0 20 14" fill="none"> 28 <symbol id="burger" viewBox="0 0 20 14" fill="none">
29 <rect width="20" height="1.75" rx="0.875" fill="currentColor"/> 29 <rect width="20" height="1.75" rx="0.875" fill="currentColor"/>
30 <rect y="6.125" width="20" height="1.75" rx="0.875" fill="currentColor"/> 30 <rect y="6.125" width="20" height="1.75" rx="0.875" fill="currentColor"/>
31 <rect y="12.25" width="20" height="1.75" rx="0.875" fill="currentColor"/> 31 <rect y="12.25" width="20" height="1.75" rx="0.875" fill="currentColor"/>
32 </symbol> 32 </symbol>
33 33
34 <symbol id="cross" viewBox="0 0 20 19" fill="none"> 34 <symbol id="cross" viewBox="0 0 20 19" fill="none">
35 <path d="M1.99997 17.9199L18.5566 2" stroke="currentColor" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/> 35 <path d="M1.99997 17.9199L18.5566 2" stroke="currentColor" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/>
36 <path d="M1.99997 2.00017L18.5566 17.92" stroke="currentColor" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/> 36 <path d="M1.99997 2.00017L18.5566 17.92" stroke="currentColor" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/>
37 </symbol> 37 </symbol>
38 38
39 <symbol id="cross-bold" width="10" height="10" viewBox="0 0 10 10" fill="none"> 39 <symbol id="cross-bold" width="10" height="10" viewBox="0 0 10 10" fill="none">
40 <path d="M8.27299 1.72729L1.72754 8.27275" stroke="currentColor" stroke-width="2" stroke-linecap="round"/> 40 <path d="M8.27299 1.72729L1.72754 8.27275" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
41 <path d="M1.72798 1.72729L8.27344 8.27275" stroke="currentColor" stroke-width="2" stroke-linecap="round"/> 41 <path d="M1.72798 1.72729L8.27344 8.27275" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
42 </symbol> 42 </symbol>
43 43
44 <symbol id="ring" viewBox="0 0 16 20" fill="none"> 44 <symbol id="ring" viewBox="0 0 16 20" fill="none">
45 <path d="M7.99999 20C9.09999 20 9.99999 19.1 9.99999 18H5.99999C5.99999 19.1 6.88999 20 7.99999 20ZM14 14V9C14 5.93 12.36 3.36 9.49999 2.68V2C9.49999 1.17 8.82999 0.5 7.99999 0.5C7.16999 0.5 6.49999 1.17 6.49999 2V2.68C3.62999 3.36 1.99999 5.92 1.99999 9V14L0.70999 15.29C0.0799904 15.92 0.51999 17 1.40999 17H14.58C15.47 17 15.92 15.92 15.29 15.29L14 14Z" fill="currentColor"/> 45 <path d="M7.99999 20C9.09999 20 9.99999 19.1 9.99999 18H5.99999C5.99999 19.1 6.88999 20 7.99999 20ZM14 14V9C14 5.93 12.36 3.36 9.49999 2.68V2C9.49999 1.17 8.82999 0.5 7.99999 0.5C7.16999 0.5 6.49999 1.17 6.49999 2V2.68C3.62999 3.36 1.99999 5.92 1.99999 9V14L0.70999 15.29C0.0799904 15.92 0.51999 17 1.40999 17H14.58C15.47 17 15.92 15.92 15.29 15.29L14 14Z" fill="currentColor"/>
46 </symbol> 46 </symbol>
47 47
48 <symbol id="arrow" viewBox="0 0 17 31" fill="none"> 48 <symbol id="arrow" viewBox="0 0 17 31" fill="none">
49 <path d="M1.5 2L15 15.5L1.5 29" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> 49 <path d="M1.5 2L15 15.5L1.5 29" stroke="#377d87" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
50 </symbol> 50 </symbol>
51 51
52 <symbol id="arrow-top" viewBox="0 0 13 7" fill="none"> 52 <symbol id="arrow-top" viewBox="0 0 13 7" fill="none">
53 <path d="M12 6L6.5 1L1 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> 53 <path d="M12 6L6.5 1L1 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
54 </symbol> 54 </symbol>
55 55
56 <symbol id="arrow-bold" viewBox="0 0 6 10" fill="none"> 56 <symbol id="arrow-bold" viewBox="0 0 6 10" fill="none">
57 <path d="M1 1L5 5L1 9" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> 57 <path d="M1 1L5 5L1 9" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
58 </symbol> 58 </symbol>
59 59
60 <symbol id="vk" viewBox="0 0 16 10" fill="none"> 60 <symbol id="vk" viewBox="0 0 16 10" fill="none">
61 <path fill-rule="evenodd" clip-rule="evenodd" d="M2.35099 0.00135622H0.600254C0.100042 0.00135622 0 0.241458 0 0.501568C0 0.961762 0.600254 3.26274 2.76117 6.30402C4.21178 8.3749 6.25265 9.50538 8.10343 9.50538C9.2139 9.50538 9.35396 9.25527 9.35396 8.82509V7.25442C9.35396 6.75421 9.454 6.65417 9.81415 6.65417C10.0743 6.65417 10.5144 6.78422 11.5549 7.78465C12.7454 8.97515 12.9355 9.50538 13.6058 9.50538H15.3565C15.8567 9.50538 16.1068 9.25527 15.9568 8.76506C15.8067 8.26485 15.2364 7.56456 14.4861 6.7142C14.086 6.22399 13.4657 5.71377 13.2856 5.45366C13.0255 5.11352 13.0855 4.96346 13.2856 4.67333C13.2856 4.67333 15.4165 1.67206 15.6366 0.641627C15.7467 0.271471 15.6366 0.00135622 15.1064 0.00135622H13.3556C13.1919 -0.0084346 13.0294 0.0349857 12.8924 0.125136C12.7554 0.215287 12.6511 0.347334 12.5953 0.501568C12.5953 0.501568 11.6949 2.66248 10.4444 4.07308C10.0342 4.48325 9.84416 4.61331 9.62407 4.61331C9.52403 4.61331 9.35396 4.48325 9.35396 4.1131V0.641627C9.35396 0.201441 9.2239 0.00135622 8.85375 0.00135622H6.10258C5.82246 0.00135622 5.65239 0.201441 5.65239 0.401526C5.65239 0.821703 6.29266 0.921746 6.35269 2.10225V4.68334C6.35269 5.25358 6.25265 5.35362 6.03255 5.35362C5.4323 5.35362 3.99169 3.1727 3.13132 0.681644C2.97126 0.201441 2.80118 0.00135622 2.35099 0.00135622Z" fill="currentColor"/> 61 <path fill-rule="evenodd" clip-rule="evenodd" d="M2.35099 0.00135622H0.600254C0.100042 0.00135622 0 0.241458 0 0.501568C0 0.961762 0.600254 3.26274 2.76117 6.30402C4.21178 8.3749 6.25265 9.50538 8.10343 9.50538C9.2139 9.50538 9.35396 9.25527 9.35396 8.82509V7.25442C9.35396 6.75421 9.454 6.65417 9.81415 6.65417C10.0743 6.65417 10.5144 6.78422 11.5549 7.78465C12.7454 8.97515 12.9355 9.50538 13.6058 9.50538H15.3565C15.8567 9.50538 16.1068 9.25527 15.9568 8.76506C15.8067 8.26485 15.2364 7.56456 14.4861 6.7142C14.086 6.22399 13.4657 5.71377 13.2856 5.45366C13.0255 5.11352 13.0855 4.96346 13.2856 4.67333C13.2856 4.67333 15.4165 1.67206 15.6366 0.641627C15.7467 0.271471 15.6366 0.00135622 15.1064 0.00135622H13.3556C13.1919 -0.0084346 13.0294 0.0349857 12.8924 0.125136C12.7554 0.215287 12.6511 0.347334 12.5953 0.501568C12.5953 0.501568 11.6949 2.66248 10.4444 4.07308C10.0342 4.48325 9.84416 4.61331 9.62407 4.61331C9.52403 4.61331 9.35396 4.48325 9.35396 4.1131V0.641627C9.35396 0.201441 9.2239 0.00135622 8.85375 0.00135622H6.10258C5.82246 0.00135622 5.65239 0.201441 5.65239 0.401526C5.65239 0.821703 6.29266 0.921746 6.35269 2.10225V4.68334C6.35269 5.25358 6.25265 5.35362 6.03255 5.35362C5.4323 5.35362 3.99169 3.1727 3.13132 0.681644C2.97126 0.201441 2.80118 0.00135622 2.35099 0.00135622Z" fill="currentColor"/>
62 </symbol> 62 </symbol>
63 63
64 <symbol id="tg" viewBox="0 0 16 14" fill="none"> 64 <symbol id="tg" viewBox="0 0 16 14" fill="none">
65 <path d="M15.7901 0.149541C15.5648 -0.0380885 15.2008 -0.0551456 14.5769 0.132484C14.1436 0.268942 10.2959 1.70175 6.89889 3.08338C3.84848 4.32856 1.37003 5.42022 1.07539 5.55668C0.746083 5.65902 0.0354772 5.96605 0.000813508 6.44365C-0.0165183 6.75068 0.243459 7.0236 0.746083 7.24534C1.28337 7.51826 3.65783 8.30289 4.16046 8.4564C4.33377 9.03635 5.35635 12.4307 5.40835 12.6354C5.47768 12.9425 5.68566 13.113 5.78965 13.1813C5.80698 13.1983 5.84164 13.2324 5.87631 13.2495C5.9283 13.2836 5.99763 13.3007 6.08429 13.3007C6.20561 13.3007 6.34427 13.2495 6.46559 13.1642C7.10687 12.6525 8.21611 11.5096 8.52808 11.1856C9.8973 12.2431 11.3878 13.4201 11.5265 13.5565L11.5438 13.5736C11.8731 13.8465 12.2198 14 12.5317 14C12.6357 14 12.7397 13.9829 12.8437 13.9488C13.2077 13.8294 13.4677 13.4883 13.5543 13.0277C13.5543 13.0107 13.5716 12.9425 13.6063 12.8231C14.1956 10.2986 14.6636 8.08115 15.0449 6.22191C15.4088 4.39679 15.7035 2.60578 15.8768 1.65058C15.9114 1.41177 15.9461 1.22415 15.9634 1.10475C16.0154 0.763601 16.0501 0.371285 15.7901 0.149541ZM4.52442 8.40523L12.7917 3.01515C12.809 2.9981 12.8437 2.98104 12.861 2.96398C12.8784 2.96398 12.8784 2.94692 12.8957 2.94692C12.913 2.94692 12.913 2.94692 12.9304 2.92987C12.913 2.94692 12.8957 2.9981 12.861 3.03221L10.7639 4.95968C9.30801 6.27308 7.40151 7.99586 6.13629 9.12164C6.13629 9.12164 6.13629 9.12164 6.13629 9.13869L6.11895 9.15575C6.11895 9.15575 6.11895 9.17281 6.10162 9.17281C6.10162 9.18987 6.10162 9.18987 6.08429 9.20692V9.22398C6.08429 9.22398 6.08429 9.22398 6.08429 9.24104C5.99763 10.1962 5.84164 11.8337 5.77232 12.5672C5.77232 12.5672 5.77232 12.5672 5.77232 12.5501C5.70299 12.3454 4.73241 9.08752 4.52442 8.40523Z" fill="currentColor"/> 65 <path d="M15.7901 0.149541C15.5648 -0.0380885 15.2008 -0.0551456 14.5769 0.132484C14.1436 0.268942 10.2959 1.70175 6.89889 3.08338C3.84848 4.32856 1.37003 5.42022 1.07539 5.55668C0.746083 5.65902 0.0354772 5.96605 0.000813508 6.44365C-0.0165183 6.75068 0.243459 7.0236 0.746083 7.24534C1.28337 7.51826 3.65783 8.30289 4.16046 8.4564C4.33377 9.03635 5.35635 12.4307 5.40835 12.6354C5.47768 12.9425 5.68566 13.113 5.78965 13.1813C5.80698 13.1983 5.84164 13.2324 5.87631 13.2495C5.9283 13.2836 5.99763 13.3007 6.08429 13.3007C6.20561 13.3007 6.34427 13.2495 6.46559 13.1642C7.10687 12.6525 8.21611 11.5096 8.52808 11.1856C9.8973 12.2431 11.3878 13.4201 11.5265 13.5565L11.5438 13.5736C11.8731 13.8465 12.2198 14 12.5317 14C12.6357 14 12.7397 13.9829 12.8437 13.9488C13.2077 13.8294 13.4677 13.4883 13.5543 13.0277C13.5543 13.0107 13.5716 12.9425 13.6063 12.8231C14.1956 10.2986 14.6636 8.08115 15.0449 6.22191C15.4088 4.39679 15.7035 2.60578 15.8768 1.65058C15.9114 1.41177 15.9461 1.22415 15.9634 1.10475C16.0154 0.763601 16.0501 0.371285 15.7901 0.149541ZM4.52442 8.40523L12.7917 3.01515C12.809 2.9981 12.8437 2.98104 12.861 2.96398C12.8784 2.96398 12.8784 2.94692 12.8957 2.94692C12.913 2.94692 12.913 2.94692 12.9304 2.92987C12.913 2.94692 12.8957 2.9981 12.861 3.03221L10.7639 4.95968C9.30801 6.27308 7.40151 7.99586 6.13629 9.12164C6.13629 9.12164 6.13629 9.12164 6.13629 9.13869L6.11895 9.15575C6.11895 9.15575 6.11895 9.17281 6.10162 9.17281C6.10162 9.18987 6.10162 9.18987 6.08429 9.20692V9.22398C6.08429 9.22398 6.08429 9.22398 6.08429 9.24104C5.99763 10.1962 5.84164 11.8337 5.77232 12.5672C5.77232 12.5672 5.77232 12.5672 5.77232 12.5501C5.70299 12.3454 4.73241 9.08752 4.52442 8.40523Z" fill="currentColor"/>
66 </symbol> 66 </symbol>
67 67
68 <symbol id="nls" viewBox="0 0 24 31" fill="none"> 68 <symbol id="nls" viewBox="0 0 24 31" fill="none">
69 <path fill-rule="evenodd" clip-rule="evenodd" d="M20 31.001V26.001H24V31.001H20ZM23 27H21V30.001H23V27ZM19 14L23.985 14.018L24 24.001H19V14ZM20 23.001H23V15.003L20 15V23.001ZM13 0H24V12H13V0ZM15 10.001H22V2.001H15V10.001ZM17 15H13V23.001H16V20L15.015 19.987L15 19.001H17V24.001H12V14H17V15ZM8 31.001V26.001H9V30.001H11V26.001L11.998 26.003L12 31.001H8ZM9 2.001H2V12H0V0H11V12H9V2.001ZM0 29.004V26.001H3V27H1V28H3V31.001H0V30.004L2 30.001L1.992 29.004H0ZM4 24.001H0V14L1.015 14.018L1 23.001H4V24.001ZM5 14H10V24.001H5V14ZM6 23.001H9V15.003L6 15V23.001ZM7 27H6V31.001H5V27H4V26.001H7V27ZM15.999 27.004L17 27V30.001L15.999 29.984V27.004ZM16 27H14V30.001H16V31.001H13V26.001H16V27ZM19 31.001H18V26.001H19V31.001Z" fill="currentColor"/> 69 <path fill-rule="evenodd" clip-rule="evenodd" d="M20 31.001V26.001H24V31.001H20ZM23 27H21V30.001H23V27ZM19 14L23.985 14.018L24 24.001H19V14ZM20 23.001H23V15.003L20 15V23.001ZM13 0H24V12H13V0ZM15 10.001H22V2.001H15V10.001ZM17 15H13V23.001H16V20L15.015 19.987L15 19.001H17V24.001H12V14H17V15ZM8 31.001V26.001H9V30.001H11V26.001L11.998 26.003L12 31.001H8ZM9 2.001H2V12H0V0H11V12H9V2.001ZM0 29.004V26.001H3V27H1V28H3V31.001H0V30.004L2 30.001L1.992 29.004H0ZM4 24.001H0V14L1.015 14.018L1 23.001H4V24.001ZM5 14H10V24.001H5V14ZM6 23.001H9V15.003L6 15V23.001ZM7 27H6V31.001H5V27H4V26.001H7V27ZM15.999 27.004L17 27V30.001L15.999 29.984V27.004ZM16 27H14V30.001H16V31.001H13V26.001H16V27ZM19 31.001H18V26.001H19V31.001Z" fill="currentColor"/>
70 </symbol> 70 </symbol>
71 71
72 <symbol id="search" viewBox="0 0 20 21" fill="none"> 72 <symbol id="search" viewBox="0 0 20 21" fill="none">
73 <path d="M9.78643 18.0262C14.3372 18.0262 18.0263 14.3371 18.0263 9.7863C18.0263 5.23552 14.3372 1.54639 9.78643 1.54639C5.23565 1.54639 1.54651 5.23552 1.54651 9.7863C1.54651 14.3371 5.23565 18.0262 9.78643 18.0262Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> 73 <path d="M9.78643 18.0262C14.3372 18.0262 18.0263 14.3371 18.0263 9.7863C18.0263 5.23552 14.3372 1.54639 9.78643 1.54639C5.23565 1.54639 1.54651 5.23552 1.54651 9.7863C1.54651 14.3371 5.23565 18.0262 9.78643 18.0262Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
74 <path d="M15.5165 15.9443L18.7468 19.1664" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> 74 <path d="M15.5165 15.9443L18.7468 19.1664" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
75 </symbol> 75 </symbol>
76 76
77 <symbol id="dots" viewBox="0 0 15 3" fill="none"> 77 <symbol id="dots" viewBox="0 0 15 3" fill="none">
78 <circle cx="1.5" cy="1.5" r="1.5" fill="currentColor"/> 78 <circle cx="1.5" cy="1.5" r="1.5" fill="currentColor"/>
79 <circle cx="7.5" cy="1.5" r="1.5" fill="currentColor"/> 79 <circle cx="7.5" cy="1.5" r="1.5" fill="currentColor"/>
80 <circle cx="13.5" cy="1.5" r="1.5" fill="currentColor"/> 80 <circle cx="13.5" cy="1.5" r="1.5" fill="currentColor"/>
81 </symbol> 81 </symbol>
82 82
83 <symbol id="grid-1" viewBox="0 0 26 17" fill="none"> 83 <symbol id="grid-1" viewBox="0 0 26 17" fill="none">
84 <rect width="3" height="3" rx="1.5" fill="currentColor"/> 84 <rect width="3" height="3" rx="1.5" fill="currentColor"/>
85 <rect y="7" width="3" height="3" rx="1.5" fill="currentColor"/> 85 <rect y="7" width="3" height="3" rx="1.5" fill="currentColor"/>
86 <rect y="14" width="3" height="3" rx="1.5" fill="currentColor"/> 86 <rect y="14" width="3" height="3" rx="1.5" fill="currentColor"/>
87 <rect x="6" width="20" height="3" rx="1.5" fill="currentColor"/> 87 <rect x="6" width="20" height="3" rx="1.5" fill="currentColor"/>
88 <rect x="6" y="7" width="20" height="3" rx="1.5" fill="currentColor"/> 88 <rect x="6" y="7" width="20" height="3" rx="1.5" fill="currentColor"/>
89 <rect x="6" y="14" width="20" height="3" rx="1.5" fill="currentColor"/> 89 <rect x="6" y="14" width="20" height="3" rx="1.5" fill="currentColor"/>
90 </symbol> 90 </symbol>
91 91
92 <symbol id="grid-2" viewBox="0 0 24 24" fill="none"> 92 <symbol id="grid-2" viewBox="0 0 24 24" fill="none">
93 <rect width="10" height="10" rx="2" fill="currentColor"/> 93 <rect width="10" height="10" rx="2" fill="currentColor"/>
94 <rect y="14" width="10" height="10" rx="2" fill="currentColor"/> 94 <rect y="14" width="10" height="10" rx="2" fill="currentColor"/>
95 <rect x="14" y="14" width="10" height="10" rx="2" fill="currentColor"/> 95 <rect x="14" y="14" width="10" height="10" rx="2" fill="currentColor"/>
96 <rect x="14" width="10" height="10" rx="2" fill="currentColor"/> 96 <rect x="14" width="10" height="10" rx="2" fill="currentColor"/>
97 </symbol> 97 </symbol>
98 98
99 <symbol id="v" viewBox="0 0 11 10" fill="none"> 99 <symbol id="v" viewBox="0 0 11 10" fill="none">
100 <path d="M10.9413 1.9874L4.59278 9.90629C4.57107 9.93328 4.54433 9.95544 4.51418 9.97143C4.48403 9.98743 4.45109 9.99693 4.41732 9.99937C4.38355 10.0018 4.34966 9.99714 4.31767 9.98564C4.28568 9.97414 4.25626 9.95604 4.23116 9.93243L0.0832849 6.05246C0.05844 6.02922 0.0382996 6.00107 0.0240403 5.96965C0.00978097 5.93823 0.00168901 5.90417 0.000237368 5.86947C-0.00121428 5.83476 0.00400341 5.8001 0.0155856 5.76751C0.0271678 5.73492 0.0448823 5.70506 0.0676935 5.67967L1.42039 4.17442C1.46491 4.12489 1.52619 4.09527 1.59131 4.09181C1.65643 4.08834 1.7203 4.11131 1.76944 4.15586L4.08153 6.25192L9.29818 0.0887104C9.32209 0.0604629 9.35159 0.037915 9.38466 0.0226078C9.41773 0.00730048 9.45358 -0.000405497 9.48978 1.64367e-05C9.52597 0.00043837 9.56166 0.00897821 9.59438 0.0250525C9.62711 0.0411268 9.65612 0.0643567 9.67942 0.0931546L10.9413 1.65173C10.9792 1.69878 11 1.7582 11 1.81956C11 1.88093 10.9792 1.94034 10.9413 1.9874Z" fill="currentColor"/> 100 <path d="M10.9413 1.9874L4.59278 9.90629C4.57107 9.93328 4.54433 9.95544 4.51418 9.97143C4.48403 9.98743 4.45109 9.99693 4.41732 9.99937C4.38355 10.0018 4.34966 9.99714 4.31767 9.98564C4.28568 9.97414 4.25626 9.95604 4.23116 9.93243L0.0832849 6.05246C0.05844 6.02922 0.0382996 6.00107 0.0240403 5.96965C0.00978097 5.93823 0.00168901 5.90417 0.000237368 5.86947C-0.00121428 5.83476 0.00400341 5.8001 0.0155856 5.76751C0.0271678 5.73492 0.0448823 5.70506 0.0676935 5.67967L1.42039 4.17442C1.46491 4.12489 1.52619 4.09527 1.59131 4.09181C1.65643 4.08834 1.7203 4.11131 1.76944 4.15586L4.08153 6.25192L9.29818 0.0887104C9.32209 0.0604629 9.35159 0.037915 9.38466 0.0226078C9.41773 0.00730048 9.45358 -0.000405497 9.48978 1.64367e-05C9.52597 0.00043837 9.56166 0.00897821 9.59438 0.0250525C9.62711 0.0411268 9.65612 0.0643567 9.67942 0.0931546L10.9413 1.65173C10.9792 1.69878 11 1.7582 11 1.81956C11 1.88093 10.9792 1.94034 10.9413 1.9874Z" fill="currentColor"/>
101 </symbol> 101 </symbol>
102 102
103 <symbol id="badge" viewBox="0 0 21 22" fill="none"> 103 <symbol id="badge" viewBox="0 0 21 22" fill="none">
104 <path d="M10.5 1.4165L13.017 3.25267L16.1331 3.24692L17.0899 6.212L19.6142 8.03859L18.6458 10.9998L19.6142 13.9611L17.0899 15.7877L16.1331 18.7528L13.017 18.747L10.5 20.5832L7.98291 18.747L4.86689 18.7528L3.90999 15.7877L1.38574 13.9611L2.35414 10.9998L1.38574 8.03859L3.90999 6.212L4.86689 3.24692L7.98291 3.25267L10.5 1.4165Z" stroke="currentColor" stroke-width="1.91667" stroke-linecap="round" stroke-linejoin="round"/> 104 <path d="M10.5 1.4165L13.017 3.25267L16.1331 3.24692L17.0899 6.212L19.6142 8.03859L18.6458 10.9998L19.6142 13.9611L17.0899 15.7877L16.1331 18.7528L13.017 18.747L10.5 20.5832L7.98291 18.747L4.86689 18.7528L3.90999 15.7877L1.38574 13.9611L2.35414 10.9998L1.38574 8.03859L3.90999 6.212L4.86689 3.24692L7.98291 3.25267L10.5 1.4165Z" stroke="currentColor" stroke-width="1.91667" stroke-linecap="round" stroke-linejoin="round"/>
105 <path d="M7.14581 10.9998L9.54165 13.3957L14.3333 8.604" stroke="currentColor" stroke-width="1.91667" stroke-linecap="round" stroke-linejoin="round"/> 105 <path d="M7.14581 10.9998L9.54165 13.3957L14.3333 8.604" stroke="currentColor" stroke-width="1.91667" stroke-linecap="round" stroke-linejoin="round"/>
106 </symbol> 106 </symbol>
107 107
108 <symbol id="heart" viewBox="0 0 14 12" fill="none"> 108 <symbol id="heart" viewBox="0 0 14 12" fill="none">
109 <path d="M6.86423 11.5911L6.86426 11.5911L6.86053 11.5875L2.0391 6.93605L2.02947 6.92676L2.01902 6.9184C1.98199 6.88877 1.92127 6.8323 1.83317 6.74168C1.75377 6.66001 1.61854 6.50118 1.42276 6.25646C1.23475 6.02144 1.06706 5.78091 0.919454 5.5349C0.778417 5.29984 0.648721 5.00866 0.532576 4.65775C0.420089 4.3179 0.36561 3.99308 0.36561 3.68211C0.36561 2.60679 0.674077 1.80258 1.25995 1.23054C1.84707 0.657295 2.67125 0.354502 3.77049 0.354502C4.056 0.354502 4.35103 0.403935 4.65669 0.505822C4.96575 0.608841 5.25212 0.747383 5.5166 0.92132L5.67236 0.684489L5.5166 0.921321C5.79707 1.10578 6.03543 1.27694 6.2328 1.43483L6.40679 1.21735L6.2328 1.43483C6.43058 1.59306 6.61838 1.7611 6.79625 1.93897L7.00023 2.14294L7.2042 1.93897C7.38207 1.7611 7.56987 1.59306 7.76765 1.43483C7.96502 1.27694 8.20338 1.10578 8.48385 0.92132C8.74833 0.747383 9.0347 0.608841 9.34376 0.505822C9.64942 0.403935 9.94445 0.354502 10.23 0.354502C11.3292 0.354502 12.1534 0.657295 12.7405 1.23054C13.3264 1.80258 13.6348 2.60679 13.6348 3.68211C13.6348 4.71404 13.1011 5.80331 11.9518 6.95322L7.1401 11.5873L7.14006 11.5873L7.13622 11.5911C7.09888 11.6285 7.05948 11.6457 7.00023 11.6457C6.94097 11.6457 6.90157 11.6285 6.86423 11.5911Z" stroke="currentColor" fill="currentColor" stroke-width="0.576923"/> 109 <path d="M6.86423 11.5911L6.86426 11.5911L6.86053 11.5875L2.0391 6.93605L2.02947 6.92676L2.01902 6.9184C1.98199 6.88877 1.92127 6.8323 1.83317 6.74168C1.75377 6.66001 1.61854 6.50118 1.42276 6.25646C1.23475 6.02144 1.06706 5.78091 0.919454 5.5349C0.778417 5.29984 0.648721 5.00866 0.532576 4.65775C0.420089 4.3179 0.36561 3.99308 0.36561 3.68211C0.36561 2.60679 0.674077 1.80258 1.25995 1.23054C1.84707 0.657295 2.67125 0.354502 3.77049 0.354502C4.056 0.354502 4.35103 0.403935 4.65669 0.505822C4.96575 0.608841 5.25212 0.747383 5.5166 0.92132L5.67236 0.684489L5.5166 0.921321C5.79707 1.10578 6.03543 1.27694 6.2328 1.43483L6.40679 1.21735L6.2328 1.43483C6.43058 1.59306 6.61838 1.7611 6.79625 1.93897L7.00023 2.14294L7.2042 1.93897C7.38207 1.7611 7.56987 1.59306 7.76765 1.43483C7.96502 1.27694 8.20338 1.10578 8.48385 0.92132C8.74833 0.747383 9.0347 0.608841 9.34376 0.505822C9.64942 0.403935 9.94445 0.354502 10.23 0.354502C11.3292 0.354502 12.1534 0.657295 12.7405 1.23054C13.3264 1.80258 13.6348 2.60679 13.6348 3.68211C13.6348 4.71404 13.1011 5.80331 11.9518 6.95322L7.1401 11.5873L7.14006 11.5873L7.13622 11.5911C7.09888 11.6285 7.05948 11.6457 7.00023 11.6457C6.94097 11.6457 6.90157 11.6285 6.86423 11.5911Z" stroke="currentColor" fill="currentColor" stroke-width="0.576923"/>
110 </symbol> 110 </symbol>
111 111
112 <symbol id="chat" viewBox="0 0 22 22" fill="none"> 112 <symbol id="chat" viewBox="0 0 22 22" fill="none">
113 <path d="M17.7149 4.28242L17.7879 4.35583L17.8382 4.37596C19.3656 5.92588 20.3153 7.95414 20.5268 10.1219C20.7414 12.3231 20.1814 14.5302 18.9432 16.3627C17.705 18.1952 15.8663 19.5383 13.744 20.1604C11.6217 20.7826 9.3488 20.6447 7.31723 19.7707L7.31391 19.7693C7.03192 19.6504 6.7238 19.6071 6.41994 19.6436L6.40042 19.6459L6.38113 19.6498L2.14989 20.5H1.99963V20.4999L1.98689 20.5002C1.91942 20.5019 1.85229 20.4899 1.78956 20.465C1.72728 20.4403 1.67062 20.4033 1.62293 20.3562C1.56506 20.2977 1.52254 20.2258 1.49912 20.1469C1.47556 20.0675 1.4721 19.9834 1.48905 19.9023L1.48915 19.9019L2.36915 15.6719L2.37093 15.6633L2.37242 15.6547C2.42671 15.3385 2.38221 15.0134 2.24513 14.7236C1.37451 12.6943 1.23798 10.4249 1.8592 8.30568C2.48133 6.18338 3.82443 4.34463 5.65694 3.10645C7.48946 1.86826 9.69655 1.30823 11.8977 1.5229C14.0989 1.73758 16.1562 2.7135 17.7149 4.28242ZM1.87963 15.57L0.99963 19.8L1.78963 14.93C1.88552 15.1288 1.91698 15.3525 1.87963 15.57ZM6.47963 20.14C6.69716 20.1139 6.91775 20.1449 7.11963 20.23L6.47963 20.14ZM5.16628 12.2472C5.41295 12.412 5.70296 12.5 5.99963 12.5C6.39745 12.5 6.77899 12.342 7.06029 12.0607C7.34159 11.7794 7.49963 11.3978 7.49963 11C7.49963 10.7034 7.41166 10.4133 7.24683 10.1667C7.08201 9.91999 6.84774 9.72773 6.57366 9.6142C6.29957 9.50067 5.99797 9.47097 5.70699 9.52884C5.41602 9.58672 5.14875 9.72958 4.93897 9.93936C4.72919 10.1491 4.58633 10.4164 4.52845 10.7074C4.47057 10.9984 4.50028 11.3 4.61381 11.574C4.72734 11.8481 4.9196 12.0824 5.16628 12.2472ZM10.1663 12.2472C10.4129 12.412 10.703 12.5 10.9996 12.5C11.3975 12.5 11.779 12.342 12.0603 12.0607C12.3416 11.7794 12.4996 11.3978 12.4996 11C12.4996 10.7034 12.4117 10.4133 12.2468 10.1667C12.082 9.91999 11.8477 9.72773 11.5737 9.6142C11.2996 9.50067 10.998 9.47097 10.707 9.52884C10.416 9.58672 10.1487 9.72958 9.93897 9.93936C9.72919 10.1491 9.58633 10.4164 9.52845 10.7074C9.47057 10.9984 9.50028 11.3 9.61381 11.574C9.72734 11.8481 9.9196 12.0824 10.1663 12.2472ZM15.1663 12.2472C15.4129 12.412 15.703 12.5 15.9996 12.5C16.3975 12.5 16.779 12.342 17.0603 12.0607C17.3416 11.7794 17.4996 11.3978 17.4996 11C17.4996 10.7034 17.4117 10.4133 17.2468 10.1667C17.082 9.91999 16.8477 9.72773 16.5737 9.6142C16.2996 9.50067 15.998 9.47097 15.707 9.52884C15.416 9.58672 15.1487 9.72958 14.939 9.93936C14.7292 10.1491 14.5863 10.4164 14.5285 10.7074C14.4706 10.9984 14.5003 11.3 14.6138 11.574C14.7273 11.8481 14.9196 12.0824 15.1663 12.2472Z" stroke="currentColor"/> 113 <path d="M17.7149 4.28242L17.7879 4.35583L17.8382 4.37596C19.3656 5.92588 20.3153 7.95414 20.5268 10.1219C20.7414 12.3231 20.1814 14.5302 18.9432 16.3627C17.705 18.1952 15.8663 19.5383 13.744 20.1604C11.6217 20.7826 9.3488 20.6447 7.31723 19.7707L7.31391 19.7693C7.03192 19.6504 6.7238 19.6071 6.41994 19.6436L6.40042 19.6459L6.38113 19.6498L2.14989 20.5H1.99963V20.4999L1.98689 20.5002C1.91942 20.5019 1.85229 20.4899 1.78956 20.465C1.72728 20.4403 1.67062 20.4033 1.62293 20.3562C1.56506 20.2977 1.52254 20.2258 1.49912 20.1469C1.47556 20.0675 1.4721 19.9834 1.48905 19.9023L1.48915 19.9019L2.36915 15.6719L2.37093 15.6633L2.37242 15.6547C2.42671 15.3385 2.38221 15.0134 2.24513 14.7236C1.37451 12.6943 1.23798 10.4249 1.8592 8.30568C2.48133 6.18338 3.82443 4.34463 5.65694 3.10645C7.48946 1.86826 9.69655 1.30823 11.8977 1.5229C14.0989 1.73758 16.1562 2.7135 17.7149 4.28242ZM1.87963 15.57L0.99963 19.8L1.78963 14.93C1.88552 15.1288 1.91698 15.3525 1.87963 15.57ZM6.47963 20.14C6.69716 20.1139 6.91775 20.1449 7.11963 20.23L6.47963 20.14ZM5.16628 12.2472C5.41295 12.412 5.70296 12.5 5.99963 12.5C6.39745 12.5 6.77899 12.342 7.06029 12.0607C7.34159 11.7794 7.49963 11.3978 7.49963 11C7.49963 10.7034 7.41166 10.4133 7.24683 10.1667C7.08201 9.91999 6.84774 9.72773 6.57366 9.6142C6.29957 9.50067 5.99797 9.47097 5.70699 9.52884C5.41602 9.58672 5.14875 9.72958 4.93897 9.93936C4.72919 10.1491 4.58633 10.4164 4.52845 10.7074C4.47057 10.9984 4.50028 11.3 4.61381 11.574C4.72734 11.8481 4.9196 12.0824 5.16628 12.2472ZM10.1663 12.2472C10.4129 12.412 10.703 12.5 10.9996 12.5C11.3975 12.5 11.779 12.342 12.0603 12.0607C12.3416 11.7794 12.4996 11.3978 12.4996 11C12.4996 10.7034 12.4117 10.4133 12.2468 10.1667C12.082 9.91999 11.8477 9.72773 11.5737 9.6142C11.2996 9.50067 10.998 9.47097 10.707 9.52884C10.416 9.58672 10.1487 9.72958 9.93897 9.93936C9.72919 10.1491 9.58633 10.4164 9.52845 10.7074C9.47057 10.9984 9.50028 11.3 9.61381 11.574C9.72734 11.8481 9.9196 12.0824 10.1663 12.2472ZM15.1663 12.2472C15.4129 12.412 15.703 12.5 15.9996 12.5C16.3975 12.5 16.779 12.342 17.0603 12.0607C17.3416 11.7794 17.4996 11.3978 17.4996 11C17.4996 10.7034 17.4117 10.4133 17.2468 10.1667C17.082 9.91999 16.8477 9.72773 16.5737 9.6142C16.2996 9.50067 15.998 9.47097 15.707 9.52884C15.416 9.58672 15.1487 9.72958 14.939 9.93936C14.7292 10.1491 14.5863 10.4164 14.5285 10.7074C14.4706 10.9984 14.5003 11.3 14.6138 11.574C14.7273 11.8481 14.9196 12.0824 15.1663 12.2472Z" stroke="currentColor"/>
114 </symbol> 114 </symbol>
115 115
116 <symbol id="download" viewBox="0 0 12 12" fill="none"> 116 <symbol id="download" viewBox="0 0 12 12" fill="none">
117 <path d="M4.08018 5.00551L5.41602 6.34718V0.753011C5.41602 0.598301 5.47747 0.449928 5.58687 0.340532C5.69627 0.231136 5.84464 0.169678 5.99935 0.169678C6.15406 0.169678 6.30243 0.231136 6.41183 0.340532C6.52122 0.449928 6.58268 0.598301 6.58268 0.753011V6.34718L7.91852 5.00551C7.97274 4.95084 8.03726 4.90744 8.10835 4.87782C8.17943 4.84821 8.25568 4.83296 8.33268 4.83296C8.40969 4.83296 8.48594 4.84821 8.55702 4.87782C8.6281 4.90744 8.69262 4.95084 8.74685 5.00551C8.80152 5.05974 8.84492 5.12426 8.87454 5.19534C8.90415 5.26643 8.9194 5.34267 8.9194 5.41968C8.9194 5.49668 8.90415 5.57293 8.87454 5.64401C8.84492 5.7151 8.80152 5.77962 8.74685 5.83384L6.41352 8.16718C6.35804 8.22028 6.29262 8.26191 6.22102 8.28968C6.079 8.34802 5.9197 8.34802 5.77768 8.28968C5.70608 8.26191 5.64066 8.22028 5.58518 8.16718L3.25185 5.83384C3.19746 5.77945 3.15432 5.71489 3.12488 5.64382C3.09545 5.57276 3.0803 5.4966 3.0803 5.41968C3.0803 5.34276 3.09545 5.26659 3.12488 5.19553C3.15432 5.12447 3.19746 5.0599 3.25185 5.00551C3.30624 4.95112 3.37081 4.90798 3.44187 4.87854C3.51293 4.84911 3.5891 4.83396 3.66602 4.83396C3.74293 4.83396 3.8191 4.84911 3.89016 4.87854C3.96122 4.90798 4.02579 4.95112 4.08018 5.00551ZM11.2494 6.0001C11.0946 6.0001 10.9463 6.06156 10.8369 6.17096C10.7275 6.28035 10.666 6.42873 10.666 6.58344V10.0834C10.666 10.2381 10.6046 10.3865 10.4952 10.4959C10.3858 10.6053 10.2374 10.6668 10.0827 10.6668H1.91602C1.76131 10.6668 1.61293 10.6053 1.50354 10.4959C1.39414 10.3865 1.33268 10.2381 1.33268 10.0834V6.58344C1.33268 6.42873 1.27122 6.28035 1.16183 6.17096C1.05243 6.06156 0.904059 6.0001 0.749349 6.0001C0.594639 6.0001 0.446266 6.06156 0.33687 6.17096C0.227474 6.28035 0.166016 6.42873 0.166016 6.58344V10.0834C0.166016 10.5476 0.35039 10.9927 0.678579 11.3209C1.00677 11.6491 1.45189 11.8334 1.91602 11.8334H10.0827C10.5468 11.8334 10.9919 11.6491 11.3201 11.3209C11.6483 10.9927 11.8327 10.5476 11.8327 10.0834V6.58344C11.8327 6.42873 11.7712 6.28035 11.6618 6.17096C11.5524 6.06156 11.4041 6.0001 11.2494 6.0001Z" fill="currentColor"/> 117 <path d="M4.08018 5.00551L5.41602 6.34718V0.753011C5.41602 0.598301 5.47747 0.449928 5.58687 0.340532C5.69627 0.231136 5.84464 0.169678 5.99935 0.169678C6.15406 0.169678 6.30243 0.231136 6.41183 0.340532C6.52122 0.449928 6.58268 0.598301 6.58268 0.753011V6.34718L7.91852 5.00551C7.97274 4.95084 8.03726 4.90744 8.10835 4.87782C8.17943 4.84821 8.25568 4.83296 8.33268 4.83296C8.40969 4.83296 8.48594 4.84821 8.55702 4.87782C8.6281 4.90744 8.69262 4.95084 8.74685 5.00551C8.80152 5.05974 8.84492 5.12426 8.87454 5.19534C8.90415 5.26643 8.9194 5.34267 8.9194 5.41968C8.9194 5.49668 8.90415 5.57293 8.87454 5.64401C8.84492 5.7151 8.80152 5.77962 8.74685 5.83384L6.41352 8.16718C6.35804 8.22028 6.29262 8.26191 6.22102 8.28968C6.079 8.34802 5.9197 8.34802 5.77768 8.28968C5.70608 8.26191 5.64066 8.22028 5.58518 8.16718L3.25185 5.83384C3.19746 5.77945 3.15432 5.71489 3.12488 5.64382C3.09545 5.57276 3.0803 5.4966 3.0803 5.41968C3.0803 5.34276 3.09545 5.26659 3.12488 5.19553C3.15432 5.12447 3.19746 5.0599 3.25185 5.00551C3.30624 4.95112 3.37081 4.90798 3.44187 4.87854C3.51293 4.84911 3.5891 4.83396 3.66602 4.83396C3.74293 4.83396 3.8191 4.84911 3.89016 4.87854C3.96122 4.90798 4.02579 4.95112 4.08018 5.00551ZM11.2494 6.0001C11.0946 6.0001 10.9463 6.06156 10.8369 6.17096C10.7275 6.28035 10.666 6.42873 10.666 6.58344V10.0834C10.666 10.2381 10.6046 10.3865 10.4952 10.4959C10.3858 10.6053 10.2374 10.6668 10.0827 10.6668H1.91602C1.76131 10.6668 1.61293 10.6053 1.50354 10.4959C1.39414 10.3865 1.33268 10.2381 1.33268 10.0834V6.58344C1.33268 6.42873 1.27122 6.28035 1.16183 6.17096C1.05243 6.06156 0.904059 6.0001 0.749349 6.0001C0.594639 6.0001 0.446266 6.06156 0.33687 6.17096C0.227474 6.28035 0.166016 6.42873 0.166016 6.58344V10.0834C0.166016 10.5476 0.35039 10.9927 0.678579 11.3209C1.00677 11.6491 1.45189 11.8334 1.91602 11.8334H10.0827C10.5468 11.8334 10.9919 11.6491 11.3201 11.3209C11.6483 10.9927 11.8327 10.5476 11.8327 10.0834V6.58344C11.8327 6.42873 11.7712 6.28035 11.6618 6.17096C11.5524 6.06156 11.4041 6.0001 11.2494 6.0001Z" fill="currentColor"/>
118 </symbol> 118 </symbol>
119 119
120 <symbol id="back" viewBox="0 0 26 22" fill="none"> 120 <symbol id="back" viewBox="0 0 26 22" fill="none">
121 <path d="M11.3732 0.736447C11.5286 0.888039 11.6159 1.09353 11.6159 1.30778C11.6159 1.52204 11.5286 1.72753 11.3732 1.87912L2.83307 10.2012L25.1702 10.2012C25.3903 10.2012 25.6013 10.2864 25.757 10.438C25.9126 10.5897 26 10.7953 26 11.0097C26 11.2242 25.9126 11.4298 25.757 11.5814C25.6013 11.733 25.3903 11.8182 25.1702 11.8182L2.83307 11.8182L11.3732 20.1403C11.5198 20.2936 11.5996 20.4963 11.5958 20.7058C11.592 20.9152 11.5049 21.1151 11.3529 21.2632C11.2008 21.4113 10.9957 21.4962 10.7807 21.4999C10.5658 21.5036 10.3577 21.4258 10.2004 21.283L0.242681 11.5811C0.0872844 11.4295 1.2254e-07 11.224 1.25095e-07 11.0097C1.2765e-07 10.7955 0.0872845 10.59 0.242681 10.4384L10.2004 0.736447C10.356 0.585041 10.5669 0.5 10.7868 0.5C11.0067 0.5 11.2176 0.585041 11.3732 0.736447Z" fill="currentColor"/> 121 <path d="M11.3732 0.736447C11.5286 0.888039 11.6159 1.09353 11.6159 1.30778C11.6159 1.52204 11.5286 1.72753 11.3732 1.87912L2.83307 10.2012L25.1702 10.2012C25.3903 10.2012 25.6013 10.2864 25.757 10.438C25.9126 10.5897 26 10.7953 26 11.0097C26 11.2242 25.9126 11.4298 25.757 11.5814C25.6013 11.733 25.3903 11.8182 25.1702 11.8182L2.83307 11.8182L11.3732 20.1403C11.5198 20.2936 11.5996 20.4963 11.5958 20.7058C11.592 20.9152 11.5049 21.1151 11.3529 21.2632C11.2008 21.4113 10.9957 21.4962 10.7807 21.4999C10.5658 21.5036 10.3577 21.4258 10.2004 21.283L0.242681 11.5811C0.0872844 11.4295 1.2254e-07 11.224 1.25095e-07 11.0097C1.2765e-07 10.7955 0.0872845 10.59 0.242681 10.4384L10.2004 0.736447C10.356 0.585041 10.5669 0.5 10.7868 0.5C11.0067 0.5 11.2176 0.585041 11.3732 0.736447Z" fill="currentColor"/>
122 </symbol> 122 </symbol>
123 123
124 <symbol id="share" viewBox="0 0 12 12" fill="none"> 124 <symbol id="share" viewBox="0 0 12 12" fill="none">
125 <path d="M4.08116 3.4976L5.41699 2.15594V7.7501C5.41699 7.90481 5.47845 8.05318 5.58785 8.16258C5.69724 8.27198 5.84562 8.33344 6.00033 8.33344C6.15504 8.33344 6.30341 8.27198 6.4128 8.16258C6.5222 8.05318 6.58366 7.90481 6.58366 7.7501V2.15594L7.91949 3.4976C7.97372 3.55228 8.03824 3.59567 8.10932 3.62529C8.18041 3.6549 8.25665 3.67015 8.33366 3.67015C8.41067 3.67015 8.48691 3.6549 8.558 3.62529C8.62908 3.59567 8.6936 3.55228 8.74783 3.4976C8.8025 3.44337 8.8459 3.37886 8.87551 3.30777C8.90513 3.23669 8.92037 3.16044 8.92037 3.08344C8.92037 3.00643 8.90513 2.93018 8.87551 2.8591C8.8459 2.78801 8.8025 2.7235 8.74783 2.66927L6.41449 0.335936C6.35902 0.282829 6.2936 0.241199 6.22199 0.213436C6.07997 0.155092 5.92068 0.155092 5.77866 0.213436C5.70705 0.241199 5.64164 0.282829 5.58616 0.335936L3.25283 2.66927C3.19844 2.72366 3.15529 2.78823 3.12586 2.85929C3.09642 2.93035 3.08127 3.00652 3.08127 3.08344C3.08127 3.16035 3.09642 3.23652 3.12586 3.30758C3.15529 3.37864 3.19844 3.44321 3.25283 3.4976C3.30721 3.55199 3.37178 3.59514 3.44285 3.62457C3.51391 3.65401 3.59007 3.66916 3.66699 3.66916C3.74391 3.66916 3.82008 3.65401 3.89114 3.62457C3.9622 3.59514 4.02677 3.55199 4.08116 3.4976ZM11.2503 6.0001C11.0956 6.0001 10.9472 6.06156 10.8378 6.17096C10.7285 6.28035 10.667 6.42873 10.667 6.58344V10.0834C10.667 10.2381 10.6055 10.3865 10.4961 10.4959C10.3867 10.6053 10.2384 10.6668 10.0837 10.6668H1.91699C1.76228 10.6668 1.61391 10.6053 1.50451 10.4959C1.39512 10.3865 1.33366 10.2381 1.33366 10.0834V6.58344C1.33366 6.42873 1.2722 6.28035 1.1628 6.17096C1.05341 6.06156 0.905035 6.0001 0.750326 6.0001C0.595616 6.0001 0.447243 6.06156 0.337847 6.17096C0.22845 6.28035 0.166992 6.42873 0.166992 6.58344V10.0834C0.166992 10.5476 0.351367 10.9927 0.679555 11.3209C1.00774 11.6491 1.45286 11.8334 1.91699 11.8334H10.0837C10.5478 11.8334 10.9929 11.6491 11.3211 11.3209C11.6493 10.9927 11.8337 10.5476 11.8337 10.0834V6.58344C11.8337 6.42873 11.7722 6.28035 11.6628 6.17096C11.5534 6.06156 11.405 6.0001 11.2503 6.0001Z" fill="currentColor"/> 125 <path d="M4.08116 3.4976L5.41699 2.15594V7.7501C5.41699 7.90481 5.47845 8.05318 5.58785 8.16258C5.69724 8.27198 5.84562 8.33344 6.00033 8.33344C6.15504 8.33344 6.30341 8.27198 6.4128 8.16258C6.5222 8.05318 6.58366 7.90481 6.58366 7.7501V2.15594L7.91949 3.4976C7.97372 3.55228 8.03824 3.59567 8.10932 3.62529C8.18041 3.6549 8.25665 3.67015 8.33366 3.67015C8.41067 3.67015 8.48691 3.6549 8.558 3.62529C8.62908 3.59567 8.6936 3.55228 8.74783 3.4976C8.8025 3.44337 8.8459 3.37886 8.87551 3.30777C8.90513 3.23669 8.92037 3.16044 8.92037 3.08344C8.92037 3.00643 8.90513 2.93018 8.87551 2.8591C8.8459 2.78801 8.8025 2.7235 8.74783 2.66927L6.41449 0.335936C6.35902 0.282829 6.2936 0.241199 6.22199 0.213436C6.07997 0.155092 5.92068 0.155092 5.77866 0.213436C5.70705 0.241199 5.64164 0.282829 5.58616 0.335936L3.25283 2.66927C3.19844 2.72366 3.15529 2.78823 3.12586 2.85929C3.09642 2.93035 3.08127 3.00652 3.08127 3.08344C3.08127 3.16035 3.09642 3.23652 3.12586 3.30758C3.15529 3.37864 3.19844 3.44321 3.25283 3.4976C3.30721 3.55199 3.37178 3.59514 3.44285 3.62457C3.51391 3.65401 3.59007 3.66916 3.66699 3.66916C3.74391 3.66916 3.82008 3.65401 3.89114 3.62457C3.9622 3.59514 4.02677 3.55199 4.08116 3.4976ZM11.2503 6.0001C11.0956 6.0001 10.9472 6.06156 10.8378 6.17096C10.7285 6.28035 10.667 6.42873 10.667 6.58344V10.0834C10.667 10.2381 10.6055 10.3865 10.4961 10.4959C10.3867 10.6053 10.2384 10.6668 10.0837 10.6668H1.91699C1.76228 10.6668 1.61391 10.6053 1.50451 10.4959C1.39512 10.3865 1.33366 10.2381 1.33366 10.0834V6.58344C1.33366 6.42873 1.2722 6.28035 1.1628 6.17096C1.05341 6.06156 0.905035 6.0001 0.750326 6.0001C0.595616 6.0001 0.447243 6.06156 0.337847 6.17096C0.22845 6.28035 0.166992 6.42873 0.166992 6.58344V10.0834C0.166992 10.5476 0.351367 10.9927 0.679555 11.3209C1.00774 11.6491 1.45286 11.8334 1.91699 11.8334H10.0837C10.5478 11.8334 10.9929 11.6491 11.3211 11.3209C11.6493 10.9927 11.8337 10.5476 11.8337 10.0834V6.58344C11.8337 6.42873 11.7722 6.28035 11.6628 6.17096C11.5534 6.06156 11.405 6.0001 11.2503 6.0001Z" fill="currentColor"/>
126 </symbol> 126 </symbol>
127 127
128 <symbol id="clip" viewBox="0 0 11 16" fill="none"> 128 <symbol id="clip" viewBox="0 0 11 16" fill="none">
129 <path d="M1 5.02548V10.9091C1 12.0664 1.45153 13.1763 2.25526 13.9947C3.05898 14.813 4.14907 15.2727 5.28571 15.2727C6.42236 15.2727 7.51244 14.813 8.31617 13.9947C9.1199 13.1763 9.57143 12.0664 9.57143 10.9091V3.63639C9.57143 2.86485 9.27041 2.12491 8.73459 1.57935C8.19877 1.03379 7.47205 0.727295 6.71429 0.727295C5.95652 0.727295 5.2298 1.03379 4.69398 1.57935C4.15816 2.12491 3.85714 2.86485 3.85714 3.63639V10.3142C3.85714 10.5052 3.89409 10.6944 3.96589 10.8708C4.03768 11.0473 4.14291 11.2077 4.27556 11.3427C4.40822 11.4778 4.5657 11.5849 4.73902 11.658C4.91235 11.7311 5.09811 11.7687 5.28571 11.7687V11.7687C5.66459 11.7687 6.02796 11.6155 6.29587 11.3427C6.56378 11.0699 6.71429 10.7 6.71429 10.3142V5.09093" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/> 129 <path d="M1 5.02548V10.9091C1 12.0664 1.45153 13.1763 2.25526 13.9947C3.05898 14.813 4.14907 15.2727 5.28571 15.2727C6.42236 15.2727 7.51244 14.813 8.31617 13.9947C9.1199 13.1763 9.57143 12.0664 9.57143 10.9091V3.63639C9.57143 2.86485 9.27041 2.12491 8.73459 1.57935C8.19877 1.03379 7.47205 0.727295 6.71429 0.727295C5.95652 0.727295 5.2298 1.03379 4.69398 1.57935C4.15816 2.12491 3.85714 2.86485 3.85714 3.63639V10.3142C3.85714 10.5052 3.89409 10.6944 3.96589 10.8708C4.03768 11.0473 4.14291 11.2077 4.27556 11.3427C4.40822 11.4778 4.5657 11.5849 4.73902 11.658C4.91235 11.7311 5.09811 11.7687 5.28571 11.7687V11.7687C5.66459 11.7687 6.02796 11.6155 6.29587 11.3427C6.56378 11.0699 6.71429 10.7 6.71429 10.3142V5.09093" stroke="#377d87" stroke-linecap="round" stroke-linejoin="round"/>
130 </symbol> 130 </symbol>
131 131
132 <symbol id="eye" viewBox="0 0 22 18" fill="none"> 132 <symbol id="eye" viewBox="0 0 22 18" fill="none">
133 <path d="M11.0011 15.4453C9.68623 15.4453 8.32842 15.1187 6.96201 14.4785C5.89209 13.9758 4.81357 13.2797 3.75654 12.4074C1.97334 10.9336 0.87334 9.47266 0.826074 9.4125C0.641309 9.16758 0.641309 8.83242 0.826074 8.5875C0.87334 8.52734 1.97334 7.06641 3.75654 5.59258C4.81357 4.72031 5.89209 4.02422 6.96201 3.52148C8.32842 2.88125 9.68623 2.55469 11.0011 2.55469C12.3159 2.55469 13.6737 2.88125 15.0401 3.52148C16.1101 4.02422 17.1886 4.72031 18.2456 5.59258C20.0288 7.06641 21.1331 8.52734 21.1761 8.5875C21.3608 8.83242 21.3608 9.16758 21.1761 9.4125C21.1288 9.47266 20.0288 10.9336 18.2456 12.4074C17.1886 13.2797 16.1101 13.9758 15.0401 14.4785C13.6737 15.1187 12.3159 15.4453 11.0011 15.4453ZM2.26123 9C3.33975 10.2762 6.90185 14.0703 11.0011 14.0703C15.1089 14.0703 18.6624 10.2762 19.7409 9C18.6624 7.72383 15.1003 3.92969 11.0011 3.92969C6.89326 3.92969 3.33975 7.72383 2.26123 9Z" fill="currentColor"/> 133 <path d="M11.0011 15.4453C9.68623 15.4453 8.32842 15.1187 6.96201 14.4785C5.89209 13.9758 4.81357 13.2797 3.75654 12.4074C1.97334 10.9336 0.87334 9.47266 0.826074 9.4125C0.641309 9.16758 0.641309 8.83242 0.826074 8.5875C0.87334 8.52734 1.97334 7.06641 3.75654 5.59258C4.81357 4.72031 5.89209 4.02422 6.96201 3.52148C8.32842 2.88125 9.68623 2.55469 11.0011 2.55469C12.3159 2.55469 13.6737 2.88125 15.0401 3.52148C16.1101 4.02422 17.1886 4.72031 18.2456 5.59258C20.0288 7.06641 21.1331 8.52734 21.1761 8.5875C21.3608 8.83242 21.3608 9.16758 21.1761 9.4125C21.1288 9.47266 20.0288 10.9336 18.2456 12.4074C17.1886 13.2797 16.1101 13.9758 15.0401 14.4785C13.6737 15.1187 12.3159 15.4453 11.0011 15.4453ZM2.26123 9C3.33975 10.2762 6.90185 14.0703 11.0011 14.0703C15.1089 14.0703 18.6624 10.2762 19.7409 9C18.6624 7.72383 15.1003 3.92969 11.0011 3.92969C6.89326 3.92969 3.33975 7.72383 2.26123 9Z" fill="currentColor"/>
134 <path d="M11 12.0938C9.29414 12.0938 7.90625 10.7059 7.90625 9C7.90625 7.29414 9.29414 5.90625 11 5.90625C12.7059 5.90625 14.0938 7.29414 14.0938 9C14.0938 10.7059 12.7059 12.0938 11 12.0938ZM11 7.28125C10.0504 7.28125 9.28125 8.05039 9.28125 9C9.28125 9.94961 10.0504 10.7188 11 10.7188C11.9496 10.7188 12.7188 9.94961 12.7188 9C12.7188 8.05039 11.9496 7.28125 11 7.28125Z" fill="currentColor"/> 134 <path d="M11 12.0938C9.29414 12.0938 7.90625 10.7059 7.90625 9C7.90625 7.29414 9.29414 5.90625 11 5.90625C12.7059 5.90625 14.0938 7.29414 14.0938 9C14.0938 10.7059 12.7059 12.0938 11 12.0938ZM11 7.28125C10.0504 7.28125 9.28125 8.05039 9.28125 9C9.28125 9.94961 10.0504 10.7188 11 10.7188C11.9496 10.7188 12.7188 9.94961 12.7188 9C12.7188 8.05039 11.9496 7.28125 11 7.28125Z" fill="currentColor"/>
135 <g filter="url(#filter0_d_660_17902)"> 135 <g filter="url(#filter0_d_660_17902)">
136 <rect x="16" width="1" height="20" rx="0.5" transform="rotate(30 16 0)" fill="currentColor"/> 136 <rect x="16" width="1" height="20" rx="0.5" transform="rotate(30 16 0)" fill="currentColor"/>
137 </g> 137 </g>
138 <defs> 138 <defs>
139 <filter id="filter0_d_660_17902" x="6.18359" y="0.182861" width="11.5" height="17.4548" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> 139 <filter id="filter0_d_660_17902" x="6.18359" y="0.182861" width="11.5" height="17.4548" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
140 <feFlood flood-opacity="0" result="BackgroundImageFix"/> 140 <feFlood flood-opacity="0" result="BackgroundImageFix"/>
141 <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/> 141 <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
142 <feOffset dx="1"/> 142 <feOffset dx="1"/>
143 <feComposite in2="hardAlpha" operator="out"/> 143 <feComposite in2="hardAlpha" operator="out"/>
144 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/> 144 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
145 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_660_17902"/> 145 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_660_17902"/>
146 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_660_17902" result="shape"/> 146 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_660_17902" result="shape"/>
147 </filter> 147 </filter>
148 </defs> 148 </defs>
149 </symbol> 149 </symbol>
150 150
151 <symbol id="eye-2" viewBox="0 0 640 512" fill="none"> 151 <symbol id="eye-2" viewBox="0 0 640 512" fill="none">
152 <path d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z" fill="currentColor"/> 152 <path d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z" fill="currentColor"/>
153 </symbol> 153 </symbol>
154 154
155 <symbol id="eye-3" viewBox="0 0 42 28" fill="none"> 155 <symbol id="eye-3" viewBox="0 0 42 28" fill="none">
156 <path d="M41.1916 13.5823C41.1332 13.4483 39.7032 10.2772 36.5098 7.08375C33.5466 4.12406 28.4557 0.59375 20.9998 0.59375C13.5438 0.59375 8.45287 4.12406 5.48975 7.08375C2.29631 10.2772 0.866312 13.4431 0.807874 13.5823C0.749114 13.7143 0.71875 13.8572 0.71875 14.0017C0.71875 14.1462 0.749114 14.2891 0.807874 14.4211C0.866312 14.5534 2.29631 17.7245 5.48975 20.918C8.45287 23.8777 13.5438 27.4062 20.9998 27.4062C28.4557 27.4062 33.5466 23.8777 36.5098 20.918C39.7032 17.7245 41.1332 14.5586 41.1916 14.4211C41.2504 14.2891 41.2807 14.1462 41.2807 14.0017C41.2807 13.8572 41.2504 13.7143 41.1916 13.5823ZM20.9998 25.3438C15.6063 25.3438 10.8969 23.3809 7.00053 19.512C5.36716 17.8888 3.98498 16.031 2.89959 14C3.98467 11.9693 5.36689 10.1121 7.00053 8.48969C10.8969 4.61906 15.6063 2.65625 20.9998 2.65625C26.3932 2.65625 31.1026 4.61906 34.999 8.48969C36.6326 10.1121 38.0148 11.9693 39.0999 14C38.0051 16.0986 32.5154 25.3438 20.9998 25.3438ZM20.9998 6.09375C19.436 6.09375 17.9074 6.55744 16.6073 7.42619C15.3071 8.29494 14.2937 9.52973 13.6953 10.9744C13.0969 12.4191 12.9404 14.0088 13.2454 15.5424C13.5505 17.0761 14.3035 18.4849 15.4092 19.5906C16.5149 20.6963 17.9237 21.4493 19.4573 21.7543C20.991 22.0594 22.5807 21.9028 24.0253 21.3044C25.47 20.706 26.7048 19.6927 27.5736 18.3925C28.4423 17.0923 28.906 15.5637 28.906 14C28.9033 11.904 28.0694 9.89457 26.5873 8.41245C25.1052 6.93033 23.0958 6.09648 20.9998 6.09375ZM20.9998 19.8438C19.844 19.8438 18.7141 19.501 17.7531 18.8589C16.7921 18.2168 16.0431 17.3041 15.6008 16.2363C15.1585 15.1685 15.0428 13.9935 15.2683 12.8599C15.4938 11.7264 16.0503 10.6851 16.8676 9.86784C17.6849 9.05058 18.7261 8.49402 19.8597 8.26854C20.9933 8.04305 22.1682 8.15878 23.2361 8.60108C24.3039 9.04338 25.2165 9.79239 25.8587 10.7534C26.5008 11.7144 26.8435 12.8442 26.8435 14C26.8435 15.5499 26.2278 17.0362 25.1319 18.1322C24.036 19.2281 22.5496 19.8438 20.9998 19.8438Z" fill="currentColor"/> 156 <path d="M41.1916 13.5823C41.1332 13.4483 39.7032 10.2772 36.5098 7.08375C33.5466 4.12406 28.4557 0.59375 20.9998 0.59375C13.5438 0.59375 8.45287 4.12406 5.48975 7.08375C2.29631 10.2772 0.866312 13.4431 0.807874 13.5823C0.749114 13.7143 0.71875 13.8572 0.71875 14.0017C0.71875 14.1462 0.749114 14.2891 0.807874 14.4211C0.866312 14.5534 2.29631 17.7245 5.48975 20.918C8.45287 23.8777 13.5438 27.4062 20.9998 27.4062C28.4557 27.4062 33.5466 23.8777 36.5098 20.918C39.7032 17.7245 41.1332 14.5586 41.1916 14.4211C41.2504 14.2891 41.2807 14.1462 41.2807 14.0017C41.2807 13.8572 41.2504 13.7143 41.1916 13.5823ZM20.9998 25.3438C15.6063 25.3438 10.8969 23.3809 7.00053 19.512C5.36716 17.8888 3.98498 16.031 2.89959 14C3.98467 11.9693 5.36689 10.1121 7.00053 8.48969C10.8969 4.61906 15.6063 2.65625 20.9998 2.65625C26.3932 2.65625 31.1026 4.61906 34.999 8.48969C36.6326 10.1121 38.0148 11.9693 39.0999 14C38.0051 16.0986 32.5154 25.3438 20.9998 25.3438ZM20.9998 6.09375C19.436 6.09375 17.9074 6.55744 16.6073 7.42619C15.3071 8.29494 14.2937 9.52973 13.6953 10.9744C13.0969 12.4191 12.9404 14.0088 13.2454 15.5424C13.5505 17.0761 14.3035 18.4849 15.4092 19.5906C16.5149 20.6963 17.9237 21.4493 19.4573 21.7543C20.991 22.0594 22.5807 21.9028 24.0253 21.3044C25.47 20.706 26.7048 19.6927 27.5736 18.3925C28.4423 17.0923 28.906 15.5637 28.906 14C28.9033 11.904 28.0694 9.89457 26.5873 8.41245C25.1052 6.93033 23.0958 6.09648 20.9998 6.09375ZM20.9998 19.8438C19.844 19.8438 18.7141 19.501 17.7531 18.8589C16.7921 18.2168 16.0431 17.3041 15.6008 16.2363C15.1585 15.1685 15.0428 13.9935 15.2683 12.8599C15.4938 11.7264 16.0503 10.6851 16.8676 9.86784C17.6849 9.05058 18.7261 8.49402 19.8597 8.26854C20.9933 8.04305 22.1682 8.15878 23.2361 8.60108C24.3039 9.04338 25.2165 9.79239 25.8587 10.7534C26.5008 11.7144 26.8435 12.8442 26.8435 14C26.8435 15.5499 26.2278 17.0362 25.1319 18.1322C24.036 19.2281 22.5496 19.8438 20.9998 19.8438Z" fill="currentColor"/>
157 </symbol> 157 </symbol>
158 158
159 <symbol id="cabinet-1" viewBox="0 0 22 21" fill="none"> 159 <symbol id="cabinet-1" viewBox="0 0 22 21" fill="none">
160 <path d="M7.33333 1.46667C8.05853 1.46667 8.76744 1.68171 9.37042 2.08461C9.9734 2.48751 10.4434 3.06016 10.7209 3.73016C10.9984 4.40016 11.071 5.1374 10.9295 5.84866C10.7881 6.55993 10.4389 7.21327 9.92606 7.72606C9.41327 8.23885 8.75993 8.58807 8.04867 8.72955C7.3374 8.87103 6.60016 8.79841 5.93016 8.52089C5.26017 8.24337 4.68751 7.7734 4.28461 7.17042C3.88171 6.56744 3.66667 5.85853 3.66667 5.13333C3.66667 4.16087 4.05298 3.22824 4.74061 2.54061C5.42824 1.85298 6.36087 1.46667 7.33333 1.46667ZM7.33333 0C6.31806 0 5.32558 0.301065 4.48141 0.865123C3.63723 1.42918 2.97928 2.2309 2.59075 3.16889C2.20222 4.10689 2.10056 5.13903 2.29864 6.1348C2.49671 7.13057 2.98561 8.04524 3.70352 8.76315C4.42143 9.48106 5.3361 9.96996 6.33187 10.168C7.32764 10.3661 8.35978 10.2644 9.29778 9.87591C10.2358 9.48738 11.0375 8.82943 11.6015 7.98526C12.1656 7.14109 12.4667 6.14861 12.4667 5.13333C12.4667 3.77189 11.9258 2.46621 10.9631 1.50352C10.0005 0.540832 8.69478 0 7.33333 0ZM14.6667 20.5333H13.2V16.8667C13.2 15.8942 12.8137 14.9616 12.1261 14.2739C11.4384 13.5863 10.5058 13.2 9.53333 13.2H5.13333C4.16087 13.2 3.22824 13.5863 2.54061 14.2739C1.85298 14.9616 1.46667 15.8942 1.46667 16.8667V20.5333H0V16.8667C0 15.5052 0.540832 14.1995 1.50352 13.2369C2.46621 12.2742 3.77189 11.7333 5.13333 11.7333H9.53333C10.8948 11.7333 12.2005 12.2742 13.1631 13.2369C14.1258 14.1995 14.6667 15.5052 14.6667 16.8667V20.5333ZM14.6667 1.46667H22V2.93333H14.6667V1.46667ZM14.6667 5.13333H22V6.6H14.6667V5.13333ZM14.6667 8.8H19.8V10.2667H14.6667V8.8Z" fill="currentColor"/> 160 <path d="M7.33333 1.46667C8.05853 1.46667 8.76744 1.68171 9.37042 2.08461C9.9734 2.48751 10.4434 3.06016 10.7209 3.73016C10.9984 4.40016 11.071 5.1374 10.9295 5.84866C10.7881 6.55993 10.4389 7.21327 9.92606 7.72606C9.41327 8.23885 8.75993 8.58807 8.04867 8.72955C7.3374 8.87103 6.60016 8.79841 5.93016 8.52089C5.26017 8.24337 4.68751 7.7734 4.28461 7.17042C3.88171 6.56744 3.66667 5.85853 3.66667 5.13333C3.66667 4.16087 4.05298 3.22824 4.74061 2.54061C5.42824 1.85298 6.36087 1.46667 7.33333 1.46667ZM7.33333 0C6.31806 0 5.32558 0.301065 4.48141 0.865123C3.63723 1.42918 2.97928 2.2309 2.59075 3.16889C2.20222 4.10689 2.10056 5.13903 2.29864 6.1348C2.49671 7.13057 2.98561 8.04524 3.70352 8.76315C4.42143 9.48106 5.3361 9.96996 6.33187 10.168C7.32764 10.3661 8.35978 10.2644 9.29778 9.87591C10.2358 9.48738 11.0375 8.82943 11.6015 7.98526C12.1656 7.14109 12.4667 6.14861 12.4667 5.13333C12.4667 3.77189 11.9258 2.46621 10.9631 1.50352C10.0005 0.540832 8.69478 0 7.33333 0ZM14.6667 20.5333H13.2V16.8667C13.2 15.8942 12.8137 14.9616 12.1261 14.2739C11.4384 13.5863 10.5058 13.2 9.53333 13.2H5.13333C4.16087 13.2 3.22824 13.5863 2.54061 14.2739C1.85298 14.9616 1.46667 15.8942 1.46667 16.8667V20.5333H0V16.8667C0 15.5052 0.540832 14.1995 1.50352 13.2369C2.46621 12.2742 3.77189 11.7333 5.13333 11.7333H9.53333C10.8948 11.7333 12.2005 12.2742 13.1631 13.2369C14.1258 14.1995 14.6667 15.5052 14.6667 16.8667V20.5333ZM14.6667 1.46667H22V2.93333H14.6667V1.46667ZM14.6667 5.13333H22V6.6H14.6667V5.13333ZM14.6667 8.8H19.8V10.2667H14.6667V8.8Z" fill="currentColor"/>
161 </symbol> 161 </symbol>
162 162
163 <symbol id="cabinet-2" viewBox="0 0 21 21" fill="none"> 163 <symbol id="cabinet-2" viewBox="0 0 21 21" fill="none">
164 <path d="M18.4861 20.1667H1.68056C1.23498 20.1663 0.807784 20.0144 0.492715 19.7443C0.177646 19.4743 0.000444907 19.1081 0 18.7262V1.44048C0.000444907 1.05856 0.177646 0.692386 0.492715 0.422327C0.807784 0.152268 1.23498 0.000381349 1.68056 0H18.4861C18.9317 0.000381349 19.3589 0.152268 19.674 0.422327C19.989 0.692386 20.1662 1.05856 20.1667 1.44048V18.7262C20.1662 19.1081 19.989 19.4743 19.674 19.7443C19.3589 20.0144 18.9317 20.1663 18.4861 20.1667ZM1.68056 1.44048V18.7262H18.4861V1.44048H1.68056Z" fill="currentColor"/> 164 <path d="M18.4861 20.1667H1.68056C1.23498 20.1663 0.807784 20.0144 0.492715 19.7443C0.177646 19.4743 0.000444907 19.1081 0 18.7262V1.44048C0.000444907 1.05856 0.177646 0.692386 0.492715 0.422327C0.807784 0.152268 1.23498 0.000381349 1.68056 0H18.4861C18.9317 0.000381349 19.3589 0.152268 19.674 0.422327C19.989 0.692386 20.1662 1.05856 20.1667 1.44048V18.7262C20.1662 19.1081 19.989 19.4743 19.674 19.7443C19.3589 20.0144 18.9317 20.1663 18.4861 20.1667ZM1.68056 1.44048V18.7262H18.4861V1.44048H1.68056Z" fill="currentColor"/>
165 <path d="M4.58203 8.64307H14.6654V10.2145H4.58203V8.64307ZM4.58203 12.5716H10.9987V14.1431H4.58203V12.5716Z" fill="currentColor"/> 165 <path d="M4.58203 8.64307H14.6654V10.2145H4.58203V8.64307ZM4.58203 12.5716H10.9987V14.1431H4.58203V12.5716Z" fill="currentColor"/>
166 <rect x="11" width="10" height="8" fill="white"/> 166 <rect x="11" width="10" height="8" fill="white"/>
167 <path d="M19.875 2.75H17.125V0H15.75V2.75H13V4.125H15.75V6.875H17.125V4.125H19.875V2.75Z" fill="currentColor"/> 167 <path d="M19.875 2.75H17.125V0H15.75V2.75H13V4.125H15.75V6.875H17.125V4.125H19.875V2.75Z" fill="currentColor"/>
168 </symbol> 168 </symbol>
169 169
170 <symbol id="cabinet-3" viewBox="0 0 21 21" fill="none"> 170 <symbol id="cabinet-3" viewBox="0 0 21 21" fill="none">
171 <path d="M18.4861 20.1667H1.68056C1.23498 20.1663 0.807784 20.0144 0.492715 19.7443C0.177646 19.4743 0.000444907 19.1081 0 18.7262V1.44048C0.000444907 1.05856 0.177646 0.692386 0.492715 0.422327C0.807784 0.152268 1.23498 0.000381349 1.68056 0H18.4861C18.9317 0.000381349 19.3589 0.152268 19.674 0.422327C19.989 0.692386 20.1662 1.05856 20.1667 1.44048V18.7262C20.1662 19.1081 19.989 19.4743 19.674 19.7443C19.3589 20.0144 18.9317 20.1663 18.4861 20.1667ZM1.68056 1.44048V18.7262H18.4861V1.44048H1.68056Z" fill="currentColor"/> 171 <path d="M18.4861 20.1667H1.68056C1.23498 20.1663 0.807784 20.0144 0.492715 19.7443C0.177646 19.4743 0.000444907 19.1081 0 18.7262V1.44048C0.000444907 1.05856 0.177646 0.692386 0.492715 0.422327C0.807784 0.152268 1.23498 0.000381349 1.68056 0H18.4861C18.9317 0.000381349 19.3589 0.152268 19.674 0.422327C19.989 0.692386 20.1662 1.05856 20.1667 1.44048V18.7262C20.1662 19.1081 19.989 19.4743 19.674 19.7443C19.3589 20.0144 18.9317 20.1663 18.4861 20.1667ZM1.68056 1.44048V18.7262H18.4861V1.44048H1.68056Z" fill="currentColor"/>
172 <path d="M4.58203 8.64307H14.6654V10.2145H4.58203V8.64307ZM4.58203 12.5716H10.9987V14.1431H4.58203V12.5716Z" fill="currentColor"/> 172 <path d="M4.58203 8.64307H14.6654V10.2145H4.58203V8.64307ZM4.58203 12.5716H10.9987V14.1431H4.58203V12.5716Z" fill="currentColor"/>
173 </symbol> 173 </symbol>
174 174
175 <symbol id="cabinet-4" viewBox="0 0 20 21" fill="none"> 175 <symbol id="cabinet-4" viewBox="0 0 20 21" fill="none">
176 <path d="M10 15.125C9.28779 15.1239 8.588 14.9384 7.96874 14.5866C7.34948 14.2349 6.83185 13.7287 6.46625 13.1175L5.29063 13.805C5.78008 14.6163 6.47083 15.2874 7.29593 15.7533C8.12103 16.2191 9.05248 16.4639 10 16.4639C10.9475 16.4639 11.879 16.2191 12.7041 15.7533C13.5292 15.2874 14.2199 14.6163 14.7094 13.805L13.5338 13.1175C13.1681 13.7287 12.6505 14.2349 12.0313 14.5866C11.412 14.9384 10.7122 15.1239 10 15.125ZM19.625 2.75H16.875V0H15.5V2.75H12.75V4.125H15.5V6.875H16.875V4.125H19.625V2.75ZM6.90625 7.5625C6.56631 7.5625 6.23401 7.6633 5.95136 7.85216C5.66872 8.04102 5.44842 8.30945 5.31833 8.62351C5.18824 8.93757 5.15421 9.28316 5.22053 9.61656C5.28684 9.94997 5.45054 10.2562 5.69091 10.4966C5.93128 10.737 6.23753 10.9007 6.57094 10.967C6.90434 11.0333 7.24993 10.9993 7.56399 10.8692C7.87805 10.7391 8.14648 10.5188 8.33534 10.2361C8.5242 9.95349 8.625 9.62119 8.625 9.28125C8.62683 9.05503 8.58363 8.83071 8.4979 8.62135C8.41217 8.412 8.28564 8.22179 8.12567 8.06183C7.96571 7.90186 7.77551 7.77533 7.56615 7.6896C7.35679 7.60387 7.13247 7.56067 6.90625 7.5625ZM13.0938 7.5625C12.7538 7.5625 12.4215 7.6633 12.1389 7.85216C11.8562 8.04102 11.6359 8.30945 11.5058 8.62351C11.3757 8.93757 11.3417 9.28316 11.408 9.61656C11.4743 9.94997 11.638 10.2562 11.8784 10.4966C12.1188 10.737 12.425 10.9007 12.7584 10.967C13.0918 11.0333 13.4374 10.9993 13.7515 10.8692C14.0655 10.7391 14.334 10.5188 14.5228 10.2361C14.7117 9.95349 14.8125 9.62119 14.8125 9.28125C14.8143 9.05503 14.7711 8.83071 14.6854 8.62135C14.5997 8.412 14.4731 8.22179 14.3132 8.06183C14.1532 7.90186 13.963 7.77533 13.7536 7.6896C13.5443 7.60387 13.32 7.56067 13.0938 7.5625Z" fill="currentColor"/> 176 <path d="M10 15.125C9.28779 15.1239 8.588 14.9384 7.96874 14.5866C7.34948 14.2349 6.83185 13.7287 6.46625 13.1175L5.29063 13.805C5.78008 14.6163 6.47083 15.2874 7.29593 15.7533C8.12103 16.2191 9.05248 16.4639 10 16.4639C10.9475 16.4639 11.879 16.2191 12.7041 15.7533C13.5292 15.2874 14.2199 14.6163 14.7094 13.805L13.5338 13.1175C13.1681 13.7287 12.6505 14.2349 12.0313 14.5866C11.412 14.9384 10.7122 15.1239 10 15.125ZM19.625 2.75H16.875V0H15.5V2.75H12.75V4.125H15.5V6.875H16.875V4.125H19.625V2.75ZM6.90625 7.5625C6.56631 7.5625 6.23401 7.6633 5.95136 7.85216C5.66872 8.04102 5.44842 8.30945 5.31833 8.62351C5.18824 8.93757 5.15421 9.28316 5.22053 9.61656C5.28684 9.94997 5.45054 10.2562 5.69091 10.4966C5.93128 10.737 6.23753 10.9007 6.57094 10.967C6.90434 11.0333 7.24993 10.9993 7.56399 10.8692C7.87805 10.7391 8.14648 10.5188 8.33534 10.2361C8.5242 9.95349 8.625 9.62119 8.625 9.28125C8.62683 9.05503 8.58363 8.83071 8.4979 8.62135C8.41217 8.412 8.28564 8.22179 8.12567 8.06183C7.96571 7.90186 7.77551 7.77533 7.56615 7.6896C7.35679 7.60387 7.13247 7.56067 6.90625 7.5625ZM13.0938 7.5625C12.7538 7.5625 12.4215 7.6633 12.1389 7.85216C11.8562 8.04102 11.6359 8.30945 11.5058 8.62351C11.3757 8.93757 11.3417 9.28316 11.408 9.61656C11.4743 9.94997 11.638 10.2562 11.8784 10.4966C12.1188 10.737 12.425 10.9007 12.7584 10.967C13.0918 11.0333 13.4374 10.9993 13.7515 10.8692C14.0655 10.7391 14.334 10.5188 14.5228 10.2361C14.7117 9.95349 14.8125 9.62119 14.8125 9.28125C14.8143 9.05503 14.7711 8.83071 14.6854 8.62135C14.5997 8.412 14.4731 8.22179 14.3132 8.06183C14.1532 7.90186 13.963 7.77533 13.7536 7.6896C13.5443 7.60387 13.32 7.56067 13.0938 7.5625Z" fill="currentColor"/>
177 <path d="M17.9813 8.9375C18.155 9.61139 18.245 10.3041 18.2494 11C18.2494 12.6317 17.7655 14.2267 16.859 15.5835C15.9525 16.9402 14.664 17.9976 13.1565 18.622C11.649 19.2464 9.99024 19.4098 8.3899 19.0915C6.78955 18.7731 5.31954 17.9874 4.16576 16.8336C3.01198 15.6798 2.22624 14.2098 1.90791 12.6095C1.58958 11.0092 1.75296 9.35035 2.37738 7.84286C3.00181 6.33537 4.05923 5.0469 5.41594 4.14038C6.77264 3.23385 8.36769 2.75 9.99939 2.75V1.375C8.007 1.37432 6.0635 1.99195 4.43702 3.14269C2.81055 4.29343 1.58126 5.92055 0.918766 7.79957C0.256272 9.67859 0.193223 11.7169 0.738315 13.6333C1.28341 15.5497 2.40978 17.2496 3.96202 18.4987C5.51427 19.7478 7.41588 20.4843 9.4045 20.6068C11.3931 20.7293 13.3707 20.2316 15.0645 19.1824C16.7583 18.1332 18.0847 16.5843 18.8608 14.7493C19.6369 12.9143 19.8245 10.8836 19.3975 8.9375H17.9813Z" fill="currentColor"/> 177 <path d="M17.9813 8.9375C18.155 9.61139 18.245 10.3041 18.2494 11C18.2494 12.6317 17.7655 14.2267 16.859 15.5835C15.9525 16.9402 14.664 17.9976 13.1565 18.622C11.649 19.2464 9.99024 19.4098 8.3899 19.0915C6.78955 18.7731 5.31954 17.9874 4.16576 16.8336C3.01198 15.6798 2.22624 14.2098 1.90791 12.6095C1.58958 11.0092 1.75296 9.35035 2.37738 7.84286C3.00181 6.33537 4.05923 5.0469 5.41594 4.14038C6.77264 3.23385 8.36769 2.75 9.99939 2.75V1.375C8.007 1.37432 6.0635 1.99195 4.43702 3.14269C2.81055 4.29343 1.58126 5.92055 0.918766 7.79957C0.256272 9.67859 0.193223 11.7169 0.738315 13.6333C1.28341 15.5497 2.40978 17.2496 3.96202 18.4987C5.51427 19.7478 7.41588 20.4843 9.4045 20.6068C11.3931 20.7293 13.3707 20.2316 15.0645 19.1824C16.7583 18.1332 18.0847 16.5843 18.8608 14.7493C19.6369 12.9143 19.8245 10.8836 19.3975 8.9375H17.9813Z" fill="currentColor"/>
178 </symbol> 178 </symbol>
179 179
180 <symbol id="cabinet-5" viewBox="0 0 20 19" fill="none"> 180 <symbol id="cabinet-5" viewBox="0 0 20 19" fill="none">
181 <path d="M11.1962 18.625L10 17.9375L12.75 13.125H16.875C17.2397 13.125 17.5894 12.9801 17.8473 12.7223C18.1051 12.4644 18.25 12.1147 18.25 11.75V3.5C18.25 3.13533 18.1051 2.78559 17.8473 2.52773C17.5894 2.26987 17.2397 2.125 16.875 2.125H3.125C2.76033 2.125 2.41059 2.26987 2.15273 2.52773C1.89487 2.78559 1.75 3.13533 1.75 3.5V11.75C1.75 12.1147 1.89487 12.4644 2.15273 12.7223C2.41059 12.9801 2.76033 13.125 3.125 13.125H9.3125V14.5H3.125C2.39565 14.5 1.69618 14.2103 1.18046 13.6945C0.664731 13.1788 0.375 12.4793 0.375 11.75V3.5C0.375 2.77065 0.664731 2.07118 1.18046 1.55546C1.69618 1.03973 2.39565 0.75 3.125 0.75H16.875C17.6043 0.75 18.3038 1.03973 18.8195 1.55546C19.3353 2.07118 19.625 2.77065 19.625 3.5V11.75C19.625 12.4793 19.3353 13.1788 18.8195 13.6945C18.3038 14.2103 17.6043 14.5 16.875 14.5H13.5475L11.1962 18.625Z" fill="currentColor"/> 181 <path d="M11.1962 18.625L10 17.9375L12.75 13.125H16.875C17.2397 13.125 17.5894 12.9801 17.8473 12.7223C18.1051 12.4644 18.25 12.1147 18.25 11.75V3.5C18.25 3.13533 18.1051 2.78559 17.8473 2.52773C17.5894 2.26987 17.2397 2.125 16.875 2.125H3.125C2.76033 2.125 2.41059 2.26987 2.15273 2.52773C1.89487 2.78559 1.75 3.13533 1.75 3.5V11.75C1.75 12.1147 1.89487 12.4644 2.15273 12.7223C2.41059 12.9801 2.76033 13.125 3.125 13.125H9.3125V14.5H3.125C2.39565 14.5 1.69618 14.2103 1.18046 13.6945C0.664731 13.1788 0.375 12.4793 0.375 11.75V3.5C0.375 2.77065 0.664731 2.07118 1.18046 1.55546C1.69618 1.03973 2.39565 0.75 3.125 0.75H16.875C17.6043 0.75 18.3038 1.03973 18.8195 1.55546C19.3353 2.07118 19.625 2.77065 19.625 3.5V11.75C19.625 12.4793 19.3353 13.1788 18.8195 13.6945C18.3038 14.2103 17.6043 14.5 16.875 14.5H13.5475L11.1962 18.625Z" fill="currentColor"/>
182 <path d="M4.5 4.875H15.5V6.25H4.5V4.875ZM4.5 9H11.375V10.375H4.5V9Z" fill="currentColor"/> 182 <path d="M4.5 4.875H15.5V6.25H4.5V4.875ZM4.5 9H11.375V10.375H4.5V9Z" fill="currentColor"/>
183 </symbol> 183 </symbol>
184 184
185 <symbol id="cabinet-6" viewBox="0 0 20 21" fill="none"> 185 <symbol id="cabinet-6" viewBox="0 0 20 21" fill="none">
186 <path d="M5.87535 20.3125H3.12535C2.76101 20.3114 2.4119 20.1662 2.15428 19.9086C1.89665 19.6509 1.75143 19.3018 1.75035 18.9375V14.125C1.38601 14.1239 1.0369 13.9787 0.779277 13.7211C0.52165 13.4634 0.376435 13.1143 0.375347 12.75V8.625C0.370309 8.35276 0.420216 8.08231 0.522082 7.8298C0.623949 7.57728 0.775685 7.34791 0.968219 7.15537C1.16075 6.96284 1.39013 6.8111 1.64264 6.70924C1.89515 6.60737 2.16561 6.55746 2.43785 6.5625H6.56285C6.83508 6.55746 7.10554 6.60737 7.35805 6.70924C7.61056 6.8111 7.83994 6.96284 8.03247 7.15537C8.22501 7.34791 8.37674 7.57728 8.47861 7.8298C8.58048 8.08231 8.63038 8.35276 8.62535 8.625V12.75C8.62426 13.1143 8.47904 13.4634 8.22142 13.7211C7.96379 13.9787 7.61469 14.1239 7.25035 14.125V18.9375C7.24926 19.3018 7.10404 19.6509 6.84642 19.9086C6.58879 20.1662 6.23969 20.3114 5.87535 20.3125ZM2.43785 7.9375C2.34612 7.93199 2.25428 7.94599 2.16837 7.97859C2.08246 8.01119 2.00444 8.06165 1.93946 8.12662C1.87449 8.19159 1.82404 8.26961 1.79144 8.35552C1.75884 8.44143 1.74483 8.53328 1.75035 8.625V12.75H3.12535V18.9375H5.87535V12.75H7.25035V8.625C7.25586 8.53328 7.24186 8.44143 7.20926 8.35552C7.17666 8.26961 7.1262 8.19159 7.06123 8.12662C6.99625 8.06165 6.91824 8.01119 6.83233 7.97859C6.74642 7.94599 6.65457 7.93199 6.56285 7.9375H2.43785ZM4.50035 5.875C3.95645 5.875 3.42476 5.71372 2.97253 5.41154C2.52029 5.10937 2.16782 4.67988 1.95968 4.17738C1.75154 3.67488 1.69708 3.12195 1.80319 2.5885C1.9093 2.05506 2.17121 1.56505 2.5558 1.18046C2.9404 0.795863 3.4304 0.533951 3.96385 0.427842C4.4973 0.321732 5.05023 0.376192 5.55273 0.584333C6.05522 0.792473 6.48471 1.14495 6.78689 1.59718C7.08906 2.04942 7.25035 2.5811 7.25035 3.125C7.24944 3.85407 6.95941 4.55301 6.44389 5.06854C5.92836 5.58407 5.22941 5.87409 4.50035 5.875ZM4.50035 1.75C4.2284 1.75 3.96256 1.83064 3.73644 1.98173C3.51032 2.13282 3.33408 2.34756 3.23001 2.59881C3.12594 2.85006 3.09871 3.12653 3.15177 3.39325C3.20482 3.65997 3.33578 3.90498 3.52807 4.09727C3.72037 4.28957 3.96537 4.42053 4.2321 4.47358C4.49882 4.52664 4.77529 4.49941 5.02654 4.39534C5.27778 4.29127 5.49253 4.11503 5.64362 3.88891C5.7947 3.66279 5.87535 3.39695 5.87535 3.125C5.87498 2.76044 5.73 2.41092 5.47222 2.15313C5.21443 1.89535 4.86491 1.75037 4.50035 1.75ZM18.777 1.926C18.2599 1.40061 17.562 1.09217 16.8254 1.06355C16.0888 1.03494 15.3691 1.2883 14.8128 1.772C14.2566 1.2883 13.5368 1.03494 12.8003 1.06355C12.0637 1.09217 11.3658 1.40061 10.8487 1.926C10.3052 2.48097 10.0008 3.22683 10.0008 4.00363C10.0008 4.78042 10.3052 5.52628 10.8487 6.08125L14.8115 10.0963L14.8128 10.0949L14.8142 10.0956L18.777 6.08125C19.3205 5.52628 19.6249 4.78042 19.6249 4.00363C19.6249 3.22683 19.3205 2.48097 18.777 1.926ZM17.798 5.11531L14.8142 8.13825L14.8128 8.13688L14.8115 8.13825L11.8277 5.11531C11.5364 4.81862 11.3732 4.41943 11.3732 4.00363C11.3732 3.58782 11.5364 3.18863 11.8277 2.89194C12.1182 2.60955 12.5074 2.45157 12.9126 2.45157C13.3178 2.45157 13.7069 2.60955 13.9975 2.89194L14.8094 3.72175L14.8128 3.71831L14.8163 3.72175L15.6275 2.89194C15.9181 2.60934 16.3074 2.45123 16.7128 2.45123C17.1181 2.45123 17.5074 2.60934 17.798 2.89194C18.0893 3.18863 18.2525 3.58782 18.2525 4.00363C18.2525 4.41943 18.0893 4.81862 17.798 5.11531Z" fill="currentColor"/> 186 <path d="M5.87535 20.3125H3.12535C2.76101 20.3114 2.4119 20.1662 2.15428 19.9086C1.89665 19.6509 1.75143 19.3018 1.75035 18.9375V14.125C1.38601 14.1239 1.0369 13.9787 0.779277 13.7211C0.52165 13.4634 0.376435 13.1143 0.375347 12.75V8.625C0.370309 8.35276 0.420216 8.08231 0.522082 7.8298C0.623949 7.57728 0.775685 7.34791 0.968219 7.15537C1.16075 6.96284 1.39013 6.8111 1.64264 6.70924C1.89515 6.60737 2.16561 6.55746 2.43785 6.5625H6.56285C6.83508 6.55746 7.10554 6.60737 7.35805 6.70924C7.61056 6.8111 7.83994 6.96284 8.03247 7.15537C8.22501 7.34791 8.37674 7.57728 8.47861 7.8298C8.58048 8.08231 8.63038 8.35276 8.62535 8.625V12.75C8.62426 13.1143 8.47904 13.4634 8.22142 13.7211C7.96379 13.9787 7.61469 14.1239 7.25035 14.125V18.9375C7.24926 19.3018 7.10404 19.6509 6.84642 19.9086C6.58879 20.1662 6.23969 20.3114 5.87535 20.3125ZM2.43785 7.9375C2.34612 7.93199 2.25428 7.94599 2.16837 7.97859C2.08246 8.01119 2.00444 8.06165 1.93946 8.12662C1.87449 8.19159 1.82404 8.26961 1.79144 8.35552C1.75884 8.44143 1.74483 8.53328 1.75035 8.625V12.75H3.12535V18.9375H5.87535V12.75H7.25035V8.625C7.25586 8.53328 7.24186 8.44143 7.20926 8.35552C7.17666 8.26961 7.1262 8.19159 7.06123 8.12662C6.99625 8.06165 6.91824 8.01119 6.83233 7.97859C6.74642 7.94599 6.65457 7.93199 6.56285 7.9375H2.43785ZM4.50035 5.875C3.95645 5.875 3.42476 5.71372 2.97253 5.41154C2.52029 5.10937 2.16782 4.67988 1.95968 4.17738C1.75154 3.67488 1.69708 3.12195 1.80319 2.5885C1.9093 2.05506 2.17121 1.56505 2.5558 1.18046C2.9404 0.795863 3.4304 0.533951 3.96385 0.427842C4.4973 0.321732 5.05023 0.376192 5.55273 0.584333C6.05522 0.792473 6.48471 1.14495 6.78689 1.59718C7.08906 2.04942 7.25035 2.5811 7.25035 3.125C7.24944 3.85407 6.95941 4.55301 6.44389 5.06854C5.92836 5.58407 5.22941 5.87409 4.50035 5.875ZM4.50035 1.75C4.2284 1.75 3.96256 1.83064 3.73644 1.98173C3.51032 2.13282 3.33408 2.34756 3.23001 2.59881C3.12594 2.85006 3.09871 3.12653 3.15177 3.39325C3.20482 3.65997 3.33578 3.90498 3.52807 4.09727C3.72037 4.28957 3.96537 4.42053 4.2321 4.47358C4.49882 4.52664 4.77529 4.49941 5.02654 4.39534C5.27778 4.29127 5.49253 4.11503 5.64362 3.88891C5.7947 3.66279 5.87535 3.39695 5.87535 3.125C5.87498 2.76044 5.73 2.41092 5.47222 2.15313C5.21443 1.89535 4.86491 1.75037 4.50035 1.75ZM18.777 1.926C18.2599 1.40061 17.562 1.09217 16.8254 1.06355C16.0888 1.03494 15.3691 1.2883 14.8128 1.772C14.2566 1.2883 13.5368 1.03494 12.8003 1.06355C12.0637 1.09217 11.3658 1.40061 10.8487 1.926C10.3052 2.48097 10.0008 3.22683 10.0008 4.00363C10.0008 4.78042 10.3052 5.52628 10.8487 6.08125L14.8115 10.0963L14.8128 10.0949L14.8142 10.0956L18.777 6.08125C19.3205 5.52628 19.6249 4.78042 19.6249 4.00363C19.6249 3.22683 19.3205 2.48097 18.777 1.926ZM17.798 5.11531L14.8142 8.13825L14.8128 8.13688L14.8115 8.13825L11.8277 5.11531C11.5364 4.81862 11.3732 4.41943 11.3732 4.00363C11.3732 3.58782 11.5364 3.18863 11.8277 2.89194C12.1182 2.60955 12.5074 2.45157 12.9126 2.45157C13.3178 2.45157 13.7069 2.60955 13.9975 2.89194L14.8094 3.72175L14.8128 3.71831L14.8163 3.72175L15.6275 2.89194C15.9181 2.60934 16.3074 2.45123 16.7128 2.45123C17.1181 2.45123 17.5074 2.60934 17.798 2.89194C18.0893 3.18863 18.2525 3.58782 18.2525 4.00363C18.2525 4.41943 18.0893 4.81862 17.798 5.11531Z" fill="currentColor"/>
187 </symbol> 187 </symbol>
188 188
189 <symbol id="cabinet-7" viewBox="0 0 17 20" fill="none"> 189 <symbol id="cabinet-7" viewBox="0 0 17 20" fill="none">
190 <path d="M3.54036 17.8573C3.93157 17.8573 4.2487 17.5375 4.2487 17.143C4.2487 16.7485 3.93157 16.4287 3.54036 16.4287C3.14916 16.4287 2.83203 16.7485 2.83203 17.143C2.83203 17.5375 3.14916 17.8573 3.54036 17.8573Z" fill="currentColor"/> 190 <path d="M3.54036 17.8573C3.93157 17.8573 4.2487 17.5375 4.2487 17.143C4.2487 16.7485 3.93157 16.4287 3.54036 16.4287C3.14916 16.4287 2.83203 16.7485 2.83203 17.143C2.83203 17.5375 3.14916 17.8573 3.54036 17.8573Z" fill="currentColor"/>
191 <path d="M15.5833 19.9999H1.41667C1.04106 19.9996 0.680942 19.8489 0.415346 19.5811C0.149751 19.3133 0.000375046 18.9501 0 18.5714V15.7142C0.000375046 15.3355 0.149751 14.9723 0.415346 14.7045C0.680942 14.4367 1.04106 14.286 1.41667 14.2856H15.5833C15.9589 14.286 16.3191 14.4367 16.5847 14.7045C16.8502 14.9723 16.9996 15.3355 17 15.7142V18.5714C16.9996 18.9501 16.8502 19.3133 16.5847 19.5811C16.3191 19.8489 15.9589 19.9996 15.5833 19.9999ZM1.41667 15.7142V18.5714H15.5833V15.7142H1.41667Z" fill="currentColor"/> 191 <path d="M15.5833 19.9999H1.41667C1.04106 19.9996 0.680942 19.8489 0.415346 19.5811C0.149751 19.3133 0.000375046 18.9501 0 18.5714V15.7142C0.000375046 15.3355 0.149751 14.9723 0.415346 14.7045C0.680942 14.4367 1.04106 14.286 1.41667 14.2856H15.5833C15.9589 14.286 16.3191 14.4367 16.5847 14.7045C16.8502 14.9723 16.9996 15.3355 17 15.7142V18.5714C16.9996 18.9501 16.8502 19.3133 16.5847 19.5811C16.3191 19.8489 15.9589 19.9996 15.5833 19.9999ZM1.41667 15.7142V18.5714H15.5833V15.7142H1.41667Z" fill="currentColor"/>
192 <path d="M3.54036 10.7142C3.93157 10.7142 4.2487 10.3944 4.2487 9.99993C4.2487 9.60544 3.93157 9.28564 3.54036 9.28564C3.14916 9.28564 2.83203 9.60544 2.83203 9.99993C2.83203 10.3944 3.14916 10.7142 3.54036 10.7142Z" fill="currentColor"/> 192 <path d="M3.54036 10.7142C3.93157 10.7142 4.2487 10.3944 4.2487 9.99993C4.2487 9.60544 3.93157 9.28564 3.54036 9.28564C3.14916 9.28564 2.83203 9.60544 2.83203 9.99993C2.83203 10.3944 3.14916 10.7142 3.54036 10.7142Z" fill="currentColor"/>
193 <path d="M15.5833 12.8574H1.41667C1.04106 12.857 0.680942 12.7063 0.415346 12.4385C0.149751 12.1707 0.000375046 11.8075 0 11.4288V8.57164C0.000375046 8.19287 0.149751 7.82973 0.415346 7.5619C0.680942 7.29408 1.04106 7.14344 1.41667 7.14307H15.5833C15.9589 7.14344 16.3191 7.29408 16.5847 7.5619C16.8502 7.82973 16.9996 8.19287 17 8.57164V11.4288C16.9996 11.8075 16.8502 12.1707 16.5847 12.4385C16.3191 12.7063 15.9589 12.857 15.5833 12.8574ZM1.41667 8.57164V11.4288H15.5833V8.57164H1.41667Z" fill="currentColor"/> 193 <path d="M15.5833 12.8574H1.41667C1.04106 12.857 0.680942 12.7063 0.415346 12.4385C0.149751 12.1707 0.000375046 11.8075 0 11.4288V8.57164C0.000375046 8.19287 0.149751 7.82973 0.415346 7.5619C0.680942 7.29408 1.04106 7.14344 1.41667 7.14307H15.5833C15.9589 7.14344 16.3191 7.29408 16.5847 7.5619C16.8502 7.82973 16.9996 8.19287 17 8.57164V11.4288C16.9996 11.8075 16.8502 12.1707 16.5847 12.4385C16.3191 12.7063 15.9589 12.857 15.5833 12.8574ZM1.41667 8.57164V11.4288H15.5833V8.57164H1.41667Z" fill="currentColor"/>
194 <path d="M3.54036 3.57164C3.93157 3.57164 4.2487 3.25184 4.2487 2.85735C4.2487 2.46286 3.93157 2.14307 3.54036 2.14307C3.14916 2.14307 2.83203 2.46286 2.83203 2.85735C2.83203 3.25184 3.14916 3.57164 3.54036 3.57164Z" fill="currentColor"/> 194 <path d="M3.54036 3.57164C3.93157 3.57164 4.2487 3.25184 4.2487 2.85735C4.2487 2.46286 3.93157 2.14307 3.54036 2.14307C3.14916 2.14307 2.83203 2.46286 2.83203 2.85735C2.83203 3.25184 3.14916 3.57164 3.54036 3.57164Z" fill="currentColor"/>
195 <path d="M15.5833 5.71429H1.41667C1.04106 5.71391 0.680942 5.56328 0.415346 5.29545C0.149751 5.02762 0.000375046 4.66448 0 4.28571V1.42857C0.000375046 1.04981 0.149751 0.686664 0.415346 0.418837C0.680942 0.151009 1.04106 0.000378198 1.41667 0H15.5833C15.9589 0.000378198 16.3191 0.151009 16.5847 0.418837C16.8502 0.686664 16.9996 1.04981 17 1.42857V4.28571C16.9996 4.66448 16.8502 5.02762 16.5847 5.29545C16.3191 5.56328 15.9589 5.71391 15.5833 5.71429ZM1.41667 1.42857V4.28571H15.5833V1.42857H1.41667Z" fill="currentColor"/> 195 <path d="M15.5833 5.71429H1.41667C1.04106 5.71391 0.680942 5.56328 0.415346 5.29545C0.149751 5.02762 0.000375046 4.66448 0 4.28571V1.42857C0.000375046 1.04981 0.149751 0.686664 0.415346 0.418837C0.680942 0.151009 1.04106 0.000378198 1.41667 0H15.5833C15.9589 0.000378198 16.3191 0.151009 16.5847 0.418837C16.8502 0.686664 16.9996 1.04981 17 1.42857V4.28571C16.9996 4.66448 16.8502 5.02762 16.5847 5.29545C16.3191 5.56328 15.9589 5.71391 15.5833 5.71429ZM1.41667 1.42857V4.28571H15.5833V1.42857H1.41667Z" fill="currentColor"/>
196 </symbol> 196 </symbol>
197 197
198 <symbol id="cabinet-8" viewBox="0 0 28 27" fill="none"> 198 <symbol id="cabinet-8" viewBox="0 0 28 27" fill="none">
199 <g clip-path="url(#clip0_660_17902)"> 199 <g clip-path="url(#clip0_660_17902)">
200 <path d="M3.54036 24.8573C3.93157 24.8573 4.2487 24.5375 4.2487 24.143C4.2487 23.7485 3.93157 23.4287 3.54036 23.4287C3.14916 23.4287 2.83203 23.7485 2.83203 24.143C2.83203 24.5375 3.14916 24.8573 3.54036 24.8573Z" fill="currentColor"/> 200 <path d="M3.54036 24.8573C3.93157 24.8573 4.2487 24.5375 4.2487 24.143C4.2487 23.7485 3.93157 23.4287 3.54036 23.4287C3.14916 23.4287 2.83203 23.7485 2.83203 24.143C2.83203 24.5375 3.14916 24.8573 3.54036 24.8573Z" fill="currentColor"/>
201 <path d="M15.5833 26.9999H1.41667C1.04106 26.9996 0.680942 26.8489 0.415346 26.5811C0.149751 26.3133 0.000375046 25.9501 0 25.5714V22.7142C0.000375046 22.3355 0.149751 21.9723 0.415346 21.7045C0.680942 21.4367 1.04106 21.286 1.41667 21.2856H15.5833C15.9589 21.286 16.3191 21.4367 16.5847 21.7045C16.8502 21.9723 16.9996 22.3355 17 22.7142V25.5714C16.9996 25.9501 16.8502 26.3133 16.5847 26.5811C16.3191 26.8489 15.9589 26.9996 15.5833 26.9999ZM1.41667 22.7142V25.5714H15.5833V22.7142H1.41667Z" fill="currentColor"/> 201 <path d="M15.5833 26.9999H1.41667C1.04106 26.9996 0.680942 26.8489 0.415346 26.5811C0.149751 26.3133 0.000375046 25.9501 0 25.5714V22.7142C0.000375046 22.3355 0.149751 21.9723 0.415346 21.7045C0.680942 21.4367 1.04106 21.286 1.41667 21.2856H15.5833C15.9589 21.286 16.3191 21.4367 16.5847 21.7045C16.8502 21.9723 16.9996 22.3355 17 22.7142V25.5714C16.9996 25.9501 16.8502 26.3133 16.5847 26.5811C16.3191 26.8489 15.9589 26.9996 15.5833 26.9999ZM1.41667 22.7142V25.5714H15.5833V22.7142H1.41667Z" fill="currentColor"/>
202 <path d="M3.54036 17.7142C3.93157 17.7142 4.2487 17.3944 4.2487 16.9999C4.2487 16.6054 3.93157 16.2856 3.54036 16.2856C3.14916 16.2856 2.83203 16.6054 2.83203 16.9999C2.83203 17.3944 3.14916 17.7142 3.54036 17.7142Z" fill="currentColor"/> 202 <path d="M3.54036 17.7142C3.93157 17.7142 4.2487 17.3944 4.2487 16.9999C4.2487 16.6054 3.93157 16.2856 3.54036 16.2856C3.14916 16.2856 2.83203 16.6054 2.83203 16.9999C2.83203 17.3944 3.14916 17.7142 3.54036 17.7142Z" fill="currentColor"/>
203 <path d="M15.5833 19.8574H1.41667C1.04106 19.857 0.680942 19.7063 0.415346 19.4385C0.149751 19.1707 0.000375046 18.8075 0 18.4288V15.5716C0.000375046 15.1929 0.149751 14.8297 0.415346 14.5619C0.680942 14.2941 1.04106 14.1434 1.41667 14.1431H15.5833C15.9589 14.1434 16.3191 14.2941 16.5847 14.5619C16.8502 14.8297 16.9996 15.1929 17 15.5716V18.4288C16.9996 18.8075 16.8502 19.1707 16.5847 19.4385C16.3191 19.7063 15.9589 19.857 15.5833 19.8574ZM1.41667 15.5716V18.4288H15.5833V15.5716H1.41667Z" fill="currentColor"/> 203 <path d="M15.5833 19.8574H1.41667C1.04106 19.857 0.680942 19.7063 0.415346 19.4385C0.149751 19.1707 0.000375046 18.8075 0 18.4288V15.5716C0.000375046 15.1929 0.149751 14.8297 0.415346 14.5619C0.680942 14.2941 1.04106 14.1434 1.41667 14.1431H15.5833C15.9589 14.1434 16.3191 14.2941 16.5847 14.5619C16.8502 14.8297 16.9996 15.1929 17 15.5716V18.4288C16.9996 18.8075 16.8502 19.1707 16.5847 19.4385C16.3191 19.7063 15.9589 19.857 15.5833 19.8574ZM1.41667 15.5716V18.4288H15.5833V15.5716H1.41667Z" fill="currentColor"/>
204 <path d="M3.54036 10.5716C3.93157 10.5716 4.2487 10.2518 4.2487 9.85735C4.2487 9.46286 3.93157 9.14307 3.54036 9.14307C3.14916 9.14307 2.83203 9.46286 2.83203 9.85735C2.83203 10.2518 3.14916 10.5716 3.54036 10.5716Z" fill="currentColor"/> 204 <path d="M3.54036 10.5716C3.93157 10.5716 4.2487 10.2518 4.2487 9.85735C4.2487 9.46286 3.93157 9.14307 3.54036 9.14307C3.14916 9.14307 2.83203 9.46286 2.83203 9.85735C2.83203 10.2518 3.14916 10.5716 3.54036 10.5716Z" fill="currentColor"/>
205 <path d="M15.5833 12.7143H1.41667C1.04106 12.7139 0.680942 12.5633 0.415346 12.2954C0.149751 12.0276 0.000375046 11.6645 0 11.2857V8.42857C0.000375046 8.04981 0.149751 7.68666 0.415346 7.41884C0.680942 7.15101 1.04106 7.00038 1.41667 7H15.5833C15.9589 7.00038 16.3191 7.15101 16.5847 7.41884C16.8502 7.68666 16.9996 8.04981 17 8.42857V11.2857C16.9996 11.6645 16.8502 12.0276 16.5847 12.2954C16.3191 12.5633 15.9589 12.7139 15.5833 12.7143ZM1.41667 8.42857V11.2857H15.5833V8.42857H1.41667Z" fill="currentColor"/> 205 <path d="M15.5833 12.7143H1.41667C1.04106 12.7139 0.680942 12.5633 0.415346 12.2954C0.149751 12.0276 0.000375046 11.6645 0 11.2857V8.42857C0.000375046 8.04981 0.149751 7.68666 0.415346 7.41884C0.680942 7.15101 1.04106 7.00038 1.41667 7H15.5833C15.9589 7.00038 16.3191 7.15101 16.5847 7.41884C16.8502 7.68666 16.9996 8.04981 17 8.42857V11.2857C16.9996 11.6645 16.8502 12.0276 16.5847 12.2954C16.3191 12.5633 15.9589 12.7139 15.5833 12.7143ZM1.41667 8.42857V11.2857H15.5833V8.42857H1.41667Z" fill="currentColor"/>
206 <rect x="8" y="6" width="10" height="13" rx="2" fill="white"/> 206 <rect x="8" y="6" width="10" height="13" rx="2" fill="white"/>
207 </g> 207 </g>
208 <g clip-path="url(#clip1_660_17902)"> 208 <g clip-path="url(#clip1_660_17902)">
209 <path d="M25.4861 20.1667H8.68056C8.23498 20.1663 7.80778 20.0144 7.49271 19.7443C7.17765 19.4743 7.00044 19.1081 7 18.7262V1.44048C7.00044 1.05856 7.17765 0.692386 7.49271 0.422327C7.80778 0.152268 8.23498 0.000381349 8.68056 0H25.4861C25.9317 0.000381349 26.3589 0.152268 26.674 0.422327C26.989 0.692386 27.1662 1.05856 27.1667 1.44048V18.7262C27.1662 19.1081 26.989 19.4743 26.674 19.7443C26.3589 20.0144 25.9317 20.1663 25.4861 20.1667ZM8.68056 1.44048V18.7262H25.4861V1.44048H8.68056Z" fill="currentColor"/> 209 <path d="M25.4861 20.1667H8.68056C8.23498 20.1663 7.80778 20.0144 7.49271 19.7443C7.17765 19.4743 7.00044 19.1081 7 18.7262V1.44048C7.00044 1.05856 7.17765 0.692386 7.49271 0.422327C7.80778 0.152268 8.23498 0.000381349 8.68056 0H25.4861C25.9317 0.000381349 26.3589 0.152268 26.674 0.422327C26.989 0.692386 27.1662 1.05856 27.1667 1.44048V18.7262C27.1662 19.1081 26.989 19.4743 26.674 19.7443C26.3589 20.0144 25.9317 20.1663 25.4861 20.1667ZM8.68056 1.44048V18.7262H25.4861V1.44048H8.68056Z" fill="currentColor"/>
210 <path d="M11.582 8.64307H21.6654V10.2145H11.582V8.64307ZM11.582 12.5716H17.9987V14.1431H11.582V12.5716Z" fill="currentColor"/> 210 <path d="M11.582 8.64307H21.6654V10.2145H11.582V8.64307ZM11.582 12.5716H17.9987V14.1431H11.582V12.5716Z" fill="currentColor"/>
211 </g> 211 </g>
212 <defs> 212 <defs>
213 <clipPath id="clip0_660_17902"> 213 <clipPath id="clip0_660_17902">
214 <rect width="17" height="20" fill="white" transform="translate(0 7)"/> 214 <rect width="17" height="20" fill="white" transform="translate(0 7)"/>
215 </clipPath> 215 </clipPath>
216 <clipPath id="clip1_660_17902"> 216 <clipPath id="clip1_660_17902">
217 <rect width="21" height="21" fill="white" transform="translate(7)"/> 217 <rect width="21" height="21" fill="white" transform="translate(7)"/>
218 </clipPath> 218 </clipPath>
219 </defs> 219 </defs>
220 </symbol> 220 </symbol>
221 221
222 <symbol id="cabinet-9" viewBox="0 0 24 25" fill="none"> 222 <symbol id="cabinet-9" viewBox="0 0 24 25" fill="none">
223 <path d="M22.2868 0.0581055H13.7154C12.7725 0.0581055 12.0011 0.808105 12.0011 1.72477V6.72477C12.0011 7.64144 12.7725 8.39144 13.7154 8.39144H15.7725L17.2297 10.8914L18.6868 10.0581L16.7154 6.72477H13.7154V1.72477H22.2868V6.72477H19.7154V8.39144H22.2868C23.2297 8.39144 24.0011 7.64144 24.0011 6.72477V1.72477C24.0011 0.808105 23.2297 0.0581055 22.2868 0.0581055ZM10.8868 24.2248L9.42969 23.3914L12.4297 18.3914H17.144C18.0868 18.3914 18.8583 17.6414 18.8583 16.7248V12.5581H20.5725V16.7248C20.5725 18.5581 19.0297 20.0581 17.144 20.0581H13.3725L10.8868 24.2248Z" fill="currentColor"/> 223 <path d="M22.2868 0.0581055H13.7154C12.7725 0.0581055 12.0011 0.808105 12.0011 1.72477V6.72477C12.0011 7.64144 12.7725 8.39144 13.7154 8.39144H15.7725L17.2297 10.8914L18.6868 10.0581L16.7154 6.72477H13.7154V1.72477H22.2868V6.72477H19.7154V8.39144H22.2868C23.2297 8.39144 24.0011 7.64144 24.0011 6.72477V1.72477C24.0011 0.808105 23.2297 0.0581055 22.2868 0.0581055ZM10.8868 24.2248L9.42969 23.3914L12.4297 18.3914H17.144C18.0868 18.3914 18.8583 17.6414 18.8583 16.7248V12.5581H20.5725V16.7248C20.5725 18.5581 19.0297 20.0581 17.144 20.0581H13.3725L10.8868 24.2248Z" fill="currentColor"/>
224 <path d="M6.85714 13.3918C7.33053 13.3918 7.71429 13.0187 7.71429 12.5584C7.71429 12.0982 7.33053 11.7251 6.85714 11.7251C6.38376 11.7251 6 12.0982 6 12.5584C6 13.0187 6.38376 13.3918 6.85714 13.3918Z" fill="currentColor"/> 224 <path d="M6.85714 13.3918C7.33053 13.3918 7.71429 13.0187 7.71429 12.5584C7.71429 12.0982 7.33053 11.7251 6.85714 11.7251C6.38376 11.7251 6 12.0982 6 12.5584C6 13.0187 6.38376 13.3918 6.85714 13.3918Z" fill="currentColor"/>
225 <path d="M10.2868 13.3918C10.7602 13.3918 11.144 13.0187 11.144 12.5584C11.144 12.0982 10.7602 11.7251 10.2868 11.7251C9.81344 11.7251 9.42969 12.0982 9.42969 12.5584C9.42969 13.0187 9.81344 13.3918 10.2868 13.3918Z" fill="currentColor"/> 225 <path d="M10.2868 13.3918C10.7602 13.3918 11.144 13.0187 11.144 12.5584C11.144 12.0982 10.7602 11.7251 10.2868 11.7251C9.81344 11.7251 9.42969 12.0982 9.42969 12.5584C9.42969 13.0187 9.81344 13.3918 10.2868 13.3918Z" fill="currentColor"/>
226 <path d="M13.7126 13.3918C14.186 13.3918 14.5698 13.0187 14.5698 12.5584C14.5698 12.0982 14.186 11.7251 13.7126 11.7251C13.2392 11.7251 12.8555 12.0982 12.8555 12.5584C12.8555 13.0187 13.2392 13.3918 13.7126 13.3918Z" fill="currentColor"/> 226 <path d="M13.7126 13.3918C14.186 13.3918 14.5698 13.0187 14.5698 12.5584C14.5698 12.0982 14.186 11.7251 13.7126 11.7251C13.2392 11.7251 12.8555 12.0982 12.8555 12.5584C12.8555 13.0187 13.2392 13.3918 13.7126 13.3918Z" fill="currentColor"/>
227 <path d="M8.57143 20.0581H3.42857C1.54286 20.0581 0 18.5581 0 16.7248V8.39144C0 6.55811 1.54286 5.05811 3.42857 5.05811H10.2857V6.72477H3.42857C2.48571 6.72477 1.71429 7.47477 1.71429 8.39144V16.7248C1.71429 17.6414 2.48571 18.3914 3.42857 18.3914H8.57143V20.0581Z" fill="currentColor"/> 227 <path d="M8.57143 20.0581H3.42857C1.54286 20.0581 0 18.5581 0 16.7248V8.39144C0 6.55811 1.54286 5.05811 3.42857 5.05811H10.2857V6.72477H3.42857C2.48571 6.72477 1.71429 7.47477 1.71429 8.39144V16.7248C1.71429 17.6414 2.48571 18.3914 3.42857 18.3914H8.57143V20.0581Z" fill="currentColor"/>
228 </symbol> 228 </symbol>
229 229
230 <symbol id="cabinet-10" viewBox="0 0 24 26" fill="none"> 230 <symbol id="cabinet-10" viewBox="0 0 24 26" fill="none">
231 <path d="M3.42969 13.8584H10.2868V15.5754H3.42969V13.8584Z" fill="currentColor"/> 231 <path d="M3.42969 13.8584H10.2868V15.5754H3.42969V13.8584Z" fill="currentColor"/>
232 <path d="M0.857143 15.5754C1.33053 15.5754 1.71429 15.1911 1.71429 14.7169C1.71429 14.2428 1.33053 13.8584 0.857143 13.8584C0.383756 13.8584 0 14.2428 0 14.7169C0 15.1911 0.383756 15.5754 0.857143 15.5754Z" fill="currentColor"/> 232 <path d="M0.857143 15.5754C1.33053 15.5754 1.71429 15.1911 1.71429 14.7169C1.71429 14.2428 1.33053 13.8584 0.857143 13.8584C0.383756 13.8584 0 14.2428 0 14.7169C0 15.1911 0.383756 15.5754 0.857143 15.5754Z" fill="currentColor"/>
233 <path d="M9.42746 12.1413C9.90084 12.1413 10.2846 11.757 10.2846 11.2828C10.2846 10.8087 9.90084 10.4243 9.42746 10.4243C8.95407 10.4243 8.57031 10.8087 8.57031 11.2828C8.57031 11.757 8.95407 12.1413 9.42746 12.1413Z" fill="currentColor"/> 233 <path d="M9.42746 12.1413C9.90084 12.1413 10.2846 11.757 10.2846 11.2828C10.2846 10.8087 9.90084 10.4243 9.42746 10.4243C8.95407 10.4243 8.57031 10.8087 8.57031 11.2828C8.57031 11.757 8.95407 12.1413 9.42746 12.1413Z" fill="currentColor"/>
234 <path d="M0 10.4243H6.85714V12.1413H0V10.4243ZM3.42857 6.99023H10.2857V8.70727H3.42857V6.99023Z" fill="currentColor"/> 234 <path d="M0 10.4243H6.85714V12.1413H0V10.4243ZM3.42857 6.99023H10.2857V8.70727H3.42857V6.99023Z" fill="currentColor"/>
235 <path d="M0.857143 8.70727C1.33053 8.70727 1.71429 8.3229 1.71429 7.84875C1.71429 7.37461 1.33053 6.99023 0.857143 6.99023C0.383756 6.99023 0 7.37461 0 7.84875C0 8.3229 0.383756 8.70727 0.857143 8.70727Z" fill="currentColor"/> 235 <path d="M0.857143 8.70727C1.33053 8.70727 1.71429 8.3229 1.71429 7.84875C1.71429 7.37461 1.33053 6.99023 0.857143 6.99023C0.383756 6.99023 0 7.37461 0 7.84875C0 8.3229 0.383756 8.70727 0.857143 8.70727Z" fill="currentColor"/>
236 <path d="M24 23.8175L17.6571 17.4645C18.9428 15.7474 19.7143 13.6011 19.7143 11.2832C19.7143 5.61695 15.0857 0.980957 9.42856 0.980957C6.59999 0.980957 3.94285 2.09703 1.97142 4.24332L3.25713 5.44524C4.79999 3.64236 7.02856 2.69799 9.42856 2.69799C14.1428 2.69799 18 6.56131 18 11.2832C18 16.005 14.1428 19.8683 9.42856 19.8683C6.85713 19.8683 4.45713 18.7522 2.82856 16.7777L1.54285 17.8937C3.42856 20.2117 6.34285 21.5854 9.42856 21.5854C12.1714 21.5854 14.6571 20.4693 16.5428 18.7522L22.8 25.0194L24 23.8175Z" fill="currentColor"/> 236 <path d="M24 23.8175L17.6571 17.4645C18.9428 15.7474 19.7143 13.6011 19.7143 11.2832C19.7143 5.61695 15.0857 0.980957 9.42856 0.980957C6.59999 0.980957 3.94285 2.09703 1.97142 4.24332L3.25713 5.44524C4.79999 3.64236 7.02856 2.69799 9.42856 2.69799C14.1428 2.69799 18 6.56131 18 11.2832C18 16.005 14.1428 19.8683 9.42856 19.8683C6.85713 19.8683 4.45713 18.7522 2.82856 16.7777L1.54285 17.8937C3.42856 20.2117 6.34285 21.5854 9.42856 21.5854C12.1714 21.5854 14.6571 20.4693 16.5428 18.7522L22.8 25.0194L24 23.8175Z" fill="currentColor"/>
237 </symbol> 237 </symbol>
238 238
239 <symbol id="cabinet-11" viewBox="0 0 23 24" fill="none"> 239 <symbol id="cabinet-11" viewBox="0 0 23 24" fill="none">
240 <path d="M11.4987 23.9999C9.41376 23.9999 7.37563 23.3806 5.64207 22.2202C3.9085 21.0599 2.55735 19.4106 1.75947 17.481C0.961599 15.5514 0.752839 13.4282 1.15959 11.3797C1.56634 9.33129 2.57034 7.44968 4.04462 5.97284C5.5189 4.496 7.39724 3.49025 9.44213 3.08279C11.487 2.67534 13.6066 2.88446 15.5328 3.68372C17.4591 4.48298 19.1054 5.83648 20.2638 7.57307C21.4221 9.30965 22.0404 11.3513 22.0404 13.4399C22.0404 16.2406 20.9297 18.9266 18.9528 20.9069C16.9758 22.8873 14.2945 23.9999 11.4987 23.9999ZM11.4987 4.79989C9.79284 4.79989 8.12528 5.30661 6.70691 6.25599C5.28854 7.20537 4.18305 8.55475 3.53024 10.1335C2.87744 11.7123 2.70663 13.4495 3.03943 15.1255C3.37223 16.8015 4.19368 18.341 5.39991 19.5493C6.60613 20.7576 8.14296 21.5805 9.81605 21.9139C11.4891 22.2472 13.2233 22.0761 14.7993 21.4222C16.3754 20.7683 17.7224 19.6609 18.6701 18.24C19.6179 16.8192 20.1237 15.1487 20.1237 13.4399C20.1237 11.1484 19.215 8.9508 17.5975 7.33048C15.98 5.71017 13.7862 4.79989 11.4987 4.79989Z" fill="currentColor"/> 240 <path d="M11.4987 23.9999C9.41376 23.9999 7.37563 23.3806 5.64207 22.2202C3.9085 21.0599 2.55735 19.4106 1.75947 17.481C0.961599 15.5514 0.752839 13.4282 1.15959 11.3797C1.56634 9.33129 2.57034 7.44968 4.04462 5.97284C5.5189 4.496 7.39724 3.49025 9.44213 3.08279C11.487 2.67534 13.6066 2.88446 15.5328 3.68372C17.4591 4.48298 19.1054 5.83648 20.2638 7.57307C21.4221 9.30965 22.0404 11.3513 22.0404 13.4399C22.0404 16.2406 20.9297 18.9266 18.9528 20.9069C16.9758 22.8873 14.2945 23.9999 11.4987 23.9999ZM11.4987 4.79989C9.79284 4.79989 8.12528 5.30661 6.70691 6.25599C5.28854 7.20537 4.18305 8.55475 3.53024 10.1335C2.87744 11.7123 2.70663 13.4495 3.03943 15.1255C3.37223 16.8015 4.19368 18.341 5.39991 19.5493C6.60613 20.7576 8.14296 21.5805 9.81605 21.9139C11.4891 22.2472 13.2233 22.0761 14.7993 21.4222C16.3754 20.7683 17.7224 19.6609 18.6701 18.24C19.6179 16.8192 20.1237 15.1487 20.1237 13.4399C20.1237 11.1484 19.215 8.9508 17.5975 7.33048C15.98 5.71017 13.7862 4.79989 11.4987 4.79989Z" fill="currentColor"/>
241 <path d="M13.9821 17.2799L10.5417 13.8335V7.67988H12.4583V13.0367L15.3333 15.9263L13.9821 17.2799ZM0 4.4082L3.43275 0.962758L4.78975 2.31924L1.357 5.76468L0 4.4082ZM18.2083 2.31156L19.5644 0.955078L22.9962 4.40052L21.6401 5.757L18.2083 2.31156Z" fill="currentColor"/> 241 <path d="M13.9821 17.2799L10.5417 13.8335V7.67988H12.4583V13.0367L15.3333 15.9263L13.9821 17.2799ZM0 4.4082L3.43275 0.962758L4.78975 2.31924L1.357 5.76468L0 4.4082ZM18.2083 2.31156L19.5644 0.955078L22.9962 4.40052L21.6401 5.757L18.2083 2.31156Z" fill="currentColor"/>
242 </symbol> 242 </symbol>
243 243
244 <symbol id="pic" viewBox="0 0 50 50" fill="none"> 244 <symbol id="pic" viewBox="0 0 50 50" fill="none">
245 <path d="M43.75 0H6.25C2.79953 0.00320425 0.00320425 2.79953 0 6.25V43.75C0.00320425 47.2005 2.79953 49.9968 6.25 50H43.75C47.2005 49.9968 49.9968 47.2005 50 43.75V6.25C49.9968 2.79953 47.2005 0.00320425 43.75 0ZM6.25 47.5C4.17984 47.4977 2.50229 45.8202 2.5 43.75V30.6885L11.9067 21.2817C13.6168 19.5776 16.3832 19.5776 18.0933 21.2817L44.2619 47.448C44.093 47.4715 43.9253 47.4999 43.75 47.5H6.25ZM47.5 43.75C47.4989 44.6959 47.1364 45.5498 46.5582 46.2093L29.2679 28.9204L31.9067 26.2817C33.6168 24.5776 36.3832 24.5776 38.0933 26.2817L47.5 35.6885V43.75ZM47.5 32.1535L39.8608 24.5143C37.1747 21.8337 32.8253 21.8337 30.1392 24.5143L27.5005 27.153L19.8608 19.5142C17.1408 16.9165 12.8592 16.9165 10.1392 19.5142L2.5 27.1533V6.25C2.50229 4.17984 4.17984 2.50229 6.25 2.5H43.75C45.8202 2.50229 47.4977 4.17984 47.5 6.25V32.1535Z" fill="currentColor"/> 245 <path d="M43.75 0H6.25C2.79953 0.00320425 0.00320425 2.79953 0 6.25V43.75C0.00320425 47.2005 2.79953 49.9968 6.25 50H43.75C47.2005 49.9968 49.9968 47.2005 50 43.75V6.25C49.9968 2.79953 47.2005 0.00320425 43.75 0ZM6.25 47.5C4.17984 47.4977 2.50229 45.8202 2.5 43.75V30.6885L11.9067 21.2817C13.6168 19.5776 16.3832 19.5776 18.0933 21.2817L44.2619 47.448C44.093 47.4715 43.9253 47.4999 43.75 47.5H6.25ZM47.5 43.75C47.4989 44.6959 47.1364 45.5498 46.5582 46.2093L29.2679 28.9204L31.9067 26.2817C33.6168 24.5776 36.3832 24.5776 38.0933 26.2817L47.5 35.6885V43.75ZM47.5 32.1535L39.8608 24.5143C37.1747 21.8337 32.8253 21.8337 30.1392 24.5143L27.5005 27.153L19.8608 19.5142C17.1408 16.9165 12.8592 16.9165 10.1392 19.5142L2.5 27.1533V6.25C2.50229 4.17984 4.17984 2.50229 6.25 2.5H43.75C45.8202 2.50229 47.4977 4.17984 47.5 6.25V32.1535Z" fill="currentColor"/>
246 <path d="M32.6963 11.3351C32.6963 13.07 31.2899 14.4765 29.555 14.4765C27.82 14.4765 26.4136 13.07 26.4136 11.3351C26.4136 9.60017 27.82 8.19373 29.555 8.19373C31.2899 8.19373 32.6963 9.60017 32.6963 11.3351Z" fill="currentColor"/> 246 <path d="M32.6963 11.3351C32.6963 13.07 31.2899 14.4765 29.555 14.4765C27.82 14.4765 26.4136 13.07 26.4136 11.3351C26.4136 9.60017 27.82 8.19373 29.555 8.19373C31.2899 8.19373 32.6963 9.60017 32.6963 11.3351Z" fill="currentColor"/>
247 </symbol> 247 </symbol>
248 248
249 <symbol id="plus" viewBox="0 0 16 16" fill="none"> 249 <symbol id="plus" viewBox="0 0 16 16" fill="none">
250 <rect x="7" width="2" height="16" rx="1" fill="currentColor"/> 250 <rect x="7" width="2" height="16" rx="1" fill="currentColor"/>
251 <rect x="16" y="7" width="2" height="16" rx="1" transform="rotate(90 16 7)" fill="currentColor"/> 251 <rect x="16" y="7" width="2" height="16" rx="1" transform="rotate(90 16 7)" fill="currentColor"/>
252 </symbol> 252 </symbol>
253 253
254 <symbol id="leave" viewBox="0 0 18 20" fill="none"> 254 <symbol id="leave" viewBox="0 0 18 20" fill="none">
255 <path d="M2.125 19.625H10.375C10.7396 19.6246 11.0891 19.4797 11.3469 19.2219C11.6047 18.9641 11.7496 18.6146 11.75 18.25V16.1875H10.375V18.25H2.125V1.75H10.375V3.8125H11.75V1.75C11.7496 1.38544 11.6047 1.03591 11.3469 0.77813C11.0891 0.520347 10.7396 0.375364 10.375 0.375H2.125C1.76044 0.375364 1.41091 0.520347 1.15313 0.77813C0.895347 1.03591 0.750364 1.38544 0.75 1.75V18.25C0.750364 18.6146 0.895347 18.9641 1.15313 19.2219C1.41091 19.4797 1.76044 19.6246 2.125 19.625Z" fill="currentColor"/> 255 <path d="M2.125 19.625H10.375C10.7396 19.6246 11.0891 19.4797 11.3469 19.2219C11.6047 18.9641 11.7496 18.6146 11.75 18.25V16.1875H10.375V18.25H2.125V1.75H10.375V3.8125H11.75V1.75C11.7496 1.38544 11.6047 1.03591 11.3469 0.77813C11.0891 0.520347 10.7396 0.375364 10.375 0.375H2.125C1.76044 0.375364 1.41091 0.520347 1.15313 0.77813C0.895347 1.03591 0.750364 1.38544 0.75 1.75V18.25C0.750364 18.6146 0.895347 18.9641 1.15313 19.2219C1.41091 19.4797 1.76044 19.6246 2.125 19.625Z" fill="currentColor"/>
256 <path d="M12.1529 13.1529L14.6183 10.6875H4.875V9.3125H14.6183L12.1529 6.84712L13.125 5.875L17.25 10L13.125 14.125L12.1529 13.1529Z" fill="currentColor"/> 256 <path d="M12.1529 13.1529L14.6183 10.6875H4.875V9.3125H14.6183L12.1529 6.84712L13.125 5.875L17.25 10L13.125 14.125L12.1529 13.1529Z" fill="currentColor"/>
257 </symbol> 257 </symbol>
258 258
259 <symbol id="del" viewBox="0 0 12 16" fill="none"> 259 <symbol id="del" viewBox="0 0 12 16" fill="none">
260 <path d="M11.1231 5.62055L10.8731 13.1874C10.8518 13.8355 10.5788 14.4497 10.1121 14.8998C9.64531 15.3499 9.02153 15.6004 8.37312 15.5981H3.62312C2.97514 15.6004 2.35172 15.3503 1.88503 14.9007C1.41833 14.4512 1.14506 13.8375 1.12312 13.1899L0.873125 5.62055C0.867655 5.45479 0.928257 5.29365 1.0416 5.17257C1.15494 5.05149 1.31174 4.9804 1.4775 4.97493C1.64326 4.96946 1.8044 5.03006 1.92548 5.1434C2.04656 5.25674 2.11766 5.41354 2.12313 5.5793L2.37312 13.1481C2.38557 13.4712 2.52275 13.7769 2.75583 14.001C2.98891 14.2251 3.29978 14.3502 3.62312 14.3499H8.37312C8.69689 14.3501 9.00811 14.2247 9.24126 14.0001C9.47441 13.7754 9.61131 13.4691 9.62312 13.1456L9.87313 5.5793C9.8786 5.41354 9.94969 5.25674 10.0708 5.1434C10.1918 5.03006 10.353 4.96946 10.5187 4.97493C10.6845 4.9804 10.8413 5.05149 10.9546 5.17257C11.068 5.29365 11.1286 5.45479 11.1231 5.62055ZM11.95 3.10243C11.95 3.26819 11.8842 3.42716 11.7669 3.54437C11.6497 3.66158 11.4908 3.72743 11.325 3.72743H0.671875C0.506115 3.72743 0.347143 3.66158 0.229933 3.54437C0.112723 3.42716 0.046875 3.26819 0.046875 3.10243C0.046875 2.93667 0.112723 2.7777 0.229933 2.66049C0.347143 2.54328 0.506115 2.47743 0.671875 2.47743H2.60938C2.8074 2.47796 2.99855 2.4048 3.14561 2.27218C3.29268 2.13955 3.38514 1.95696 3.405 1.75993C3.45112 1.29773 3.66766 0.86926 4.01243 0.557995C4.35721 0.246731 4.80551 0.0749698 5.27 0.0761782H6.72625C7.19074 0.0749698 7.63904 0.246731 7.98382 0.557995C8.32859 0.86926 8.54513 1.29773 8.59125 1.75993C8.61111 1.95696 8.70357 2.13955 8.85064 2.27218C8.9977 2.4048 9.18885 2.47796 9.38688 2.47743H11.3244C11.4901 2.47743 11.6491 2.54328 11.7663 2.66049C11.8835 2.7777 11.9494 2.93667 11.9494 3.10243H11.95ZM4.49 2.47743H7.5075C7.42537 2.28977 7.37166 2.09092 7.34812 1.88743C7.33264 1.73337 7.26053 1.59054 7.14575 1.48662C7.03097 1.3827 6.88171 1.32508 6.72687 1.32493H5.27063C5.11579 1.32508 4.96653 1.3827 4.85175 1.48662C4.73697 1.59054 4.66486 1.73337 4.64937 1.88743C4.62564 2.09095 4.57234 2.2898 4.49 2.47743ZM5.11937 11.9468V6.62493C5.11937 6.45917 5.05353 6.3002 4.93632 6.18299C4.81911 6.06578 4.66014 5.99993 4.49437 5.99993C4.32861 5.99993 4.16964 6.06578 4.05243 6.18299C3.93522 6.3002 3.86937 6.45917 3.86937 6.62493V11.9493C3.86937 12.1151 3.93522 12.274 4.05243 12.3912C4.16964 12.5085 4.32861 12.5743 4.49437 12.5743C4.66014 12.5743 4.81911 12.5085 4.93632 12.3912C5.05353 12.274 5.11937 12.1151 5.11937 11.9493V11.9468ZM8.12813 11.9468V6.62493C8.12813 6.45917 8.06228 6.3002 7.94507 6.18299C7.82786 6.06578 7.66889 5.99993 7.50313 5.99993C7.33736 5.99993 7.17839 6.06578 7.06118 6.18299C6.94397 6.3002 6.87813 6.45917 6.87813 6.62493V11.9493C6.87813 12.1151 6.94397 12.274 7.06118 12.3912C7.17839 12.5085 7.33736 12.5743 7.50313 12.5743C7.66889 12.5743 7.82786 12.5085 7.94507 12.3912C8.06228 12.274 8.12813 12.1151 8.12813 11.9493V11.9468Z" fill="currentColor"/> 260 <path d="M11.1231 5.62055L10.8731 13.1874C10.8518 13.8355 10.5788 14.4497 10.1121 14.8998C9.64531 15.3499 9.02153 15.6004 8.37312 15.5981H3.62312C2.97514 15.6004 2.35172 15.3503 1.88503 14.9007C1.41833 14.4512 1.14506 13.8375 1.12312 13.1899L0.873125 5.62055C0.867655 5.45479 0.928257 5.29365 1.0416 5.17257C1.15494 5.05149 1.31174 4.9804 1.4775 4.97493C1.64326 4.96946 1.8044 5.03006 1.92548 5.1434C2.04656 5.25674 2.11766 5.41354 2.12313 5.5793L2.37312 13.1481C2.38557 13.4712 2.52275 13.7769 2.75583 14.001C2.98891 14.2251 3.29978 14.3502 3.62312 14.3499H8.37312C8.69689 14.3501 9.00811 14.2247 9.24126 14.0001C9.47441 13.7754 9.61131 13.4691 9.62312 13.1456L9.87313 5.5793C9.8786 5.41354 9.94969 5.25674 10.0708 5.1434C10.1918 5.03006 10.353 4.96946 10.5187 4.97493C10.6845 4.9804 10.8413 5.05149 10.9546 5.17257C11.068 5.29365 11.1286 5.45479 11.1231 5.62055ZM11.95 3.10243C11.95 3.26819 11.8842 3.42716 11.7669 3.54437C11.6497 3.66158 11.4908 3.72743 11.325 3.72743H0.671875C0.506115 3.72743 0.347143 3.66158 0.229933 3.54437C0.112723 3.42716 0.046875 3.26819 0.046875 3.10243C0.046875 2.93667 0.112723 2.7777 0.229933 2.66049C0.347143 2.54328 0.506115 2.47743 0.671875 2.47743H2.60938C2.8074 2.47796 2.99855 2.4048 3.14561 2.27218C3.29268 2.13955 3.38514 1.95696 3.405 1.75993C3.45112 1.29773 3.66766 0.86926 4.01243 0.557995C4.35721 0.246731 4.80551 0.0749698 5.27 0.0761782H6.72625C7.19074 0.0749698 7.63904 0.246731 7.98382 0.557995C8.32859 0.86926 8.54513 1.29773 8.59125 1.75993C8.61111 1.95696 8.70357 2.13955 8.85064 2.27218C8.9977 2.4048 9.18885 2.47796 9.38688 2.47743H11.3244C11.4901 2.47743 11.6491 2.54328 11.7663 2.66049C11.8835 2.7777 11.9494 2.93667 11.9494 3.10243H11.95ZM4.49 2.47743H7.5075C7.42537 2.28977 7.37166 2.09092 7.34812 1.88743C7.33264 1.73337 7.26053 1.59054 7.14575 1.48662C7.03097 1.3827 6.88171 1.32508 6.72687 1.32493H5.27063C5.11579 1.32508 4.96653 1.3827 4.85175 1.48662C4.73697 1.59054 4.66486 1.73337 4.64937 1.88743C4.62564 2.09095 4.57234 2.2898 4.49 2.47743ZM5.11937 11.9468V6.62493C5.11937 6.45917 5.05353 6.3002 4.93632 6.18299C4.81911 6.06578 4.66014 5.99993 4.49437 5.99993C4.32861 5.99993 4.16964 6.06578 4.05243 6.18299C3.93522 6.3002 3.86937 6.45917 3.86937 6.62493V11.9493C3.86937 12.1151 3.93522 12.274 4.05243 12.3912C4.16964 12.5085 4.32861 12.5743 4.49437 12.5743C4.66014 12.5743 4.81911 12.5085 4.93632 12.3912C5.05353 12.274 5.11937 12.1151 5.11937 11.9493V11.9468ZM8.12813 11.9468V6.62493C8.12813 6.45917 8.06228 6.3002 7.94507 6.18299C7.82786 6.06578 7.66889 5.99993 7.50313 5.99993C7.33736 5.99993 7.17839 6.06578 7.06118 6.18299C6.94397 6.3002 6.87813 6.45917 6.87813 6.62493V11.9493C6.87813 12.1151 6.94397 12.274 7.06118 12.3912C7.17839 12.5085 7.33736 12.5743 7.50313 12.5743C7.66889 12.5743 7.82786 12.5085 7.94507 12.3912C8.06228 12.274 8.12813 12.1151 8.12813 11.9493V11.9468Z" fill="currentColor"/>
261 </symbol> 261 </symbol>
262 262
263 <symbol id="i" viewBox="0 0 20 20" fill="none"> 263 <symbol id="i" viewBox="0 0 20 20" fill="none">
264 <path d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 15C9.45 15 9 14.55 9 14V10C9 9.45 9.45 9 10 9C10.55 9 11 9.45 11 10V14C11 14.55 10.55 15 10 15ZM11 7H9V5H11V7Z" fill="currentColor"/> 264 <path d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 15C9.45 15 9 14.55 9 14V10C9 9.45 9.45 9 10 9C10.55 9 11 9.45 11 10V14C11 14.55 10.55 15 10 15ZM11 7H9V5H11V7Z" fill="currentColor"/>
265 </symbol> 265 </symbol>
266 266
267 <symbol id="arrow-radius" viewBox="0 0 14 18" fill="none"> 267 <symbol id="arrow-radius" viewBox="0 0 14 18" fill="none">
268 <path d="M5.24219 5.48438L8.75781 1.96875L12.2734 5.48438" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> 268 <path d="M5.24219 5.48438L8.75781 1.96875L12.2734 5.48438" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
269 <path d="M1.72656 16.0312C3.59137 16.0312 5.37979 15.2905 6.69841 13.9718C8.01702 12.6532 8.75781 10.8648 8.75781 9V1.96875" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> 269 <path d="M1.72656 16.0312C3.59137 16.0312 5.37979 15.2905 6.69841 13.9718C8.01702 12.6532 8.75781 10.8648 8.75781 9V1.96875" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
270 </symbol> 270 </symbol>
271 271
272 <symbol id="pencil" viewBox="0 0 16 16" fill="none"> 272 <symbol id="pencil" viewBox="0 0 16 16" fill="none">
273 <path d="M15.0604 3.06112L13.9195 4.20203L11.7656 2.11413L12.9396 0.940228C13.2208 0.65898 13.6023 0.500977 14 0.500977C14.3977 0.500977 14.7792 0.65898 15.0604 0.940228C15.3417 1.22148 15.4997 1.60293 15.4997 2.00067C15.4997 2.39842 15.3417 2.77987 15.0604 3.06112ZM10.1943 3.68443L12.3415 5.77908L3.6373 14.4833L0.714504 15.2976L1.51636 12.3624L10.1943 3.68443Z" fill="currentColor" stroke="currentColor"/> 273 <path d="M15.0604 3.06112L13.9195 4.20203L11.7656 2.11413L12.9396 0.940228C13.2208 0.65898 13.6023 0.500977 14 0.500977C14.3977 0.500977 14.7792 0.65898 15.0604 0.940228C15.3417 1.22148 15.4997 1.60293 15.4997 2.00067C15.4997 2.39842 15.3417 2.77987 15.0604 3.06112ZM10.1943 3.68443L12.3415 5.77908L3.6373 14.4833L0.714504 15.2976L1.51636 12.3624L10.1943 3.68443Z" fill="currentColor" stroke="currentColor"/>
274 </symbol> 274 </symbol>
275 275
276 <symbol id="clock" viewBox="0 0 17 18" fill="none"> 276 <symbol id="clock" viewBox="0 0 17 18" fill="none">
277 <path d="M1.21484 9.00007C1.21484 9.95684 1.40329 10.9042 1.76944 11.7882C2.13558 12.6721 2.67224 13.4753 3.34878 14.1518C4.02532 14.8284 4.82849 15.3651 5.71244 15.7312C6.59638 16.0973 7.54378 16.2858 8.50056 16.2858C9.45733 16.2858 10.4047 16.0973 11.2887 15.7312C12.1726 15.3651 12.9758 14.8284 13.6523 14.1518C14.3289 13.4753 14.8655 12.6721 15.2317 11.7882C15.5978 10.9042 15.7863 9.95684 15.7863 9.00007C15.7863 7.06778 15.0187 5.21463 13.6523 3.84829C12.286 2.48196 10.4328 1.71436 8.50056 1.71436C6.56827 1.71436 4.71512 2.48196 3.34878 3.84829C1.98244 5.21463 1.21484 7.06778 1.21484 9.00007Z" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/> 277 <path d="M1.21484 9.00007C1.21484 9.95684 1.40329 10.9042 1.76944 11.7882C2.13558 12.6721 2.67224 13.4753 3.34878 14.1518C4.02532 14.8284 4.82849 15.3651 5.71244 15.7312C6.59638 16.0973 7.54378 16.2858 8.50056 16.2858C9.45733 16.2858 10.4047 16.0973 11.2887 15.7312C12.1726 15.3651 12.9758 14.8284 13.6523 14.1518C14.3289 13.4753 14.8655 12.6721 15.2317 11.7882C15.5978 10.9042 15.7863 9.95684 15.7863 9.00007C15.7863 7.06778 15.0187 5.21463 13.6523 3.84829C12.286 2.48196 10.4328 1.71436 8.50056 1.71436C6.56827 1.71436 4.71512 2.48196 3.34878 3.84829C1.98244 5.21463 1.21484 7.06778 1.21484 9.00007Z" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/>
278 <path d="M8.5 4.95264V9.00026L10.9286 11.4288" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/> 278 <path d="M8.5 4.95264V9.00026L10.9286 11.4288" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/>
279 </symbol> 279 </symbol>
280 280
281 <symbol id="time" viewBox="0 0 16 17" fill="none"> 281 <symbol id="time" viewBox="0 0 16 17" fill="none">
282 <path d="M0.879883 8.50007C0.879883 9.45684 1.06407 10.4042 1.42193 11.2882C1.77979 12.1721 2.30431 12.9753 2.96554 13.6518C3.62678 14.3284 4.41178 14.865 5.27572 15.2312C6.13967 15.5973 7.06564 15.7858 8.00076 15.7858C8.93589 15.7858 9.86186 15.5973 10.7258 15.2312C11.5898 14.865 12.3748 14.3284 13.036 13.6518C13.6972 12.9753 14.2217 12.1721 14.5796 11.2882C14.9375 10.4042 15.1216 9.45684 15.1216 8.50007C15.1216 6.56778 14.3714 4.71463 13.036 3.34829C11.7006 1.98196 9.88934 1.21436 8.00076 1.21436C6.11219 1.21436 4.30096 1.98196 2.96554 3.34829C1.63012 4.71463 0.879883 6.56778 0.879883 8.50007Z" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/> 282 <path d="M0.879883 8.50007C0.879883 9.45684 1.06407 10.4042 1.42193 11.2882C1.77979 12.1721 2.30431 12.9753 2.96554 13.6518C3.62678 14.3284 4.41178 14.865 5.27572 15.2312C6.13967 15.5973 7.06564 15.7858 8.00076 15.7858C8.93589 15.7858 9.86186 15.5973 10.7258 15.2312C11.5898 14.865 12.3748 14.3284 13.036 13.6518C13.6972 12.9753 14.2217 12.1721 14.5796 11.2882C14.9375 10.4042 15.1216 9.45684 15.1216 8.50007C15.1216 6.56778 14.3714 4.71463 13.036 3.34829C11.7006 1.98196 9.88934 1.21436 8.00076 1.21436C6.11219 1.21436 4.30096 1.98196 2.96554 3.34829C1.63012 4.71463 0.879883 6.56778 0.879883 8.50007Z" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/>
283 <path d="M8 4.45264V8.50026L10.3736 10.9288" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/> 283 <path d="M8 4.45264V8.50026L10.3736 10.9288" stroke="currentColor" stroke-width="1.61905" stroke-linecap="round" stroke-linejoin="round"/>
284 </symbol> 284 </symbol>
285 285
286 <symbol id="warning" viewBox="0 0 40 35" fill="none"> 286 <symbol id="warning" viewBox="0 0 40 35" fill="none">
287 <path d="M19.9985 24.4905C20.3837 24.4905 20.6985 24.3683 20.9429 24.1239C21.1874 23.8794 21.3096 23.5646 21.3096 23.1795C21.3096 22.7943 21.1874 22.4788 20.9429 22.233C20.6985 21.9885 20.3837 21.8663 19.9985 21.8663C19.6134 21.8663 19.2986 21.9885 19.0542 22.233C18.8097 22.4788 18.6875 22.7943 18.6875 23.1795C18.6875 23.5632 18.8097 23.878 19.0542 24.1239C19.2986 24.3683 19.6134 24.4905 19.9985 24.4905ZM19.9985 18.1783C20.3013 18.1783 20.5549 18.076 20.7596 17.8713C20.9628 17.6681 21.0644 17.4151 21.0644 17.1124V6.28936C21.0644 5.98522 20.9628 5.73154 20.7596 5.52831C20.5549 5.32508 20.3013 5.22346 19.9985 5.22346C19.6958 5.22346 19.4422 5.32508 19.2375 5.52831C19.0343 5.73154 18.9327 5.98522 18.9327 6.28936V17.1124C18.9327 17.4151 19.0343 17.6681 19.2375 17.8713C19.4422 18.076 19.6958 18.1783 19.9985 18.1783ZM7.372 29.9841L3.73944 33.6167C3.20081 34.1553 2.57833 34.279 1.872 33.9876C1.16567 33.6963 0.8125 33.1669 0.8125 32.3994V3.58199C0.8125 2.60137 1.14151 1.78277 1.79952 1.12618C2.4561 0.468166 3.27471 0.13916 4.25533 0.13916H35.7418C36.7224 0.13916 37.541 0.468166 38.1976 1.12618C38.8556 1.78277 39.1846 2.60137 39.1846 3.58199V26.5413C39.1846 27.5219 38.8563 28.3412 38.1997 28.9992C37.5417 29.6558 36.7224 29.9841 35.7418 29.9841H7.372ZM6.46173 27.8523H35.7418C36.0686 27.8523 36.3692 27.7159 36.6435 27.443C36.9164 27.1688 37.0528 26.8682 37.0528 26.5413V3.58199C37.0528 3.25512 36.9164 2.95454 36.6435 2.68025C36.3692 2.40738 36.0686 2.27094 35.7418 2.27094H4.25533C3.92846 2.27094 3.62787 2.40738 3.35359 2.68025C3.08072 2.95454 2.94428 3.25512 2.94428 3.58199V31.3591L6.46173 27.8523Z" fill="currentColor"/> 287 <path d="M19.9985 24.4905C20.3837 24.4905 20.6985 24.3683 20.9429 24.1239C21.1874 23.8794 21.3096 23.5646 21.3096 23.1795C21.3096 22.7943 21.1874 22.4788 20.9429 22.233C20.6985 21.9885 20.3837 21.8663 19.9985 21.8663C19.6134 21.8663 19.2986 21.9885 19.0542 22.233C18.8097 22.4788 18.6875 22.7943 18.6875 23.1795C18.6875 23.5632 18.8097 23.878 19.0542 24.1239C19.2986 24.3683 19.6134 24.4905 19.9985 24.4905ZM19.9985 18.1783C20.3013 18.1783 20.5549 18.076 20.7596 17.8713C20.9628 17.6681 21.0644 17.4151 21.0644 17.1124V6.28936C21.0644 5.98522 20.9628 5.73154 20.7596 5.52831C20.5549 5.32508 20.3013 5.22346 19.9985 5.22346C19.6958 5.22346 19.4422 5.32508 19.2375 5.52831C19.0343 5.73154 18.9327 5.98522 18.9327 6.28936V17.1124C18.9327 17.4151 19.0343 17.6681 19.2375 17.8713C19.4422 18.076 19.6958 18.1783 19.9985 18.1783ZM7.372 29.9841L3.73944 33.6167C3.20081 34.1553 2.57833 34.279 1.872 33.9876C1.16567 33.6963 0.8125 33.1669 0.8125 32.3994V3.58199C0.8125 2.60137 1.14151 1.78277 1.79952 1.12618C2.4561 0.468166 3.27471 0.13916 4.25533 0.13916H35.7418C36.7224 0.13916 37.541 0.468166 38.1976 1.12618C38.8556 1.78277 39.1846 2.60137 39.1846 3.58199V26.5413C39.1846 27.5219 38.8563 28.3412 38.1997 28.9992C37.5417 29.6558 36.7224 29.9841 35.7418 29.9841H7.372ZM6.46173 27.8523H35.7418C36.0686 27.8523 36.3692 27.7159 36.6435 27.443C36.9164 27.1688 37.0528 26.8682 37.0528 26.5413V3.58199C37.0528 3.25512 36.9164 2.95454 36.6435 2.68025C36.3692 2.40738 36.0686 2.27094 35.7418 2.27094H4.25533C3.92846 2.27094 3.62787 2.40738 3.35359 2.68025C3.08072 2.95454 2.94428 3.25512 2.94428 3.58199V31.3591L6.46173 27.8523Z" fill="currentColor"/>
288 </symbol> 288 </symbol>
289 289
290 </svg> 290 </svg>
291 291
resources/views/admin/job_titles/index.blade.php
1 @extends('layout.admin', ['title' => 'Админка - Справочник Должности']) 1 @extends('layout.admin', ['title' => 'Админка - Справочник Должности'])
2 2
3 @section('script') 3 @section('script')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ url()->current() }}", 12 url: "{{ url()->current() }}",
14 data: "sort="+val_+"&search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif", 13 data: "sort="+val_+"&search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 history.pushState({}, '', "{{ route('employer.vacancy_list') }}?search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif"+"&sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 17 history.pushState({}, '', "{{ route('employer.vacancy_list') }}?search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif"+"&sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
19 $('#main_ockar').html(data); 18 $('#main_ockar').html(data);
20 }, 19 },
21 headers: { 20 headers: {
22 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
23 }, 22 },
24 error: function (data) { 23 error: function (data) {
25 data = JSON.stringify(data); 24 data = JSON.stringify(data);
26 console.log('Error: ' + data); 25 console.log('Error: ' + data);
27 } 26 }
28 }); 27 });
29 }); 28 });
30 </script> 29 </script>
31 @endsection 30 @endsection
32 31
33 @section('search') 32 @section('search')
34 33
35 @endsection 34 @endsection
36 35
37 @section('content') 36 @section('content')
38 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> 37 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block">
39 <div class="w-full overflow-x-auto"> 38 <div class="w-full overflow-x-auto">
40 <a class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" href="{{ route('admin.job-titles.create') }}">Создать должность</a><br><br> 39 <a class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" href="{{ route('admin.job-titles.create') }}">Создать должность</a><br><br>
41 <table class="w-full whitespace-no-wrap"> 40 <table class="w-full whitespace-no-wrap">
42 <thead> 41 <thead>
43 <tr 42 <tr
44 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" 43 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
45 > 44 >
46 <th class="px-4 py-3">№</th> 45 <th class="px-4 py-3">№</th>
47 <th class="px-4 py-3">Родитель</th> 46 <th class="px-4 py-3">Родитель</th>
48 <th class="px-4 py-3">Должность</th> 47 <th class="px-4 py-3">Должность</th>
49 <th class="px-4 py-3">Видимость</th> 48 <th class="px-4 py-3">Видимость</th>
50 <th class="px-4 py-3"><a id="sort_jobs" name="sort_jobs" @if(isset($_GET['sort'])) @if($_GET['sort']=='up') href="?sort=down" @else href="?sort=up" @endif @else href="?sort=down" @endif>Сортировка ↑↓</a></th> 49 <th class="px-4 py-3"><a id="sort_jobs" name="sort_jobs" @if(isset($_GET['sort'])) @if($_GET['sort']=='up') href="?sort=down" @else href="?sort=up" @endif @else href="?sort=down" @endif>Сортировка ↑↓</a></th>
51 <th class="px-4 py-3">Дата создания</th> 50 <th class="px-4 py-3">Дата создания</th>
52 <th class="px-4 py-3">Изменить</th> 51 <th class="px-4 py-3">Изменить</th>
53 </tr> 52 </tr>
54 </thead> 53 </thead>
55 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> 54 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
56 @foreach($Jobs as $job) 55 @foreach($Jobs as $job)
57 <tr class="text-gray-700 dark:text-gray-400"> 56 <tr class="text-gray-700 dark:text-gray-400">
58 <td class="px-4 py-3 text-xs"> 57 <td class="px-4 py-3 text-xs">
59 {{$job->id}} 58 {{$job->id}}
60 </td> 59 </td>
61 <td class="px-4 py-3 text-xs"> 60 <td class="px-4 py-3 text-xs">
62 @if (empty($job->parent->id)) 61 @if (empty($job->parent->id))
63 Не задан 62 Не задан
64 @else 63 @else
65 {{ mb_strimwidth($job->parent->name, 0, 35, "...") }}({{$job->parent->id}}) 64 {{ mb_strimwidth($job->parent->name, 0, 35, "...") }}({{$job->parent->id}})
66 @endif 65 @endif
67 </td> 66 </td>
68 <td class="px-4 py-3 text-xs"> 67 <td class="px-4 py-3 text-xs">
69 {{ mb_strimwidth($job->name, 0, 35, "...") }} 68 {{ mb_strimwidth($job->name, 0, 35, "...") }}
70 </td> 69 </td>
71 <td class="px-4 py-3 text-xs"> 70 <td class="px-4 py-3 text-xs">
72 @switch ($job->is_bd) 71 @switch ($job->is_bd)
73 @case (0) Работодатель @break 72 @case (0) Работодатель @break
74 @case (1) Работник @break 73 @case (1) Работник @break
75 @case (2) База данных @break 74 @case (2) База данных @break
76 @default База данных @break 75 @default База данных @break
77 @endswitch 76 @endswitch
78 </td> 77 </td>
79 <td class="px-4 py-3 text-xs"> 78 <td class="px-4 py-3 text-xs">
80 {{$job->sort}} 79 {{$job->sort}}
81 </td> 80 </td>
82 <td class="px-4 py-3 text-sm text-xs"> 81 <td class="px-4 py-3 text-sm text-xs">
83 {{ $job->created_at }} 82 {{ $job->created_at }}
84 </td> 83 </td>
85 <td class="px-4 py-3 text-sm_ text-xs"> 84 <td class="px-4 py-3 text-sm_ text-xs">
86 <form action="{{ route('admin.job-titles.destroy', ['job_title' => $job->id]) }}" method="POST"> 85 <form action="{{ route('admin.job-titles.destroy', ['job_title' => $job->id]) }}" method="POST">
87 <a href="{{ route('admin.job-titles.edit', ['job_title' => $job->id]) }}">Изменить</a> | 86 <a href="{{ route('admin.job-titles.edit', ['job_title' => $job->id]) }}">Изменить</a> |
88 @csrf 87 @csrf
89 @method('DELETE') 88 @method('DELETE')
90 <input class="btn btn-danger" type="submit" value="Удалить"/> 89 <input class="btn btn-danger" type="submit" value="Удалить"/>
91 </form> 90 </form>
92 </td> 91 </td>
93 </tr> 92 </tr>
94 @endforeach 93 @endforeach
95 </tbody> 94 </tbody>
96 </table> 95 </table>
97 </div> 96 </div>
98 97
99 <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"> 98 <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800">
100 <?=$Jobs->appends($_GET)->links('admin.pagginate'); ?> 99 <?=$Jobs->appends($_GET)->links('admin.pagginate'); ?>
101 </div> 100 </div>
102 </div> 101 </div>
103 @endsection 102 @endsection
104 103
resources/views/chats/chats_list.blade.php
1 <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
2 <meta http-equiv="Pragma" content="no-cache">
3 <meta http-equiv="Expires" content="0">
4
5
1 @if ($chats->count() || $admin_chat) 6 @if ($chats->count() || $admin_chat)
2 @csrf 7 @csrf
3 8
4 @if($admin_chat) 9 @if($admin_chat)
5 <div class="messages__item hover-shadow admin-chat-wrap"> 10 <div class="messages__item hover-shadow admin-chat-wrap">
6 <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['chat' => $admin_chat->id]) }}"> 11 <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['chat' => $admin_chat->id]) }}">
7 @include('svg.logo_icon') 12 @include('svg.logo_icon')
8 <div class="messages__item-text"> 13 <div class="messages__item-text">
9 <div> 14 <div>
10 <b>Администратор сайта</b> 15 <b>Администратор сайта</b>
11 </div> 16 </div>
12 <div> 17 <div>
13 {{ $admin_chat->last_message->text }} 18 {{ $admin_chat->last_message->text }}
14 </div> 19 </div>
15 </div> 20 </div>
16 </a> 21 </a>
17 22
18 <div class="messages__item-actions" data-chat-id="{{ $admin_chat->id }}"> 23 <div class="messages__item-actions" data-chat-id="{{ $admin_chat->id }}">
19 <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($admin_chat->created_at)) }}</div> 24 <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($admin_chat->created_at)) }}</div>
20 <div class="messages__item-buttons"> 25 <div class="messages__item-buttons">
21 @if($admin_chat->admin_chat_unread_messages_count > 0) 26 @if($admin_chat->admin_chat_unread_messages_count > 0)
22 <div class="unread-messages-count mr-15">{{ $admin_chat->admin_chat_unread_messages_count }}</div> 27 <div class="unread-messages-count mr-15">{{ $admin_chat->admin_chat_unread_messages_count }}</div>
23 @endif 28 @endif
24 </div> 29 </div>
25 </div> 30 </div>
26 </div> 31 </div>
27 @endif 32 @endif
28 33
29 @if ($chats->count()) 34 @if ($chats->count())
30 @foreach($chats as $chat) 35 @foreach($chats as $chat)
31 <div class="messages__item hover-shadow {{ intval($chat->is_fixed) == 1 ? 'chat-fixed' : '' }}"> 36 <div class="messages__item hover-shadow {{ intval($chat->is_fixed) == 1 ? 'chat-fixed' : '' }}">
32 <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['chat' => $chat->id]) }}"> 37 <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['chat' => $chat->id]) }}">
33 <div class="messages__item-photo"> 38 <div class="messages__item-photo">
34 @if (isset($chat->employer->logo)) 39 @if (isset($chat->employer->logo))
35 <img src="{{ asset(Storage::url($chat->employer->logo)) }}" alt=""> 40 <img src="{{ asset(Storage::url($chat->employer->logo)) }}" alt="">
36 @elseif(isset($chat->worker->photo)) 41 @elseif(isset($chat->worker->photo))
37 <img src="{{ asset(Storage::url($chat->worker->photo)) }}" alt=""> 42 <img src="{{ asset(Storage::url($chat->worker->photo)) }}" alt="">
38 @else 43 @else
39 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 44 <img src="{{ asset('images/default_man.jpg') }}" alt="">
40 @endif 45 @endif
41 </div> 46 </div>
42 <div class="messages__item-text"> 47 <div class="messages__item-text">
43 <div> 48 <div>
44 <b> 49 <b id="chat_name">
45 @if ($chat->employer && $chat->employer->name_company) 50 @if ($chat->employer && $chat->employer->name_company)
46 {{ $chat->employer->name_company }} 51 {{ $chat->employer->name_company }}
47 @else 52 @else
48 {{ $chat->user->surname . ' ' . $chat->user->name_man . ' ' . $chat->user->surname2 }} 53 {{ $chat->user->surname . ' ' . $chat->user->name_man . ' ' . $chat->user->surname2 }}
49 @endif 54 @endif
50 </b> 55 </b>
51 </div> 56 </div>
52 <div> 57 <div>
53 {{ $chat->last_message->text }} 58 {{ $chat->last_message->text }}
54 </div> 59 </div>
55 </div> 60 </div>
56 </a> 61 </a>
57 62
58 <div class="messages__item-actions" data-chat-id="{{ $chat->id }}"> 63 <div class="messages__item-actions" data-chat-id="{{ $chat->id }}">
59 <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($chat->created_at)) }}</div> 64 <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($chat->created_at)) }}</div>
60 <div class="messages__item-buttons"> 65 <div class="messages__item-buttons">
61 @if($chat->unread_messages_count > 0) 66 @if($chat->unread_messages_count > 0)
62 <div class="unread-messages-count mr-15">{{ $chat->unread_messages_count }}</div> 67 <div class="unread-messages-count mr-15">{{ $chat->unread_messages_count }}</div>
63 @endif 68 @endif
64 69
65 <button class="pin-chat {{ intval($chat->is_fixed) == 1 ? 'pin-on' : 'pin-off' }} mr-15"> 70 <button class="pin-chat {{ intval($chat->is_fixed) == 1 ? 'pin-on' : 'pin-off' }} mr-15">
66 @include('svg.pin_off') 71 @include('svg.pin_off')
67 </button> 72 </button>
68 <button class="remove-chat" data-fancybox data-src="#remove_chat"> 73 <button class="remove-chat" data-user="{{ $chat->user_id }}" data-fancybox data-src="#remove_chat">
69 <svg> 74 <svg>
70 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> 75 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use>
71 </svg> 76 </svg>
72 </button> 77 </button>
73 </div> 78 </div>
74 <div class="clear"></div> 79 <div class="clear"></div>
75 </div> 80 </div>
76 </div> 81 </div>
77 @endforeach 82 @endforeach
78 <div style="margin-top: 20px"> 83 <div style="margin-top: 20px">
79 {{ $chats->onEachSide(0)->appends($_GET)->links('paginate') }} 84 {{ $chats->onEachSide(0)->appends($_GET)->links('paginate') }}
80 </div><!-- конец --> 85 </div><!-- конец -->
81 @endif 86 @endif
82 @else 87 @else
83 <div class="notify"> 88 <div class="notify">
84 <svg> 89 <svg>
85 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> 90 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use>
86 </svg> 91 </svg>
87 <span>Сообщений не найдено</span> 92 <span>Сообщений не найдено</span>
88 </div> 93 </div>
89 @endif 94 @endif
90 95
91 <script> 96 <script>
92 $(function (){ 97 $(function (){
93 $('.pin-chat').click(function(){ 98 $('.pin-chat').click(function(){
94 var this_btn = $(this); 99 var this_btn = $(this);
95 var chat_id = this_btn.closest('.messages__item-actions').data('chat-id'); 100 var chat_id = this_btn.closest('.messages__item-actions').data('chat-id');
96 var $is_fixed = this_btn.hasClass('pin-on') ? 0 : 1; 101 var $is_fixed = this_btn.hasClass('pin-on') ? 0 : 1;
97 102
98 $.ajax({ 103 $.ajax({
99 type: "POST", 104 type: "POST",
100 url: "{{ route('employer.pin_chat') }}", 105 url: "{{ route('employer.pin_chat') }}",
101 data: { 106 data: {
102 id: chat_id, 107 id: chat_id,
103 is_fixed: $is_fixed 108 is_fixed: $is_fixed
104 }, 109 },
105 headers: { 110 headers: {
106 'X-CSRF-TOKEN': $('[name="_token"]').val() 111 'X-CSRF-TOKEN': $('[name="_token"]').val()
107 }, 112 },
108 success: function(){ 113 success: function(){
109 location.reload(); 114 location.reload();
110 } 115 }
111 }); 116 });
112 }); 117 });
113 118
114 $('.remove-chat').click(function(){ 119 $('.remove-chat').click(function(){
115 var this_btn = $(this); 120 var this_btn = $(this);
116 var chat_id = this_btn.closest('.messages__item-actions').data('chat-id'); 121 var chat_id = this_btn.closest('.messages__item-actions').data('chat-id');
117 var wrap = this_btn.closest('.messages__item'); 122 var wrap = this_btn.closest('.messages__item');
118 var target = wrap.find('.messages__item-target').text(); 123 var target = wrap.find('.messages__item-text').find('#chat_name').text();
119 124
120 $('#remove_chat').data('chat-id', chat_id); 125 $('#remove_chat').data('chat-id', chat_id);
121 $('#remove_chat').find('.target-chat').text(target.trim()); 126 $('#remove_chat').find('.target-chat').text(target.trim());
122 }); 127 });
123 }); 128 });
124 </script> 129 </script>
125 130
resources/views/companies.blade.php
1 @extends('layout.frontend', ['title' => 'Судоходные компании РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Судоходные компании РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 47
49 $(document).ready(function(){ 48 $(document).ready(function(){
50 var sel = $('#select2-sort_ajax-container'); 49 var sel = $('#select2-sort_ajax-container');
51 var key = getUrlParameter('sort'); 50 var key = getUrlParameter('sort');
52 51
53 if (key !=='') { 52 if (key !=='') {
54 console.log(key); 53 console.log(key);
55 switch (key) { 54 switch (key) {
56 case "default": sel.html('Сортировка (по умолчанию)'); break; 55 case "default": sel.html('Сортировка (по умолчанию)'); break;
57 case "name_up": sel.html('По имени (возрастание)'); break; 56 case "name_up": sel.html('По имени (возрастание)'); break;
58 case "name_down": sel.html('По дате (убывание)'); break; 57 case "name_down": sel.html('По дате (убывание)'); break;
59 case "created_at_up": sel.html('По дате (возрастание)'); break; 58 case "created_at_up": sel.html('По дате (возрастание)'); break;
60 case "created_at_down": sel.html('По дате (убывание)'); break; 59 case "created_at_down": sel.html('По дате (убывание)'); break;
61 } 60 }
62 61
63 } 62 }
64 }); 63 });
65 </script> 64 </script>
66 @endsection 65 @endsection
67 66
68 @section('content') 67 @section('content')
69 <section class="thing"> 68 <section class="thing">
70 <div class="container"> 69 <div class="container">
71 <form class="thing__body"> 70 <form class="thing__body">
72 @csrf 71 @csrf
73 <ul class="breadcrumbs thing__breadcrumbs"> 72 <ul class="breadcrumbs thing__breadcrumbs">
74 <li><a href="{{ route('index') }}">Главная</a></li> 73 <li><a href="{{ route('index') }}">Главная</a></li>
75 <li><b>Работодатели</b></li> 74 <li><b>Работодатели</b></li>
76 </ul> 75 </ul>
77 <h1 class="thing__title">Работодатели</h1> 76 <h1 class="thing__title">Работодатели</h1>
78 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для 77 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для
79 существующих финансовых и административных условий.</p> 78 существующих финансовых и административных условий.</p>
80 <div class="search thing__search"> 79 <div class="search thing__search">
81 <input type="search" id="search" name="search" class="input" value="{{ (isset($_GET['search'])) ? $_GET['search'] : '' }}" placeholder="Введите наименование работодателя"> 80 <input type="search" id="search" name="search" class="input" value="{{ (isset($_GET['search'])) ? $_GET['search'] : '' }}" placeholder="Введите наименование работодателя">
82 <button type="submit" class="button">Найти</button> 81 <button type="submit" class="button">Найти</button>
83 <span> 82 <span>
84 <svg> 83 <svg>
85 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 84 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
86 </svg> 85 </svg>
87 </span> 86 </span>
88 </div> 87 </div>
89 </form> 88 </form>
90 </div> 89 </div>
91 </section> 90 </section>
92 <main class="main"> 91 <main class="main">
93 <div class="container"> 92 <div class="container">
94 <div class="main__employers"> 93 <div class="main__employers">
95 <div class="filters"> 94 <div class="filters">
96 <div class="filters__label">Показано {{ $emps->firstItem() }} – {{ $emps->lastItem() }} из {{ $count_emps }} результатов поиска</div> 95 <div class="filters__label">Показано {{ $emps->firstItem() }} – {{ $emps->lastItem() }} из {{ $count_emps }} результатов поиска</div>
97 <div class="filters__body"> 96 <div class="filters__body">
98 <div class="select filters__select"> 97 <div class="select filters__select">
99 <select class="js-select2" id="sort_ajax" name="sort_ajax"> 98 <select class="js-select2" id="sort_ajax" name="sort_ajax">
100 <option value="default">Сортировка (по умолчанию)</option> 99 <option value="default">Сортировка (по умолчанию)</option>
101 <option value="name_up">По имени (возрастание)</option> 100 <option value="name_up">По имени (возрастание)</option>
102 <option value="name_down">По имени (убывание)</option> 101 <option value="name_down">По имени (убывание)</option>
103 <option value="created_at_up">По дате (возрастание)</option> 102 <option value="created_at_up">По дате (возрастание)</option>
104 <option value="created_at_down">По дате (убывание)</option> 103 <option value="created_at_down">По дате (убывание)</option>
105 </select> 104 </select>
106 </div> 105 </div>
107 <button type="button" class="filters__item active" data-tab="1"> 106 <button type="button" class="filters__item active" data-tab="1">
108 <svg> 107 <svg>
109 <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use> 108 <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use>
110 </svg> 109 </svg>
111 </button> 110 </button>
112 <button type="button" class="filters__item" data-tab="2"> 111 <button type="button" class="filters__item" data-tab="2">
113 <svg> 112 <svg>
114 <use xlink:href="{{ asset('images/sprite.svg#grid-2') }}"></use> 113 <use xlink:href="{{ asset('images/sprite.svg#grid-2') }}"></use>
115 </svg> 114 </svg>
116 </button> 115 </button>
117 </div> 116 </div>
118 </div> 117 </div>
119 <div class="main__employers-body showed" data-body="1" id="block_1" name="block_1"> 118 <div class="main__employers-body showed" data-body="1" id="block_1" name="block_1">
120 <div class="main__employers-one"> 119 <div class="main__employers-one">
121 @if ($emps->count()) 120 @if ($emps->count())
122 @foreach($emps as $emp) 121 @foreach($emps as $emp)
123 <div class="main__employers-item"> 122 <div class="main__employers-item">
124 <span class="main__employers-item-inner"> 123 <span class="main__employers-item-inner">
125 @if (!empty($emp->logo)) 124 @if (!empty($emp->logo))
126 <a href="{{ route('info_company', ['company' => $emp->id]) }}"> 125 <a href="{{ route('info_company', ['company' => $emp->id]) }}">
127 <img src="{{ asset(Storage::url($emp->logo)) }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic"> 126 <img src="{{ asset(Storage::url($emp->logo)) }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
128 </a> 127 </a>
129 @else 128 @else
130 <a href="{{ route('info_company', ['company' => $emp->id]) }}"> 129 <a href="{{ route('info_company', ['company' => $emp->id]) }}">
131 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic"> 130 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
132 </a> 131 </a>
133 @endif 132 @endif
134 <span class="main__employers-item-body"> 133 <span class="main__employers-item-body">
135 <b>{{ $emp->name_company }}</b> 134 <b>{{ $emp->name_company }}</b>
136 <i>{{ $emp->ads->count() }} вакансия(ий)</i> 135 <i>{{ $emp->ads->count() }} вакансия(ий)</i>
137 </span> 136 </span>
138 </span> 137 </span>
139 <a href="{{ route('info_company', ['company' => $emp->id]) }}" class="button button_light main__employers-item-more">Подробнее</a> 138 <a href="{{ route('info_company', ['company' => $emp->id]) }}" class="button button_light main__employers-item-more">Подробнее</a>
140 139
141 @if ($emp->oficial_status == 1) 140 @if ($emp->oficial_status == 1)
142 <span class="main__employers-item-label"> 141 <span class="main__employers-item-label">
143 <svg> 142 <svg>
144 <use xlink:href="images/sprite.svg#v"></use> 143 <use xlink:href="images/sprite.svg#v"></use>
145 </svg> 144 </svg>
146 <span>Компания одобрена сервисом rekamore.su</span> 145 <span>Компания одобрена сервисом rekamore.su</span>
147 </span> 146 </span>
148 @endif 147 @endif
149 </div> 148 </div>
150 @endforeach 149 @endforeach
151 </div> 150 </div>
152 151
153 {{ $emps->appends($_GET)->links('paginate') }} 152 {{ $emps->appends($_GET)->links('paginate') }}
154 153
155 @else 154 @else
156 <H2>Нет данных</H2> 155 <H2>Нет данных</H2>
157 @endif 156 @endif
158 157
159 </div> 158 </div>
160 <div class="main__employers-body" data-body="2" id="block_2" name="block_2"> 159 <div class="main__employers-body" data-body="2" id="block_2" name="block_2">
161 @if ($emps->count()) 160 @if ($emps->count())
162 <div class="main__employers-two"> 161 <div class="main__employers-two">
163 @foreach($emps as $emp) 162 @foreach($emps as $emp)
164 <div class="main__employers-item"> 163 <div class="main__employers-item">
165 <span class="main__employers-item-inner"> 164 <span class="main__employers-item-inner">
166 @if (!empty($emp->logo)) 165 @if (!empty($emp->logo))
167 <img src="{{ asset(Storage::url($emp->logo)) }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic"> 166 <img src="{{ asset(Storage::url($emp->logo)) }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
168 @else 167 @else
169 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic"> 168 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
170 @endif 169 @endif
171 <span class="main__employers-item-body"> 170 <span class="main__employers-item-body">
172 <b>{{ $emp->name_company }}</b> 171 <b>{{ $emp->name_company }}</b>
173 <i>{{ $emp->ads->count() }} вакансия(ий)</i> 172 <i>{{ $emp->ads->count() }} вакансия(ий)</i>
174 </span> 173 </span>
175 </span> 174 </span>
176 <a href="{{ route('info_company', ['company' => $emp->id]) }}" class="button button_light main__employers-item-more">Подробнее</a> 175 <a href="{{ route('info_company', ['company' => $emp->id]) }}" class="button button_light main__employers-item-more">Подробнее</a>
177 @if ($emp->oficial_status == 1) 176 @if ($emp->oficial_status == 1)
178 <span class="main__employers-item-label"> 177 <span class="main__employers-item-label">
179 <svg> 178 <svg>
180 <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> 179 <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use>
181 </svg> 180 </svg>
182 <span>Компания одобрена сервисом rekamore.su</span> 181 <span>Компания одобрена сервисом rekamore.su</span>
183 </span> 182 </span>
184 @endif 183 @endif
185 </div> 184 </div>
186 @endforeach 185 @endforeach
187 </div> 186 </div>
188 {{ $emps->appends($_GET)->links('paginate') }} 187 {{ $emps->appends($_GET)->links('paginate') }}
189 @else 188 @else
190 <H2>Нет данных</H2> 189 <H2>Нет данных</H2>
191 @endif 190 @endif
192 </div> 191 </div>
193 </div> 192 </div>
194 </div> 193 </div>
195 </main> 194 </main>
196 @endsection 195 @endsection
197 196
resources/views/contacts.blade.php
1 @extends('layout.frontend', ['title' => 'Образование и образовательные программы - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Образование и образовательные программы - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 </script> 47 </script>
49 @endsection 48 @endsection
50 49
51 @section('content') 50 @section('content')
52 <section class="thing"> 51 <section class="thing">
53 <div class="container"> 52 <div class="container">
54 <div class="thing__body"> 53 <div class="thing__body">
55 <ul class="breadcrumbs thing__breadcrumbs"> 54 <ul class="breadcrumbs thing__breadcrumbs">
56 <li><a href="{{ route('index') }}">Главная</a></li> 55 <li><a href="{{ route('index') }}">Главная</a></li>
57 <li><b>Контакты</b></li> 56 <li><b>Контакты</b></li>
58 </ul> 57 </ul>
59 <img src="{{ asset('images/14.jpg') }}" alt="" class="thing__pic thing__pic_two"> 58 <img src="{{ asset('images/14.jpg') }}" alt="" class="thing__pic thing__pic_two">
60 <h1 class="thing__title">Мы специализированная доска объявлений для поиска плавсостава</h1> 59 <h1 class="thing__title">Мы специализированная доска объявлений для поиска плавсостава</h1>
61 <p class="thing__text">Нашим сервисом пользуются более 120 судоходных компаний России.</p> 60 <p class="thing__text">Нашим сервисом пользуются более 120 судоходных компаний России.</p>
62 <p class="thing__text">Со списком компаний Вы можете ознакомиться перейдя по кнопке ниже.</p> 61 <p class="thing__text">Со списком компаний Вы можете ознакомиться перейдя по кнопке ниже.</p>
63 <div class="thing__buttons"> 62 <div class="thing__buttons">
64 <a href="{{ route('shipping_companies') }}" class="button">Список компаний</a> 63 <a href="{{ route('shipping_companies') }}" class="button">Список компаний</a>
65 </div> 64 </div>
66 </div> 65 </div>
67 </div> 66 </div>
68 </section> 67 </section>
69 68
70 <main class="main"> 69 <main class="main">
71 <div class="container"> 70 <div class="container">
72 <div class="main__cond"> 71 <div class="main__cond">
73 <div class="main__cond-label"> 72 <div class="main__cond-label">
74 На рынке мы с 2020 года. 73 На рынке мы с 2020 года.
75 <br>Мы молодая компания, которой важно сделать хороший и востребованный продукт! 74 <br>Мы молодая компания, которой важно сделать хороший и востребованный продукт!
76 </div> 75 </div>
77 <div> 76 <div>
78 <h3>За это время нам удалось:</h3> 77 <h3>За это время нам удалось:</h3>
79 <ul class="main__cond-icons"> 78 <ul class="main__cond-icons">
80 <li> 79 <li>
81 <span><img src="{{ asset('images/svg/1.svg') }}" alt=""></span> 80 <span><img src="{{ asset('images/svg/1.svg') }}" alt=""></span>
82 Создать самое крупное сообщество Вконтакте по поиску работы на речноми морском флоте 81 Создать самое крупное сообщество Вконтакте по поиску работы на речноми морском флоте
83 </li> 82 </li>
84 <li> 83 <li>
85 <span><img src="{{ asset('images/svg/2.svg') }}" alt=""></span> 84 <span><img src="{{ asset('images/svg/2.svg') }}" alt=""></span>
86 Создать самый крупный телеграм канал по поиску работы на речноми морском флоте 85 Создать самый крупный телеграм канал по поиску работы на речноми морском флоте
87 </li> 86 </li>
88 <li> 87 <li>
89 <span><img src="{{ asset('images/svg/3.svg') }}" alt=""></span> 88 <span><img src="{{ asset('images/svg/3.svg') }}" alt=""></span>
90 Создать действительно эффективную и удобную базу анкет 89 Создать действительно эффективную и удобную базу анкет
91 </li> 90 </li>
92 <li> 91 <li>
93 <span><img src="{{ asset('images/svg/4.svg') }} " alt=""></span> 92 <span><img src="{{ asset('images/svg/4.svg') }} " alt=""></span>
94 Разместить свою рекламу во многих учебных заведениях нашей страны. Колледжи,вузы, утц, медицинские центры охотно размещают нашу рекламу в своих заведениях 93 Разместить свою рекламу во многих учебных заведениях нашей страны. Колледжи,вузы, утц, медицинские центры охотно размещают нашу рекламу в своих заведениях
95 </li> 94 </li>
96 <li> 95 <li>
97 <span><img src="{{ asset('images/svg/5.svg') }}" alt=""></span> 96 <span><img src="{{ asset('images/svg/5.svg') }}" alt=""></span>
98 Подключить к нашему сервису более 120 судоходных компаний России 97 Подключить к нашему сервису более 120 судоходных компаний России
99 </li> 98 </li>
100 <li> 99 <li>
101 <span><img src="{{ asset('images/svg/6.svg') }}" alt=""></span> 100 <span><img src="{{ asset('images/svg/6.svg') }}" alt=""></span>
102 Оправдать доверие и ожидание, так как компании заключившие с нами договорв первый раз в 95% случаев остаются довольны сотрудничеством и продлевают договор 101 Оправдать доверие и ожидание, так как компании заключившие с нами договорв первый раз в 95% случаев остаются довольны сотрудничеством и продлевают договор
103 </li> 102 </li>
104 </ul> 103 </ul>
105 </div> 104 </div>
106 <div> 105 <div>
107 <h3>Форма обратной связи</h3> 106 <h3>Форма обратной связи</h3>
108 <p>Все поля обязательны для заполнения.</p> 107 <p>Все поля обязательны для заполнения.</p>
109 <form class="callback main__cond-callback" action="" method="GET"> 108 <form class="callback main__cond-callback" action="" method="GET">
110 <div class="callback__body"> 109 <div class="callback__body">
111 <input type="text" class="input" id="name" name="name" placeholder="Ваше имя" required> 110 <input type="text" class="input" id="name" name="name" placeholder="Ваше имя" required>
112 <input type="text" class="input" id="company" name="company" placeholder="Название судоходной компании" required> 111 <input type="text" class="input" id="company" name="company" placeholder="Название судоходной компании" required>
113 <input type="tel" class="input" id="telephone" name="telephone" placeholder="Телефон" required> 112 <input type="tel" class="input" id="telephone" name="telephone" placeholder="Телефон" required>
114 <input type="email" class="input" id="email" name="email" placeholder="Электронная почта" required> 113 <input type="email" class="input" id="email" name="email" placeholder="Электронная почта" required>
115 </div> 114 </div>
116 <textarea class="textarea callback__textarea" id="text" name="text" placeholder="Текст сообщения" required></textarea> 115 <textarea class="textarea callback__textarea" id="text" name="text" placeholder="Текст сообщения" required></textarea>
117 <div class="callback__bottom"> 116 <div class="callback__bottom">
118 <label class="checkbox"> 117 <label class="checkbox">
119 <input type="checkbox" class="checkbox__input" id="box" name="box" required> 118 <input type="checkbox" class="checkbox__input" id="box" name="box" required>
120 <span class="checkbox__icon"> 119 <span class="checkbox__icon">
121 <svg> 120 <svg>
122 <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> 121 <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use>
123 </svg> 122 </svg>
124 </span> 123 </span>
125 <span class="checkbox__text"> 124 <span class="checkbox__text">
126 <span> 125 <span>
127 Я согласен(на) с 126 Я согласен(на) с
128 <a href="{{ route('page', ['pages' => "Politika-konfidencialnosti"]) }}">Политикой конфиденциальности</a> 127 <a href="{{ route('page', ['pages' => "Politika-konfidencialnosti"]) }}">Политикой конфиденциальности</a>
129 </span> 128 </span>
130 </span> 129 </span>
131 </label> 130 </label>
132 <button type="submit" class="button">Отправить</button> 131 <button type="submit" class="button">Отправить</button>
133 </div> 132 </div>
134 </form> 133 </form>
135 </div> 134 </div>
136 </div> 135 </div>
137 </div> 136 </div>
138 </main> 137 </main>
139 </div> 138 </div>
140 @endsection 139 @endsection
141 140
resources/views/detail_new.blade.php
1 @extends('layout.frontend', ['title' => $title.' - РекаМоре']) 1 @extends('layout.frontend', ['title' => $title.' - РекаМоре'])
2 @section('scripts') 2 @section('scripts')
3 <script> 3 <script>
4 console.log('Test system');
5 $(document).on('change', '#sort_ajax', function() { 4 $(document).on('change', '#sort_ajax', function() {
6 var this_ = $(this); 5 var this_ = $(this);
7 var val_ = this_.val(); 6 var val_ = this_.val();
8 console.log('sort items '+val_); 7 console.log('sort items '+val_);
9 8
10 $.ajax({ 9 $.ajax({
11 type: "GET", 10 type: "GET",
12 url: "{{ route('education') }}", 11 url: "{{ route('education') }}",
13 data: "sort="+val_+"&block=1", 12 data: "sort="+val_+"&block=1",
14 success: function (data) { 13 success: function (data) {
15 console.log('Выбор сортировки'); 14 console.log('Выбор сортировки');
16 console.log(data); 15 console.log(data);
17 $('#block').html(data); 16 $('#block').html(data);
18 history.pushState({}, '', "{{ route('education') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 17 history.pushState({}, '', "{{ route('education') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 }); 27 });
29 28
30 $(document).ready(function(){ 29 $(document).ready(function(){
31 var sel = $('#select2-sort_ajax-container'); 30 var sel = $('#select2-sort_ajax-container');
32 var key = getUrlParameter('sort'); 31 var key = getUrlParameter('sort');
33 console.log(sel); 32 console.log(sel);
34 console.log(key); 33 console.log(key);
35 34
36 if (key !=='') { 35 if (key !=='') {
37 console.log(key); 36 console.log(key);
38 switch (key) { 37 switch (key) {
39 case "default": sel.html('Сортировка (по умолчанию)'); break; 38 case "default": sel.html('Сортировка (по умолчанию)'); break;
40 case "name_up": sel.html('По имени (возрастание)'); break; 39 case "name_up": sel.html('По имени (возрастание)'); break;
41 case "name_down": sel.html('По дате (убывание)'); break; 40 case "name_down": sel.html('По дате (убывание)'); break;
42 case "created_at_up": sel.html('По дате (возрастание)'); break; 41 case "created_at_up": sel.html('По дате (возрастание)'); break;
43 case "created_at_down": sel.html('По дате (убывание)'); break; 42 case "created_at_down": sel.html('По дате (убывание)'); break;
44 } 43 }
45 44
46 } 45 }
47 }); 46 });
48 </script> 47 </script>
49 @endsection 48 @endsection
50 @section('content') 49 @section('content')
51 <section class="thing"> 50 <section class="thing">
52 <div class="container"> 51 <div class="container">
53 <div class="thing__body"> 52 <div class="thing__body">
54 <ul class="breadcrumbs thing__breadcrumbs"> 53 <ul class="breadcrumbs thing__breadcrumbs">
55 <li><a href="{{ route('index') }}">Главная</a></li> 54 <li><a href="{{ route('index') }}">Главная</a></li>
56 <li><a href="{{ route('news') }}">Новости и статьи</a></li> 55 <li><a href="{{ route('news') }}">Новости и статьи</a></li>
57 <li><b>{{ $title }}</b></li> 56 <li><b>{{ $title }}</b></li>
58 </ul> 57 </ul>
59 58
60 @if (empty($Query[0]->image)) 59 @if (empty($Query[0]->image))
61 <img src="{{ asset('/images/default_ship.jpg') }}" alt="{{ $title }}" class="thing__pic thing__pic_two"> 60 <img src="{{ asset('/images/default_ship.jpg') }}" alt="{{ $title }}" class="thing__pic thing__pic_two">
62 @else 61 @else
63 <img src="{{ asset(Storage::url($Query[0]->image)) }}" alt="{{ $title }}" class="thing__pic thing__pic_two"> 62 <img src="{{ asset(Storage::url($Query[0]->image)) }}" alt="{{ $title }}" class="thing__pic thing__pic_two">
64 @endif 63 @endif
65 <time class="thing__date">{{ date('d.m.Y H:i:s', strtotime($Query[0]->created_at)) }}</time> 64 <time class="thing__date">{{ date('d.m.Y H:i:s', strtotime($Query[0]->created_at)) }}</time>
66 <h1 class="thing__title">{{ $title }}</h1> 65 <h1 class="thing__title">{{ $title }}</h1>
67 <p class="thing__text">{{ mb_strimwidth($Query[0]->text, 0, 100, "...") }}</p> 66 <p class="thing__text">{{ mb_strimwidth($Query[0]->text, 0, 100, "...") }}</p>
68 </div> 67 </div>
69 </div> 68 </div>
70 </section> 69 </section>
71 70
72 71
73 <main class="main"> 72 <main class="main">
74 <div class="container"> 73 <div class="container">
75 <div class="main__content"> 74 <div class="main__content">
76 <div class="main__content-item"> 75 <div class="main__content-item">
77 <h2>{{ $Query[0]->title }}</h2> 76 <h2>{{ $Query[0]->title }}</h2>
78 <p>{!! $Query[0]->text !!}</p> 77 <p>{!! $Query[0]->text !!}</p>
79 </div> 78 </div>
80 </div> 79 </div>
81 </div> 80 </div>
82 </main> 81 </main>
83 <section class="news"> 82 <section class="news">
84 <div class="container"> 83 <div class="container">
85 <div class="news__toper"> 84 <div class="news__toper">
86 <div class="title">Новости и статьи</div> 85 <div class="title">Новости и статьи</div>
87 <div class="navs"> 86 <div class="navs">
88 <button class="js-news-swiper-button-prev"> 87 <button class="js-news-swiper-button-prev">
89 <svg class="rotate180"> 88 <svg class="rotate180">
90 <use xlink:href="images/sprite.svg#arrow"></use> 89 <use xlink:href="images/sprite.svg#arrow"></use>
91 </svg> 90 </svg>
92 </button> 91 </button>
93 <button class="js-news-swiper-button-next"> 92 <button class="js-news-swiper-button-next">
94 <svg> 93 <svg>
95 <use xlink:href="images/sprite.svg#arrow"></use> 94 <use xlink:href="images/sprite.svg#arrow"></use>
96 </svg> 95 </svg>
97 </button> 96 </button>
98 </div> 97 </div>
99 </div> 98 </div>
100 <div class="swiper js-news-swiper"> 99 <div class="swiper js-news-swiper">
101 <div class="swiper-wrapper"> 100 <div class="swiper-wrapper">
102 @if ($All_Query->count()) 101 @if ($All_Query->count())
103 @foreach($All_Query as $Q_item) 102 @foreach($All_Query as $Q_item)
104 <div class="swiper-slide"> 103 <div class="swiper-slide">
105 <div class="news__item"> 104 <div class="news__item">
106 <img src="{{ asset(Storage::url($Q_item->image)) }}" alt="{{ $Q_item->title }}" class="news__item-pic"> 105 <img src="{{ asset(Storage::url($Q_item->image)) }}" alt="{{ $Q_item->title }}" class="news__item-pic">
107 <div class="news__item-body"> 106 <div class="news__item-body">
108 <time datetime="{{ date('d.m.Y H:i:s', strtotime($Q_item->created_at)) }}" class="news__item-date">{{ date('d.m.Y H:i:s', strtotime($Q_item->created_at)) }}</time> 107 <time datetime="{{ date('d.m.Y H:i:s', strtotime($Q_item->created_at)) }}" class="news__item-date">{{ date('d.m.Y H:i:s', strtotime($Q_item->created_at)) }}</time>
109 <span class="news__item-title">{{ $Q_item->title }}</span> 108 <span class="news__item-title">{{ $Q_item->title }}</span>
110 <span class="news__item-text">{!! $Q_item->text !!}</span> 109 <span class="news__item-text">{!! $Q_item->text !!}</span>
111 <a href="{{ route('detail_new', ['new' => $Q_item->id]) }}" class="news__item-more button button_light">Читать далее</a> 110 <a href="{{ route('detail_new', ['new' => $Q_item->id]) }}" class="news__item-more button button_light">Читать далее</a>
112 </div> 111 </div>
113 </div> 112 </div>
114 </div> 113 </div>
115 @endforeach 114 @endforeach
116 @endif 115 @endif
117 </div> 116 </div>
118 <div class="swiper-pagination"></div> 117 <div class="swiper-pagination"></div>
119 </div> 118 </div>
120 <a href="{{ route('news') }}" class="news__all button button_light">Все новости</a> 119 <a href="{{ route('news') }}" class="news__all button button_light">Все новости</a>
121 </div> 120 </div>
122 </section> 121 </section>
123 </div> 122 </div>
124 @endsection 123 @endsection
125 124
resources/views/employers/add_vacancy_danger.blade.php
1 @extends('layout.frontend', ['title' => 'База данных - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'База данных - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('click', '.die_black', function() { 5 $(document).on('click', '.die_black', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var ajax_ = $('#ajax_flot_div'); 7 var ajax_ = $('#ajax_flot_div');
9 var id_ = this_.attr('data-test'); 8 var id_ = this_.attr('data-test');
10 var url_ = this_.attr('data-link'); 9 var url_ = this_.attr('data-link');
11 10
12 console.log(url_); 11 console.log(url_);
13 $.ajax({ 12 $.ajax({
14 type: "GET", 13 type: "GET",
15 url: url_, 14 url: url_,
16 success: function (data) { 15 success: function (data) {
17 console.log('Ответка'); 16 console.log('Ответка');
18 ajax_.html(data); 17 ajax_.html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 console.log('Error: ' + data); 23 console.log('Error: ' + data);
25 } 24 }
26 }); 25 });
27 }); 26 });
28 </script> 27 </script>
29 @endsection 28 @endsection
30 29
31 @section('content') 30 @section('content')
32 <section class="cabinet"> 31 <section class="cabinet">
33 <div class="container"> 32 <div class="container">
34 <ul class="breadcrumbs cabinet__breadcrumbs"> 33 <ul class="breadcrumbs cabinet__breadcrumbs">
35 <li><a href="{{ route('index') }}">Главная</a></li> 34 <li><a href="{{ route('index') }}">Главная</a></li>
36 <li><b>Личный кабинет</b></li> 35 <li><b>Личный кабинет</b></li>
37 </ul> 36 </ul>
38 <div class="cabinet__wrapper"> 37 <div class="cabinet__wrapper">
39 <div class="cabinet__side"> 38 <div class="cabinet__side">
40 <div class="cabinet__side-toper"> 39 <div class="cabinet__side-toper">
41 @include('employers.emblema') 40 @include('employers.emblema')
42 </div> 41 </div>
43 @include('employers.menu', ['item' => 2]) 42 @include('employers.menu', ['item' => 2])
44 </div> 43 </div>
45 <div class="cabinet__body"> 44 <div class="cabinet__body">
46 <div class="cabinet__body-item"> 45 <div class="cabinet__body-item">
47 <h2 class="title cabinet__title">Добавление вакансии</h2> 46 <h2 class="title cabinet__title">Добавление вакансии</h2>
48 </div> 47 </div>
49 <div class="cabinet__body-item"> 48 <div class="cabinet__body-item">
50 <div class="cabinet__table-header"> 49 <div class="cabinet__table-header">
51 <div><!--_if (isset($it->workers[0]->job_titles[0]->name)) _ $it->workers[0]->job_titles[0]->name }}_else Не указано _endif--> 50 <div><!--_if (isset($it->workers[0]->job_titles[0]->name)) _ $it->workers[0]->job_titles[0]->name }}_else Не указано _endif-->
52 Нельзя добавить вакансию, прочтите инструкцию для преодоления данной проблемы. 51 Нельзя добавить вакансию, прочтите инструкцию для преодоления данной проблемы.
53 <a style="text-decoration:underline" href="{{ route('page', ['pages' => 'Usloviya-razmescheniya']) }}">Условия размещения</a> 52 <a style="text-decoration:underline" href="{{ route('page', ['pages' => 'Usloviya-razmescheniya']) }}">Условия размещения</a>
54 </div> 53 </div>
55 </div> 54 </div>
56 </div> 55 </div>
57 </div> 56 </div>
58 </section> 57 </section>
59 </div> 58 </div>
60 @endsection 59 @endsection
61 60
resources/views/employers/bd_resume_danger.blade.php
1 @extends('layout.frontend', ['title' => 'База данных - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'База данных - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('click', '.die_black', function() { 5 $(document).on('click', '.die_black', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var ajax_ = $('#ajax_flot_div'); 7 var ajax_ = $('#ajax_flot_div');
9 var id_ = this_.attr('data-test'); 8 var id_ = this_.attr('data-test');
10 var url_ = this_.attr('data-link'); 9 var url_ = this_.attr('data-link');
11 10
12 console.log(url_); 11 console.log(url_);
13 $.ajax({ 12 $.ajax({
14 type: "GET", 13 type: "GET",
15 url: url_, 14 url: url_,
16 success: function (data) { 15 success: function (data) {
17 console.log('Ответка'); 16 console.log('Ответка');
18 ajax_.html(data); 17 ajax_.html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 console.log('Error: ' + data); 23 console.log('Error: ' + data);
25 } 24 }
26 }); 25 });
27 }); 26 });
28 </script> 27 </script>
29 @endsection 28 @endsection
30 29
31 @section('content') 30 @section('content')
32 <section class="cabinet"> 31 <section class="cabinet">
33 <div class="container"> 32 <div class="container">
34 <ul class="breadcrumbs cabinet__breadcrumbs"> 33 <ul class="breadcrumbs cabinet__breadcrumbs">
35 <li><a href="{{ route('index') }}">Главная</a></li> 34 <li><a href="{{ route('index') }}">Главная</a></li>
36 <li><b>Личный кабинет</b></li> 35 <li><b>Личный кабинет</b></li>
37 </ul> 36 </ul>
38 <div class="cabinet__wrapper"> 37 <div class="cabinet__wrapper">
39 <div class="cabinet__side"> 38 <div class="cabinet__side">
40 <div class="cabinet__side-toper"> 39 <div class="cabinet__side-toper">
41 @include('employers.emblema') 40 @include('employers.emblema')
42 </div> 41 </div>
43 @include('employers.menu', ['item' => 8]) 42 @include('employers.menu', ['item' => 8])
44 </div> 43 </div>
45 <div class="cabinet__body"> 44 <div class="cabinet__body">
46 <div class="cabinet__body-item"> 45 <div class="cabinet__body-item">
47 <h2 class="title cabinet__title">База резюме</h2> 46 <h2 class="title cabinet__title">База резюме</h2>
48 </div> 47 </div>
49 <div class="cabinet__body-item"> 48 <div class="cabinet__body-item">
50 <div class="cabinet__table-header"> 49 <div class="cabinet__table-header">
51 <div><!--_if (isset($it->workers[0]->job_titles[0]->name)) _ $it->workers[0]->job_titles[0]->name }}_else Не указано _endif--> 50 <div><!--_if (isset($it->workers[0]->job_titles[0]->name)) _ $it->workers[0]->job_titles[0]->name }}_else Не указано _endif-->
52 Данные нельзя просмотреть, прочтите инструкцию 51 Данные нельзя просмотреть, прочтите инструкцию
53 <a style="text-decoration:underline" href="{{ route('page', ['pages' => 'Usloviya-razmescheniya']) }}">Условия размещения</a> 52 <a style="text-decoration:underline" href="{{ route('page', ['pages' => 'Usloviya-razmescheniya']) }}">Условия размещения</a>
54 </div> 53 </div>
55 </div> 54 </div>
56 </div> 55 </div>
57 </div> 56 </div>
58 </section> 57 </section>
59 </div> 58 </div>
60 @endsection 59 @endsection
61 60
resources/views/employers/bd_tupe.blade.php
1 @extends('layout.frontend', ['title' => 'База резюме - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'База резюме - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('click', '.die_black', function() { 5 $(document).on('click', '.die_black', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var ajax_ = $('#ajax_flot_div'); 7 var ajax_ = $('#ajax_flot_div');
9 var id_ = this_.attr('data-test'); 8 var id_ = this_.attr('data-test');
10 var url_ = this_.attr('data-link'); 9 var url_ = this_.attr('data-link');
11 10
12 console.log(url_); 11 console.log(url_);
13 $.ajax({ 12 $.ajax({
14 type: "GET", 13 type: "GET",
15 url: url_, 14 url: url_,
16 success: function (data) { 15 success: function (data) {
17 console.log('Ответка'); 16 console.log('Ответка');
18 ajax_.html(data); 17 ajax_.html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 console.log('Error: ' + data); 23 console.log('Error: ' + data);
25 } 24 }
26 }); 25 });
27 26
28 }); 27 });
29 </script> 28 </script>
30 @endsection 29 @endsection
31 30
32 @section('content') 31 @section('content')
33 <section class="cabinet"> 32 <section class="cabinet">
34 <div class="container"> 33 <div class="container">
35 <ul class="breadcrumbs cabinet__breadcrumbs"> 34 <ul class="breadcrumbs cabinet__breadcrumbs">
36 <li><a href="{{ route('index') }}">Главная</a></li> 35 <li><a href="{{ route('index') }}">Главная</a></li>
37 <li><b>Личный кабинет</b></li> 36 <li><b>Личный кабинет</b></li>
38 </ul> 37 </ul>
39 <div class="cabinet__wrapper"> 38 <div class="cabinet__wrapper">
40 <div class="cabinet__side"> 39 <div class="cabinet__side">
41 @include('employers.emblema') 40 @include('employers.emblema')
42 41
43 @include('employers.menu', ['item' => 8]) 42 @include('employers.menu', ['item' => 8])
44 </div> 43 </div>
45 44
46 <div class="cabinet__body"> 45 <div class="cabinet__body">
47 <div class="cabinet__body-item"> 46 <div class="cabinet__body-item">
48 <h2 class="title cabinet__title">База резюме</h2> 47 <h2 class="title cabinet__title">База резюме</h2>
49 </div> 48 </div>
50 <div class="cabinet__body-item"> 49 <div class="cabinet__body-item">
51 <div class="cabinet__filters"> 50 <div class="cabinet__filters">
52 <div class="cabinet__filters-item"> 51 <div class="cabinet__filters-item">
53 <form class="search"> 52 <form class="search">
54 <input type="search" class="input" placeholder="Поиск&hellip;" required> 53 <input type="search" class="input" placeholder="Поиск&hellip;" required>
55 <button type="submit" class="button">Найти</button> 54 <button type="submit" class="button">Найти</button>
56 <span> 55 <span>
57 <svg> 56 <svg>
58 <use xlink:href="images/sprite.svg#search"></use> 57 <use xlink:href="images/sprite.svg#search"></use>
59 </svg> 58 </svg>
60 </span> 59 </span>
61 </form> 60 </form>
62 </div> 61 </div>
63 <div class="cabinet__filters-item"> 62 <div class="cabinet__filters-item">
64 <button type="button" class="button"> 63 <button type="button" class="button">
65 <svg> 64 <svg>
66 <use xlink:href="images/sprite.svg#share"></use> 65 <use xlink:href="images/sprite.svg#share"></use>
67 </svg> 66 </svg>
68 Экспорт 67 Экспорт
69 </button> 68 </button>
70 </div> 69 </div>
71 </div> 70 </div>
72 </div> 71 </div>
73 <div class="cabinet__body-item"> 72 <div class="cabinet__body-item">
74 <div class="cabinet__table-header"> 73 <div class="cabinet__table-header">
75 <div>Капитан</div> 74 <div>Капитан</div>
76 <span> 75 <span>
77 Пользователей найдено: 76 Пользователей найдено:
78 <b>18</b> 77 <b>18</b>
79 </span> 78 </span>
80 </div> 79 </div>
81 <div class="table table_spoiler"> 80 <div class="table table_spoiler">
82 <button type="button" class="table__button js-toggle js-parent-toggle button button_light button_more"> 81 <button type="button" class="table__button js-toggle js-parent-toggle button button_light button_more">
83 <span>Показать ещё</span> 82 <span>Показать ещё</span>
84 <span>Свернуть</span> 83 <span>Свернуть</span>
85 </button> 84 </button>
86 <div class="table__scroll"> 85 <div class="table__scroll">
87 <div class="table__body table__body_min-width"> 86 <div class="table__body table__body_min-width">
88 <table> 87 <table>
89 <thead> 88 <thead>
90 <tr> 89 <tr>
91 <th>ФИО соискателя</th> 90 <th>ФИО соискателя</th>
92 <th>Номер телефона</th> 91 <th>Номер телефона</th>
93 <th>Электронная<br>почта</th> 92 <th>Электронная<br>почта</th>
94 <th>Наличие<br>анкеты</th> 93 <th>Наличие<br>анкеты</th>
95 </tr> 94 </tr>
96 </thead> 95 </thead>
97 <tbody> 96 <tbody>
98 @if ($Resume->count()) 97 @if ($Resume->count())
99 @foreach($Resume as $it) 98 @foreach($Resume as $it)
100 <tr> 99 <tr>
101 <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td> 100 <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td>
102 <td> 101 <td>
103 @if (isset($it->worker->telephone)) 102 @if (isset($it->worker->telephone))
104 <a href="tel:{{ $it->worker->telephone }}">{{ $it->worker->telephone }}</a> 103 <a href="tel:{{ $it->worker->telephone }}">{{ $it->worker->telephone }}</a>
105 @endif 104 @endif
106 </td> 105 </td>
107 <td> 106 <td>
108 @if (isset($it->worker->email)) 107 @if (isset($it->worker->email))
109 <a href="emailto:{{ $it->worker->email }}">{{ $it->worker->email }}</a> 108 <a href="emailto:{{ $it->worker->email }}">{{ $it->worker->email }}</a>
110 @endif 109 @endif
111 </td> 110 </td>
112 <td> 111 <td>
113 <a href="" class="table__link"> 112 <a href="" class="table__link">
114 <svg> 113 <svg>
115 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> 114 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use>
116 </svg> 115 </svg>
117 Скачать 116 Скачать
118 </a> 117 </a>
119 </td> 118 </td>
120 </tr> 119 </tr>
121 @endforeach 120 @endforeach
122 @endif 121 @endif
123 </tbody> 122 </tbody>
124 </table> 123 </table>
125 </div> 124 </div>
126 </div> 125 </div>
127 </div> 126 </div>
128 </div> 127 </div>
129 </div> 128 </div>
130 </div> 129 </div>
131 </div> 130 </div>
132 </section> 131 </section>
133 </div> 132 </div>
134 <div> 133 <div>
135 @endsection 134 @endsection
136 135
resources/views/employers/cabinet.blade.php
1 @extends('layout.frontend', ['title' => 'Образование и образовательные программы - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Образование и образовательные программы - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6
7
8 $(document).on('click', '.die_black', function() { 5 $(document).on('click', '.die_black', function() {
9 var this_ = $(this); 6 var this_ = $(this);
10 var ajax_ = $('#ajax_flot_div'); 7 var ajax_ = $('#ajax_flot_div');
11 var id_ = this_.attr('data-test'); 8 var id_ = this_.attr('data-test');
12 var url_ = this_.attr('data-link'); 9 var url_ = this_.attr('data-link');
13 10
14 console.log(url_); 11 console.log(url_);
15 $.ajax({ 12 $.ajax({
16 type: "GET", 13 type: "GET",
17 url: url_, 14 url: url_,
18 success: function (data) { 15 success: function (data) {
19 console.log('Ответка'); 16 console.log('Ответка');
20 ajax_.html(data); 17 ajax_.html(data);
21 }, 18 },
22 headers: { 19 headers: {
23 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
24 }, 21 },
25 error: function (data) { 22 error: function (data) {
26 console.log('Error: ' + data); 23 console.log('Error: ' + data);
27 } 24 }
28 }); 25 });
29 26
30 }); 27 });
31 </script> 28 </script>
32 @endsection 29 @endsection
33 @section('content') 30 @section('content')
34 <section class="cabinet"> 31 <section class="cabinet">
35 <div class="container"> 32 <div class="container">
36 <ul class="breadcrumbs cabinet__breadcrumbs"> 33 <ul class="breadcrumbs cabinet__breadcrumbs">
37 <li><a href="{{ route('index') }}">Главная</a></li> 34 <li><a href="{{ route('index') }}">Главная</a></li>
38 <li><b>Личный кабинет</b></li> 35 <li><b>Личный кабинет</b></li>
39 </ul> 36 </ul>
40 <div class="cabinet__wrapper"> 37 <div class="cabinet__wrapper">
41 <div class="cabinet__side"> 38 <div class="cabinet__side">
42 <div class="cabinet__side-toper"> 39 <div class="cabinet__side-toper">
43 <div class="cabinet__side-toper-pic"> 40 <div class="cabinet__side-toper-pic">
44 @if (isset($Employer[0]->logo)) 41 @if (isset($Employer[0]->logo))
45 <img src="{{ asset(Storage::url($Employer[0]->logo)) }}" width="150" alt="{{ $Employer[0]->name_company }}"> 42 <img src="{{ asset(Storage::url($Employer[0]->logo)) }}" width="150" alt="{{ $Employer[0]->name_company }}">
46 @else 43 @else
47 <img src="{{ asset('images/logo_emp.png') }}" width="150" alt="{{ $Employer[0]->name_company }}"/> 44 <img src="{{ asset('images/logo_emp.png') }}" width="150" alt="{{ $Employer[0]->name_company }}"/>
48 @endif 45 @endif
49 </div> 46 </div>
50 <b>{{ $Employer[0]->name_company }}</b> 47 <b>{{ $Employer[0]->name_company }}</b>
51 </div> 48 </div>
52 49
53 @include('employers.menu') 50 @include('employers.menu')
54 51
55 </div> 52 </div>
56 <div class="cabinet__body"> 53 <div class="cabinet__body">
57 @include('messages_error') 54 @include('messages_error')
58 55
59 <form action="{{ route('employer.cabinet_save', ['Employer' => $Employer[0]->id]) }}" method="POST" enctype="multipart/form-data"> 56 <form action="{{ route('employer.cabinet_save', ['Employer' => $Employer[0]->id]) }}" method="POST" enctype="multipart/form-data">
60 @csrf 57 @csrf
61 <div class="cabinet__body-item"> 58 <div class="cabinet__body-item">
62 <div class="cabinet__descr"> 59 <div class="cabinet__descr">
63 <h2 class="title cabinet__title">Мой профиль</h2> 60 <h2 class="title cabinet__title">Мой профиль</h2>
64 <p class="cabinet__text">Все поля обязательны для заполнения *</p> 61 <p class="cabinet__text">Все поля обязательны для заполнения *</p>
65 </div> 62 </div>
66 <div class="cabinet__avatar"> 63 <div class="cabinet__avatar">
67 <div class="cabinet__avatar-pic"> 64 <div class="cabinet__avatar-pic">
68 @if (isset($Employer[0]->logo)) 65 @if (isset($Employer[0]->logo))
69 <img src="{{ asset(Storage::url($Employer[0]->logo)) }}" width="150" alt="{{ $Employer[0]->name_company }}"> 66 <img src="{{ asset(Storage::url($Employer[0]->logo)) }}" width="150" alt="{{ $Employer[0]->name_company }}">
70 @else 67 @else
71 <img src="{{ asset('images/logo_emp.png') }}" width="150" alt="{{ $Employer[0]->name_company }}"/> 68 <img src="{{ asset('images/logo_emp.png') }}" width="150" alt="{{ $Employer[0]->name_company }}"/>
72 @endif 69 @endif
73 </div> 70 </div>
74 <div class="cabinet__avatar-form"> 71 <div class="cabinet__avatar-form">
75 <label class="file"> 72 <label class="file">
76 <span class="file__input"> 73 <span class="file__input">
77 <input type="file" name="logo"> 74 <input type="file" name="logo">
78 <span class="button"> 75 <span class="button">
79 <svg> 76 <svg>
80 <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> 77 <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use>
81 </svg> 78 </svg>
82 Загрузить 79 Загрузить
83 </span> 80 </span>
84 </span> 81 </span>
85 </label> 82 </label>
86 <p class="cabinet__text">Загрузите логотип в формате .svg, .jpg, .png или .jpeg</p> 83 <p class="cabinet__text">Загрузите логотип в формате .svg, .jpg, .png или .jpeg</p>
87 </div> 84 </div>
88 </div> 85 </div>
89 <div class="cabinet__inputs"> 86 <div class="cabinet__inputs">
90 <div class="cabinet__inputs-item form-group"> 87 <div class="cabinet__inputs-item form-group">
91 <label class="form-group__label">Название судоходной компании</label> 88 <label class="form-group__label">Название судоходной компании</label>
92 <div class="form-group__item"> 89 <div class="form-group__item">
93 <input type="text" class="input" name="name_company" id="name_company" placeholder="ООО Река Море" value="{{ old('name_company') ?? $Employer[0]->name_company ?? '' }}" required> 90 <input type="text" class="input" name="name_company" id="name_company" placeholder="ООО Река Море" value="{{ old('name_company') ?? $Employer[0]->name_company ?? '' }}" required>
94 @error('name_company') 91 @error('name_company')
95 <span class="text-xs text-red-600"> 92 <span class="text-xs text-red-600">
96 {{ $message }} 93 {{ $message }}
97 </span> 94 </span>
98 @enderror 95 @enderror
99 </div> 96 </div>
100 </div> 97 </div>
101 <div class="cabinet__inputs-item form-group"> 98 <div class="cabinet__inputs-item form-group">
102 <label class="form-group__label">Электронная почта</label> 99 <label class="form-group__label">Электронная почта</label>
103 <div class="form-group__item"> 100 <div class="form-group__item">
104 <input type="email" name="email" class="input" placeholder="info@rekamore.su" value="{{ old('email') ?? $Employer[0]->email ?? '' }}" required> 101 <input type="email" name="email" class="input" placeholder="info@rekamore.su" value="{{ old('email') ?? $Employer[0]->email ?? '' }}" required>
105 @error('email') 102 @error('email')
106 <span class="text-xs text-red-600"> 103 <span class="text-xs text-red-600">
107 {{ $message }} 104 {{ $message }}
108 </span> 105 </span>
109 @enderror 106 @enderror
110 </div> 107 </div>
111 </div> 108 </div>
112 <div class="cabinet__inputs-item form-group"> 109 <div class="cabinet__inputs-item form-group">
113 <label class="form-group__label">Номер телефона</label> 110 <label class="form-group__label">Номер телефона</label>
114 <div class="form-group__item"> 111 <div class="form-group__item">
115 <input type="tel" name="telephone" class="input" placeholder="+7 (___) ___-__-__" value="{{ old('telephone') ?? $Employer[0]->telephone ?? '' }}" required> 112 <input type="tel" name="telephone" class="input" placeholder="+7 (___) ___-__-__" value="{{ old('telephone') ?? $Employer[0]->telephone ?? '' }}" required>
116 @error('telephone') 113 @error('telephone')
117 <span class="text-xs text-red-600"> 114 <span class="text-xs text-red-600">
118 {{ $message }} 115 {{ $message }}
119 </span> 116 </span>
120 @enderror 117 @enderror
121 </div> 118 </div>
122 </div> 119 </div>
123 <div class="cabinet__inputs-item form-group"> 120 <div class="cabinet__inputs-item form-group">
124 <label class="form-group__label">Адрес компании</label> 121 <label class="form-group__label">Адрес компании</label>
125 <div class="form-group__item"> 122 <div class="form-group__item">
126 <input type="text" name="address" class="input" value="{{ old('address') ?? $Employer[0]->address ?? '' }}" placeholder="692904, Приморский край, г. Находка, ул. Портовая 3А, 5 этаж"> 123 <input type="text" name="address" class="input" value="{{ old('address') ?? $Employer[0]->address ?? '' }}" placeholder="692904, Приморский край, г. Находка, ул. Портовая 3А, 5 этаж">
127 @error('address') 124 @error('address')
128 <span class="text-xs text-red-600"> 125 <span class="text-xs text-red-600">
129 {{ $message }} 126 {{ $message }}
130 </span> 127 </span>
131 @enderror 128 @enderror
132 </div> 129 </div>
133 </div> 130 </div>
134 <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> 131 <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
135 <label class="form-group__label">Ссылка на сайт</label> 132 <label class="form-group__label">Ссылка на сайт</label>
136 <div class="form-group__item"> 133 <div class="form-group__item">
137 <input type="url" name="site" class="input" value="{{ old('site') ?? $Employer[0]->site ?? '' }}" placeholder="https://rekamore.su"> 134 <input type="url" name="site" class="input" value="{{ old('site') ?? $Employer[0]->site ?? '' }}" placeholder="https://rekamore.su">
138 @error('site') 135 @error('site')
139 <span class="text-xs text-red-600"> 136 <span class="text-xs text-red-600">
140 {{ $message }} 137 {{ $message }}
141 </span> 138 </span>
142 @enderror 139 @enderror
143 </div> 140 </div>
144 </div> 141 </div>
145 <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> 142 <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
146 <label class="form-group__label">О компании</label> 143 <label class="form-group__label">О компании</label>
147 <div class="form-group__item"> 144 <div class="form-group__item">
148 <textarea name="text" class="textarea" required>{{ old('text') ?? $Employer[0]->text ?? '' }}</textarea> 145 <textarea name="text" class="textarea" required>{{ old('text') ?? $Employer[0]->text ?? '' }}</textarea>
149 @error('text') 146 @error('text')
150 <span class="text-xs text-red-600"> 147 <span class="text-xs text-red-600">
151 {{ $message }} 148 {{ $message }}
152 </span> 149 </span>
153 @enderror 150 @enderror
154 </div> 151 </div>
155 </div> 152 </div>
156 </div> 153 </div>
157 </div><br> 154 </div><br>
158 <button type="submit" class="button cabinet__submit">Сохранить изменения</button> 155 <button type="submit" class="button cabinet__submit">Сохранить изменения</button>
159 </form> 156 </form>
160 157
161 <div class="cabinet__body-item"> 158 <div class="cabinet__body-item">
162 <div class="cabinet__descr"> 159 <div class="cabinet__descr">
163 <h2 class="title cabinet__title">Мой флот</h2> 160 <h2 class="title cabinet__title">Мой флот</h2>
164 </div> 161 </div>
165 162
166 <form action="{{ route('employer.save_add_flot') }}" method="POST" class="cabinet__add" enctype="multipart/form-data"> 163 <form action="{{ route('employer.save_add_flot') }}" method="POST" class="cabinet__add" enctype="multipart/form-data">
167 @csrf 164 @csrf
168 <label class="cabinet__add-pic" style="vertical-align: top"> 165 <label class="cabinet__add-pic" style="vertical-align: top">
169 <input type="file" name="image" id="image"> 166 <input type="file" name="image" id="image">
170 <input type="hidden" name="employer_id" id="employer_id" value="{{ $Employer[0]->id }}"/> 167 <input type="hidden" name="employer_id" id="employer_id" value="{{ $Employer[0]->id }}"/>
171 <svg> 168 <svg>
172 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 169 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
173 </svg> 170 </svg>
174 <span> 171 <span>
175 <svg> 172 <svg>
176 <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> 173 <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use>
177 </svg> 174 </svg>
178 Загрузить фото 175 Загрузить фото
179 </span> 176 </span>
180 </label> 177 </label>
181 178
182 <div class="cabinet__add-body"> 179 <div class="cabinet__add-body">
183 <div class="form-group"> 180 <div class="form-group">
184 <label class="form-group__label">Название корабля</label> 181 <label class="form-group__label">Название корабля</label>
185 <div class="form-group__item"> 182 <div class="form-group__item">
186 <input type="text" name="name" id="flot_name" class="input" placeholder="Корабль №000001" required> 183 <input type="text" name="name" id="flot_name" class="input" placeholder="Корабль №000001" required>
187 </div> 184 </div>
188 </div> 185 </div>
189 <div class="form-group"> 186 <div class="form-group">
190 <label class="form-group__label">Описание</label> 187 <label class="form-group__label">Описание</label>
191 <div class="form-group__item"> 188 <div class="form-group__item">
192 <input type="text" name="text" id="flot_text" class="input" placeholder="Это судно находится..." required> 189 <input type="text" name="text" id="flot_text" class="input" placeholder="Это судно находится..." required>
193 </div> 190 </div>
194 </div> 191 </div>
195 <div class="form-group"> 192 <div class="form-group">
196 <label class="form-group__label">Регион</label> 193 <label class="form-group__label">Регион</label>
197 <div class="form-group__item"> 194 <div class="form-group__item">
198 <input type="text" name="region" id="region" class="input" placeholder="Мурманск" required> 195 <input type="text" name="region" id="region" class="input" placeholder="Мурманск" required>
199 </div> 196 </div>
200 </div> 197 </div>
201 <div class="form-group"> 198 <div class="form-group">
202 <label class="form-group__label">Мощность</label> 199 <label class="form-group__label">Мощность</label>
203 <div class="form-group__item"> 200 <div class="form-group__item">
204 <input type="text" name="power" id="flot_power" class="input" placeholder="Dw 40000 9000Kw" required> 201 <input type="text" name="power" id="flot_power" class="input" placeholder="Dw 40000 9000Kw" required>
205 </div> 202 </div>
206 </div> 203 </div>
207 <button type="submit" class="button" id="ajax_flot" name="ajax_flot">Добавить флот</button> 204 <button type="submit" class="button" id="ajax_flot" name="ajax_flot">Добавить флот</button>
208 </div> 205 </div>
209 206
210 </form> 207 </form>
211 208
212 <div class="cabinet__fleet" id="ajax_flot_div" name="ajax_flot_div"> 209 <div class="cabinet__fleet" id="ajax_flot_div" name="ajax_flot_div">
213 @if (isset($Employer[0]->flots)) 210 @if (isset($Employer[0]->flots))
214 @if ($Employer[0]->flots->count()) 211 @if ($Employer[0]->flots->count())
215 @foreach ($Employer[0]->flots as $it) 212 @foreach ($Employer[0]->flots as $it)
216 <div class="cabinet__fleet-item main__employer-page-one-item"> 213 <div class="cabinet__fleet-item main__employer-page-one-item">
217 <div class="del die_black" data-test="{{ $it->id }}" data-link="{{ route('employer.delete_flot', ['Flot' => $it->id]) }}"> 214 <div class="del die_black" data-test="{{ $it->id }}" data-link="{{ route('employer.delete_flot', ['Flot' => $it->id]) }}">
218 <svg> 215 <svg>
219 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> 216 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use>
220 </svg> 217 </svg>
221 </div> 218 </div>
222 @if (!empty($it->image)) 219 @if (!empty($it->image))
223 <img src="{{ asset(Storage::url($it->image)) }}" alt="{{ $it->name }}"> 220 <img src="{{ asset(Storage::url($it->image)) }}" alt="{{ $it->name }}">
224 @else 221 @else
225 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $it->name }}"/> 222 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $it->name }}"/>
226 @endif 223 @endif
227 <b>{{ $it->name }}</b> 224 <b>{{ $it->name }}</b>
228 <span>{{ $it->text }}</span> 225 <span>{{ $it->text }}</span>
229 </div> 226 </div>
230 @endforeach 227 @endforeach
231 @endif 228 @endif
232 @endif 229 @endif
233 </div> 230 </div>
234 </div> 231 </div>
235 </div> 232 </div>
236 </div> 233 </div>
237 </div> 234 </div>
238 </section> 235 </section>
239 </div> <!-- END TOP WRAPPER --> 236 </div> <!-- END TOP WRAPPER -->
240 @endsection 237 @endsection
241 238
resources/views/employers/faq.blade.php
1 @extends('layout.frontend', ['title' => 'FAQ Вопросы и ответы - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'FAQ Вопросы и ответы - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 </script> 47 </script>
49 @endsection 48 @endsection
50 49
51 @section('content') 50 @section('content')
52 <section class="cabinet"> 51 <section class="cabinet">
53 <div class="container"> 52 <div class="container">
54 <ul class="breadcrumbs cabinet__breadcrumbs"> 53 <ul class="breadcrumbs cabinet__breadcrumbs">
55 <li><a href="{{ route('index') }}">Главная</a></li> 54 <li><a href="{{ route('index') }}">Главная</a></li>
56 <li><b>Личный кабинет</b></li> 55 <li><b>Личный кабинет</b></li>
57 </ul> 56 </ul>
58 <div class="cabinet__wrapper"> 57 <div class="cabinet__wrapper">
59 <div class="cabinet__side"> 58 <div class="cabinet__side">
60 <div class="cabinet__side-toper"> 59 <div class="cabinet__side-toper">
61 @include('employers.emblema') 60 @include('employers.emblema')
62 </div> 61 </div>
63 62
64 @include('employers.menu', ['item' => 10]) 63 @include('employers.menu', ['item' => 10])
65 64
66 </div> 65 </div>
67 66
68 67
69 <div class="cabinet__body"> 68 <div class="cabinet__body">
70 <div class="cabinet__body-item"> 69 <div class="cabinet__body-item">
71 <h2 class="title cabinet__title">FAQ - Инструкция по размещению вакансии</h2> 70 <h2 class="title cabinet__title">FAQ - Инструкция по размещению вакансии</h2>
72 </div> 71 </div>
73 <div class="cabinet__body-item"> 72 <div class="cabinet__body-item">
74 <div class="cabinet__tabs"> 73 <div class="cabinet__tabs">
75 <button type="button" class="button button_light active" data-tab="1">Работодателю</button> 74 <button type="button" class="button button_light active" data-tab="1">Работодателю</button>
76 <button type="button" class="button button_light" data-tab="2">Работнику</button> 75 <button type="button" class="button button_light" data-tab="2">Работнику</button>
77 </div> 76 </div>
78 <div class="cabinet__bodies showed" data-body="1"> 77 <div class="cabinet__bodies showed" data-body="1">
79 <div class="faqs"> 78 <div class="faqs">
80 <!--<button type="button" class="faqs__button js-toggle js-parent-toggle button button_light button_more"> 79 <!--<button type="button" class="faqs__button js-toggle js-parent-toggle button button_light button_more">
81 <span>Показать ещё</span> 80 <span>Показать ещё</span>
82 <span>Свернуть</span> 81 <span>Свернуть</span>
83 </button>--> 82 </button>-->
84 <div class="faqs__body"> 83 <div class="faqs__body">
85 <div class="faqs__item"> 84 <div class="faqs__item">
86 <button type="button" class="faqs__item-button js-toggle active"> 85 <button type="button" class="faqs__item-button js-toggle active">
87 <span>Инструкция 1 для работодателя</span> 86 <span>Инструкция 1 для работодателя</span>
88 <i> 87 <i>
89 <svg> 88 <svg>
90 <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> 89 <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use>
91 </svg> 90 </svg>
92 </i> 91 </i>
93 </button> 92 </button>
94 <div class="faqs__item-body"> 93 <div class="faqs__item-body">
95 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 94 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
96 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 95 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
97 </div> 96 </div>
98 </div> 97 </div>
99 <div class="faqs__item"> 98 <div class="faqs__item">
100 <button type="button" class="faqs__item-button js-toggle"> 99 <button type="button" class="faqs__item-button js-toggle">
101 <span>Инструкция 2 для работодателя</span> 100 <span>Инструкция 2 для работодателя</span>
102 <i> 101 <i>
103 <svg> 102 <svg>
104 <use xlink:href="images/sprite.svg#arrow"></use> 103 <use xlink:href="images/sprite.svg#arrow"></use>
105 </svg> 104 </svg>
106 </i> 105 </i>
107 </button> 106 </button>
108 <div class="faqs__item-body"> 107 <div class="faqs__item-body">
109 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 108 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
110 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 109 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
111 </div> 110 </div>
112 </div> 111 </div>
113 <div class="faqs__item"> 112 <div class="faqs__item">
114 <button type="button" class="faqs__item-button js-toggle"> 113 <button type="button" class="faqs__item-button js-toggle">
115 <span>Вопрос 3</span> 114 <span>Вопрос 3</span>
116 <i> 115 <i>
117 <svg> 116 <svg>
118 <use xlink:href="images/sprite.svg#arrow"></use> 117 <use xlink:href="images/sprite.svg#arrow"></use>
119 </svg> 118 </svg>
120 </i> 119 </i>
121 </button> 120 </button>
122 <div class="faqs__item-body"> 121 <div class="faqs__item-body">
123 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 122 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
124 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 123 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
125 </div> 124 </div>
126 </div> 125 </div>
127 <div class="faqs__item"> 126 <div class="faqs__item">
128 <button type="button" class="faqs__item-button js-toggle"> 127 <button type="button" class="faqs__item-button js-toggle">
129 <span>Вопрос 4</span> 128 <span>Вопрос 4</span>
130 <i> 129 <i>
131 <svg> 130 <svg>
132 <use xlink:href="images/sprite.svg#arrow"></use> 131 <use xlink:href="images/sprite.svg#arrow"></use>
133 </svg> 132 </svg>
134 </i> 133 </i>
135 </button> 134 </button>
136 <div class="faqs__item-body"> 135 <div class="faqs__item-body">
137 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 136 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
138 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 137 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
139 </div> 138 </div>
140 </div> 139 </div>
141 <div class="faqs__item"> 140 <div class="faqs__item">
142 <button type="button" class="faqs__item-button js-toggle"> 141 <button type="button" class="faqs__item-button js-toggle">
143 <span>Вопрос 5</span> 142 <span>Вопрос 5</span>
144 <i> 143 <i>
145 <svg> 144 <svg>
146 <use xlink:href="images/sprite.svg#arrow"></use> 145 <use xlink:href="images/sprite.svg#arrow"></use>
147 </svg> 146 </svg>
148 </i> 147 </i>
149 </button> 148 </button>
150 <div class="faqs__item-body"> 149 <div class="faqs__item-body">
151 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 150 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
152 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 151 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
153 </div> 152 </div>
154 </div> 153 </div>
155 <div class="faqs__item"> 154 <div class="faqs__item">
156 <button type="button" class="faqs__item-button js-toggle"> 155 <button type="button" class="faqs__item-button js-toggle">
157 <span>Вопрос 6</span> 156 <span>Вопрос 6</span>
158 <i> 157 <i>
159 <svg> 158 <svg>
160 <use xlink:href="images/sprite.svg#arrow"></use> 159 <use xlink:href="images/sprite.svg#arrow"></use>
161 </svg> 160 </svg>
162 </i> 161 </i>
163 </button> 162 </button>
164 <div class="faqs__item-body"> 163 <div class="faqs__item-body">
165 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 164 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
166 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 165 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
167 </div> 166 </div>
168 </div> 167 </div>
169 <div class="faqs__item"> 168 <div class="faqs__item">
170 <button type="button" class="faqs__item-button js-toggle"> 169 <button type="button" class="faqs__item-button js-toggle">
171 <span>Вопрос 7</span> 170 <span>Вопрос 7</span>
172 <i> 171 <i>
173 <svg> 172 <svg>
174 <use xlink:href="images/sprite.svg#arrow"></use> 173 <use xlink:href="images/sprite.svg#arrow"></use>
175 </svg> 174 </svg>
176 </i> 175 </i>
177 </button> 176 </button>
178 <div class="faqs__item-body"> 177 <div class="faqs__item-body">
179 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 178 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
180 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 179 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
181 </div> 180 </div>
182 </div> 181 </div>
183 <div class="faqs__item"> 182 <div class="faqs__item">
184 <button type="button" class="faqs__item-button js-toggle"> 183 <button type="button" class="faqs__item-button js-toggle">
185 <span>Вопрос 8</span> 184 <span>Вопрос 8</span>
186 <i> 185 <i>
187 <svg> 186 <svg>
188 <use xlink:href="images/sprite.svg#arrow"></use> 187 <use xlink:href="images/sprite.svg#arrow"></use>
189 </svg> 188 </svg>
190 </i> 189 </i>
191 </button> 190 </button>
192 <div class="faqs__item-body"> 191 <div class="faqs__item-body">
193 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 192 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
194 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 193 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
195 </div> 194 </div>
196 </div> 195 </div>
197 <div class="faqs__item"> 196 <div class="faqs__item">
198 <button type="button" class="faqs__item-button js-toggle"> 197 <button type="button" class="faqs__item-button js-toggle">
199 <span>Вопрос 9</span> 198 <span>Вопрос 9</span>
200 <i> 199 <i>
201 <svg> 200 <svg>
202 <use xlink:href="images/sprite.svg#arrow"></use> 201 <use xlink:href="images/sprite.svg#arrow"></use>
203 </svg> 202 </svg>
204 </i> 203 </i>
205 </button> 204 </button>
206 <div class="faqs__item-body"> 205 <div class="faqs__item-body">
207 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 206 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
208 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 207 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
209 </div> 208 </div>
210 </div> 209 </div>
211 <div class="faqs__item"> 210 <div class="faqs__item">
212 <button type="button" class="faqs__item-button js-toggle"> 211 <button type="button" class="faqs__item-button js-toggle">
213 <span>Вопрос 10</span> 212 <span>Вопрос 10</span>
214 <i> 213 <i>
215 <svg> 214 <svg>
216 <use xlink:href="images/sprite.svg#arrow"></use> 215 <use xlink:href="images/sprite.svg#arrow"></use>
217 </svg> 216 </svg>
218 </i> 217 </i>
219 </button> 218 </button>
220 <div class="faqs__item-body"> 219 <div class="faqs__item-body">
221 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 220 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
222 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 221 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
223 </div> 222 </div>
224 </div> 223 </div>
225 </div> 224 </div>
226 </div> 225 </div>
227 </div> 226 </div>
228 <div class="cabinet__bodies" data-body="2"> 227 <div class="cabinet__bodies" data-body="2">
229 <div class="faqs"> 228 <div class="faqs">
230 <!--<button type="button" class="faqs__button js-toggle js-parent-toggle button button_light button_more"> 229 <!--<button type="button" class="faqs__button js-toggle js-parent-toggle button button_light button_more">
231 <span>Показать ещё</span> 230 <span>Показать ещё</span>
232 <span>Свернуть</span> 231 <span>Свернуть</span>
233 </button>--> 232 </button>-->
234 <div class="faqs__body"> 233 <div class="faqs__body">
235 <div class="faqs__item"> 234 <div class="faqs__item">
236 <button type="button" class="faqs__item-button js-toggle active"> 235 <button type="button" class="faqs__item-button js-toggle active">
237 <span>Инструкция для соискателя 1</span> 236 <span>Инструкция для соискателя 1</span>
238 <i> 237 <i>
239 <svg> 238 <svg>
240 <use xlink:href="images/sprite.svg#arrow"></use> 239 <use xlink:href="images/sprite.svg#arrow"></use>
241 </svg> 240 </svg>
242 </i> 241 </i>
243 </button> 242 </button>
244 <div class="faqs__item-body"> 243 <div class="faqs__item-body">
245 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 244 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
246 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 245 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
247 </div> 246 </div>
248 </div> 247 </div>
249 <div class="faqs__item"> 248 <div class="faqs__item">
250 <button type="button" class="faqs__item-button js-toggle"> 249 <button type="button" class="faqs__item-button js-toggle">
251 <span>Вопрос 2</span> 250 <span>Вопрос 2</span>
252 <i> 251 <i>
253 <svg> 252 <svg>
254 <use xlink:href="images/sprite.svg#arrow"></use> 253 <use xlink:href="images/sprite.svg#arrow"></use>
255 </svg> 254 </svg>
256 </i> 255 </i>
257 </button> 256 </button>
258 <div class="faqs__item-body"> 257 <div class="faqs__item-body">
259 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 258 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
260 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 259 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
261 </div> 260 </div>
262 </div> 261 </div>
263 <div class="faqs__item"> 262 <div class="faqs__item">
264 <button type="button" class="faqs__item-button js-toggle"> 263 <button type="button" class="faqs__item-button js-toggle">
265 <span>Вопрос 2</span> 264 <span>Вопрос 2</span>
266 <i> 265 <i>
267 <svg> 266 <svg>
268 <use xlink:href="images/sprite.svg#arrow"></use> 267 <use xlink:href="images/sprite.svg#arrow"></use>
269 </svg> 268 </svg>
270 </i> 269 </i>
271 </button> 270 </button>
272 <div class="faqs__item-body"> 271 <div class="faqs__item-body">
273 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 272 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
274 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 273 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
275 </div> 274 </div>
276 </div> 275 </div>
277 <div class="faqs__item"> 276 <div class="faqs__item">
278 <button type="button" class="faqs__item-button js-toggle"> 277 <button type="button" class="faqs__item-button js-toggle">
279 <span>Вопрос 2</span> 278 <span>Вопрос 2</span>
280 <i> 279 <i>
281 <svg> 280 <svg>
282 <use xlink:href="images/sprite.svg#arrow"></use> 281 <use xlink:href="images/sprite.svg#arrow"></use>
283 </svg> 282 </svg>
284 </i> 283 </i>
285 </button> 284 </button>
286 <div class="faqs__item-body"> 285 <div class="faqs__item-body">
287 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 286 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
288 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 287 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
289 </div> 288 </div>
290 </div> 289 </div>
291 <div class="faqs__item"> 290 <div class="faqs__item">
292 <button type="button" class="faqs__item-button js-toggle"> 291 <button type="button" class="faqs__item-button js-toggle">
293 <span>Вопрос 2</span> 292 <span>Вопрос 2</span>
294 <i> 293 <i>
295 <svg> 294 <svg>
296 <use xlink:href="images/sprite.svg#arrow"></use> 295 <use xlink:href="images/sprite.svg#arrow"></use>
297 </svg> 296 </svg>
298 </i> 297 </i>
299 </button> 298 </button>
300 <div class="faqs__item-body"> 299 <div class="faqs__item-body">
301 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 300 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
302 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 301 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
303 </div> 302 </div>
304 </div> 303 </div>
305 <div class="faqs__item"> 304 <div class="faqs__item">
306 <button type="button" class="faqs__item-button js-toggle"> 305 <button type="button" class="faqs__item-button js-toggle">
307 <span>Вопрос 2</span> 306 <span>Вопрос 2</span>
308 <i> 307 <i>
309 <svg> 308 <svg>
310 <use xlink:href="images/sprite.svg#arrow"></use> 309 <use xlink:href="images/sprite.svg#arrow"></use>
311 </svg> 310 </svg>
312 </i> 311 </i>
313 </button> 312 </button>
314 <div class="faqs__item-body"> 313 <div class="faqs__item-body">
315 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 314 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
316 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 315 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
317 </div> 316 </div>
318 </div> 317 </div>
319 <div class="faqs__item"> 318 <div class="faqs__item">
320 <button type="button" class="faqs__item-button js-toggle"> 319 <button type="button" class="faqs__item-button js-toggle">
321 <span>Вопрос 2</span> 320 <span>Вопрос 2</span>
322 <i> 321 <i>
323 <svg> 322 <svg>
324 <use xlink:href="images/sprite.svg#arrow"></use> 323 <use xlink:href="images/sprite.svg#arrow"></use>
325 </svg> 324 </svg>
326 </i> 325 </i>
327 </button> 326 </button>
328 <div class="faqs__item-body"> 327 <div class="faqs__item-body">
329 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 328 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
330 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 329 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
331 </div> 330 </div>
332 </div> 331 </div>
333 <div class="faqs__item"> 332 <div class="faqs__item">
334 <button type="button" class="faqs__item-button js-toggle"> 333 <button type="button" class="faqs__item-button js-toggle">
335 <span>Вопрос 2</span> 334 <span>Вопрос 2</span>
336 <i> 335 <i>
337 <svg> 336 <svg>
338 <use xlink:href="images/sprite.svg#arrow"></use> 337 <use xlink:href="images/sprite.svg#arrow"></use>
339 </svg> 338 </svg>
340 </i> 339 </i>
341 </button> 340 </button>
342 <div class="faqs__item-body"> 341 <div class="faqs__item-body">
343 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 342 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
344 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 343 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
345 </div> 344 </div>
346 </div> 345 </div>
347 <div class="faqs__item"> 346 <div class="faqs__item">
348 <button type="button" class="faqs__item-button js-toggle"> 347 <button type="button" class="faqs__item-button js-toggle">
349 <span>Вопрос 2</span> 348 <span>Вопрос 2</span>
350 <i> 349 <i>
351 <svg> 350 <svg>
352 <use xlink:href="images/sprite.svg#arrow"></use> 351 <use xlink:href="images/sprite.svg#arrow"></use>
353 </svg> 352 </svg>
354 </i> 353 </i>
355 </button> 354 </button>
356 <div class="faqs__item-body"> 355 <div class="faqs__item-body">
357 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 356 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
358 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 357 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
359 </div> 358 </div>
360 </div> 359 </div>
361 <div class="faqs__item"> 360 <div class="faqs__item">
362 <button type="button" class="faqs__item-button js-toggle"> 361 <button type="button" class="faqs__item-button js-toggle">
363 <span>Вопрос 2</span> 362 <span>Вопрос 2</span>
364 <i> 363 <i>
365 <svg> 364 <svg>
366 <use xlink:href="images/sprite.svg#arrow"></use> 365 <use xlink:href="images/sprite.svg#arrow"></use>
367 </svg> 366 </svg>
368 </i> 367 </i>
369 </button> 368 </button>
370 <div class="faqs__item-body"> 369 <div class="faqs__item-body">
371 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p> 370 <p>Ясность нашей позиции очевидна: выбранный нами инновационный путь обеспечивает актуальность дальнейших направлений развития.</p>
372 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p> 371 <p>Высокий уровень вовлечения представителей целевой аудитории является четким доказательством простого факта: базовый вектор развития создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса позиций, занимаемых участниками в отношении поставленных задач.</p>
373 </div> 372 </div>
374 </div> 373 </div>
375 </div> 374 </div>
376 </div> 375 </div>
377 </div> 376 </div>
378 </div> 377 </div>
379 </div> 378 </div>
380 </div> 379 </div>
381 </div> 380 </div>
382 381
383 </section> 382 </section>
384 383
385 </div> 384 </div>
386 <div> 385 <div>
387 @endsection 386 @endsection
388 387
389 388
resources/views/employers/favorite.blade.php
1 @extends('layout.frontend', ['title' => 'Избраннные соискатели - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Избраннные соискатели - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 </script> 47 </script>
49 @include('js.favorite-worker') 48 @include('js.favorite-worker')
50 @endsection 49 @endsection
51 50
52 @section('content') 51 @section('content')
53 <section class="cabinet"> 52 <section class="cabinet">
54 <div class="container"> 53 <div class="container">
55 <ul class="breadcrumbs cabinet__breadcrumbs"> 54 <ul class="breadcrumbs cabinet__breadcrumbs">
56 <li><a href="{{ route('index') }}">Главная</a></li> 55 <li><a href="{{ route('index') }}">Главная</a></li>
57 <li><b>Личный кабинет</b></li> 56 <li><b>Личный кабинет</b></li>
58 </ul> 57 </ul>
59 <div class="cabinet__wrapper"> 58 <div class="cabinet__wrapper">
60 <div class="cabinet__side"> 59 <div class="cabinet__side">
61 <div class="cabinet__side-toper"> 60 <div class="cabinet__side-toper">
62 @include('employers.emblema') 61 @include('employers.emblema')
63 </div> 62 </div>
64 63
65 @include('employers.menu', ['item' => 6]) 64 @include('employers.menu', ['item' => 6])
66 65
67 </div> 66 </div>
68 67
69 <div class="cabinet__body"> 68 <div class="cabinet__body">
70 <div class="cabinet__body-item"> 69 <div class="cabinet__body-item">
71 <h2 class="title cabinet__title">Избранные кандидаты</h2> 70 <h2 class="title cabinet__title">Избранные кандидаты</h2>
72 </div> 71 </div>
73 <div class="cabinet__body-item"> 72 <div class="cabinet__body-item">
74 <div class="cabinet__filters"> 73 <div class="cabinet__filters">
75 <div class="cabinet__filters-item"> 74 <div class="cabinet__filters-item">
76 <form class="search" action="{{ route('employer.favorites') }}"> 75 <form class="search" action="{{ route('employer.favorites') }}">
77 <input type="search" name="search" id="search" class="input" placeholder="Поиск&hellip;" value="@if ((isset($_GET['search'])) && (!empty($_GET['search']))) {{ $_GET['search'] }} @endif"> 76 <input type="search" name="search" id="search" class="input" placeholder="Поиск&hellip;" value="@if ((isset($_GET['search'])) && (!empty($_GET['search']))) {{ $_GET['search'] }} @endif">
78 <button type="submit" class="button">Найти</button> 77 <button type="submit" class="button">Найти</button>
79 <span> 78 <span>
80 <svg> 79 <svg>
81 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 80 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
82 </svg> 81 </svg>
83 </span> 82 </span>
84 </form> 83 </form>
85 </div> 84 </div>
86 </div> 85 </div>
87 <div class="cvs"> 86 <div class="cvs">
88 @if ((isset($Workers) && ($Workers->count()))) 87 @if ((isset($Workers) && ($Workers->count())))
89 @foreach ($Workers as $it) 88 @foreach ($Workers as $it)
90 <div class="cvs__body"> 89 <div class="cvs__body">
91 <div class="cvs__item"> 90 <div class="cvs__item">
92 91
93 <div class="cvs__item-header"> 92 <div class="cvs__item-header">
94 <div class="cvs__item-photo"> 93 <div class="cvs__item-photo">
95 <svg> 94 <svg>
96 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 95 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
97 </svg> 96 </svg>
98 @if (!empty($it->photo)) 97 @if (!empty($it->photo))
99 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($it->photo)) }}" alt=""> 98 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($it->photo)) }}" alt="">
100 @else 99 @else
101 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 100 <img src="{{ asset('images/default_man.jpg') }}" alt="">
102 @endif 101 @endif
103 </div> 102 </div>
104 103
105 <div class="cvs__item-buttons"> 104 <div class="cvs__item-buttons">
106 <button type="button" id="elem_{{ $it->id }}" data-val="{{ $it->id }}" class="like cvs__item-like js_box_favorit js-toggle {{ \App\Classes\LikesClass::get_status_worker($it) }}"> 105 <button type="button" id="elem_{{ $it->id }}" data-val="{{ $it->id }}" class="like cvs__item-like js_box_favorit js-toggle {{ \App\Classes\LikesClass::get_status_worker($it) }}">
107 <svg class="mr-10"> 106 <svg class="mr-10">
108 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> 107 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
109 </svg> 108 </svg>
110 <span class="to-favorites">Добавить в избранное</span> 109 <span class="to-favorites">Добавить в избранное</span>
111 <span class="in-favorites">Убрать из избранного</span> 110 <span class="in-favorites">Убрать из избранного</span>
112 </button> 111 </button>
113 112
114 @guest 113 @guest
115 <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' 114 <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}'
116 class="chat"> 115 class="chat">
117 <svg class="mr-10"> 116 <svg class="mr-10">
118 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> 117 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use>
119 </svg> 118 </svg>
120 <span>Написать</span> 119 <span>Написать</span>
121 </button> 120 </button>
122 @else 121 @else
123 @if (App\Classes\StatusUser::Status()==0) 122 @if (App\Classes\StatusUser::Status()==0)
124 @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) 123 @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message))
125 <button type="button" class="chat" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ Auth()->user()->id }}" data-tuid="{{ $it->users->id }}" data-options='{"touch":false,"autoFocus":false}'> 124 <button type="button" class="chat" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ Auth()->user()->id }}" data-tuid="{{ $it->users->id }}" data-options='{"touch":false,"autoFocus":false}'>
126 <svg class="mr-10"> 125 <svg class="mr-10">
127 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> 126 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use>
128 </svg> 127 </svg>
129 <span>Написать</span> 128 <span>Написать</span>
130 </button> 129 </button>
131 @endif 130 @endif
132 @else 131 @else
133 <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}' 132 <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}'
134 class="chat"> 133 class="chat">
135 <svg class="mr-10"> 134 <svg class="mr-10">
136 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> 135 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use>
137 </svg> 136 </svg>
138 <span>Написать</span> 137 <span>Написать</span>
139 </button> 138 </button>
140 @endif 139 @endif
141 @endif 140 @endif
142 141
143 <a href="{{ route('resume_profile', ['worker' => $it->id]) }}" class="button">Подробнее</a> 142 <a href="{{ route('resume_profile', ['worker' => $it->id]) }}" class="button">Подробнее</a>
144 </div> 143 </div>
145 </div> 144 </div>
146 145
147 146
148 <div class="cvs__item-text"> 147 <div class="cvs__item-text">
149 <div class="cvs__item-text-row"> 148 <div class="cvs__item-text-row">
150 <div class="flex" style="align-items: start;"> 149 <div class="flex" style="align-items: start;">
151 <div class="cvs__item-text-status @if ($it->status_work == 0) looking-for-job @endif"> 150 <div class="cvs__item-text-status @if ($it->status_work == 0) looking-for-job @endif">
152 @php 151 @php
153 $worker_statuses = App\Enums\WorkerStatuses::getWorkerStatuses(); 152 $worker_statuses = App\Enums\WorkerStatuses::getWorkerStatuses();
154 @endphp 153 @endphp
155 {{ $worker_statuses[$it->status_work] }} 154 {{ $worker_statuses[$it->status_work] }}
156 </div> 155 </div>
157 <div class="cvs__item-text-updated-at"> 156 <div class="cvs__item-text-updated-at">
158 Обновлено: {{ date('d.m.Y', strtotime($it->updated_at)) }} 157 Обновлено: {{ date('d.m.Y', strtotime($it->updated_at)) }}
159 </div> 158 </div>
160 </div> 159 </div>
161 <div> 160 <div>
162 <b>Предпочтение по типу судна:</b> 161 <b>Предпочтение по типу судна:</b>
163 <div>{{ $it->boart_type_preference ?? '-' }}</div> 162 <div>{{ $it->boart_type_preference ?? '-' }}</div>
164 </div> 163 </div>
165 </div> 164 </div>
166 165
167 <div class="cvs__item-text-row"> 166 <div class="cvs__item-text-row">
168 <div> 167 <div>
169 <b>ФИО:</b> 168 <b>ФИО:</b>
170 <div>@if (isset($it->users)){{ $it->users->surname." ".$it->users->name_man." ".$it->users->surname2 }} @endif</div> 169 <div>@if (isset($it->users)){{ $it->users->surname." ".$it->users->name_man." ".$it->users->surname2 }} @endif</div>
171 </div> 170 </div>
172 <div> 171 <div>
173 <b>Наличие визы:</b> 172 <b>Наличие визы:</b>
174 <div>{{ $it->visa_available ?? '-' }}</div> 173 <div>{{ $it->visa_available ?? '-' }}</div>
175 </div> 174 </div>
176 </div> 175 </div>
177 176
178 <div class="cvs__item-text-row"> 177 <div class="cvs__item-text-row">
179 <div> 178 <div>
180 <b>Возраст:</b> 179 <b>Возраст:</b>
181 <div>{{ $it->old_year ?? '-' }}</div> 180 <div>{{ $it->old_year ?? '-' }}</div>
182 </div> 181 </div>
183 <div> 182 <div>
184 <b>Наличие танкерных документов:</b> 183 <b>Наличие танкерных документов:</b>
185 <div>{{ $it->tanker_documents_available ?? '-' }}</div> 184 <div>{{ $it->tanker_documents_available ?? '-' }}</div>
186 </div> 185 </div>
187 </div> 186 </div>
188 187
189 <div class="cvs__item-text-row"> 188 <div class="cvs__item-text-row">
190 <div> 189 <div>
191 <b>Желаемые вакансии:</b> 190 <b>Желаемые вакансии:</b>
192 <div> 191 <div>
193 @if ($it->job_titles->count()) 192 @if ($it->job_titles->count())
194 @foreach ($it->job_titles as $job_title) 193 @foreach ($it->job_titles as $job_title)
195 {{ $job_title->name }} 194 {{ $job_title->name }}
196 @if (!$loop->last) / @endif 195 @if (!$loop->last) / @endif
197 @endforeach 196 @endforeach
198 @else 197 @else
199 - 198 -
200 @endif 199 @endif
201 </div> 200 </div>
202 </div> 201 </div>
203 <div> 202 <div>
204 <b>Наличие подтверждения для работы на ВВП:</b> 203 <b>Наличие подтверждения для работы на ВВП:</b>
205 <div>{{ $it->confirmation_work_for_vvp ?? '-' }}</div> 204 <div>{{ $it->confirmation_work_for_vvp ?? '-' }}</div>
206 </div> 205 </div>
207 </div> 206 </div>
208 207
209 <div class="cvs__item-text-row"> 208 <div class="cvs__item-text-row">
210 <div> 209 <div>
211 <b>Пожелание к З/П:</b> 210 <b>Пожелание к З/П:</b>
212 <div>{{ $it->salary_expectations ?? '-' }}</div> 211 <div>{{ $it->salary_expectations ?? '-' }}</div>
213 </div> 212 </div>
214 <div> 213 <div>
215 <b>Город проживания</b> 214 <b>Город проживания</b>
216 <div>{{ $it->city ?? "-" }}</div> 215 <div>{{ $it->city ?? "-" }}</div>
217 </div> 216 </div>
218 </div> 217 </div>
219 218
220 <div class="cvs__item-text-row"> 219 <div class="cvs__item-text-row">
221 <div> 220 <div>
222 <b>Уровень английского:</b> 221 <b>Уровень английского:</b>
223 <div>{{ $it->english_level ?? '-' }}</div> 222 <div>{{ $it->english_level ?? '-' }}</div>
224 </div> 223 </div>
225 <div> 224 <div>
226 <b>Телефон:</b> 225 <b>Телефон:</b>
227 <div><a href="tel:{{ $it->telephone }}">{{ $it->telephone ?? '-' }}</a></div> 226 <div><a href="tel:{{ $it->telephone }}">{{ $it->telephone ?? '-' }}</a></div>
228 </div> 227 </div>
229 </div> 228 </div>
230 229
231 <div class="cvs__item-text-row"> 230 <div class="cvs__item-text-row">
232 <div> 231 <div>
233 <b>Дата готовности к посадке:</b> 232 <b>Дата готовности к посадке:</b>
234 <div>{{ $it->ready_boart_date ?? '-' }}</div> 233 <div>{{ $it->ready_boart_date ?? '-' }}</div>
235 </div> 234 </div>
236 <div> 235 <div>
237 <b>E-mail:</b> 236 <b>E-mail:</b>
238 <div><a href="mailto:{{ $it->email }}">{{ $it->email }}</a></div> 237 <div><a href="mailto:{{ $it->email }}">{{ $it->email }}</a></div>
239 </div> 238 </div>
240 </div> 239 </div>
241 </div> 240 </div>
242 </div> 241 </div>
243 </div> 242 </div>
244 @endforeach 243 @endforeach
245 </div> 244 </div>
246 @else 245 @else
247 <div class="notify"> 246 <div class="notify">
248 <svg> 247 <svg>
249 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> 248 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use>
250 </svg> 249 </svg>
251 <span>Нет избранных кандидатов</span> 250 <span>Нет избранных кандидатов</span>
252 </div> 251 </div>
253 @endif 252 @endif
254 </div> 253 </div>
255 </div> 254 </div>
256 </div> 255 </div>
257 </div> 256 </div>
258 257
259 </section> 258 </section>
260 </div> 259 </div>
261 @endsection 260 @endsection
262 261
resources/views/employers/list_answer.blade.php
1 @extends('layout.frontend', ['title' => 'Список откликов на вакансии - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Список откликов на вакансии - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 </script> 47 </script>
49 @endsection 48 @endsection
50 49
51 @section('content') 50 @section('content')
52 <section class="cabinet"> 51 <section class="cabinet">
53 <div class="container"> 52 <div class="container">
54 <ul class="breadcrumbs cabinet__breadcrumbs"> 53 <ul class="breadcrumbs cabinet__breadcrumbs">
55 <li><a href="{{ route('index') }}">Главная</a></li> 54 <li><a href="{{ route('index') }}">Главная</a></li>
56 <li><b>Личный кабинет</b></li> 55 <li><b>Личный кабинет</b></li>
57 </ul> 56 </ul>
58 <div class="cabinet__wrapper"> 57 <div class="cabinet__wrapper">
59 <div class="cabinet__side"> 58 <div class="cabinet__side">
60 <div class="cabinet__side-toper"> 59 <div class="cabinet__side-toper">
61 60
62 @include('employers.emblema') 61 @include('employers.emblema')
63 62
64 </div> 63 </div>
65 64
66 @include('employers.menu', ['item' => 4]) 65 @include('employers.menu', ['item' => 4])
67 </div> 66 </div>
68 <div class="cabinet__body"> 67 <div class="cabinet__body">
69 <div class="cabinet__body-item"> 68 <div class="cabinet__body-item">
70 <h2 class="title cabinet__title">Отклики на вакансию</h2> 69 <h2 class="title cabinet__title">Отклики на вакансию</h2>
71 </div> 70 </div>
72 <div class="cabinet__body-item"> 71 <div class="cabinet__body-item">
73 <div class="cabinet__filters"> 72 <div class="cabinet__filters">
74 <div class="cabinet__filters-item"> 73 <div class="cabinet__filters-item">
75 <form class="search" action="{{ route('employer.answers', ['employer' => $employer->id]) }}" method="GET"> 74 <form class="search" action="{{ route('employer.answers', ['employer' => $employer->id]) }}" method="GET">
76 <input type="search" class="input" name="search" id="search" placeholder="Поиск&hellip;" value="@isset($_GET['search']) {{ $_GET['search'] }} @endisset"> 75 <input type="search" class="input" name="search" id="search" placeholder="Поиск&hellip;" value="@isset($_GET['search']) {{ $_GET['search'] }} @endisset">
77 <button type="submit" class="button">Найти</button> 76 <button type="submit" class="button">Найти</button>
78 <span> 77 <span>
79 <svg> 78 <svg>
80 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 79 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
81 </svg> 80 </svg>
82 </span> 81 </span>
83 </form> 82 </form>
84 </div> 83 </div>
85 <div class="cabinet__filters-item"> 84 <div class="cabinet__filters-item">
86 <div class="select"> 85 <div class="select">
87 <select class="js-select2" id="sort_ajax" name="sort_ajax"> 86 <select class="js-select2" id="sort_ajax" name="sort_ajax">
88 <option value="default">Сортировка (по умолчанию)</option> 87 <option value="default">Сортировка (по умолчанию)</option>
89 <option value="name (asc)">По имени (возрастание)</option> 88 <option value="name (asc)">По имени (возрастание)</option>
90 <option value="name (desc)">По имени (убывание)</option> 89 <option value="name (desc)">По имени (убывание)</option>
91 <option value="created_at (asc)">По дате (возрастание)</option> 90 <option value="created_at (asc)">По дате (возрастание)</option>
92 <option value="created_at (desc)">По дате (убывание)</option> 91 <option value="created_at (desc)">По дате (убывание)</option>
93 </select> 92 </select>
94 </div> 93 </div>
95 <!--<div class="select"> 94 <!--<div class="select">
96 <select class="js-select2"> 95 <select class="js-select2">
97 <option>Фильтр по вакансиям</option> 96 <option>Фильтр по вакансиям</option>
98 <option>Вариант 1</option> 97 <option>Вариант 1</option>
99 <option>Вариант 2</option> 98 <option>Вариант 2</option>
100 <option>Вариант 3</option> 99 <option>Вариант 3</option>
101 </select> 100 </select>
102 </div>--> 101 </div>-->
103 </div> 102 </div>
104 </div> 103 </div>
105 <div class="responses"> 104 <div class="responses">
106 <!--<button type="button" class="messages__button js-toggle js-parent-toggle button button_light button_more"> 105 <!--<button type="button" class="messages__button js-toggle js-parent-toggle button button_light button_more">
107 <span>Показать ещё</span> 106 <span>Показать ещё</span>
108 <span>Скрыть</span> 107 <span>Скрыть</span>
109 </button>--> 108 </button>-->
110 <div class="responses__body"> 109 <div class="responses__body">
111 @if ($answer->count()) 110 @if ($answer->count())
112 @foreach ($answer as $it) 111 @foreach ($answer as $it)
113 @if ($it->response->count()) 112 @if ($it->response->count())
114 @foreach($it->response as $el) 113 @foreach($it->response as $el)
115 <div class="responses__item"> 114 <div class="responses__item">
116 <div class="responses__item-date">{{ $el->created_at }}</div> 115 <div class="responses__item-date">{{ $el->created_at }}</div>
117 <div class="responses__item-wrapper"> 116 <div class="responses__item-wrapper">
118 <div class="responses__item-inner"> 117 <div class="responses__item-inner">
119 <div class="responses__item-row"> 118 <div class="responses__item-row">
120 <span>Название вакансии</span> 119 <span>Название вакансии</span>
121 {{ $it->name }} 120 {{ $it->name }}
122 </div> 121 </div>
123 <div class="responses__item-row"> 122 <div class="responses__item-row">
124 <span>Имя кандидата</span> 123 <span>Имя кандидата</span>
125 @if (isset($el->message->user_from->name)) 124 @if (isset($el->message->user_from->name))
126 {{ $el->message->user_from->name }} 125 {{ $el->message->user_from->name }}
127 @else 126 @else
128 Удален пользователь 127 Удален пользователь
129 @endif 128 @endif
130 </div> 129 </div>
131 <div class="responses__item-row"> 130 <div class="responses__item-row">
132 <span>Статус</span> 131 <span>Статус</span>
133 @if ($el->flag == 1) 132 @if ($el->flag == 1)
134 Новое 133 Новое
135 @elseif ($el->flag == 2) 134 @elseif ($el->flag == 2)
136 Отклонить 135 Отклонить
137 @elseif ($el->flag == 3) 136 @elseif ($el->flag == 3)
138 Удержать 137 Удержать
139 @elseif ($el->flag ==4) 138 @elseif ($el->flag ==4)
140 Удалено 139 Удалено
141 @endif 140 @endif
142 </div> 141 </div>
143 </div> 142 </div>
144 <div class="responses__item-buttons"> 143 <div class="responses__item-buttons">
145 <a href="{{ route('employer.status_msg', ['employer' => $employer->id,'ad_response' => $el->id, 'flag' => 1]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle supple-btn @if ($el->flag == 1) active @endif"> 144 <a href="{{ route('employer.status_msg', ['employer' => $employer->id,'ad_response' => $el->id, 'flag' => 1]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle supple-btn @if ($el->flag == 1) active @endif">
146 <svg> 145 <svg>
147 <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> 146 <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use>
148 </svg> 147 </svg>
149 Принят 148 Принят
150 </a> 149 </a>
151 <a href="{{ route('employer.status_msg', ['employer' => $employer->id, 'ad_response' => $el->id, 'flag' => 2]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle cancel-btn @if ($el->flag == 2) active @endif"> 150 <a href="{{ route('employer.status_msg', ['employer' => $employer->id, 'ad_response' => $el->id, 'flag' => 2]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle cancel-btn @if ($el->flag == 2) active @endif">
152 <svg> 151 <svg>
153 <use xlink:href="{{ asset('images/sprite.svg#cross') }}"></use> 152 <use xlink:href="{{ asset('images/sprite.svg#cross') }}"></use>
154 </svg> 153 </svg>
155 Отклонить 154 Отклонить
156 </a> 155 </a>
157 <a href="{{ route('employer.status_msg', ['employer' => $employer->id, 'ad_response' => $el->id, 'flag' => 3]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle time-btn @if ($el->flag == 3) active @endif"> 156 <a href="{{ route('employer.status_msg', ['employer' => $employer->id, 'ad_response' => $el->id, 'flag' => 3]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle time-btn @if ($el->flag == 3) active @endif">
158 <svg> 157 <svg>
159 <use xlink:href="{{ asset('images/sprite.svg#time') }}"></use> 158 <use xlink:href="{{ asset('images/sprite.svg#time') }}"></use>
160 </svg> 159 </svg>
161 Удержать 160 Удержать
162 </a> 161 </a>
163 <a href="{{ route('employer.status_msg', ['employer' => $employer->id, 'ad_response' => $el->id, 'flag' => 4]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle delete-btn @if ($el->flag == 4) active @endif"> 162 <a href="{{ route('employer.status_msg', ['employer' => $employer->id, 'ad_response' => $el->id, 'flag' => 4]) }}" data-it="{{ $el->id }}" class="button button_light js-toggle delete-btn @if ($el->flag == 4) active @endif">
164 <svg> 163 <svg>
165 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> 164 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use>
166 </svg> 165 </svg>
167 Удалить 166 Удалить
168 </a> 167 </a>
169 </div> 168 </div>
170 </div> 169 </div>
171 </div> 170 </div>
172 @endforeach 171 @endforeach
173 172
174 <!-- $it->response->appends($_GET)->links('paginate') --> 173 <!-- $it->response->appends($_GET)->links('paginate') -->
175 @endif 174 @endif
176 @endforeach 175 @endforeach
177 176
178 177
179 @else 178 @else
180 <div class="notify"> 179 <div class="notify">
181 <svg> 180 <svg>
182 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> 181 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use>
183 </svg> 182 </svg>
184 <span>Вам еще никто не написал сообщений</span> 183 <span>Вам еще никто не написал сообщений</span>
185 </div> 184 </div>
186 @endif 185 @endif
187 </div> 186 </div>
188 </div> 187 </div>
189 </div> 188 </div>
190 </div> 189 </div>
191 190
192 </div> 191 </div>
193 </div> 192 </div>
194 </section> 193 </section>
195 </div> 194 </div>
196 @endsection 195 @endsection
197 196
resources/views/employers/list_vacancy.blade.php
1 @extends('layout.frontend', ['title' => 'Список вакансий - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Список вакансий - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ url()->current() }}", 12 url: "{{ url()->current() }}",
14 data: "sort="+val_+"&search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif", 13 data: "sort="+val_+"&search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 history.pushState({}, '', "{{ route('employer.vacancy_list') }}?search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif"+"&sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 17 history.pushState({}, '', "{{ route('employer.vacancy_list') }}?search=@if ((isset($_GET['search']))&&(!empty($_GET['search']))){{$_GET['search']}}@endif"+"&sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
19 $('#main_ockar').html(data); 18 $('#main_ockar').html(data);
20 }, 19 },
21 headers: { 20 headers: {
22 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
23 }, 22 },
24 error: function (data) { 23 error: function (data) {
25 data = JSON.stringify(data); 24 data = JSON.stringify(data);
26 console.log('Error: ' + data); 25 console.log('Error: ' + data);
27 } 26 }
28 }); 27 });
29 }); 28 });
30 </script> 29 </script>
31 @endsection 30 @endsection
32 31
33 @section('content') 32 @section('content')
34 <section class="cabinet"> 33 <section class="cabinet">
35 <div class="container"> 34 <div class="container">
36 <ul class="breadcrumbs cabinet__breadcrumbs"> 35 <ul class="breadcrumbs cabinet__breadcrumbs">
37 <li><a href="{{ route('index') }}">Главная</a></li> 36 <li><a href="{{ route('index') }}">Главная</a></li>
38 <li><b>Личный кабинет</b></li> 37 <li><b>Личный кабинет</b></li>
39 </ul> 38 </ul>
40 <div class="cabinet__wrapper"> 39 <div class="cabinet__wrapper">
41 <div class="cabinet__side"> 40 <div class="cabinet__side">
42 <div class="cabinet__side-toper"> 41 <div class="cabinet__side-toper">
43 42
44 @include('employers.emblema') 43 @include('employers.emblema')
45 44
46 </div> 45 </div>
47 46
48 @include('employers.menu', ['item' => 3]) 47 @include('employers.menu', ['item' => 3])
49 </div> 48 </div>
50 <div class="cabinet__body"> 49 <div class="cabinet__body">
51 <div class="cabinet__body-item"> 50 <div class="cabinet__body-item">
52 <h2 class="title cabinet__title">Мои вакансии</h2> 51 <h2 class="title cabinet__title">Мои вакансии</h2>
53 </div> 52 </div>
54 <div class="cabinet__body-item"> 53 <div class="cabinet__body-item">
55 <div class="cabinet__filters"> 54 <div class="cabinet__filters">
56 <div class="cabinet__filters-item"> 55 <div class="cabinet__filters-item">
57 <form class="search" action="{{ url()->current() }}" method="GET"> 56 <form class="search" action="{{ url()->current() }}" method="GET">
58 <input type="search" name="search" class="input" placeholder="Поиск&hellip;" value="@if ((isset($_GET['search'])) && (!empty($_GET['search']))) {{ $_GET['search'] }}@endif"> 57 <input type="search" name="search" class="input" placeholder="Поиск&hellip;" value="@if ((isset($_GET['search'])) && (!empty($_GET['search']))) {{ $_GET['search'] }}@endif">
59 <button type="submit" class="button">Найти</button> 58 <button type="submit" class="button">Найти</button>
60 <span> 59 <span>
61 <svg> 60 <svg>
62 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 61 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
63 </svg> 62 </svg>
64 </span> 63 </span>
65 </form> 64 </form>
66 </div> 65 </div>
67 <div class="cabinet__filters-item"> 66 <div class="cabinet__filters-item">
68 <div class="select"> 67 <div class="select">
69 <select class="js-select2" id="sort_ajax" name="sort_ajax"> 68 <select class="js-select2" id="sort_ajax" name="sort_ajax">
70 <option value="default" @if (isset($_GET['sort']) && ($_GET['sort'] == 'default')) selected @endif>От новых к старым (по умолчанию)</option> 69 <option value="default" @if (isset($_GET['sort']) && ($_GET['sort'] == 'default')) selected @endif>От новых к старым (по умолчанию)</option>
71 <option value="public" @if (isset($_GET['sort']) && ($_GET['sort'] == 'public')) selected @endif>Опубликовано</option> 70 <option value="public" @if (isset($_GET['sort']) && ($_GET['sort'] == 'public')) selected @endif>Опубликовано</option>
72 <option value="nopublic" @if (isset($_GET['sort']) && ($_GET['sort'] == 'nopublic')) selected @endif>Не опубликовано</option> 71 <option value="nopublic" @if (isset($_GET['sort']) && ($_GET['sort'] == 'nopublic')) selected @endif>Не опубликовано</option>
73 <!--<option value="name_up">По имени (возрастание)</option> 72 <!--<option value="name_up">По имени (возрастание)</option>
74 <option value="name_down">По имени (убывание)</option> 73 <option value="name_down">По имени (убывание)</option>
75 <option value="created_at_up">По дате (возрастание)</option> 74 <option value="created_at_up">По дате (возрастание)</option>
76 <option value="created_at_down">По дате (убывание)</option>--> 75 <option value="created_at_down">По дате (убывание)</option>-->
77 </select> 76 </select>
78 </div> 77 </div>
79 </div> 78 </div>
80 </div> 79 </div>
81 80
82 <div class="table table_spoiler" id="main_ockar" name="main_oskar"> 81 <div class="table table_spoiler" id="main_ockar" name="main_oskar">
83 @if ($vacancy_list->count()) 82 @if ($vacancy_list->count())
84 <div class="table__scroll"> 83 <div class="table__scroll">
85 <div class="table__body table__body_min-width"> 84 <div class="table__body table__body_min-width">
86 <table> 85 <table>
87 <thead> 86 <thead>
88 <tr> 87 <tr>
89 <th>№</th> 88 <th>№</th>
90 <th>Название</th> 89 <th>Название</th>
91 <th>Дата добавления<br>/&nbsp;обновления</th> 90 <th>Дата добавления<br>/&nbsp;обновления</th>
92 <th style="display:none">Должности</th> 91 <th style="display:none">Должности</th>
93 <th>Статус</th> 92 <th>Статус</th>
94 <th>Действия</th> 93 <th>Действия</th>
95 </tr> 94 </tr>
96 </thead> 95 </thead>
97 <tbody> 96 <tbody>
98 @foreach($vacancy_list as $it) 97 @foreach($vacancy_list as $it)
99 <tr> 98 <tr>
100 <td>{{ $it->id }}</td> 99 <td>{{ $it->id }}</td>
101 <td>{{ $it->name }}</td> 100 <td>{{ $it->name }}</td>
102 <td>{{ date('d.m.Y', strtotime($it->created_at)) }} <br>/ {{ date('d.m.Y', strtotime($it->updated_at)) }}</td> 101 <td>{{ date('d.m.Y', strtotime($it->created_at)) }} <br>/ {{ date('d.m.Y', strtotime($it->updated_at)) }}</td>
103 <td style="display:none"> <a href="{{ route('employer.add_job_in_vac', ['ad_employer' => $it->id]) }}" class="button">Добавить</a> 102 <td style="display:none"> <a href="{{ route('employer.add_job_in_vac', ['ad_employer' => $it->id]) }}" class="button">Добавить</a>
104 103
105 @if ($it->jobs->count()) 104 @if ($it->jobs->count())
106 @foreach ($it->jobs as $key => $it_um) 105 @foreach ($it->jobs as $key => $it_um)
107 <p>@if (isset($it->jobs_code[$key])) 106 <p>@if (isset($it->jobs_code[$key]))
108 <a href="{{ route('employer.edit_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id, 'ad_employer' => $it->id, 'job_title_id' => $it_um->id]) }}" style="text-decoration: underline">{{$it_um->name}}</a> 107 <a href="{{ route('employer.edit_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id, 'ad_employer' => $it->id, 'job_title_id' => $it_um->id]) }}" style="text-decoration: underline">{{$it_um->name}}</a>
109 <a href="{{ route('employer.delete_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id]) }}" style="text-decoration: underline">(Del)</a> 108 <a href="{{ route('employer.delete_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id]) }}" style="text-decoration: underline">(Del)</a>
110 @endif 109 @endif
111 </p> 110 </p>
112 @endforeach 111 @endforeach
113 @else 112 @else
114 Нет связанных <br> с вакансией должностей 113 Нет связанных <br> с вакансией должностей
115 @endif 114 @endif
116 </td> 115 </td>
117 <td> 116 <td>
118 @if ($it->active_is) 117 @if ($it->active_is)
119 <span class="table__status green"><i></i>Опубликовано</span> 118 <span class="table__status green"><i></i>Опубликовано</span>
120 @else 119 @else
121 <span class="table__status"><i></i>Не опубликовано</span> 120 <span class="table__status"><i></i>Не опубликовано</span>
122 @endif 121 @endif
123 </td> 122 </td>
124 <td> 123 <td>
125 <span class="table__controls"> 124 <span class="table__controls">
126 <a class="table__controls-item up-it" href="{{ route('employer.vacancy_up', ['ad_employer' => $it->id]) }}"> 125 <a class="table__controls-item up-it" href="{{ route('employer.vacancy_up', ['ad_employer' => $it->id]) }}">
127 <svg> 126 <svg>
128 <use xlink:href="{{ asset('images/sprite.svg#arrow-radius') }}"></use> 127 <use xlink:href="{{ asset('images/sprite.svg#arrow-radius') }}"></use>
129 </svg> 128 </svg>
130 </a> 129 </a>
131 <a href="{{ route('employer.vacancy_edit', ['ad_employer' => $it->id]) }}" class="table__controls-item"> 130 <a href="{{ route('employer.vacancy_edit', ['ad_employer' => $it->id]) }}" class="table__controls-item">
132 <svg> 131 <svg>
133 <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> 132 <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use>
134 </svg> 133 </svg>
135 </a> 134 </a>
136 <a class="table__controls-item" href="{{ route('employer.vacancy_delete', ['ad_employer' => $it->id]) }}"> 135 <a class="table__controls-item" href="{{ route('employer.vacancy_delete', ['ad_employer' => $it->id]) }}">
137 <svg> 136 <svg>
138 <use xlink:href="{{ asset('images/sprite.svg#cross') }}"></use> 137 <use xlink:href="{{ asset('images/sprite.svg#cross') }}"></use>
139 </svg> 138 </svg>
140 </a> 139 </a>
141 @if ($it->active_is) 140 @if ($it->active_is)
142 <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 0]) }}" class="table__controls-item"> 141 <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 0]) }}" class="table__controls-item">
143 <svg> 142 <svg>
144 <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use> 143 <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use>
145 </svg> 144 </svg>
146 </a> 145 </a>
147 @else 146 @else
148 <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 1]) }}" class="table__controls-item"> 147 <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 1]) }}" class="table__controls-item">
149 <svg> 148 <svg>
150 <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> 149 <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use>
151 </svg> 150 </svg>
152 </a> 151 </a>
153 @endif 152 @endif
154 @if ($Employer->social_is == 1) 153 @if ($Employer->social_is == 1)
155 <a href="https://telegram.me/share/url?url={{ route('vacancie', ['vacancy' => $it->id]) }}&text={{ $it->text }}" class="table__controls-item"> 154 <a href="https://telegram.me/share/url?url={{ route('vacancie', ['vacancy' => $it->id]) }}&text={{ $it->text }}" class="table__controls-item">
156 <svg> 155 <svg>
157 <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use> 156 <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use>
158 </svg> 157 </svg>
159 </a> 158 </a>
160 @endif 159 @endif
161 <!--<a class="btn_telegram_share table__controls-item" href="https://telegram.me/share/url?url=ВАШ_URL&text={{ $it->name }}"> 160 <!--<a class="btn_telegram_share table__controls-item" href="https://telegram.me/share/url?url=ВАШ_URL&text={{ $it->name }}">
162 <svg> 161 <svg>
163 <use xlink:href=" asset('images/sprite.svg#arrow-radius') }}"></use> 162 <use xlink:href=" asset('images/sprite.svg#arrow-radius') }}"></use>
164 </svg> 163 </svg>
165 </a>--> 164 </a>-->
166 165
167 <!--<button type="button" class="table__controls-item"> 166 <!--<button type="button" class="table__controls-item">
168 <svg> 167 <svg>
169 <use xlink:href=" asset('images/sprite.svg#tg') }}"></use> 168 <use xlink:href=" asset('images/sprite.svg#tg') }}"></use>
170 </svg> 169 </svg>
171 </button> 170 </button>
172 --> 171 -->
173 </span> 172 </span>
174 </td> 173 </td>
175 </tr> 174 </tr>
176 @endforeach 175 @endforeach
177 </tbody> 176 </tbody>
178 </table> 177 </table>
179 </div><br> 178 </div><br>
180 {{ $vacancy_list->appends($_GET)->links('paginate') }} 179 {{ $vacancy_list->appends($_GET)->links('paginate') }}
181 </div> 180 </div>
182 181
183 182
184 @else 183 @else
185 184
186 <div class="notify"> 185 <div class="notify">
187 <svg> 186 <svg>
188 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> 187 <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use>
189 </svg> 188 </svg>
190 <span>Вы ещё не разместили ни одной вакансии</span> 189 <span>Вы ещё не разместили ни одной вакансии</span>
191 </div> 190 </div>
192 @endif 191 @endif
193 </div> 192 </div>
194 </div> 193 </div>
195 </div> 194 </div>
196 </div> 195 </div>
197 </div> 196 </div>
198 </section> 197 </section>
199 </div> 198 </div>
200 @endsection 199 @endsection
201 200
resources/views/employers/send_all_danger.blade.php
1 @extends('layout.frontend', ['title' => 'База данных - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'База данных - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('click', '.die_black', function() { 5 $(document).on('click', '.die_black', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var ajax_ = $('#ajax_flot_div'); 7 var ajax_ = $('#ajax_flot_div');
9 var id_ = this_.attr('data-test'); 8 var id_ = this_.attr('data-test');
10 var url_ = this_.attr('data-link'); 9 var url_ = this_.attr('data-link');
11 10
12 console.log(url_); 11 console.log(url_);
13 $.ajax({ 12 $.ajax({
14 type: "GET", 13 type: "GET",
15 url: url_, 14 url: url_,
16 success: function (data) { 15 success: function (data) {
17 console.log('Ответка'); 16 console.log('Ответка');
18 ajax_.html(data); 17 ajax_.html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 console.log('Error: ' + data); 23 console.log('Error: ' + data);
25 } 24 }
26 }); 25 });
27 }); 26 });
28 </script> 27 </script>
29 @endsection 28 @endsection
30 29
31 @section('content') 30 @section('content')
32 <section class="cabinet"> 31 <section class="cabinet">
33 <div class="container"> 32 <div class="container">
34 <ul class="breadcrumbs cabinet__breadcrumbs"> 33 <ul class="breadcrumbs cabinet__breadcrumbs">
35 <li><a href="{{ route('index') }}">Главная</a></li> 34 <li><a href="{{ route('index') }}">Главная</a></li>
36 <li><b>Личный кабинет</b></li> 35 <li><b>Личный кабинет</b></li>
37 </ul> 36 </ul>
38 <div class="cabinet__wrapper"> 37 <div class="cabinet__wrapper">
39 <div class="cabinet__side"> 38 <div class="cabinet__side">
40 <div class="cabinet__side-toper"> 39 <div class="cabinet__side-toper">
41 @include('employers.emblema') 40 @include('employers.emblema')
42 </div> 41 </div>
43 @include('employers.menu', ['item' => 8]) 42 @include('employers.menu', ['item' => 8])
44 </div> 43 </div>
45 <div class="cabinet__body"> 44 <div class="cabinet__body">
46 <div class="cabinet__body-item"> 45 <div class="cabinet__body-item">
47 <h2 class="title cabinet__title">Рассылка сообщений</h2> 46 <h2 class="title cabinet__title">Рассылка сообщений</h2>
48 </div> 47 </div>
49 <div class="cabinet__body-item"> 48 <div class="cabinet__body-item">
50 <div class="cabinet__table-header"> 49 <div class="cabinet__table-header">
51 <div><!--_if (isset($it->workers[0]->job_titles[0]->name)) _ $it->workers[0]->job_titles[0]->name }}_else Не указано _endif--> 50 <div><!--_if (isset($it->workers[0]->job_titles[0]->name)) _ $it->workers[0]->job_titles[0]->name }}_else Не указано _endif-->
52 Данные нельзя просмотреть, прочтите инструкцию 51 Данные нельзя просмотреть, прочтите инструкцию
53 <a style="text-decoration:underline" href="{{ route('page', ['pages' => 'Usloviya-razmescheniya']) }}">Условия размещения</a> 52 <a style="text-decoration:underline" href="{{ route('page', ['pages' => 'Usloviya-razmescheniya']) }}">Условия размещения</a>
54 </div> 53 </div>
55 </div> 54 </div>
56 </div> 55 </div>
57 </div> 56 </div>
58 </section> 57 </section>
59 </div> 58 </div>
60 @endsection 59 @endsection
61 60
resources/views/info_company.blade.php
1 @extends('layout.frontend', ['title' => 'Описание компании '.$title.'- РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Описание компании '.$title.'- РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 47
49 $(document).ready(function(){ 48 $(document).ready(function(){
50 var sel = $('#select2-sort_ajax-container'); 49 var sel = $('#select2-sort_ajax-container');
51 var key = getUrlParameter('sort'); 50 var key = getUrlParameter('sort');
52 51
53 if (key !=='') { 52 if (key !=='') {
54 console.log(key); 53 console.log(key);
55 switch (key) { 54 switch (key) {
56 case "default": sel.html('Сортировка (по умолчанию)'); break; 55 case "default": sel.html('Сортировка (по умолчанию)'); break;
57 case "name_up": sel.html('По имени (возрастание)'); break; 56 case "name_up": sel.html('По имени (возрастание)'); break;
58 case "name_down": sel.html('По дате (убывание)'); break; 57 case "name_down": sel.html('По дате (убывание)'); break;
59 case "created_at_up": sel.html('По дате (возрастание)'); break; 58 case "created_at_up": sel.html('По дате (возрастание)'); break;
60 case "created_at_down": sel.html('По дате (убывание)'); break; 59 case "created_at_down": sel.html('По дате (убывание)'); break;
61 } 60 }
62 61
63 } 62 }
64 }); 63 });
65 64
66 //end 65 //end
67 $(document).on('click', '.js_send_it_button', function() { 66 $(document).on('click', '.js_send_it_button', function() {
68 var this_ = $(this); 67 var this_ = $(this);
69 var code_user_id = this_.attr('data-uid'); 68 var code_user_id = this_.attr('data-uid');
70 var code_to_user_id = this_.attr('data-tuid'); 69 var code_to_user_id = this_.attr('data-tuid');
71 var code_vacancy = this_.attr('data-vacancy'); 70 var code_vacancy = this_.attr('data-vacancy');
72 var user_id = $('#send_user_id'); 71 var user_id = $('#send_user_id');
73 var to_user_id = $('#send_to_user_id'); 72 var to_user_id = $('#send_to_user_id');
74 var vacancy = $('#send_vacancy'); 73 var vacancy = $('#send_vacancy');
75 74
76 console.log('Клик на кнопки...'); 75 console.log('Клик на кнопки...');
77 76
78 user_id.val(code_user_id); 77 user_id.val(code_user_id);
79 to_user_id.val(code_to_user_id); 78 to_user_id.val(code_to_user_id);
80 vacancy.val(code_vacancy); 79 vacancy.val(code_vacancy);
81 }); 80 });
82 </script> 81 </script>
83 @endsection 82 @endsection
84 83
85 @section('content') 84 @section('content')
86 <section class="thing"> 85 <section class="thing">
87 <div class="container"> 86 <div class="container">
88 <div class="thing__body"> 87 <div class="thing__body">
89 <ul class="breadcrumbs thing__breadcrumbs"> 88 <ul class="breadcrumbs thing__breadcrumbs">
90 <li><a href="{{ route('index') }}">Главная</a></li> 89 <li><a href="{{ route('index') }}">Главная</a></li>
91 <li><a href="{{ route('shipping_companies') }}">Работодатели</a></li> 90 <li><a href="{{ route('shipping_companies') }}">Работодатели</a></li>
92 <li><b>@isset($title) {{ $title }} @else Не указано @endif</b></li> 91 <li><b>@isset($title) {{ $title }} @else Не указано @endif</b></li>
93 </ul> 92 </ul>
94 @if ($company[0]->oficial_status == 1) 93 @if ($company[0]->oficial_status == 1)
95 <div class="thing__badge"> 94 <div class="thing__badge">
96 <svg> 95 <svg>
97 <use xlink:href="{{ asset('images/sprite.svg#badge') }}"></use> 96 <use xlink:href="{{ asset('images/sprite.svg#badge') }}"></use>
98 </svg> 97 </svg>
99 Компания проверена 98 Компания проверена
100 </div> 99 </div>
101 @endif 100 @endif
102 101
103 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> 102 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $company[0]->name_company }}" class="thing__pic">
104 <h1 class="thing__title">{{ $company[0]->name_company }}</h1> 103 <h1 class="thing__title">{{ $company[0]->name_company }}</h1>
105 <p class="thing__text">{{ $company[0]->text }}</p> 104 <p class="thing__text">{{ $company[0]->text }}</p>
106 <div class="thing__buttons"> 105 <div class="thing__buttons">
107 <button type="button" class="button"> 106 <button type="button" class="button">
108 <svg> 107 <svg>
109 <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use> 108 <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use>
110 </svg> 109 </svg>
111 {{ $company[0]->ads->count() }} вакансии 110 {{ $company[0]->ads->count() }} вакансии
112 </button> 111 </button>
113 <a data-fancybox data-src="#send" data-vacancy="0" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button"> 112 <a data-fancybox data-src="#send" data-vacancy="0" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button">
114 Написать сообщение 113 Написать сообщение
115 </a> 114 </a>
116 </div> 115 </div>
117 </div> 116 </div>
118 </div> 117 </div>
119 </section> 118 </section>
120 <main class="main"> 119 <main class="main">
121 <div class="container"> 120 <div class="container">
122 <div class="main__employer-page"> 121 <div class="main__employer-page">
123 <h2 class="main__employer-page-title">О компании</h2> 122 <h2 class="main__employer-page-title">О компании</h2>
124 <div class="main__employer-page-info"> 123 <div class="main__employer-page-info">
125 <div class="main__employer-page-item"> 124 <div class="main__employer-page-item">
126 <b>Адрес компании</b> 125 <b>Адрес компании</b>
127 <span> 126 <span>
128 {{ $company[0]->address }} 127 {{ $company[0]->address }}
129 </span> 128 </span>
130 </div> 129 </div>
131 <div class="main__employer-page-item"> 130 <div class="main__employer-page-item">
132 <b>Сайт</b> 131 <b>Сайт</b>
133 <span> 132 <span>
134 <a href="{{ $company[0]->site }}">{{ $company[0]->site }}</a> 133 <a href="{{ $company[0]->site }}">{{ $company[0]->site }}</a>
135 </span> 134 </span>
136 </div> 135 </div>
137 <div class="main__employer-page-item"> 136 <div class="main__employer-page-item">
138 <b>Почта</b> 137 <b>Почта</b>
139 <span> 138 <span>
140 <a href="mailto:">{{ $company[0]->email }}</a> 139 <a href="mailto:">{{ $company[0]->email }}</a>
141 </span> 140 </span>
142 </div> 141 </div>
143 <div class="main__employer-page-item"> 142 <div class="main__employer-page-item">
144 <b>Телефон</b> 143 <b>Телефон</b>
145 <span> 144 <span>
146 <a href="tel:{{ $company[0]->telephone }}">{{ $company[0]->telephone }}</a> 145 <a href="tel:{{ $company[0]->telephone }}">{{ $company[0]->telephone }}</a>
147 </span> 146 </span>
148 </div> 147 </div>
149 </div> 148 </div>
150 <div class="main__employer-page-item"> 149 <div class="main__employer-page-item">
151 <b>Описание</b> 150 <b>Описание</b>
152 <span> 151 <span>
153 {{ $company[0]->text }} 152 {{ $company[0]->text }}
154 </span> 153 </span>
155 </div> 154 </div>
156 <div> 155 <div>
157 <div class="main__employer-page-tabs"> 156 <div class="main__employer-page-tabs">
158 <button type="button" class="main__employer-page-tabs-item active" 157 <button type="button" class="main__employer-page-tabs-item active"
159 data-tab="1">Флот</button> 158 data-tab="1">Флот</button>
160 <button type="button" class="main__employer-page-tabs-item" data-tab="2">Вакансии</button> 159 <button type="button" class="main__employer-page-tabs-item" data-tab="2">Вакансии</button>
161 </div> 160 </div>
162 <div class="main__employer-page-body"> 161 <div class="main__employer-page-body">
163 <div class="main__employer-page-body-item showed" data-body="1"> 162 <div class="main__employer-page-body-item showed" data-body="1">
164 <div class="main__employer-page-one"> 163 <div class="main__employer-page-one">
165 @if ($company[0]->flots->count()) 164 @if ($company[0]->flots->count())
166 @foreach ($company[0]->flots as $flot) 165 @foreach ($company[0]->flots as $flot)
167 <a href="" class="main__employer-page-one-item"> 166 <a href="" class="main__employer-page-one-item">
168 <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> 167 <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}">
169 <b>{{ $flot->region }}</b> 168 <b>{{ $flot->region }}</b>
170 <span>{{ $flot->power }}</span> 169 <span>{{ $flot->power }}</span>
171 </a> 170 </a>
172 @endforeach 171 @endforeach
173 @endif 172 @endif
174 </div> 173 </div>
175 </div> 174 </div>
176 175
177 <div class="main__employer-page-body-item" data-body="2"> 176 <div class="main__employer-page-body-item" data-body="2">
178 <div class="main__employer-page-two"> 177 <div class="main__employer-page-two">
179 @foreach ($company[0]->ads as $job) 178 @foreach ($company[0]->ads as $job)
180 @foreach ($job->ad_job as $item) 179 @foreach ($job->ad_job as $item)
181 <div class="main__employer-page-two-item"> 180 <div class="main__employer-page-two-item">
182 <div class="main__employer-page-two-item-toper"> 181 <div class="main__employer-page-two-item-toper">
183 <!-- end --> 182 <!-- end -->
184 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $job->name }}"> 183 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $job->name }}">
185 <span>{{ $job->name }}</span> 184 <span>{{ $job->name }}</span>
186 </div> 185 </div>
187 <div class="main__employer-page-two-item-title">{{ $item->flot }}</div> 186 <div class="main__employer-page-two-item-title">{{ $item->flot }}</div>
188 <div class="main__employer-page-two-item-text"> 187 <div class="main__employer-page-two-item-text">
189 <div class="main__employer-page-two-item-text-name"> 188 <div class="main__employer-page-two-item-text-name">
190 {{ $item->job_title->name }} 189 {{ $item->job_title->name }}
191 </div> 190 </div>
192 <div class="main__employer-page-two-item-text-body"> 191 <div class="main__employer-page-two-item-text-body">
193 <p>Зарплата:{{ $item->min_salary }} - {{ $item->max_salary }}р + {{ $item->sytki }} суточные.</p> 192 <p>Зарплата:{{ $item->min_salary }} - {{ $item->max_salary }}р + {{ $item->sytki }} суточные.</p>
194 <p>Контракт: {{ $item->period }} мес.</p> 193 <p>Контракт: {{ $item->period }} мес.</p>
195 </div> 194 </div>
196 </div> 195 </div>
197 <div class="main__employer-page-two-item-text"> 196 <div class="main__employer-page-two-item-text">
198 <div class="main__employer-page-two-item-text-name">Район работы</div> 197 <div class="main__employer-page-two-item-text-name">Район работы</div>
199 <div class="main__employer-page-two-item-text-body"> 198 <div class="main__employer-page-two-item-text-body">
200 <p>{{ $item->region }}</p> 199 <p>{{ $item->region }}</p>
201 </div> 200 </div>
202 </div> 201 </div>
203 <div class="main__employer-page-two-item-text"> 202 <div class="main__employer-page-two-item-text">
204 <div class="main__employer-page-two-item-text-name">Посадка</div> 203 <div class="main__employer-page-two-item-text-name">Посадка</div>
205 <div class="main__employer-page-two-item-text-body"> 204 <div class="main__employer-page-two-item-text-body">
206 <p> {{ $item->start }}</p> 205 <p> {{ $item->start }}</p>
207 {!! $item->description !!} 206 {!! $item->description !!}
208 </div> 207 </div>
209 </div> 208 </div>
210 <div class="main__employer-page-two-item-text"> 209 <div class="main__employer-page-two-item-text">
211 <div class="main__employer-page-two-item-text-name">Звонить по вопросам на: 210 <div class="main__employer-page-two-item-text-name">Звонить по вопросам на:
212 </div> 211 </div>
213 <div class="main__employer-page-two-item-text-body"> 212 <div class="main__employer-page-two-item-text-body">
214 <a href="tel:{{ $job->telephone }}">{{ $job->telephone }}</a> 213 <a href="tel:{{ $job->telephone }}">{{ $job->telephone }}</a>
215 </div> 214 </div>
216 </div> 215 </div>
217 <div class="main__employer-page-two-item-text"> 216 <div class="main__employer-page-two-item-text">
218 <div class="main__employer-page-two-item-text-name">Анкеты присылать на 217 <div class="main__employer-page-two-item-text-name">Анкеты присылать на
219 почту: 218 почту:
220 </div> 219 </div>
221 <div class="main__employer-page-two-item-text-body"> 220 <div class="main__employer-page-two-item-text-body">
222 <a href="mailto: {{ $job->email }}">{{ $job->email }}</a> 221 <a href="mailto: {{ $job->email }}">{{ $job->email }}</a>
223 </div> 222 </div>
224 </div> 223 </div>
225 <div class="main__employer-page-two-item-tags"> 224 <div class="main__employer-page-two-item-tags">
226 <span class="main__employer-page-two-item-tag">#{{ $item->job_title->name }}</span> 225 <span class="main__employer-page-two-item-tag">#{{ $item->job_title->name }}</span>
227 </div> 226 </div>
228 <div class="main__employer-page-two-item-buttons"> 227 <div class="main__employer-page-two-item-buttons">
229 @if ($user_id == 0) 228 @if ($user_id == 0)
230 <button type="button" data-fancybox data-src="#sign" data-options='{"touch":false,"autoFocus":false}' 229 <button type="button" data-fancybox data-src="#sign" data-options='{"touch":false,"autoFocus":false}'
231 class="button main__employer-page-two-item-button js_send_it_button">Оставить 230 class="button main__employer-page-two-item-button js_send_it_button">Оставить
232 отклик123</button> 231 отклик123</button>
233 @else 232 @else
234 <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $item->job_title->id }}" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' 233 <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $item->job_title->id }}" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'
235 class="button main__employer-page-two-item-button js_send_it_button">Оставить 234 class="button main__employer-page-two-item-button js_send_it_button">Оставить
236 отклик41-42-41</button> 235 отклик41-42-41</button>
237 @endif 236 @endif
238 <!--<a href="#" 237 <!--<a href="#"
239 class="button button_light main__employer-page-two-item-button">Подробнее</a>--> 238 class="button button_light main__employer-page-two-item-button">Подробнее</a>-->
240 </div> 239 </div>
241 <div class="main__employer-page-two-item-bottom"> 240 <div class="main__employer-page-two-item-bottom">
242 <div class="main__employer-page-two-item-bottom-date">{{ $job->updated_at }}</div> 241 <div class="main__employer-page-two-item-bottom-date">{{ $job->updated_at }}</div>
243 <button type="button" 242 <button type="button"
244 class="like main__employer-page-two-item-bottom-like js-toggle"> 243 class="like main__employer-page-two-item-bottom-like js-toggle">
245 <svg> 244 <svg>
246 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> 245 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
247 </svg> 246 </svg>
248 </button> 247 </button>
249 </div> 248 </div>
250 </div> 249 </div>
251 @endforeach 250 @endforeach
252 @endforeach 251 @endforeach
253 <!--<button type="button" class="button button_light button_more main__employer-page-two-more js-toggle js-parent-toggle"> 252 <!--<button type="button" class="button button_light button_more main__employer-page-two-more js-toggle js-parent-toggle">
254 <span>Показать ещё</span> 253 <span>Показать ещё</span>
255 <span>Скрыть</span> 254 <span>Скрыть</span>
256 </button>--> 255 </button>-->
257 </div> 256 </div>
258 </div> 257 </div>
259 </div> 258 </div>
260 </div> 259 </div>
261 </div> 260 </div>
262 </div> 261 </div>
263 </main> 262 </main>
264 @endsection 263 @endsection
265 264
resources/views/info_company_new.blade.php
1 @extends('layout.frontend', ['title' => 'Описание компании '.$title.'- РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Описание компании '.$title.'- РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#sort_ajax', function() { 5 $(document).on('change', '#sort_ajax', function() {
7 var this_ = $(this); 6 var this_ = $(this);
8 var val_ = this_.val(); 7 var val_ = this_.val();
9 console.log('sort items '+val_); 8 console.log('sort items '+val_);
10 9
11 $.ajax({ 10 $.ajax({
12 type: "GET", 11 type: "GET",
13 url: "{{ route('shipping_companies') }}", 12 url: "{{ route('shipping_companies') }}",
14 data: "sort="+val_+"&block=1", 13 data: "sort="+val_+"&block=1",
15 success: function (data) { 14 success: function (data) {
16 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
17 console.log(data); 16 console.log(data);
18 $('#block_1').html(data); 17 $('#block_1').html(data);
19 }, 18 },
20 headers: { 19 headers: {
21 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
22 }, 21 },
23 error: function (data) { 22 error: function (data) {
24 data = JSON.stringify(data); 23 data = JSON.stringify(data);
25 console.log('Error: ' + data); 24 console.log('Error: ' + data);
26 } 25 }
27 }); 26 });
28 27
29 $.ajax({ 28 $.ajax({
30 type: "GET", 29 type: "GET",
31 url: "{{ route('shipping_companies') }}", 30 url: "{{ route('shipping_companies') }}",
32 data: "sort="+val_+"&block=2", 31 data: "sort="+val_+"&block=2",
33 success: function (data) { 32 success: function (data) {
34 console.log('Выбор сортировки2'); 33 console.log('Выбор сортировки2');
35 console.log(data); 34 console.log(data);
36 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 35 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
37 $('#block_2').html(data); 36 $('#block_2').html(data);
38 }, 37 },
39 headers: { 38 headers: {
40 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 39 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
41 }, 40 },
42 error: function (data) { 41 error: function (data) {
43 data = JSON.stringify(data); 42 data = JSON.stringify(data);
44 console.log('Error: ' + data); 43 console.log('Error: ' + data);
45 } 44 }
46 }); 45 });
47 }); 46 });
48 47
49 $(document).ready(function(){ 48 $(document).ready(function(){
50 var sel = $('#select2-sort_ajax-container'); 49 var sel = $('#select2-sort_ajax-container');
51 var key = getUrlParameter('sort'); 50 var key = getUrlParameter('sort');
52 if (key !=='') { 51 if (key !=='') {
53 console.log(key); 52 console.log(key);
54 switch (key) { 53 switch (key) {
55 case "default": sel.html('Сортировка (по умолчанию)'); break; 54 case "default": sel.html('Сортировка (по умолчанию)'); break;
56 case "name_up": sel.html('По имени (возрастание)'); break; 55 case "name_up": sel.html('По имени (возрастание)'); break;
57 case "name_down": sel.html('По дате (убывание)'); break; 56 case "name_down": sel.html('По дате (убывание)'); break;
58 case "created_at_up": sel.html('По дате (возрастание)'); break; 57 case "created_at_up": sel.html('По дате (возрастание)'); break;
59 case "created_at_down": sel.html('По дате (убывание)'); break; 58 case "created_at_down": sel.html('По дате (убывание)'); break;
60 } 59 }
61 60
62 } 61 }
63 }); 62 });
64 63
65 //end 64 //end
66 $(document).on('click', '.js_send_it_button', function() { 65 $(document).on('click', '.js_send_it_button', function() {
67 var this_ = $(this); 66 var this_ = $(this);
68 var code_user_id = this_.attr('data-uid'); 67 var code_user_id = this_.attr('data-uid');
69 var code_to_user_id = this_.attr('data-tuid'); 68 var code_to_user_id = this_.attr('data-tuid');
70 var code_vacancy = this_.attr('data-vacancy'); 69 var code_vacancy = this_.attr('data-vacancy');
71 var user_id = $('#send_user_id'); 70 var user_id = $('#send_user_id');
72 var to_user_id = $('#send_to_user_id'); 71 var to_user_id = $('#send_to_user_id');
73 var vacancy = $('#send_vacancy'); 72 var vacancy = $('#send_vacancy');
74 73
75 console.log('Клик на кнопки...'); 74 console.log('Клик на кнопки...');
76 75
77 user_id.val(code_user_id); 76 user_id.val(code_user_id);
78 to_user_id.val(code_to_user_id); 77 to_user_id.val(code_to_user_id);
79 vacancy.val(code_vacancy); 78 vacancy.val(code_vacancy);
80 }); 79 });
80
81 $("#list_button").on('click', function () {
82 $('#flot').removeClass('active');
83 $('#flot_list').removeClass('showed');
84 $('#vacancy').addClass('active');
85 $('#vacancy_list').addClass('showed');
86 })
81 </script> 87 </script>
82 @include('js.favorite-vacancy-45') 88 @include('js.favorite-vacancy-45')
83 @endsection 89 @endsection
84 90
85 @section('content') 91 @section('content')
86 <section class="thing"> 92 <section class="thing">
87 <div class="container"> 93 <div class="container">
88 <div class="thing__body"> 94 <div class="thing__body">
89 <ul class="breadcrumbs thing__breadcrumbs"> 95 <ul class="breadcrumbs thing__breadcrumbs">
90 <li><a href="{{ route('index') }}">Главная</a></li> 96 <li><a href="{{ route('index') }}">Главная</a></li>
91 <li><a href="{{ route('shipping_companies') }}">Работодатели</a></li> 97 <li><a href="{{ route('shipping_companies') }}">Работодатели</a></li>
92 <li><b>@isset($title) {{ $title }} @else Не указано @endif</b></li> 98 <li><b>@isset($title) {{ $title }} @else Не указано @endif</b></li>
93 </ul> 99 </ul>
94 @if ($company[0]->oficial_status == 1) 100 @if ($company[0]->oficial_status == 1)
95 <div class="thing__badge"> 101 <div class="thing__badge">
96 <svg> 102 <svg>
97 <use xlink:href="{{ asset('images/sprite.svg#badge') }}"></use> 103 <use xlink:href="{{ asset('images/sprite.svg#badge') }}"></use>
98 </svg> 104 </svg>
99 Компания проверена 105 Компания проверена
100 </div> 106 </div>
101 @endif 107 @endif
102 108
103 @if (!empty($company[0]->logo)) 109 @if (!empty($company[0]->logo))
104 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> 110 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $company[0]->name_company }}" class="thing__pic">
105 @else 111 @else
106 <img src="{{ asset('images/logo_emp.png') }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> 112 <img src="{{ asset('images/logo_emp.png') }}" alt="{{ $company[0]->name_company }}" class="thing__pic">
107 @endif 113 @endif
108 114
109 <h1 class="thing__title">{{ $company[0]->name_company }}</h1> 115 <h1 class="thing__title">{{ $company[0]->name_company }}</h1>
110 <!--<p class="thing__text"> $company[0]->text !!}</p>--> 116 <!--<p class="thing__text"> $company[0]->text !!}</p>-->
111 <div class="thing__buttons"> 117 <div class="thing__buttons">
112 <button type="button" class="button"> 118 <a href="#vacancy" id="list_button">
113 <svg> 119 <button type="button" class="button">
114 <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use> 120 <svg>
115 </svg> 121 <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use>
116 {{ $company[0]->ads->count() }} вакансии 122 </svg>
117 </button> 123 {{ $company[0]->ads->count() }} вакансии
124 </button>
125 </a>
118 @if ($user_id == 0) 126 @if ($user_id == 0)
119 <a data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button"> 127 <a data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button">
120 Написать сообщение 128 Написать сообщение
121 </a> 129 </a>
122 @else 130 @else
123 <button type="button" data-fancybox data-src="#send" data-vacancy="0" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' 131 <button type="button" data-fancybox data-src="#send" data-vacancy="0" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'
124 class="button js_send_it_button"> 132 class="button js_send_it_button">
125 Написать сообщение 133 Написать сообщение
126 </button> 134 </button>
127 @endif 135 @endif
128 </div> 136 </div>
129 </div> 137 </div>
130 </div> 138 </div>
131 </section> 139 </section>
132 <main class="main"> 140 <main class="main">
133 <div class="container"> 141 <div class="container">
134 <div class="main__employer-page"> 142 <div class="main__employer-page">
135 <h2 class="main__employer-page-title">О компании</h2> 143 <h2 class="main__employer-page-title">О компании</h2>
136 <div class="main__employer-page-info"> 144 <div class="main__employer-page-info">
137 <div class="main__employer-page-item"> 145 <div class="main__employer-page-item">
138 <b>Адрес компании</b> 146 <b>Адрес компании</b>
139 <span> 147 <span>
140 {{ $company[0]->address }} 148 {{ $company[0]->address }}
141 </span> 149 </span>
142 </div> 150 </div>
143 <div class="main__employer-page-item"> 151 <div class="main__employer-page-item">
144 <b>Сайт</b> 152 <b>Сайт</b>
145 <span> 153 <span>
146 <a href="{{ $company[0]->site }}">{{ $company[0]->site }}</a> 154 <a href="{{ $company[0]->site }}">{{ $company[0]->site }}</a>
147 </span> 155 </span>
148 </div> 156 </div>
149 <div class="main__employer-page-item"> 157 <div class="main__employer-page-item">
150 <b>Почта</b> 158 <b>Почта</b>
151 <span> 159 <span>
152 <a href="mailto:">{{ $company[0]->email }}</a> 160 <a href="mailto:">{{ $company[0]->email }}</a>
153 </span> 161 </span>
154 </div> 162 </div>
155 <div class="main__employer-page-item"> 163 <div class="main__employer-page-item">
156 <b>Телефон</b> 164 <b>Телефон</b>
157 <span> 165 <span>
158 <a href="tel:{{ $company[0]->telephone }}">{{ $company[0]->telephone }}</a> 166 <a href="tel:{{ $company[0]->telephone }}">{{ $company[0]->telephone }}</a>
159 </span> 167 </span>
160 </div> 168 </div>
161 </div> 169 </div>
162 <div class="main__employer-page-info"> 170 <div class="main__employer-page-info">
163 <div class="main__employer-page-item"></div> 171 <div class="main__employer-page-item"></div>
164 <div class="main__employer-page-item"></div> 172 <div class="main__employer-page-item"></div>
165 <div class="main__employer-page-item"> 173 <div class="main__employer-page-item">
166 <b>Почта (alt)</b> 174 <b>Почта (alt)</b>
167 <span> 175 <span>
168 {{ $company[0]->email_2 }} 176 {{ $company[0]->email_2 }}
169 </span> 177 </span>
170 </div> 178 </div>
171 <div class="main__employer-page-item"> 179 <div class="main__employer-page-item">
172 <b>Телефон (alt)</b> 180 <b>Телефон (alt)</b>
173 <span> 181 <span>
174 <a href="{{ $company[0]->site }}">{{ $company[0]->telephone_2 }}</a> 182 <a href="{{ $company[0]->site }}">{{ $company[0]->telephone_2 }}</a>
175 </span> 183 </span>
176 </div> 184 </div>
177 </div> 185 </div>
178 186
179 <div class="main__employer-page-item main__employer-page-description"> 187 <div class="main__employer-page-item main__employer-page-description">
180 <b>Описание</b> 188 <b>Описание</b>
181 <span> 189 <span>
182 {!! $company[0]->text !!} 190 {!! $company[0]->text !!}
183 </span> 191 </span>
184 </div> 192 </div>
185 193
186 <div> 194 <div>
187 195
188 <div class="main__employer-page-tabs"> 196 <div class="main__employer-page-tabs">
189 <button type="button" class="main__employer-page-tabs-item active" 197 <button id="flot" type="button" class="main__employer-page-tabs-item active" data-tab="1">Флот</button>
190 data-tab="1">Флот</button> 198 <button id="vacancy" type="button" class="main__employer-page-tabs-item" data-tab="2">Вакансии</button>
191 <button type="button" class="main__employer-page-tabs-item" data-tab="2">Вакансии</button>
192 </div> 199 </div>
193 200
194 <div class="main__employer-page-body"> 201 <div class="main__employer-page-body">
195 <div class="main__employer-page-body-item showed" data-body="1"> 202 <div id="flot_list" class="main__employer-page-body-item showed" data-body="1">
196 <div class="main__employer-page-one"> 203 <div class="main__employer-page-one">
197 @if ($company[0]->flots->count()) 204 @if ($company[0]->flots->count())
198 @foreach ($company[0]->flots as $flot) 205 @foreach ($company[0]->flots as $flot)
199 <div class="main__employer-page-one-item flot-one-ship"> 206 <div class="main__employer-page-one-item flot-one-ship">
200 @if (!empty($flot->image)) 207 @if (!empty($flot->image))
201 <a href="{{ asset(Storage::url($flot->image)) }}" data-fancybox="gallery" class="review-image-modal"> 208 <a href="{{ asset(Storage::url($flot->image)) }}" data-fancybox="gallery" class="review-image-modal">
202 <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> 209 <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}">
203 </a> 210 </a>
204 @else 211 @else
205 <a href="{{ asset('images/default_ship.jpg') }}" data-fancybox="gallery" class="review-image-modal"> 212 <a href="{{ asset('images/default_ship.jpg') }}" data-fancybox="gallery" class="review-image-modal">
206 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> 213 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}">
207 </a> 214 </a>
208 @endif 215 @endif
209 216
210 <div class="flot-label"><div class="flot-label-name">Название:</div>{{ $flot->name }}</div> 217 <div class="flot-label"><div class="flot-label-name">Название:</div>{{ $flot->name }}</div>
211 <div class="flot-label"><div class="flot-label-name">DWT:</div> {{ $flot->DWT }}</div> 218 <div class="flot-label"><div class="flot-label-name">DWT:</div> {{ $flot->DWT }}</div>
212 <div class="flot-label"><div class="flot-label-name">Мощность:</div> {{ $flot->POWER_GD }}</div> 219 <div class="flot-label"><div class="flot-label-name">Мощность:</div> {{ $flot->POWER_GD }}</div>
213 <div class="flot-label"><div class="flot-label-name">IMO:</div> {{ $flot->IMO }}</div> 220 <div class="flot-label"><div class="flot-label-name">IMO:</div> {{ $flot->IMO }}</div>
214 </div> 221 </div>
215 @endforeach 222 @endforeach
216 @endif 223 @endif
217 </div> 224 </div>
218 </div> 225 </div>
219 226
220 <div class="main__employer-page-body-item" data-body="2"> 227 <div id="vacancy_list" class="main__employer-page-body-item" data-body="2">
221 <div class="main__employer-page-two"> 228 <div class="main__employer-page-two">
222 @foreach ($ads as $job) 229 @foreach ($ads as $job)
223 <div class="main__employer-page-two-item"> 230 <div class="main__employer-page-two-item">
224 <div class="main__employer-page-two-item-toper"> 231 <div class="main__employer-page-two-item-toper">
225 @if (!empty($company[0]->logo)) 232 @if (!empty($company[0]->logo))
226 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $job->name }}"> 233 <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $job->name }}">
227 @else 234 @else
228 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $job->name }}"> 235 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $job->name }}">
229 @endif 236 @endif
230 <span>{{ $company[0]->name_company }}</span> 237 <span>{{ $company[0]->name_company }}</span>
231 </div> 238 </div>
232 <div class="main__employer-page-two-item-text-body"> 239 <div class="main__employer-page-two-item-text-body">
233 <h3>{{ $job->name }}</h3> 240 <h3>{{ $job->name }}</h3>
234 <span>Описание: 241 <span>Описание:
235 {!! $job->text !!} 242 {!! $job->text !!}
236 </span> 243 </span>
237 </div> 244 </div>
238 245
239 @if ((isset($job->jobs)) && ($job->jobs->count())) 246 @if ((isset($job->jobs)) && ($job->jobs->count()))
240 <div class="main__employer-page-two-item-tags"> 247 <div class="main__employer-page-two-item-tags">
241 @foreach ($job->jobs as $item) 248 @foreach ($job->jobs as $item)
242 <span class="main__employer-page-two-item-tag">#{{ $item->name }}</span> 249 <span class="main__employer-page-two-item-tag">#{{ $item->name }}</span>
243 @endforeach 250 @endforeach
244 </div> 251 </div>
245 @endif 252 @endif
246 <div class="main__employer-page-two-item-buttons"> 253 <div class="main__employer-page-two-item-buttons">
247 254
248 <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $job->id }}" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' 255 <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $job->id }}" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'
249 class="button main__employer-page-two-item-button js_send_it_button">Оставить 256 class="button main__employer-page-two-item-button js_send_it_button">Оставить
250 отклик...</button> 257 отклик...</button>
251 258
252 <!--<a href="#" 259 <!--<a href="#"
253 class="button button_light main__employer-page-two-item-button">Подробнее</a>--> 260 class="button button_light main__employer-page-two-item-button">Подробнее</a>-->
254 </div> 261 </div>
255 <div class="main__employer-page-two-item-bottom"> 262 <div class="main__employer-page-two-item-bottom">
256 <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y H:i:s', strtotime($job->updated_at)) }}</div> 263 <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y H:i:s', strtotime($job->updated_at)) }}</div>
257 <button type="button" id="like{{ $job->id }}" data-val="{{ $job->id }}" 264 <button type="button" id="like{{ $job->id }}" data-val="{{ $job->id }}"
258 class="like main__employer-page-two-item-bottom-like js-toggle js_vac_favorite {{ \App\Classes\LikesClass::get_status_vacancy($job) }}"> 265 class="like main__employer-page-two-item-bottom-like js-toggle js_vac_favorite {{ \App\Classes\LikesClass::get_status_vacancy($job) }}">
259 <svg> 266 <svg>
260 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> 267 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
261 </svg> 268 </svg>
262 </button> 269 </button>
263 </div> 270 </div>
264 </div> 271 </div>
265 @endforeach 272 @endforeach
266 273
267 <div style="margin-top: 20px"> 274 <div style="margin-top: 20px">
268 {{ $ads->onEachSide(0)->appends($_GET)->links('paginate') }} 275 {{ $ads->onEachSide(0)->appends($_GET)->links('paginate') }}
269 </div> 276 </div>
270 <!--<button type="button" class="button button_light button_more main__employer-page-two-more js-toggle js-parent-toggle"> 277 <!--<button type="button" class="button button_light button_more main__employer-page-two-more js-toggle js-parent-toggle">
271 <span>Показать ещё</span> 278 <span>Показать ещё</span>
272 <span>Скрыть</span> 279 <span>Скрыть</span>
273 </button>--> 280 </button>-->
274 </div> 281 </div>
275 </div> 282 </div>
276 </div> 283 </div>
277 </div> 284 </div>
278 </div> 285 </div>
279 </div> 286 </div>
280 </main> 287 </main>
resources/views/js/captha.blade.php
1 <script> 1 <script>
2 var code; 2 var code;
3 var code2; 3 var code2;
4 4
5 function createCaptcha() { 5 function createCaptcha() {
6 //clear the contents of captcha div first 6 //clear the contents of captcha div first
7 var captha1 = $('#captcha1').html(); 7 var captha1 = $('#captcha1').html();
8 var captha2 = $('#captcha2').html(); 8 var captha2 = $('#captcha2').html();
9 9
10 console.log('captha1='+captha1);
11 console.log('captha2='+captha2);
12
13 document.getElementById('captcha1').innerHTML = ""; 10 document.getElementById('captcha1').innerHTML = "";
14 document.getElementById('captcha2').innerHTML = ""; 11 document.getElementById('captcha2').innerHTML = "";
15 var charsArray = 12 var charsArray =
16 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*"; 13 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*";
17 var lengthOtp = 6; 14 var lengthOtp = 6;
18 var captcha = []; 15 var captcha = [];
19 for (var i = 0; i < lengthOtp; i++) { 16 for (var i = 0; i < lengthOtp; i++) {
20 //below code will not allow Repetition of Characters 17 //below code will not allow Repetition of Characters
21 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array 18 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array
22 if (captcha.indexOf(charsArray[index]) == -1) 19 if (captcha.indexOf(charsArray[index]) == -1)
23 captcha.push(charsArray[index]); 20 captcha.push(charsArray[index]);
24 else i--; 21 else i--;
25 } 22 }
26 var canv = document.createElement("canvas"); 23 var canv = document.createElement("canvas");
27 canv.id = "captcha"; 24 canv.id = "captcha";
28 canv.width = 100; 25 canv.width = 100;
29 canv.height = 50; 26 canv.height = 50;
30 var ctx = canv.getContext("2d"); 27 var ctx = canv.getContext("2d");
31 ctx.font = "25px Georgia"; 28 ctx.font = "25px Georgia";
32 ctx.strokeText(captcha.join(""), 0, 30); 29 ctx.strokeText(captcha.join(""), 0, 30);
33 //storing captcha so that can validate you can save it somewhere else according to your specific requirements 30 //storing captcha so that can validate you can save it somewhere else according to your specific requirements
34 code = captcha.join(""); 31 code = captcha.join("");
35 32
36 document.getElementById("captcha1").appendChild(canv); 33 document.getElementById("captcha1").appendChild(canv);
37 // adds the canvas to the body element 34 // adds the canvas to the body element
38 35
39 createCaptcha2() 36 createCaptcha2()
40 } 37 }
41 38
42 function createCaptcha2() { 39 function createCaptcha2() {
43 //clear the contents of captcha div first 40 //clear the contents of captcha div first
44 document.getElementById('captcha2').innerHTML = ""; 41 document.getElementById('captcha2').innerHTML = "";
45 var charsArray = 42 var charsArray =
46 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*"; 43 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*";
47 var lengthOtp = 6; 44 var lengthOtp = 6;
48 var captcha = []; 45 var captcha = [];
49 for (var i = 0; i < lengthOtp; i++) { 46 for (var i = 0; i < lengthOtp; i++) {
50 //below code will not allow Repetition of Characters 47 //below code will not allow Repetition of Characters
51 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array 48 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array
52 if (captcha.indexOf(charsArray[index]) == -1) 49 if (captcha.indexOf(charsArray[index]) == -1)
53 captcha.push(charsArray[index]); 50 captcha.push(charsArray[index]);
54 else i--; 51 else i--;
55 } 52 }
56 var canv = document.createElement("canvas"); 53 var canv = document.createElement("canvas");
57 canv.id = "captcha"; 54 canv.id = "captcha";
58 canv.width = 100; 55 canv.width = 100;
59 canv.height = 50; 56 canv.height = 50;
60 var ctx = canv.getContext("2d"); 57 var ctx = canv.getContext("2d");
61 ctx.font = "25px Georgia"; 58 ctx.font = "25px Georgia";
62 ctx.strokeText(captcha.join(""), 0, 30); 59 ctx.strokeText(captcha.join(""), 0, 30);
63 //storing captcha so that can validate you can save it somewhere else according to your specific requirements 60 //storing captcha so that can validate you can save it somewhere else according to your specific requirements
64 code2 = captcha.join(""); 61 code2 = captcha.join("");
65 62
66 document.getElementById("captcha2").appendChild(canv); 63 document.getElementById("captcha2").appendChild(canv);
67 // adds the canvas to the body element 64 // adds the canvas to the body element
68 } 65 }
69 66
70 function validateCaptcha() { 67 function validateCaptcha() {
71 if (document.getElementById("cpatchaTextBox").value == code) { 68 if (document.getElementById("cpatchaTextBox").value == code) {
72 console.log('Валидная капча 1!'); 69 console.log('Валидная капча 1!');
73 }else{ 70 }else{
74 alert("Неверная капча! Повторите вновь"); 71 alert("Неверная капча! Повторите вновь");
75 createCaptcha(); 72 createCaptcha();
76 } 73 }
77 } 74 }
78 75
79 function validateCaptcha2() { 76 function validateCaptcha2() {
80 if (document.getElementById("cpatchaTextBox2").value == code2) { 77 if (document.getElementById("cpatchaTextBox2").value == code2) {
81 console.log('Валидная капча 2!'); 78 console.log('Валидная капча 2!');
82 }else{ 79 }else{
83 alert("Неверная капча! Повторите вновь"); 80 alert("Неверная капча! Повторите вновь");
84 createCaptcha(); 81 createCaptcha();
85 } 82 }
86 } 83 }
87 </script> 84 </script>
88 85
89 <script> 86 <script>
90 $(document).ready(function() { 87 $(document).ready(function() {
91 $('#Reloadcapcha1').on('click', function() { 88 $('#Reloadcapcha1').on('click', function() {
92 console.log('click button reload captha'); 89 console.log('click button reload captha');
93 createCaptcha() 90 createCaptcha()
94 }); 91 });
95 92
96 $('#Reloadcapcha2').on('click', function() { 93 $('#Reloadcapcha2').on('click', function() {
97 console.log('click button reload captha 2'); 94 console.log('click button reload captha 2');
98 createCaptcha2() 95 createCaptcha2()
99 }); 96 });
100 97
101 let form1 = document.getElementById('form1'); 98 let form1 = document.getElementById('form1');
102 form1.addEventListener('submit', function (event) { 99 form1.addEventListener('submit', function (event) {
103 if (document.getElementById("cpatchaTextBox").value == code) { 100 if (document.getElementById("cpatchaTextBox").value == code) {
104 console.log('Валидный кот'); 101 console.log('Валидный кот');
105 return true; 102 return true;
106 } else { 103 } else {
107 console.log('Ошибка1'); 104 console.log('Ошибка1');
108 event.preventDefault(); 105 event.preventDefault();
109 return false; 106 return false;
110 } 107 }
111 }); 108 });
112 109
113 let form2 = document.getElementById('form2'); 110 let form2 = document.getElementById('form2');
114 form2.addEventListener('submit', function (event) { 111 form2.addEventListener('submit', function (event) {
115 if (document.getElementById("cpatchaTextBox2").value == code2) { 112 if (document.getElementById("cpatchaTextBox2").value == code2) {
116 console.log('Валидный кот'); 113 console.log('Валидный кот');
117 return true; 114 return true;
118 } else { 115 } else {
119 console.log('Ошибка2'); 116 console.log('Ошибка2');
120 event.preventDefault(); 117 event.preventDefault();
121 return false; 118 return false;
122 } 119 }
123 }); 120 });
124 }); 121 });
125 </script> 122 </script>
126 123
resources/views/js/favorite-vacancy-45.blade.php
1 <script> 1 <script>
2 console.log('js выполняется...123');
3
4 $(document).ready(function() { 2 $(document).ready(function() {
5 $(document).on('click', '.js_vac_favorite', function () { 3 $(document).on('click', '.js_vac_favorite', function () {
6 var _this = $(this); 4 var _this = $(this);
7 var id = _this.attr('id'); 5 var id = _this.attr('id');
8 var id_vacancy = _this.attr('data-val'); 6 var id_vacancy = _this.attr('data-val');
9 console.log('active='+id); 7 console.log('active='+id);
10 8
11 if ($( "#"+id ).hasClass( "active" )) { 9 if ($( "#"+id ).hasClass( "active" )) {
12 console.log('Download 41... final');
13 $.ajax({ 10 $.ajax({
14 type: "GET", 11 type: "GET",
15 url: "{{ route('like-vacancy') }}", 12 url: "{{ route('like-vacancy') }}",
16 data: "code_record=" + id_vacancy, 13 data: "code_record=" + id_vacancy,
17 success: function (data) { 14 success: function (data) {
18 console.log('Выбор сортировки'); 15 console.log('Выбор сортировки');
19 console.log(data); 16 console.log(data);
20 17
21 }, 18 },
22 headers: { 19 headers: {
23 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
24 }, 21 },
25 error: function (data) { 22 error: function (data) {
26 data = JSON.stringify(data); 23 data = JSON.stringify(data);
27 console.log('Error: ' + data); 24 console.log('Error: ' + data);
28 } 25 }
29 }); 26 });
30 } else { 27 } else {
31 console.log('Не выполнить условие никогда');
32 $.ajax({ 28 $.ajax({
33 type: "GET", 29 type: "GET",
34 url: "{{ route('like-vacancy') }}", 30 url: "{{ route('like-vacancy') }}",
35 data: "code_record=" + id_vacancy + "&delete=1", 31 data: "code_record=" + id_vacancy + "&delete=1",
36 success: function (data) { 32 success: function (data) {
37 console.log('Выбор сортировки'); 33 console.log('Выбор сортировки');
38 console.log(data); 34 console.log(data);
39 }, 35 },
40 headers: { 36 headers: {
41 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 37 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
42 }, 38 },
43 error: function (data) { 39 error: function (data) {
44 data = JSON.stringify(data); 40 data = JSON.stringify(data);
45 console.log('Error: ' + data); 41 console.log('Error: ' + data);
46 } 42 }
47 }); 43 });
48 } 44 }
49 }); 45 });
50 }); 46 });
51 </script> 47 </script>
52 48
resources/views/js/modals.blade.php
1 <script> 1 <script>
2 var code; 2 var code;
3 var code2; 3 var code2;
4 4
5 function createCaptcha() { 5 function createCaptcha() {
6 //clear the contents of captcha div first 6 //clear the contents of captcha div first
7 var captha1 = $('#captcha1').html(); 7 var captha1 = $('#captcha1').html();
8 8
9 console.log('captha1='+captha1);
10
11 document.getElementById('captcha1').innerHTML = ""; 9 document.getElementById('captcha1').innerHTML = "";
12 document.getElementById('captcha2').innerHTML = ""; 10 document.getElementById('captcha2').innerHTML = "";
13 var charsArray = 11 var charsArray =
14 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*"; 12 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*";
15 var lengthOtp = 6; 13 var lengthOtp = 6;
16 var captcha = []; 14 var captcha = [];
17 for (var i = 0; i < lengthOtp; i++) { 15 for (var i = 0; i < lengthOtp; i++) {
18 //below code will not allow Repetition of Characters 16 //below code will not allow Repetition of Characters
19 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array 17 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array
20 if (captcha.indexOf(charsArray[index]) == -1) 18 if (captcha.indexOf(charsArray[index]) == -1)
21 captcha.push(charsArray[index]); 19 captcha.push(charsArray[index]);
22 else i--; 20 else i--;
23 } 21 }
24 var canv = document.createElement("canvas"); 22 var canv = document.createElement("canvas");
25 canv.id = "captcha"; 23 canv.id = "captcha";
26 canv.width = 100; 24 canv.width = 100;
27 canv.height = 50; 25 canv.height = 50;
28 var ctx = canv.getContext("2d"); 26 var ctx = canv.getContext("2d");
29 ctx.font = "25px Georgia"; 27 ctx.font = "25px Georgia";
30 ctx.strokeText(captcha.join(""), 0, 30); 28 ctx.strokeText(captcha.join(""), 0, 30);
31 //storing captcha so that can validate you can save it somewhere else according to your specific requirements 29 //storing captcha so that can validate you can save it somewhere else according to your specific requirements
32 code = captcha.join(""); 30 code = captcha.join("");
33 31
34 document.getElementById("captcha1").appendChild(canv); 32 document.getElementById("captcha1").appendChild(canv);
35 // adds the canvas to the body element 33 // adds the canvas to the body element
36 34
37 createCaptcha2() 35 createCaptcha2()
38 } 36 }
39 37
40 function createCaptcha2() { 38 function createCaptcha2() {
41 //clear the contents of captcha div first 39 //clear the contents of captcha div first
42 document.getElementById('captcha2').innerHTML = ""; 40 document.getElementById('captcha2').innerHTML = "";
43 41
44 var captha2 = $('#captcha2').html(); 42 var captha2 = $('#captcha2').html();
45 43
46 var charsArray = 44 var charsArray =
47 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*"; 45 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*";
48 var lengthOtp = 6; 46 var lengthOtp = 6;
49 var captcha = []; 47 var captcha = [];
50 for (var i = 0; i < lengthOtp; i++) { 48 for (var i = 0; i < lengthOtp; i++) {
51 //below code will not allow Repetition of Characters 49 //below code will not allow Repetition of Characters
52 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array 50 var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array
53 if (captcha.indexOf(charsArray[index]) == -1) 51 if (captcha.indexOf(charsArray[index]) == -1)
54 captcha.push(charsArray[index]); 52 captcha.push(charsArray[index]);
55 else i--; 53 else i--;
56 } 54 }
57 var canv = document.createElement("canvas"); 55 var canv = document.createElement("canvas");
58 canv.id = "captcha"; 56 canv.id = "captcha";
59 canv.width = 100; 57 canv.width = 100;
60 canv.height = 50; 58 canv.height = 50;
61 var ctx = canv.getContext("2d"); 59 var ctx = canv.getContext("2d");
62 ctx.font = "25px Georgia"; 60 ctx.font = "25px Georgia";
63 ctx.strokeText(captcha.join(""), 0, 30); 61 ctx.strokeText(captcha.join(""), 0, 30);
64 //storing captcha so that can validate you can save it somewhere else according to your specific requirements 62 //storing captcha so that can validate you can save it somewhere else according to your specific requirements
65 code2 = captcha.join(""); 63 code2 = captcha.join("");
66 64
67 document.getElementById("captcha2").appendChild(canv); 65 document.getElementById("captcha2").appendChild(canv);
68 // adds the canvas to the body element 66 // adds the canvas to the body element
69 } 67 }
70 68
71 function validateCaptcha() { 69 function validateCaptcha() {
72 70
73 if (document.getElementById("cpatchaTextBox").value == code) { 71 if (document.getElementById("cpatchaTextBox").value == code) {
74 console.log('Валидная капча 1!'); 72 console.log('Валидная капча 1!');
75 }else{ 73 }else{
76 alert("Неверная капча! Повторите вновь"); 74 alert("Неверная капча! Повторите вновь");
77 createCaptcha(); 75 createCaptcha();
78 } 76 }
79 } 77 }
80 78
81 function validateCaptcha2() { 79 function validateCaptcha2() {
82 if (document.getElementById("cpatchaTextBox2").value == code2) { 80 if (document.getElementById("cpatchaTextBox2").value == code2) {
83 console.log('Валидная капча 2!'); 81 console.log('Валидная капча 2!');
84 }else{ 82 }else{
85 alert("Неверная капча! Повторите вновь"); 83 alert("Неверная капча! Повторите вновь");
86 createCaptcha(); 84 createCaptcha();
87 } 85 }
88 } 86 }
89 87
90 console.log('Test system');
91 $(document).on('click', '#button_send', function() { 88 $(document).on('click', '#button_send', function() {
92 var field_login = $('#email_input'); 89 var field_login = $('#email_input');
93 var field_pwd = $('#password'); 90 var field_pwd = $('#password');
94 var login_val = field_login.val(); 91 var login_val = field_login.val();
95 var pwd_val = field_pwd.val(); 92 var pwd_val = field_pwd.val();
96 93
97 console.log('login: '+login_val+' password: '+pwd_val); 94 console.log('login: '+login_val+' password: '+pwd_val);
98 95
99 $.ajax({ 96 $.ajax({
100 type: "GET", 97 type: "GET",
101 url: "{{ route('login') }}", 98 url: "{{ route('login') }}",
102 data: "email="+login_val+"&password="+pwd_val, 99 data: "email="+login_val+"&password="+pwd_val,
103 success: function (data) { 100 success: function (data) {
104 console.log('Вход в систему'); 101 console.log('Вход в систему');
105 console.log(data); 102 console.log(data);
106 let d = JSON.parse(data); 103 let d = JSON.parse(data);
107 if(typeof d['REDIRECT'] !== "undefined") { 104 if(typeof d['REDIRECT'] !== "undefined") {
108 location.href = d['REDIRECT']; 105 location.href = d['REDIRECT'];
109 console.log(d['REDIRECT']); 106 console.log(d['REDIRECT']);
110 } 107 }
111 if (typeof d['ERROR'] !== "undefined") { 108 if (typeof d['ERROR'] !== "undefined") {
112 console.log(d['ERROR']); 109 console.log(d['ERROR']);
113 $('#message_error').html(d['ERROR']); 110 $('#message_error').html(d['ERROR']);
114 } 111 }
115 //console.log(d['REDIRECT']); 112 //console.log(d['REDIRECT']);
116 //$('#block_1').html(data); 113 //$('#block_1').html(data);
117 }, 114 },
118 headers: { 115 headers: {
119 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 116 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
120 }, 117 },
121 error: function (data) { 118 error: function (data) {
122 data = JSON.stringify(data); 119 data = JSON.stringify(data);
123 console.log('Error: ' + data); 120 console.log('Error: ' + data);
124 } 121 }
125 }); 122 });
126 }); 123 });
127 124
128 $(document).on('click', '#button_reg_worker', function() { 125 $(document).on('click', '#button_reg_worker', function() {
129 var field_login = $('#email_worker'); 126 var field_login = $('#email_worker');
130 var field_pwd = $('#password_worker'); 127 var field_pwd = $('#password_worker');
131 var field_confirm_pwd = $('#password_confirmation_worker'); 128 var field_confirm_pwd = $('#password_confirmation_worker');
132 var field_politik_worker = $('#politik'); 129 var field_politik_worker = $('#politik');
133 var field_telephone_worker = $('#telephone_worker'); 130 var field_telephone_worker = $('#telephone_worker');
134 var field_job_titles_worker = $('#job_titles_worker'); 131 var field_job_titles_worker = $('#job_titles_worker');
135 var field_surname_worker = $('#surname_worker'); 132 var field_surname_worker = $('#surname_worker');
136 var field_name_man = $('#name_man_worker'); 133 var field_name_man = $('#name_man_worker');
137 var field_surname2_worker = $('#surname2_worker'); 134 var field_surname2_worker = $('#surname2_worker');
138 135
139 var login = field_login.val(); 136 var login = field_login.val();
140 var pwd = field_pwd.val(); 137 var pwd = field_pwd.val();
141 var confirm_pwd = field_confirm_pwd.val(); 138 var confirm_pwd = field_confirm_pwd.val();
142 var politik = field_politik_worker.val(); 139 var politik = field_politik_worker.val();
143 var telephone = field_telephone_worker.val(); 140 var telephone = field_telephone_worker.val();
144 var job_titles = field_job_titles_worker.val(); 141 var job_titles = field_job_titles_worker.val();
145 var surname = field_surname_worker.val(); 142 var surname = field_surname_worker.val();
146 var name_man = field_name_man.val(); 143 var name_man = field_name_man.val();
147 var surname2 = field_surname2_worker.val(); 144 var surname2 = field_surname2_worker.val();
148 145
149 146
150 if (document.getElementById("cpatchaTextBox1").value == code) { 147 if (document.getElementById("cpatchaTextBox1").value == code) {
151 console.log('Валидный кот'); 148 console.log('Валидный кот');
152 149
153 } else { 150 } else {
154 console.log('Ошибка1'); 151 console.log('Ошибка1');
155 event.preventDefault(); 152 event.preventDefault();
156 $('#block-info').css({'display': 'block'}); 153 $('#block-info').css({'display': 'block'});
157 $('#messages_error_reg').html('ERROR: Капча неверная!'); 154 $('#messages_error_reg').html('ERROR: Капча неверная!');
158 155
159 return false; 156 return false;
160 } 157 }
161 158
162 if (field_politik_worker.attr('checked')) { 159 if (field_politik_worker.attr('checked')) {
163 console.log('politik=1'); 160 console.log('politik=1');
164 politik = 1; 161 politik = 1;
165 } else { 162 } else {
166 politik = 0; 163 politik = 0;
167 console.log('politik=0'); 164 console.log('politik=0');
168 165
169 } 166 }
170 167
171 console.log('login: '+login+' password: '+pwd); 168 console.log('login: '+login+' password: '+pwd);
172 169
173 $.ajax({ 170 $.ajax({
174 type: "GET", 171 type: "GET",
175 url: "{{ route('register_worker') }}", 172 url: "{{ route('register_worker') }}",
176 data: "email="+login+"&password="+pwd+"&confirmed="+confirm_pwd+"&politik="+politik+ 173 data: "email="+login+"&password="+pwd+"&confirmed="+confirm_pwd+"&politik="+politik+
177 "&telephone="+telephone+"&job_titles="+job_titles+"&surname="+surname+"&name_man="+name_man+ 174 "&telephone="+telephone+"&job_titles="+job_titles+"&surname="+surname+"&name_man="+name_man+
178 "&surname2="+surname2+"&subscribe_email="+login, 175 "&surname2="+surname2+"&subscribe_email="+login,
179 success: function (data) { 176 success: function (data) {
180 console.log('Вход в систему'); 177 console.log('Вход в систему');
181 let d = JSON.parse(data); 178 let d = JSON.parse(data);
182 if(typeof d['REDIRECT'] !== "undefined") { 179 if(typeof d['REDIRECT'] !== "undefined") {
183 console.log(d['REDIRECT']); 180 console.log(d['REDIRECT']);
184 location.href = d['REDIRECT']; 181 location.href = d['REDIRECT'];
185 } 182 }
186 if (typeof d['ERROR'] !== "undefined") { 183 if (typeof d['ERROR'] !== "undefined") {
187 console.log(d['ERROR']); 184 console.log(d['ERROR']);
188 $('#block-info').css({'display': 'block'}); 185 $('#block-info').css({'display': 'block'});
189 $('#messages_error_reg').html(d['ERROR']); 186 $('#messages_error_reg').html(d['ERROR']);
190 } 187 }
191 console.log(d['REDIRECT']); 188 console.log(d['REDIRECT']);
192 189
193 }, 190 },
194 headers: { 191 headers: {
195 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 192 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
196 }, 193 },
197 error: function (data) { 194 error: function (data) {
198 data = JSON.stringify(data); 195 data = JSON.stringify(data);
199 console.log('Error: ' + data); 196 console.log('Error: ' + data);
200 } 197 }
201 }); 198 });
202 199
203 return false; 200 return false;
204 }); 201 });
205 202
206 $(document).on('click', '#button_reg_employer', function() { 203 $(document).on('click', '#button_reg_employer', function() {
207 var field_login = $('#email_employer'); 204 var field_login = $('#email_employer');
208 var field_pwd = $('#password_employer'); 205 var field_pwd = $('#password_employer');
209 var field_confirm_pwd = $('#password_confirmation_employer'); 206 var field_confirm_pwd = $('#password_confirmation_employer');
210 var field_politik_employer = $('#politik_employer'); 207 var field_politik_employer = $('#politik_employer');
211 var field_telephone_employer = $('#telephone_employer'); 208 var field_telephone_employer = $('#telephone_employer');
212 var field_company_employer = $('#company_employer'); 209 var field_company_employer = $('#company_employer');
213 var field_surname_employer = $('#surname_employer'); 210 var field_surname_employer = $('#surname_employer');
214 var field_name_man_employer = $('#name_man_employer'); 211 var field_name_man_employer = $('#name_man_employer');
215 var field_surname2_employer = $('#surname2_employer'); 212 var field_surname2_employer = $('#surname2_employer');
216 213
217 var login = field_login.val(); 214 var login = field_login.val();
218 var pwd = field_pwd.val(); 215 var pwd = field_pwd.val();
219 var confirm_pwd = field_confirm_pwd.val(); 216 var confirm_pwd = field_confirm_pwd.val();
220 var politik = field_politik_employer.val(); 217 var politik = field_politik_employer.val();
221 var telephone = field_telephone_employer.val(); 218 var telephone = field_telephone_employer.val();
222 var company_employer = field_company_employer.val(); 219 var company_employer = field_company_employer.val();
223 var surname = field_surname_employer.val(); 220 var surname = field_surname_employer.val();
224 var name_man = field_name_man_employer.val(); 221 var name_man = field_name_man_employer.val();
225 var surname2 = field_surname2_employer.val(); 222 var surname2 = field_surname2_employer.val();
226 223
227 if (document.getElementById("cpatchaTextBox2").value == code2) { 224 if (document.getElementById("cpatchaTextBox2").value == code2) {
228 console.log('Валидный кот'); 225 console.log('Валидный кот');
229 226
230 } else { 227 } else {
231 console.log('Ошибка2'); 228 console.log('Ошибка2');
232 event.preventDefault(); 229 event.preventDefault();
233 $('#block-info').css({'display': 'block'}); 230 $('#block-info').css({'display': 'block'});
234 $('#messages_error_reg').html('ERROR: Капча неверная!'); 231 $('#messages_error_reg').html('ERROR: Капча неверная!');
235 return false; 232 return false;
236 } 233 }
237 234
238 console.log('login: '+login+' password: '+pwd); 235 console.log('login: '+login+' password: '+pwd);
239 236
240 if (field_politik_employer.attr('checked')) { 237 if (field_politik_employer.attr('checked')) {
241 console.log('politik=1'); 238 console.log('politik=1');
242 politik = 1; 239 politik = 1;
243 } else { 240 } else {
244 politik = 0; 241 politik = 0;
245 console.log('politik=0'); 242 console.log('politik=0');
246 } 243 }
247 244
248 $.ajax({ 245 $.ajax({
249 type: "GET", 246 type: "GET",
250 url: "{{ route('register_employer') }}", 247 url: "{{ route('register_employer') }}",
251 data: "email="+login+"&password="+pwd+"&confirmed="+confirm_pwd+"&politik="+politik+ 248 data: "email="+login+"&password="+pwd+"&confirmed="+confirm_pwd+"&politik="+politik+
252 "&telephone="+telephone+"&name_company="+company_employer+"&surname="+surname+"&name_man="+name_man+ 249 "&telephone="+telephone+"&name_company="+company_employer+"&surname="+surname+"&name_man="+name_man+
253 "&surname2="+surname2+"&subscribe_email="+login, 250 "&surname2="+surname2+"&subscribe_email="+login,
254 success: function (data) { 251 success: function (data) {
255 console.log('Вход в систему'); 252 console.log('Вход в систему');
256 let d = JSON.parse(data); 253 let d = JSON.parse(data);
257 if(typeof d['REDIRECT'] !== "undefined") { 254 if(typeof d['REDIRECT'] !== "undefined") {
258 console.log(d['REDIRECT']); 255 console.log(d['REDIRECT']);
259 location.href = d['REDIRECT']; 256 location.href = d['REDIRECT'];
260 } 257 }
261 if (typeof d['ERROR'] !== "undefined") { 258 if (typeof d['ERROR'] !== "undefined") {
262 console.log(d['ERROR']); 259 console.log(d['ERROR']);
263 $('#block-info').css({'display': 'block'}); 260 $('#block-info').css({'display': 'block'});
264 $('#messages_error_reg').html(d['ERROR']); 261 $('#messages_error_reg').html(d['ERROR']);
265 } 262 }
266 console.log(d['REDIRECT']); 263 console.log(d['REDIRECT']);
267 }, 264 },
268 headers: { 265 headers: {
269 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 266 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
270 }, 267 },
271 error: function (data) { 268 error: function (data) {
272 data = JSON.stringify(data); 269 data = JSON.stringify(data);
273 console.log('Error: ' + data); 270 console.log('Error: ' + data);
274 } 271 }
275 }); 272 });
276 return false; 273 return false;
277 }); 274 });
278 </script> 275 </script>
279 276
resources/views/layout/frontend.blade.php
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> 2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3 3
4 <head> 4 <head>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <title>{{ $title }}</title> 6 <title>{{ $title }}</title>
7 <meta name="viewport" content="width=device-width,initial-scale=1"> 7 <meta name="viewport" content="width=device-width,initial-scale=1">
8 <meta name="theme-color" content="#377D87"> 8 <meta name="theme-color" content="#377D87">
9 <script src="{{ asset('js/jquery.js') }}"></script> 9 <script src="{{ asset('js/jquery.js') }}"></script>
10 <script src="{{ asset('js/jquery-ui.js') }}"></script> 10 <script src="{{ asset('js/jquery-ui.js') }}"></script>
11 <script src="{{ asset('js/func.js') }}"></script> 11 <script src="{{ asset('js/func.js') }}"></script>
12 <link rel="stylesheet" href="{{ asset('js/chosen/chosen.min.css') }}"> 12 <link rel="stylesheet" href="{{ asset('js/chosen/chosen.min.css') }}">
13 <script src="{{ asset('js/chosen/chosen.jquery.min.js') }}"></script> 13 <script src="{{ asset('js/chosen/chosen.jquery.min.js') }}"></script>
14 <!--<script type="text/javascript" src=" asset('js/jquery.cookie.js') }}"></script>--> 14 <!--<script type="text/javascript" src=" asset('js/jquery.cookie.js') }}"></script>-->
15 <link rel="stylesheet" href="{{ asset('css/telegram.css') }}"> 15 <link rel="stylesheet" href="{{ asset('css/telegram.css') }}">
16 <link rel="stylesheet" href="{{ asset('css/star-rating.min.css') }}"> 16 <link rel="stylesheet" href="{{ asset('css/star-rating.min.css') }}">
17 <link rel="stylesheet" href="{{ asset('css/style_may2024.css') }}"> 17 <link rel="stylesheet" href="{{ asset('css/style_may2024.css') }}">
18 <link rel="stylesheet" href="{{ asset('css/helpers.css') }}"> 18 <link rel="stylesheet" href="{{ asset('css/helpers.css') }}">
19 <style> 19 <style>
20 .err_red { 20 .err_red {
21 border: red 2px solid; 21 border: red 2px solid;
22 } 22 }
23 23
24 .input[disabled] { 24 .input[disabled] {
25 /* color: #9c9d9d; */ 25 /* color: #9c9d9d; */
26 background: #FFFFFF; 26 background: #FFFFFF;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
30 30
31 <body id="body" onload="createCaptcha()"> 31 <body id="body" onload="createCaptcha()">
32 <a href="#body" class="to-top js-scroll-to"> 32 <a href="#body" class="to-top js-scroll-to">
33 <svg> 33 <svg>
34 <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use> 34 <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use>
35 </svg> 35 </svg>
36 </a> 36 </a>
37 37
38 <div> <!-- BEGIN TOP WRAPPER --> 38 <div> <!-- BEGIN TOP WRAPPER -->
39 <header class="header"> 39 <header class="header">
40 <div class="container"> 40 <div class="container">
41 <div class="header__body"> 41 <div class="header__body">
42 <div class="header__left"> 42 <div class="header__left">
43 <a href="{{ route('index') }}" class="header__logo"> 43 <a href="{{ route('index') }}" class="header__logo">
44 <svg> 44 <svg>
45 <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use> 45 <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use>
46 </svg> 46 </svg>
47 </a> 47 </a>
48 <nav class="header__menu"> 48 <nav class="header__menu">
49 <a href="{{ route('vacancies') }}" class="header__menu-item">Вакансии</a> 49 <a href="{{ route('vacancies') }}" class="header__menu-item">Вакансии</a>
50 <a href="{{ route('shipping_companies') }}" class="header__menu-item">Судоходные компании</a> 50 <a href="{{ route('shipping_companies') }}" class="header__menu-item">Судоходные компании</a>
51 <a href="{{ route('education') }}" class="header__menu-item">Образование</a> 51 <a href="{{ route('education') }}" class="header__menu-item">Образование</a>
52 </nav> 52 </nav>
53 </div> 53 </div>
54 <div class="header__right"> 54 <div class="header__right">
55 @guest 55 @guest
56 56
57 @else 57 @else
58 <a href="@if ($UserId->is_worker) {{ route('worker.cabinet') }} @else {{ route('employer.cabinet') }} @endif" class="header__notifs header__notifs_actived"> 58 <a href="@if ($UserId->is_worker) {{ route('worker.cabinet') }} @else {{ route('employer.cabinet') }} @endif" class="header__notifs header__notifs_actived">
59 <svg> 59 <svg>
60 <use xlink:href="{{ asset('images/sprite.svg#ring') }}"></use> 60 <use xlink:href="{{ asset('images/sprite.svg#ring') }}"></use>
61 </svg> 61 </svg>
62 <span>Уведомления</span> 62 <span>Уведомления</span>
63 </a> 63 </a>
64 64
65 @endguest 65 @endguest
66 <div class="header__right-line"></div> 66 <div class="header__right-line"></div>
67 <button class="header__burger"> 67 <button class="header__burger">
68 <svg> 68 <svg>
69 <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use> 69 <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use>
70 </svg> 70 </svg>
71 </button> 71 </button>
72 @guest 72 @guest
73 <a class="button header__sign" data-fancybox data-src="#sign" data-options='{"touch":false,"autoFocus":false}'>Войти</a> 73 <a class="button header__sign" data-fancybox data-src="#sign" data-options='{"touch":false,"autoFocus":false}'>Войти</a>
74 @else 74 @else
75 <a class="button header__sign" href="{{ route('logout') }}">Выйти</a> 75 <a class="button header__sign" href="{{ route('logout') }}">Выйти</a>
76 @endguest 76 @endguest
77 </div> 77 </div>
78 </div> 78 </div>
79 </div> 79 </div>
80 </header> 80 </header>
81 81
82 @yield('content') 82 @yield('content')
83 </div> <!-- END TOP WRAPPER --> 83 </div> <!-- END TOP WRAPPER -->
84 84
85 <div> <!-- BEGIN BOTTOM WRAPPER --> 85 <div> <!-- BEGIN BOTTOM WRAPPER -->
86 <footer class="footer"> 86 <footer class="footer">
87 <div class="container"> 87 <div class="container">
88 <div class="footer__mobile"> 88 <div class="footer__mobile">
89 89
90 <button class="footer__mobile-toper js-toggle active"> 90 <button class="footer__mobile-toper js-toggle active">
91 <a href="{{ route('index') }}"> 91 <a href="{{ route('index') }}">
92 <svg> 92 <svg>
93 <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use> 93 <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use>
94 </svg> 94 </svg>
95 </a> 95 </a>
96 <span> 96 <span>
97 <svg> 97 <svg>
98 <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use> 98 <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use>
99 </svg> 99 </svg>
100 </span> 100 </span>
101 </button> 101 </button>
102 <div class="footer__mobile-menu"> 102 <div class="footer__mobile-menu">
103 <div class="footer__mobile-menu-item"> 103 <div class="footer__mobile-menu-item">
104 <button class="js-toggle"> 104 <button class="js-toggle">
105 <b>Соискателям</b> 105 <b>Соискателям</b>
106 <span><svg> 106 <span><svg>
107 <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use> 107 <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use>
108 </svg></span> 108 </svg></span>
109 </button> 109 </button>
110 <div> 110 <div>
111 @if (\Illuminate\Support\Facades\Auth::user() === null)
111 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a> 112 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a>
113 @endif
112 <a href="{{ route('vacancies') }}">Вакансии</a> 114 <a href="{{ route('vacancies') }}">Вакансии</a>
113 <!--<a href=" route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a>--> 115 <!--<a href=" route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a>-->
114 <a href="{{ route('education') }}">Образование</a> 116 <a href="{{ route('education') }}">Образование</a>
115 <a href="{{ route('news') }}">Новости</a> 117 <a href="{{ route('news') }}">Новости</a>
116 <a href="{{ $companies[0]->telegram }}">Телеграм</a> 118 <a href="{{ $companies[0]->telegram }}">Телеграм</a>
117 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a> 119 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a>
118 <!--<a href=" route('contacts') }}">Контакты</a>--> 120 <!--<a href=" route('contacts') }}">Контакты</a>-->
119 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-soiskatelyam"]) }}">Публичная оферта</a> 121 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-soiskatelyam"]) }}">Публичная оферта</a>
120 </div> 122 </div>
121 </div> 123 </div>
122 <div class="footer__mobile-menu-item"> 124 <div class="footer__mobile-menu-item">
123 <button class="js-toggle"> 125 <button class="js-toggle">
124 <b>Работодателям</b> 126 <b>Работодателям</b>
125 <span><svg> 127 <span><svg>
126 <use xlink:href="{{asset('images/sprite.svg#arrow-top') }}"></use> 128 <use xlink:href="{{asset('images/sprite.svg#arrow-top') }}"></use>
127 </svg></span> 129 </svg></span>
128 </button> 130 </button>
129 <div> 131 <div>
132 @if (\Illuminate\Support\Facades\Auth::user() === null)
130 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a> 133 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a>
134 @endif
131 <!--<a href=" route('register') }}">Регистрация</a>--> 135 <!--<a href=" route('register') }}">Регистрация</a>-->
132 <a href="{{ route('bd_resume') }}">База резюме</a> 136 <a href="{{ route('bd_resume') }}">База резюме</a>
133 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a> 137 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a>
134 <!--<a href=" route('page', ['pages' => "Stoimost-razmescheniya"]) }}">Стоимость размещения</a>--> 138 <!--<a href=" route('page', ['pages' => "Stoimost-razmescheniya"]) }}">Стоимость размещения</a>-->
135 <!--<a href=" route('page', ['pages' => "Instrukcii"]) }}">Инструкции</a>--> 139 <!--<a href=" route('page', ['pages' => "Instrukcii"]) }}">Инструкции</a>-->
136 <!--<a href=" route('page', ['pages' => "Effektivnost-obyavleniya"]) }}">Эффективность объявления</a>--> 140 <!--<a href=" route('page', ['pages' => "Effektivnost-obyavleniya"]) }}">Эффективность объявления</a>-->
137 <a href="{{ $companies[0]->telegram }}">Телеграм</a> 141 <a href="{{ $companies[0]->telegram }}">Телеграм</a>
138 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a> 142 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a>
139 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-rabotodatelyam"]) }}">Публичная оферта</a> 143 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-rabotodatelyam"]) }}">Публичная оферта</a>
140 </div> 144 </div>
141 </div> 145 </div>
142 </div> 146 </div>
143 <div class="footer__mobile-contacts"> 147 <div class="footer__mobile-contacts">
144 <b>Контакты</b> 148 <b>Контакты</b>
145 <a href="tel:{{ $companies[0]->telephone }}">{{ $companies[0]->telephone }}</a> 149 <a href="tel:{{ $companies[0]->telephone }}">{{ $companies[0]->telephone }}</a>
146 <a href="mailto:{{ $companies[0]->email }}">{{ $companies[0]->email }}</a> 150 <a href="mailto:{{ $companies[0]->email }}">{{ $companies[0]->email }}</a>
147 </div> 151 </div>
148 <div class="footer__mobile-bottom"> 152 <div class="footer__mobile-bottom">
149 <div class="socials"> 153 <div class="socials">
150 <a href="{{ $companies[0]->vkontact }}" target="_blank"> 154 <a href="{{ $companies[0]->vkontact }}" target="_blank">
151 <svg> 155 <svg>
152 <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use> 156 <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use>
153 </svg> 157 </svg>
154 </a> 158 </a>
155 <a href="{{ $companies[0]->telegram }}" target="_blank"> 159 <a href="{{ $companies[0]->telegram }}" target="_blank">
156 <svg> 160 <svg>
157 <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use> 161 <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use>
158 </svg> 162 </svg>
159 </a> 163 </a>
160 </div> 164 </div>
161 <nav class="footer__mobile-links"> 165 <nav class="footer__mobile-links">
162 <a href="{{ route('page', ['pages' => "Politika-konfidencialnosti"]) }}">Политика конфиденциальности</a> 166 <a href="{{ route('page', ['pages' => "Politika-konfidencialnosti"]) }}">Политика конфиденциальности</a>
163 <span></span> 167 <span></span>
164 <a href="{{ route('page', ['pages' => "Polzovatelskoe-soglashenie"]) }}">Пользовательское соглашение</a> 168 <a href="{{ route('page', ['pages' => "Polzovatelskoe-soglashenie"]) }}">Пользовательское соглашение</a>
165 </nav> 169 </nav>
166 &copy; 2023 &mdash; RekaMore.su 170 &copy; 2023 &mdash; RekaMore.su
167 <a href="{{ route('index') }}" class="nls" target="_blank"> 171 <a href="{{ route('index') }}" class="nls" target="_blank">
168 <svg> 172 <svg>
169 <use xlink:href="{{ asset('images/sprite.svg#nls') }}"></use> 173 <use xlink:href="{{ asset('images/sprite.svg#nls') }}"></use>
170 </svg> 174 </svg>
171 <span> 175 <span>
172 Дизайн и разработка: 176 Дизайн и разработка:
173 <b>NoLogoStudio.ru</b> 177 <b>NoLogoStudio.ru</b>
174 </span> 178 </span>
175 </a> 179 </a>
176 </div> 180 </div>
177 </div> 181 </div>
178 <div class="footer__main"> 182 <div class="footer__main">
179 <div class="footer__main-body"> 183 <div class="footer__main-body">
180 184
181 <a href="" class="footer__main-logo"> 185 <a href="" class="footer__main-logo">
182 <svg> 186 <svg>
183 <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use> 187 <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use>
184 </svg> 188 </svg>
185 </a> 189 </a>
186 <div class="footer__main-col"> 190 <div class="footer__main-col">
187 <div class="footer__main-title">Соискателям</div> 191 <div class="footer__main-title">Соискателям</div>
188 <nav> 192 <nav>
193 @if (\Illuminate\Support\Facades\Auth::user() === null)
189 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a> 194 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a>
195 @endif
190 <a href="{{ route('vacancies') }}">Вакансии</a> 196 <a href="{{ route('vacancies') }}">Вакансии</a>
191 <!--<a href=" route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a>--> 197 <!--<a href=" route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a>-->
192 <a href="{{ route('education') }}">Образование</a> 198 <a href="{{ route('education') }}">Образование</a>
193 <a href="{{ route('news') }}">Новости</a> 199 <a href="{{ route('news') }}">Новости</a>
194 <!--<a href=" route('contacts') }}">Контакты</a>--> 200 <!--<a href=" route('contacts') }}">Контакты</a>-->
195 <a href="{{ $companies[0]->telegram }}">Телеграм</a> 201 <a href="{{ $companies[0]->telegram }}">Телеграм</a>
196 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a> 202 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a>
197 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-soiskatelyam"]) }}">Публичная оферта</a> 203 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-soiskatelyam"]) }}">Публичная оферта</a>
198 </nav> 204 </nav>
199 </div> 205 </div>
200 <div class="footer__main-col"> 206 <div class="footer__main-col">
201 <div class="footer__main-title">Работодателям</div> 207 <div class="footer__main-title">Работодателям</div>
202 <nav> 208 <nav>
209 @if (\Illuminate\Support\Facades\Auth::user() === null)
203 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a> 210 <a data-fancybox data-src="#reg" data-options='{"touch":false,"autoFocus":false}'>Регистрация</a>
211 @endif
204 <!--<a href=" route('register') }}">Регистрация</a>--> 212 <!--<a href=" route('register') }}">Регистрация</a>-->
205 <a href="{{ route('bd_resume') }}">База резюме</a> 213 <a href="{{ route('bd_resume') }}">База резюме</a>
206 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a> 214 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}">Условия размещения</a>
207 <!--<a href=" route('page', ['pages' => "Stoimost-razmescheniya"]) }}">Стоимость размещения</a>--> 215 <!--<a href=" route('page', ['pages' => "Stoimost-razmescheniya"]) }}">Стоимость размещения</a>-->
208 <!--<a href=" route('page', ['pages' => "Instrukcii"]) }}">Инструкции</a>--> 216 <!--<a href=" route('page', ['pages' => "Instrukcii"]) }}">Инструкции</a>-->
209 <!--<a href=" route('page', ['pages' => "Effektivnost-obyavleniya"]) }}">Эффективность объявления</a>--> 217 <!--<a href=" route('page', ['pages' => "Effektivnost-obyavleniya"]) }}">Эффективность объявления</a>-->
210 <a href="{{ $companies[0]->telegram }}">Телеграм</a> 218 <a href="{{ $companies[0]->telegram }}">Телеграм</a>
211 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a> 219 <a href="{{ $companies[0]->vkontact }}">ВКонтакте</a>
212 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-rabotodatelyam"]) }}">Публичная оферта</a> 220 <a href="{{ route('page', ['pages' => "Publichnaya-oferta-rabotodatelyam"]) }}">Публичная оферта</a>
213 </nav> 221 </nav>
214 </div> 222 </div>
215 223
216 <div class="footer__main-col"> 224 <div class="footer__main-col">
217 <div class="footer__main-title">Контакты</div> 225 <div class="footer__main-title">Контакты</div>
218 <div class="footer__main-contacts"> 226 <div class="footer__main-contacts">
219 <a href="tel:{{ $companies[0]->telephone }}">{{ $companies[0]->telephone }}</a> 227 <a href="tel:{{ $companies[0]->telephone }}">{{ $companies[0]->telephone }}</a>
220 <a href="mailto:{{ $companies[0]->email }}">{{ $companies[0]->email }}</a> 228 <a href="mailto:{{ $companies[0]->email }}">{{ $companies[0]->email }}</a>
221 </div> 229 </div>
222 <div class="socials"> 230 <div class="socials">
223 <a href="{{ $companies[0]->vkontact }}" target="_blank"> 231 <a href="{{ $companies[0]->vkontact }}" target="_blank">
224 <svg> 232 <svg>
225 <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use> 233 <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use>
226 </svg> 234 </svg>
227 </a> 235 </a>
228 <a href="{{ $companies[0]->telegram }}" target="_blank"> 236 <a href="{{ $companies[0]->telegram }}" target="_blank">
229 <svg> 237 <svg>
230 <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use> 238 <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use>
231 </svg> 239 </svg>
232 </a> 240 </a>
233 </div> 241 </div>
234 </div> 242 </div>
235 </div> 243 </div>
236 244
237 <div class="footer__main-copy"> 245 <div class="footer__main-copy">
238 <div>&copy; 2023 &mdash; RekaMore.su</div> 246 <div>&copy; 2023 &mdash; RekaMore.su</div>
239 <nav> 247 <nav>
240 <a href="{{ route('page', ['pages' => "Politika-konfidencialnosti"]) }}">Политика конфиденциальности</a> 248 <a href="{{ route('page', ['pages' => "Politika-konfidencialnosti"]) }}">Политика конфиденциальности</a>
241 <span></span> 249 <span></span>
242 <a href="{{ route('page', ['pages' => "Polzovatelskoe-soglashenie"]) }}">Пользовательское соглашение</a> 250 <a href="{{ route('page', ['pages' => "Polzovatelskoe-soglashenie"]) }}">Пользовательское соглашение</a>
243 </nav> 251 </nav>
244 <div> @if (isset($_COOKIE['favorite_vacancy'])) Куки вакансий: {{ print_r($_COOKIE['favorite_vacancy']) }} @endif</div> 252 <div> @if (isset($_COOKIE['favorite_vacancy'])) Куки вакансий: {{ print_r($_COOKIE['favorite_vacancy']) }} @endif</div>
245 <a href="{{ route('index') }}" class="nls" target="_blank"> 253 <a href="{{ route('index') }}" class="nls" target="_blank">
246 <svg> 254 <svg>
247 <use xlink:href="{{ asset('images/sprite.svg#nls') }}"></use> 255 <use xlink:href="{{ asset('images/sprite.svg#nls') }}"></use>
248 </svg> 256 </svg>
249 <span> 257 <span>
250 Дизайн и разработка: 258 Дизайн и разработка:
251 <b>NoLogoStudio.ru</b> 259 <b>NoLogoStudio.ru</b>
252 </span> 260 </span>
253 </a> 261 </a>
254 </div> 262 </div>
255 </div> 263 </div>
256 </div> 264 </div>
257 </footer> 265 </footer>
258 </div> <!-- END BOTTOM WRAPPER --> 266 </div> <!-- END BOTTOM WRAPPER -->
259 267
260 <div hidden> <!-- BEGIN MODALS WRAPPER --> 268 <div hidden> <!-- BEGIN MODALS WRAPPER -->
261 <!-- Соискатель отправляет сообщение работодателю --> 269 <!-- Соискатель отправляет сообщение работодателю -->
262 @include('modals.send_worker_new') 270 @include('modals.send_worker_new')
263 271
264 <!-- Работодатель отправляет сообщение соискателю --> 272 <!-- Работодатель отправляет сообщение соискателю -->
265 @include('modals.send_employer') 273 @include('modals.send_employer')
266 274
267 <!-- Сообщение-предупреждение о том, что сообщения только можно отправить авторизованным пользователям --> 275 <!-- Сообщение-предупреждение о том, что сообщения только можно отправить авторизованным пользователям -->
268 @include('modals.send_message_noaut') 276 @include('modals.send_message_noaut')
269 277
270 @include('modals.send_message_noaut2') 278 @include('modals.send_message_noaut2')
271 279
272 <!-- Форма авторизации --> 280 <!-- Форма авторизации -->
273 @include('modals.send_login') 281 @include('modals.send_login')
274 282
275 <!-- Сбросить пароль --> 283 <!-- Сбросить пароль -->
276 @include('modals.reset_password') 284 @include('modals.reset_password')
277 285
278 <!-- Регистрация --> 286 <!-- Регистрация -->
279 @include('modals.register') 287 @include('modals.register')
280 288
281 <!-- Благодарность по отправке сообщения работодателю --> 289 <!-- Благодарность по отправке сообщения работодателю -->
282 @include('modals.thank_you_send_employer') 290 @include('modals.thank_you_send_employer')
283 291
284 <!-- Благодарность по отправке сообщения менеджеру --> 292 <!-- Благодарность по отправке сообщения менеджеру -->
285 @include('modals.thank_you_send_manager') 293 @include('modals.thank_you_send_manager')
286 294
287 <!-- Благодарность после регистрации --> 295 <!-- Благодарность после регистрации -->
288 @include('modals.thank_you_send_for_employer') 296 @include('modals.thank_you_send_for_employer')
289 297
290 <!-- Благодарность после регистрации для работника --> 298 <!-- Благодарность после регистрации для работника -->
291 @include('modals.thank_you_send_for_worker') 299 @include('modals.thank_you_send_for_worker')
292 300
293 <!-- Подтверждение удаления профиля --> 301 <!-- Подтверждение удаления профиля -->
294 @include('modals.delete_profile') 302 @include('modals.delete_profile')
295 303
296 <!-- Подверждение об удалении профиля --> 304 <!-- Подверждение об удалении профиля -->
297 @include('modals.success_delete_profile') 305 @include('modals.success_delete_profile')
298 306
299 </div> <!-- END MODALS WRAPPER --> 307 </div> <!-- END MODALS WRAPPER -->
300 308
301 309
302 <script src="{{ asset('js/jquery.maskedinput.js') }}"></script> 310 <script src="{{ asset('js/jquery.maskedinput.js') }}"></script>
303 <script src="{{ asset('js/jquery.fancybox.js') }}"></script> 311 <script src="{{ asset('js/jquery.fancybox.js') }}"></script>
304 <script src="{{ asset('js/jquery.select2.js') }}"></script> 312 <script src="{{ asset('js/jquery.select2.js') }}"></script>
305 <script src="{{ asset('js/swiper.js') }}"></script> 313 <script src="{{ asset('js/swiper.js') }}"></script>
306 <script src="{{ asset('js/script-vc.js') }}"></script> 314 <script src="{{ asset('js/script-vc.js') }}"></script>
307 <script src="{{ asset('js/star-rating.min.js') }}"></script> 315 <script src="{{ asset('js/star-rating.min.js') }}"></script>
308 <script> 316 <script>
309 var getUrlParameter = function getUrlParameter(sParam) { 317 var getUrlParameter = function getUrlParameter(sParam) {
310 var sPageURL = decodeURIComponent(window.location.search.substring(1)), 318 var sPageURL = decodeURIComponent(window.location.search.substring(1)),
311 sURLVariables = sPageURL.split('&'), 319 sURLVariables = sPageURL.split('&'),
312 sParameterName, 320 sParameterName,
313 i; 321 i;
314 for (i = 0; i < sURLVariables.length; i++) { 322 for (i = 0; i < sURLVariables.length; i++) {
315 sParameterName = sURLVariables[i].split('='); 323 sParameterName = sURLVariables[i].split('=');
316 if (sParameterName[0] === sParam) { 324 if (sParameterName[0] === sParam) {
317 return sParameterName[1] === undefined ? true : sParameterName[1]; 325 return sParameterName[1] === undefined ? true : sParameterName[1];
318 } 326 }
319 } 327 }
320 }; 328 };
321 329
322 $(function() { 330 $(function() {
323 var style_link = "{{ asset('css/cke_wysiwyg_frame_style.css') }}"; 331 var style_link = "{{ asset('css/cke_wysiwyg_frame_style.css') }}";
324 var iterator = 0; 332 var iterator = 0;
325 var wysiwyg_style_interval = window.setInterval(function(){ 333 var wysiwyg_style_interval = window.setInterval(function(){
326 var frame = $('.cke_wysiwyg_frame'); 334 var frame = $('.cke_wysiwyg_frame');
327 frame.contents().find('head').append( 335 frame.contents().find('head').append(
328 $('<link rel="stylesheet" type="text/css" href="' + style_link + '">') 336 $('<link rel="stylesheet" type="text/css" href="' + style_link + '">')
329 ); 337 );
330 if (frame.length || (++iterator == 6)){ 338 if (frame.length || (++iterator == 6)){
331 clearInterval(wysiwyg_style_interval); 339 clearInterval(wysiwyg_style_interval);
332 } 340 }
333 }, 500); 341 }, 500);
334 }); 342 });
335 </script> 343 </script>
336 @include('js.modals') 344 @include('js.modals')
337 @include('js.captha') 345 @include('js.captha')
338 @yield('scripts') 346 @yield('scripts')
339 </body> 347 </body>
340 </html> 348 </html>
341 349
resources/views/list_vacancies.blade.php
1 @php 1 @php
2 use App\Classes\StatusUser; 2 use App\Classes\StatusUser;
3 @endphp 3 @endphp
4 4
5 @extends('layout.frontend', ['title' => 'Вакансии РекаМоре']) 5 @extends('layout.frontend', ['title' => 'Вакансии РекаМоре'])
6 6
7 @section('scripts') 7 @section('scripts')
8 <script> 8 <script>
9 console.log('Test system');
10 $(document).on('change', '#jobs', function() { 9 $(document).on('change', '#jobs', function() {
11 var val = $(this).val(); 10 var val = $(this).val();
12 var main_oskar = $('#main_ockar'); 11 var main_oskar = $('#main_ockar');
13 var ti_head = $('#title_head'); 12 var ti_head = $('#title_head');
14 13
15 console.log('Code='+val); 14 console.log('Code='+val);
16 console.log('Click change...'); 15 console.log('Click change...');
17 $.ajax({ 16 $.ajax({
18 type: "GET", 17 type: "GET",
19 url: "{{ route('list-vacancies', ['categories' => $categories->id]) }}", 18 url: "{{ route('list-vacancies', ['categories' => $categories->id]) }}",
20 data: "job="+val, 19 data: "job="+val,
21 success: function (data) { 20 success: function (data) {
22 console.log('Выбор сделан!'); 21 console.log('Выбор сделан!');
23 22
24 main_oskar.html(data); 23 main_oskar.html(data);
25 history.pushState({}, '', "{{ route('list-vacancies', ['categories' => $categories->id]) }}?job="+val+"@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 24 history.pushState({}, '', "{{ route('list-vacancies', ['categories' => $categories->id]) }}?job="+val+"@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
26 }, 25 },
27 headers: { 26 headers: {
28 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 27 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
29 }, 28 },
30 error: function (data) { 29 error: function (data) {
31 data = JSON.stringify(data); 30 data = JSON.stringify(data);
32 console.log('Error: ' + data); 31 console.log('Error: ' + data);
33 } 32 }
34 }); 33 });
35 34
36 if ((val == '') || (val == '0')) { 35 if ((val == '') || (val == '0')) {
37 title_head.html('Все категории'); 36 title_head.html('Все категории');
38 } else { 37 } else {
39 $.ajax({ 38 $.ajax({
40 type: "GET", 39 type: "GET",
41 url: "{{ route('list-vacancies', ['categories' => $categories->id]) }}?@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif", 40 url: "{{ route('list-vacancies', ['categories' => $categories->id]) }}?@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif",
42 data: "job=" + val +"&title=1", 41 data: "job=" + val +"&title=1",
43 success: function (data) { 42 success: function (data) {
44 43
45 console.log(data); 44 console.log(data);
46 }, 45 },
47 46
48 headers: { 47 headers: {
49 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 48 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
50 }, 49 },
51 50
52 error: function (data) { 51 error: function (data) {
53 data = JSON.stringify(data); 52 data = JSON.stringify(data);
54 console.log('Error: ' + data); 53 console.log('Error: ' + data);
55 } 54 }
56 }); 55 });
57 56
58 } 57 }
59 }); 58 });
60 59
61 $(document).on('click', '.js_send_it_button', function() { 60 $(document).on('click', '.js_send_it_button', function() {
62 var this_ = $(this); 61 var this_ = $(this);
63 var code_user_id = this_.attr('data-uid'); 62 var code_user_id = this_.attr('data-uid');
64 var code_to_user_id = this_.attr('data-tuid'); 63 var code_to_user_id = this_.attr('data-tuid');
65 var code_vacancy = this_.attr('data-vacancy'); 64 var code_vacancy = this_.attr('data-vacancy');
66 var user_id = $('#_user_id'); 65 var user_id = $('#_user_id');
67 var to_user_id = $('#_to_user_id'); 66 var to_user_id = $('#_to_user_id');
68 var vacancy = $('#_vacancy'); 67 var vacancy = $('#_vacancy');
69 68
70 console.log('Клик на кнопки...'); 69 console.log('Клик на кнопки...');
71 70
72 user_id.val(code_user_id); 71 user_id.val(code_user_id);
73 to_user_id.val(code_to_user_id); 72 to_user_id.val(code_to_user_id);
74 vacancy.val(code_vacancy); 73 vacancy.val(code_vacancy);
75 }); 74 });
76 75
77 $(document).on('click', '.js_send_for_emp', function() { 76 $(document).on('click', '.js_send_for_emp', function() {
78 var this_ = $(this); 77 var this_ = $(this);
79 var code_user_id = this_.attr('data-uid'); 78 var code_user_id = this_.attr('data-uid');
80 var code_to_user_id = this_.attr('data-tuid'); 79 var code_to_user_id = this_.attr('data-tuid');
81 var code_vacancy = this_.attr('data-vacancy'); 80 var code_vacancy = this_.attr('data-vacancy');
82 var user_id = $('#send_user_id'); 81 var user_id = $('#send_user_id');
83 var to_user_id = $('#send_to_user_id'); 82 var to_user_id = $('#send_to_user_id');
84 var vacancy = $('#send_vacancy'); 83 var vacancy = $('#send_vacancy');
85 84
86 console.log('code_to_user_id='+code_to_user_id); 85 console.log('code_to_user_id='+code_to_user_id);
87 console.log('code_user_id='+code_user_id); 86 console.log('code_user_id='+code_user_id);
88 console.log('code_vacancy='+code_vacancy); 87 console.log('code_vacancy='+code_vacancy);
89 console.log('Клик на кнопке...'); 88 console.log('Клик на кнопке...');
90 89
91 user_id.val(code_user_id); 90 user_id.val(code_user_id);
92 to_user_id.val(code_to_user_id); 91 to_user_id.val(code_to_user_id);
93 vacancy.val(code_vacancy); 92 vacancy.val(code_vacancy);
94 }); 93 });
95 94
96 $(document).on('change', '#sort_ajax', function() { 95 $(document).on('change', '#sort_ajax', function() {
97 var this_ = $(this); 96 var this_ = $(this);
98 var val_ = this_.val(); 97 var val_ = this_.val();
99 console.log('sort items '+val_); 98 console.log('sort items '+val_);
100 99
101 $.ajax({ 100 $.ajax({
102 type: "GET", 101 type: "GET",
103 url: "{{ route('list-vacancies', ['categories' => $categories->id]) }}", 102 url: "{{ route('list-vacancies', ['categories' => $categories->id]) }}",
104 data: "sort="+val_+"&block=1", 103 data: "sort="+val_+"&block=1",
105 success: function (data) { 104 success: function (data) {
106 console.log('Выбор сортировки'); 105 console.log('Выбор сортировки');
107 console.log(data); 106 console.log(data);
108 $('#main_ockar').html(data); 107 $('#main_ockar').html(data);
109 history.pushState({}, '', "{{ route('list-vacancies', ['categories' => $categories->id]) }}?sort="+val_+"@if (isset($_GET['job']))&job={{ $_GET['job'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 108 history.pushState({}, '', "{{ route('list-vacancies', ['categories' => $categories->id]) }}?sort="+val_+"@if (isset($_GET['job']))&job={{ $_GET['job'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
110 }, 109 },
111 headers: { 110 headers: {
112 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 111 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
113 }, 112 },
114 error: function (data) { 113 error: function (data) {
115 data = JSON.stringify(data); 114 data = JSON.stringify(data);
116 console.log('Error: ' + data); 115 console.log('Error: ' + data);
117 } 116 }
118 }); 117 });
119 }); 118 });
120 119
121 120
122 121
123 $(document).ready(function(){ 122 $(document).ready(function(){
124 var sel = $('#select2-sort_ajax-container'); 123 var sel = $('#select2-sort_ajax-container');
125 var key = getUrlParameter('sort'); 124 var key = getUrlParameter('sort');
126 console.log(sel); 125 console.log(sel);
127 console.log(key); 126 console.log(key);
128 127
129 if (key !=='') { 128 if (key !=='') {
130 console.log(key); 129 console.log(key);
131 switch (key) { 130 switch (key) {
132 case "default": sel.html('Сортировка (по умолчанию)'); break; 131 case "default": sel.html('Сортировка (по умолчанию)'); break;
133 case "name_up": sel.html('По имени (возрастание)'); break; 132 case "name_up": sel.html('По имени (возрастание)'); break;
134 case "name_down": sel.html('По дате (убывание)'); break; 133 case "name_down": sel.html('По дате (убывание)'); break;
135 case "created_at_up": sel.html('По дате (возрастание)'); break; 134 case "created_at_up": sel.html('По дате (возрастание)'); break;
136 case "created_at_down": sel.html('По дате (убывание)'); break; 135 case "created_at_down": sel.html('По дате (убывание)'); break;
137 } 136 }
138 137
139 } 138 }
140 }); 139 });
141 </script> 140 </script>
142 @include('js.favorite-vacancy-45') 141 @include('js.favorite-vacancy-45')
143 @endsection 142 @endsection
144 @section('content') 143 @section('content')
145 <section class="thing"> 144 <section class="thing">
146 <div class="container"> 145 <div class="container">
147 <form class="thing__body" action="{{ route('list-vacancies', ['categories' => (!empty($Name_categori)) ? $Name_categori[0]->id : '0']) }}" method="POST"> 146 <form class="thing__body" action="{{ route('list-vacancies', ['categories' => (!empty($Name_categori)) ? $Name_categori[0]->id : '0']) }}" method="POST">
148 <ul class="breadcrumbs thing__breadcrumbs"> 147 <ul class="breadcrumbs thing__breadcrumbs">
149 <li><a href="{{ route('index') }}">Главная</a></li> 148 <li><a href="{{ route('index') }}">Главная</a></li>
150 <li><a href="{{ route('vacancies') }}">Вакансии</a></li> 149 <li><a href="{{ route('vacancies') }}">Вакансии</a></li>
151 <li><b>{{ isset($Name_categori[0]) ? $Name_categori[0]->name : 'Все категории' }}</b></li> 150 <li><b>{{ isset($Name_categori[0]) ? $Name_categori[0]->name : 'Все категории' }}</b></li>
152 </ul> 151 </ul>
153 <h1 class="thing__title">Вакансии</h1> 152 <h1 class="thing__title">Вакансии</h1>
154 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для 153 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для
155 существующих финансовых и административных условий.</p> 154 существующих финансовых и административных условий.</p>
156 <div class="select select_search thing__select"> 155 <div class="select select_search thing__select">
157 <div class="select__icon"> 156 <div class="select__icon">
158 <svg> 157 <svg>
159 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 158 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
160 </svg> 159 </svg>
161 </div> 160 </div>
162 <select class="js-select2" id="jobs" name="jobs"> 161 <select class="js-select2" id="jobs" name="jobs">
163 <option value="0" selected>Выберите должность</option> 162 <option value="0" selected>Выберите должность</option>
164 @if ($Job_title->count()) 163 @if ($Job_title->count())
165 @foreach($Job_title as $JT) 164 @foreach($Job_title as $JT)
166 <option value="{{ $JT->id }}" @if(isset($_GET['job']) && ($_GET['job'] == $JT->id)) selected @endif>{{ $JT->name }}</option> 165 <option value="{{ $JT->id }}" @if(isset($_GET['job']) && ($_GET['job'] == $JT->id)) selected @endif>{{ $JT->name }}</option>
167 @endforeach 166 @endforeach
168 @endif 167 @endif
169 </select> 168 </select>
170 </div> 169 </div>
171 </form> 170 </form>
172 </div> 171 </div>
173 </section> 172 </section>
174 <main class="main"> 173 <main class="main">
175 <div class="container"> 174 <div class="container">
176 <div class="main__vacancies" > 175 <div class="main__vacancies" >
177 @if (isset($Name_categori[0]->name)) 176 @if (isset($Name_categori[0]->name))
178 <h2 class="main__vacancies-title">Категория вакансий {{ $Name_categori[0]->name }}</h2> 177 <h2 class="main__vacancies-title">Категория вакансий {{ $Name_categori[0]->name }}</h2>
179 @else 178 @else
180 <h2 class="main__vacancies-title" id="title_head" name="title_head">Все категории</h2> 179 <h2 class="main__vacancies-title" id="title_head" name="title_head">Все категории</h2>
181 @endif 180 @endif
182 <div class="filters main__vacancies-filters"> 181 <div class="filters main__vacancies-filters">
183 <div class="filters__label" id="col-vo" name="col-vo">Показано {{ $Query->firstItem() }} – {{ $Query->lastItem() }} из @isset($Query_count) {{ $Query_count }} @else 0 @endisset результатов поиска</div> 182 <div class="filters__label" id="col-vo" name="col-vo">Показано {{ $Query->firstItem() }} – {{ $Query->lastItem() }} из @isset($Query_count) {{ $Query_count }} @else 0 @endisset результатов поиска</div>
184 <div class="filters__body"> 183 <div class="filters__body">
185 <div class="select filters__select"> 184 <div class="select filters__select">
186 <select class="js-select2" id="sort_ajax" name="sort_ajax"> 185 <select class="js-select2" id="sort_ajax" name="sort_ajax">
187 <option value="default">Сортировка (по умолчанию)</option> 186 <option value="default">Сортировка (по умолчанию)</option>
188 <option value="name_up">По имени (возрастание)</option> 187 <option value="name_up">По имени (возрастание)</option>
189 <option value="name_down">По имени (убывание)</option> 188 <option value="name_down">По имени (убывание)</option>
190 <option value="created_at_up">По дате (возрастание)</option> 189 <option value="created_at_up">По дате (возрастание)</option>
191 <option value="created_at_down">По дате (убывание)</option> 190 <option value="created_at_down">По дате (убывание)</option>
192 </select> 191 </select>
193 </div> 192 </div>
194 </div> 193 </div>
195 </div> 194 </div>
196 195
197 <div class="main__vacancies" style="width:100%;" id="main_ockar" name="main_oskar"> 196 <div class="main__vacancies" style="width:100%;" id="main_ockar" name="main_oskar">
198 @php $i = ($Query->currentPage() * $Query->perPage() - $Query->count() - 1) @endphp 197 @php $i = ($Query->currentPage() * $Query->perPage() - $Query->count() - 1) @endphp
199 198
200 @foreach ($Query as $Q) 199 @foreach ($Query as $Q)
201 @foreach ($Reclama as $Rec) 200 @foreach ($Reclama as $Rec)
202 @if ($Rec->position == $i) 201 @if ($Rec->position == $i)
203 <div class="main__vacancies-thing"> 202 <div class="main__vacancies-thing">
204 @if (!empty($Rec->image)) 203 @if (!empty($Rec->image))
205 <img src="{{ asset(Storage::url($Rec->image)) }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic"> 204 <img src="{{ asset(Storage::url($Rec->image)) }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic">
206 @else 205 @else
207 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic"> 206 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic">
208 @endif 207 @endif
209 <div class="main__vacancies-thing-body"> 208 <div class="main__vacancies-thing-body">
210 <h2>{{ $Rec->title }}</h2> 209 <h2>{{ $Rec->title }}</h2>
211 <div class="main__vacancies-thing-scroll"> 210 <div class="main__vacancies-thing-scroll">
212 {!! $Rec->text !!} 211 {!! $Rec->text !!}
213 </div> 212 </div>
214 <a href="{{ $Rec->link }}" class="button">Узнать больше</a> 213 <a href="{{ $Rec->link }}" class="button">Узнать больше</a>
215 </div> 214 </div>
216 </div> 215 </div>
217 @endif 216 @endif
218 @endforeach 217 @endforeach
219 <div class="main__vacancies-item main__employer-page-two-item"> 218 <div class="main__vacancies-item main__employer-page-two-item">
220 219
221 <a href="{{ route('list-vacancies', ['categories' => $categories->id]) }}" class="back main__employer-page-two-item-back"> 220 <a href="{{ route('list-vacancies', ['categories' => $categories->id]) }}" class="back main__employer-page-two-item-back">
222 <svg> 221 <svg>
223 <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> 222 <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use>
224 </svg> 223 </svg>
225 <span> 224 <span>
226 Вернуться к списку вакансий 225 Вернуться к списку вакансий
227 </span> 226 </span>
228 </a> 227 </a>
229 228
230 <div class="main__employer-page-two-item-toper"> 229 <div class="main__employer-page-two-item-toper">
231 @if (!empty($Q->employer->logo)) 230 @if (!empty($Q->employer->logo))
232 <img src="{{ asset(Storage::url($Q->employer->logo)) }}" alt="{{ $Q->employer->name }}"> 231 <img src="{{ asset(Storage::url($Q->employer->logo)) }}" alt="{{ $Q->employer->name }}">
233 @else 232 @else
234 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic"> 233 <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic">
235 @endif 234 @endif
236 <span>@if (isset($Q->employer->name_company)) {{ $Q->employer->name_company }} @else Не определена @endif</span> 235 <span>@if (isset($Q->employer->name_company)) {{ $Q->employer->name_company }} @else Не определена @endif</span>
237 </div> 236 </div>
238 237
239 <div class="main__employer-page-two-item-text"> 238 <div class="main__employer-page-two-item-text">
240 <div class="main__employer-page-two-item-text-name"> 239 <div class="main__employer-page-two-item-text-name">
241 <h3>@if (!empty($Q->name)) {{ $Q->name }}@else Не указано @endif </h3> 240 <h3>@if (!empty($Q->name)) {{ $Q->name }}@else Не указано @endif </h3>
242 </div> 241 </div>
243 <!--Судоходная компания ведет набор 242 <!--Судоходная компания ведет набор
244 специалистов на следующие должности:</div> 243 специалистов на следующие должности:</div>
245 <div class="main__employer-page-two-item-text-links"> 244 <div class="main__employer-page-two-item-text-links">
246 if (isset($Q->jobs)) 245 if (isset($Q->jobs))
247 foreach ($Q->jobs as $key => $j) 246 foreach ($Q->jobs as $key => $j)
248 <a>“{ $j->name }}” <!--– з/п от if (isset($Q->jobs_code[$key]->min_salary)) { $Q->jobs_code[$key]->min_salary }} endif - if (isset($Q->jobs_code[$key]->max_salary)) { $Q->jobs_code[$key]->max_salary }} endif рублей (на руки)--> 247 <a>“{ $j->name }}” <!--– з/п от if (isset($Q->jobs_code[$key]->min_salary)) { $Q->jobs_code[$key]->min_salary }} endif - if (isset($Q->jobs_code[$key]->max_salary)) { $Q->jobs_code[$key]->max_salary }} endif рублей (на руки)-->
249 <!-- </a> 248 <!-- </a>
250 endforeach 249 endforeach
251 endif 250 endif
252 </div>--> 251 </div>-->
253 </div> 252 </div>
254 253
255 <div class="main__employer-page-two-item-text"> 254 <div class="main__employer-page-two-item-text">
256 <div class="main__employer-page-two-item-text-name">Мы предлагаем:</div> 255 <div class="main__employer-page-two-item-text-name">Мы предлагаем:</div>
257 <div class="main__employer-page-two-item-text-body"> 256 <div class="main__employer-page-two-item-text-body">
258 {!! $Q->text !!} 257 {!! $Q->text !!}
259 </div> 258 </div>
260 </div> 259 </div>
261 <!--<div class="main__employer-page-two-item-text"> 260 <!--<div class="main__employer-page-two-item-text">
262 <div class="main__employer-page-two-item-text-name">Наши ожидания:</div> 261 <div class="main__employer-page-two-item-text-name">Наши ожидания:</div>
263 <div class="main__employer-page-two-item-text-body"> 262 <div class="main__employer-page-two-item-text-body">
264 !! $Q->description !!} 263 !! $Q->description !!}
265 </div> 264 </div>
266 </div> 265 </div>
267 <div class="main__employer-page-two-item-text"> 266 <div class="main__employer-page-two-item-text">
268 <div class="main__employer-page-two-item-text-name">Резюме направляйте на почту:</div> 267 <div class="main__employer-page-two-item-text-name">Резюме направляйте на почту:</div>
269 <div class="main__employer-page-two-item-text-body"> 268 <div class="main__employer-page-two-item-text-body">
270 !! $Q->contacts_emails !!} 269 !! $Q->contacts_emails !!}
271 </div> 270 </div>
272 </div> 271 </div>
273 <div class="main__employer-page-two-item-text"> 272 <div class="main__employer-page-two-item-text">
274 <div class="main__employer-page-two-item-text-name">Или звоните:</div> 273 <div class="main__employer-page-two-item-text-name">Или звоните:</div>
275 <div class="main__employer-page-two-item-text-body"> 274 <div class="main__employer-page-two-item-text-body">
276 !! $Q->contacts_telephones !!} 275 !! $Q->contacts_telephones !!}
277 </div> 276 </div>
278 </div>--> 277 </div>-->
279 278
280 <div class="main__employer-page-two-item-tags"> 279 <div class="main__employer-page-two-item-tags">
281 @if (!empty($Q->jobs_code[0]->position_ship)) 280 @if (!empty($Q->jobs_code[0]->position_ship))
282 <span class="main__employer-page-two-item-tag"> #{{ $Q->jobs_code[0]->position_ship }}</span> 281 <span class="main__employer-page-two-item-tag"> #{{ $Q->jobs_code[0]->position_ship }}</span>
283 @else 282 @else
284 @if (isset($Q->jobs)) 283 @if (isset($Q->jobs))
285 @foreach ($Q->jobs as $key => $j) 284 @foreach ($Q->jobs as $key => $j)
286 <span class="main__employer-page-two-item-tag"> #{{ $j->name }}</span> 285 <span class="main__employer-page-two-item-tag"> #{{ $j->name }}</span>
287 @endforeach 286 @endforeach
288 @endif 287 @endif
289 @endif 288 @endif
290 </div> 289 </div>
291 <div class="main__employer-page-two-item-buttons"> 290 <div class="main__employer-page-two-item-buttons">
292 @guest 291 @guest
293 <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' 292 <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}'
294 class="button main__employer-page-two-item-button">Откликнуться</button> 293 class="button main__employer-page-two-item-button">Откликнуться</button>
295 @else 294 @else
296 @if (App\Classes\StatusUser::Status()==1) 295 @if (App\Classes\StatusUser::Status()==1)
297 <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $Q->id }}" data-uid="{{ $uid }}" data-tuid="{{ $Q->employer->user_id }}" data-options='{"touch":false,"autoFocus":false}' 296 <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $Q->id }}" data-uid="{{ $uid }}" data-tuid="{{ $Q->employer->user_id }}" data-options='{"touch":false,"autoFocus":false}'
298 class="button main__employer-page-two-item-button js_send_for_emp">Откликнуться</button> 297 class="button main__employer-page-two-item-button js_send_for_emp">Откликнуться</button>
299 @else 298 @else
300 <button type="button" data-fancybox data-src="#send2" data-vacancy="{{ $Q->id }}" data-uid="{{ $uid }}" data-tuid="{{ $Q->employer->user_id }}" data-options='{"touch":false,"autoFocus":false}' 299 <button type="button" data-fancybox data-src="#send2" data-vacancy="{{ $Q->id }}" data-uid="{{ $uid }}" data-tuid="{{ $Q->employer->user_id }}" data-options='{"touch":false,"autoFocus":false}'
301 class="button main__employer-page-two-item-button js_send_it_button">Откликнуться</button> 300 class="button main__employer-page-two-item-button js_send_it_button">Откликнуться</button>
302 @endif 301 @endif
303 @endguest 302 @endguest
304 <a href="{{ route('vacancie', ['vacancy' => $Q->id]) }}" class="button button_light main__employer-page-two-item-button">Подробнее</a> 303 <a href="{{ route('vacancie', ['vacancy' => $Q->id]) }}" class="button button_light main__employer-page-two-item-button">Подробнее</a>
305 </div> 304 </div>
306 <div class="main__employer-page-two-item-bottom"> 305 <div class="main__employer-page-two-item-bottom">
307 <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y', strtotime($Q->updated_at)) }}</div> 306 <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y', strtotime($Q->updated_at)) }}</div>
308 <button type="button" id="like{{ $Q->id }}" data-val="{{ $Q->id }}" class="like main__employer-page-two-item-bottom-like js-toggle js_vac_favorite {{ \App\Classes\LikesClass::get_status_vacancy($Q) }}"> 307 <button type="button" id="like{{ $Q->id }}" data-val="{{ $Q->id }}" class="like main__employer-page-two-item-bottom-like js-toggle js_vac_favorite {{ \App\Classes\LikesClass::get_status_vacancy($Q) }}">
309 <svg> 308 <svg>
310 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> 309 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
311 </svg> 310 </svg>
312 </button> 311 </button>
313 </div> 312 </div>
314 </div> 313 </div>
315 @php $i++ @endphp 314 @php $i++ @endphp
316 @endforeach 315 @endforeach
317 <div style="margin-top: 20px"> 316 <div style="margin-top: 20px">
318 {{ $Query->onEachSide(0)->appends($_GET)->links('paginate') }} 317 {{ $Query->onEachSide(0)->appends($_GET)->links('paginate') }}
319 </div><!-- конец --> 318 </div><!-- конец -->
320 319
321 </div> 320 </div>
322 </div> 321 </div>
323 </div> 322 </div>
324 </main> 323 </main>
325 @endsection 324 @endsection
326 325
resources/views/modals/send_employer.blade.php
1 <script> 1 <script>
2 console.log('Сообщение работнику');
3 $(document).on('change', '#btn_send_file', function() { 2 $(document).on('change', '#btn_send_file', function() {
4 var send_name = $('#send_name'); 3 var send_name = $('#send_name');
5 var send_name_val = send_name.val(); 4 var send_name_val = send_name.val();
6 var this_final_name = $('#this_final_name'); 5 var this_final_name = $('#this_final_name');
7 6
8 console.log(send_name_val); 7 console.log(send_name_val);
9 this_final_name.html(send_name_val); 8 this_final_name.html(send_name_val);
10 }); 9 });
11 </script> 10 </script>
12 <div id="send2" class="modal"> 11 <div id="send2" class="modal">
13 <div class="modal__body"> 12 <div class="modal__body">
14 <div class="modal__title">Отправить сообщение</div> 13 <div class="modal__title">Отправить сообщение</div>
15 <form class="modal__form" id="form_from_emp" name="form_from_emp" enctype="multipart/form-data" action="{{ route('employer.new_message') }}" method="POST"> 14 <form class="modal__form" id="form_from_emp" name="form_from_emp" enctype="multipart/form-data" action="{{ route('employer.new_message') }}" method="POST">
16 @csrf 15 @csrf
17 <div class="modal__form-item" style="display:none"> 16 <div class="modal__form-item" style="display:none">
18 <!-- Отправитель сообщения: --> 17 <!-- Отправитель сообщения: -->
19 <input type="hidden" id="_user_id" name="_user_id" class="input" placeholder="user_id" value=""> 18 <input type="hidden" id="_user_id" name="_user_id" class="input" placeholder="user_id" value="">
20 <!-- Получатель сообщения: --> 19 <!-- Получатель сообщения: -->
21 <input type="hidden" id="_to_user_id" name="_to_user_id" class="input" placeholder="to_user_id" value=""> 20 <input type="hidden" id="_to_user_id" name="_to_user_id" class="input" placeholder="to_user_id" value="">
22 <!-- Вакансия: --> 21 <!-- Вакансия: -->
23 <input type="hidden" id="_vacancy" name="_vacancy" class="input" placeholder="vacancy" value=""> 22 <input type="hidden" id="_vacancy" name="_vacancy" class="input" placeholder="vacancy" value="">
24 </div> 23 </div>
25 <div class="modal__form-item"> 24 <div class="modal__form-item">
26 <input id="i1" type="text" name="title" class="input" placeholder="Тема" required> 25 <input id="i1" type="text" name="title" class="input" placeholder="Тема" required>
27 <label for="i1">Не заполнено поле</label> 26 <label for="i1">Не заполнено поле</label>
28 </div> 27 </div>
29 <div class="modal__form-item"> 28 <div class="modal__form-item">
30 <textarea id="i2" class="textarea" name="text" placeholder="Укажите по какому поводу вы пишите работодателю, уточните название вакансии или прикрепите ссылку на вакансию, дайте как можно больше информации.&#10;&#10;ВАЖНО не стоит писать работодателю короткий текст цитирую «Какая зарплата?, работодатель не поймет о чем речь, опишите вопрос максимально подробно»." required></textarea> 29 <textarea id="i2" class="textarea" name="text" placeholder="Укажите по какому поводу вы пишите работодателю, уточните название вакансии или прикрепите ссылку на вакансию, дайте как можно больше информации.&#10;&#10;ВАЖНО не стоит писать работодателю короткий текст цитирую «Какая зарплата?, работодатель не поймет о чем речь, опишите вопрос максимально подробно»." required></textarea>
31 <label for="i2">Не заполнено поле</label> 30 <label for="i2">Не заполнено поле</label>
32 </div> 31 </div>
33 <div class="modal__form-item"> 32 <div class="modal__form-item">
34 <div class="file"> 33 <div class="file">
35 <label class="file__input"> 34 <label class="file__input">
36 <input type="file" name="file"> 35 <input type="file" name="file">
37 <span class="button button_light"> 36 <span class="button button_light">
38 <svg> 37 <svg>
39 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> 38 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use>
40 </svg> 39 </svg>
41 Прикрепить документ 40 Прикрепить документ
42 </span> 41 </span>
43 </label> 42 </label>
44 43
45 <div class="file__list"> 44 <div class="file__list">
46 <div class="file__list-item"> 45 <div class="file__list-item">
47 <div class="file__list-item-left"> 46 <div class="file__list-item-left">
48 <svg> 47 <svg>
49 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 48 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
50 </svg> 49 </svg>
51 <span id="this_final_name" name="this_final_name"></span> 50 <span id="this_final_name" name="this_final_name"></span>
52 </div> 51 </div>
53 <button type="button" class="file__list-item-right js-parent-remove"> 52 <button type="button" class="file__list-item-right js-parent-remove">
54 <svg> 53 <svg>
55 <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> 54 <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use>
56 </svg> 55 </svg>
57 </button> 56 </button>
58 </div> 57 </div>
59 </div> 58 </div>
60 </div> 59 </div>
61 </div> 60 </div>
62 <div class="modal__form-item"> 61 <div class="modal__form-item">
63 <button type="submit" class="button">Отправить</button> 62 <button type="submit" class="button">Отправить</button>
64 </div> 63 </div>
65 </form> 64 </form>
66 </div> 65 </div>
67 </div> 66 </div>
68 67
resources/views/modals/send_worker.blade.php
1 <script> 1 <script>
2 console.log('Сообщение работнику');
3 $("#form_worker" ).submit(function(event) { 2 $("#form_worker" ).submit(function(event) {
4 var val = $(this).val(); 3 var val = $(this).val();
5 var send_title = $('#send_title'); 4 var send_title = $('#send_title');
6 var send_title_val = send_title.val(); 5 var send_title_val = send_title.val();
7 6
8 console.log('Click form.'); 7 console.log('Click form.');
9 }); 8 });
10 9
11 $(document).on('change', '#btn_send_file', function() { 10 $(document).on('change', '#btn_send_file', function() {
12 11
13 var send_name = $('#send_name'); 12 var send_name = $('#send_name');
14 var send_name_val = send_name.val(); 13 var send_name_val = send_name.val();
15 var send_name_file = $('#send_name_file'); 14 var send_name_file = $('#send_name_file');
16 15
17 console.log(send_name_val); 16 console.log(send_name_val);
18 send_name_file.html(send_name_val); 17 send_name_file.html(send_name_val);
19 18
20 }); 19 });
21 </script> 20 </script>
22 <div id="send3" class="modal"> 21 <div id="send3" class="modal">
23 <div class="modal__body"> 22 <div class="modal__body">
24 <div class="modal__title">Отправить сообщение работодателю</div> 23 <div class="modal__title">Отправить сообщение работодателю</div>
25 <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> 24 <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST">
26 @csrf 25 @csrf
27 <div class="modal__form-item" style="display: none"> 26 <div class="modal__form-item" style="display: none">
28 Отправитель сообщения: 27 Отправитель сообщения:
29 <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> 28 <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value="">
30 Получатель сообщения: 29 Получатель сообщения:
31 <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value=""> 30 <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value="">
32 Вакансия: 31 Вакансия:
33 <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value=""> 32 <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value="">
34 </div> 33 </div>
35 <div class="modal__form-item send_title_div error_"> 34 <div class="modal__form-item send_title_div error_">
36 <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> 35 <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required>
37 <label for="title">Не заполнено поле</label> 36 <label for="title">Не заполнено поле</label>
38 </div> 37 </div>
39 <div class="modal__form-item send_title_div error_"> 38 <div class="modal__form-item send_title_div error_">
40 <select class="js-select2" name="send_job_title_id" id="send_job_title_id"> 39 <select class="js-select2" name="send_job_title_id" id="send_job_title_id">
41 @if ($jobs->count()) 40 @if ($jobs->count())
42 @foreach($jobs as $j) 41 @foreach($jobs as $j)
43 <option value="{{ $j->id }}">{{ $j->name }} ({{ $j->id }})</option> 42 <option value="{{ $j->id }}">{{ $j->name }} ({{ $j->id }})</option>
44 @endforeach 43 @endforeach
45 @endif 44 @endif
46 </select> 45 </select>
47 <label for="title">Не заполнено поле</label> 46 <label for="title">Не заполнено поле</label>
48 </div> 47 </div>
49 <div class="modal__form-item send_text_div"> 48 <div class="modal__form-item send_text_div">
50 <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> 49 <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea>
51 <label for="i2">Не заполнено поле</label> 50 <label for="i2">Не заполнено поле</label>
52 </div> 51 </div>
53 <div class="modal__form-item"> 52 <div class="modal__form-item">
54 <div class="file"> 53 <div class="file">
55 <label class="file__input" id="btn_send_file" name="btn_send_file"> 54 <label class="file__input" id="btn_send_file" name="btn_send_file">
56 <input type="file" name="send_file" id="send_name"> 55 <input type="file" name="send_file" id="send_name">
57 <span class="button button_light"> 56 <span class="button button_light">
58 <svg> 57 <svg>
59 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> 58 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use>
60 </svg> 59 </svg>
61 Прикрепить файл-документ 60 Прикрепить файл-документ
62 </span> 61 </span>
63 </label> 62 </label>
64 63
65 <div class="file__list" id="div_file" name="div_file"> 64 <div class="file__list" id="div_file" name="div_file">
66 <div class="file__list-item"> 65 <div class="file__list-item">
67 <div class="file__list-item-left"> 66 <div class="file__list-item-left">
68 <svg> 67 <svg>
69 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 68 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
70 </svg> 69 </svg>
71 <span id="send_name_file" name="send_name_file"></span> 70 <span id="send_name_file" name="send_name_file"></span>
72 </div> 71 </div>
73 <button type="button" class="file__list-item-right js-parent-remove"> 72 <button type="button" class="file__list-item-right js-parent-remove">
74 <svg> 73 <svg>
75 <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> 74 <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use>
76 </svg> 75 </svg>
77 </button> 76 </button>
78 </div> 77 </div>
79 </div> 78 </div>
80 </div> 79 </div>
81 </div> 80 </div>
82 <div class="modal__form-item"> 81 <div class="modal__form-item">
83 <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button> 82 <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button>
84 </div> 83 </div>
85 </form> 84 </form>
86 </div> 85 </div>
87 </div> 86 </div>
88 87
resources/views/modals/send_worker_new.blade.php
1 <script> 1 <script>
2 console.log('Сообщение работнику');
3 $("#form_worker" ).submit(function(event) { 2 $("#form_worker" ).submit(function(event) {
4 var val = $(this).val(); 3 var val = $(this).val();
5 var send_title = $('#send_title'); 4 var send_title = $('#send_title');
6 var send_title_val = send_title.val(); 5 var send_title_val = send_title.val();
7 6
8 console.log('Click form.'); 7 console.log('Click form.');
9 }); 8 });
10 9
11 $(document).on('change', '#btn_send_file', function() { 10 $(document).on('change', '#btn_send_file', function() {
12 11
13 var send_name = $('#send_name'); 12 var send_name = $('#send_name');
14 var send_name_val = send_name.val(); 13 var send_name_val = send_name.val();
15 var send_name_file = $('#send_name_file'); 14 var send_name_file = $('#send_name_file');
16 15
17 console.log(send_name_val); 16 console.log(send_name_val);
18 send_name_file.html(send_name_val); 17 send_name_file.html(send_name_val);
19 18
20 }); 19 });
21 </script> 20 </script>
22 <div id="send" class="modal"> 21 <div id="send" class="modal">
23 <div class="modal__body"> 22 <div class="modal__body">
24 <div class="modal__title">Отправить сообщение работодателю</div> 23 <div class="modal__title">Отправить сообщение работодателю</div>
25 <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> 24 <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST">
26 @csrf 25 @csrf
27 <div class="modal__form-item" style="display: none"> 26 <div class="modal__form-item" style="display: none">
28 Отправитель сообщения: 27 Отправитель сообщения:
29 <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> 28 <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value="">
30 Получатель сообщения: 29 Получатель сообщения:
31 <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value=""> 30 <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value="">
32 Вакансия: 31 Вакансия:
33 <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value=""> 32 <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value="">
34 Должность: 33 Должность:
35 <input type="text" id="send_job_title_id" name="send_job_title_id" class="input" placeholder="vacancy" value="0"> 34 <input type="text" id="send_job_title_id" name="send_job_title_id" class="input" placeholder="vacancy" value="0">
36 35
37 </div> 36 </div>
38 <div class="modal__form-item send_title_div error_"> 37 <div class="modal__form-item send_title_div error_">
39 <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> 38 <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required>
40 <label for="title">Не заполнено поле</label> 39 <label for="title">Не заполнено поле</label>
41 </div> 40 </div>
42 <div class="modal__form-item send_text_div"> 41 <div class="modal__form-item send_text_div">
43 <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> 42 <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea>
44 <label for="i2">Не заполнено поле</label> 43 <label for="i2">Не заполнено поле</label>
45 </div> 44 </div>
46 <div class="modal__form-item"> 45 <div class="modal__form-item">
47 <div class="file"> 46 <div class="file">
48 <label class="file__input" id="btn_send_file" name="btn_send_file"> 47 <label class="file__input" id="btn_send_file" name="btn_send_file">
49 <input type="file" name="send_file" id="send_name"> 48 <input type="file" name="send_file" id="send_name">
50 <span class="button button_light"> 49 <span class="button button_light">
51 <svg> 50 <svg>
52 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> 51 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use>
53 </svg> 52 </svg>
54 Прикрепить файл-документ 53 Прикрепить файл-документ
55 </span> 54 </span>
56 </label> 55 </label>
57 56
58 <div class="file__list" id="div_file" name="div_file"> 57 <div class="file__list" id="div_file" name="div_file">
59 <div class="file__list-item"> 58 <div class="file__list-item">
60 <div class="file__list-item-left"> 59 <div class="file__list-item-left">
61 <svg> 60 <svg>
62 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 61 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
63 </svg> 62 </svg>
64 <span id="send_name_file" name="send_name_file"></span> 63 <span id="send_name_file" name="send_name_file"></span>
65 </div> 64 </div>
66 <button type="button" class="file__list-item-right js-parent-remove"> 65 <button type="button" class="file__list-item-right js-parent-remove">
67 <svg> 66 <svg>
68 <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> 67 <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use>
69 </svg> 68 </svg>
70 </button> 69 </button>
71 </div> 70 </div>
72 </div> 71 </div>
73 </div> 72 </div>
74 </div> 73 </div>
75 <div class="modal__form-item"> 74 <div class="modal__form-item">
76 <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button> 75 <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button>
77 </div> 76 </div>
78 </form> 77 </form>
79 </div> 78 </div>
80 </div> 79 </div>
81 80
82 81
resources/views/new_sky.blade.php
1 @extends('layout.frontend', ['title' => 'Вакансии РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Вакансии РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '.jobs', function() { 5 $(document).on('change', '.jobs', function() {
7 var val = $(this).val(); 6 var val = $(this).val();
8 7
9 console.log('Click change...'); 8 console.log('Click change...');
10 $.ajax({ 9 $.ajax({
11 type: "GET", 10 type: "GET",
12 url: "{{ route('vacancies') }}", 11 url: "{{ route('vacancies') }}",
13 data: "job="+val, 12 data: "job="+val,
14 success: function (data) { 13 success: function (data) {
15 console.log('Выбор должности'); 14 console.log('Выбор должности');
16 console.log(data); 15 console.log(data);
17 $('#block_ajax').html(data); 16 $('#block_ajax').html(data);
18 }, 17 },
19 headers: { 18 headers: {
20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 19 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
21 }, 20 },
22 error: function (data) { 21 error: function (data) {
23 data = JSON.stringify(data); 22 data = JSON.stringify(data);
24 console.log('Error: ' + data); 23 console.log('Error: ' + data);
25 } 24 }
26 }); 25 });
27 }); 26 });
28 </script> 27 </script>
29 @endsection 28 @endsection
30 29
31 @section('content') 30 @section('content')
32 <section class="thing"> 31 <section class="thing">
33 <div class="container"> 32 <div class="container">
34 <form class="thing__body"> 33 <form class="thing__body">
35 <ul class="breadcrumbs thing__breadcrumbs"> 34 <ul class="breadcrumbs thing__breadcrumbs">
36 <li><a href="{{ route('index') }}">Главная</a></li> 35 <li><a href="{{ route('index') }}">Главная</a></li>
37 <li><b>Вакансии</b></li> 36 <li><b>Вакансии</b></li>
38 </ul> 37 </ul>
39 <h1 class="thing__title">Вакансии</h1> 38 <h1 class="thing__title">Вакансии</h1>
40 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для 39 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для
41 существующих финансовых и административных условий.</p> 40 существующих финансовых и административных условий.</p>
42 <div class="select select_search thing__select"> 41 <div class="select select_search thing__select">
43 <div class="select__icon"> 42 <div class="select__icon">
44 <svg> 43 <svg>
45 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 44 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
46 </svg> 45 </svg>
47 </div> 46 </div>
48 <select class="js-select2 jobs" id="jobs" name="jobs"> 47 <select class="js-select2 jobs" id="jobs" name="jobs">
49 <option value="0">Выберите должность</option> 48 <option value="0">Выберите должность</option>
50 @if ($Job_title->count()) 49 @if ($Job_title->count())
51 @foreach($Job_title as $JT) 50 @foreach($Job_title as $JT)
52 <option value="{{ $JT->id }}" @if ((isset($_GET['job'])) && ($_GET['job'] == $JT->id)) selected @endif>{{ $JT->name }}</option> 51 <option value="{{ $JT->id }}" @if ((isset($_GET['job'])) && ($_GET['job'] == $JT->id)) selected @endif>{{ $JT->name }}</option>
53 @endforeach 52 @endforeach
54 @endif 53 @endif
55 </select> 54 </select>
56 </div> 55 </div>
57 </form> 56 </form>
58 </div> 57 </div>
59 </section> 58 </section>
60 59
61 60
62 <main class="main"> 61 <main class="main">
63 <div class="container"> 62 <div class="container">
64 <div class="main__vacancies"> 63 <div class="main__vacancies">
65 <h2 class="main__vacancies-title">Категории вакансий</h2> 64 <h2 class="main__vacancies-title">Категории вакансий</h2>
66 <div class="vacancies__body"> 65 <div class="vacancies__body">
67 <!--<button class="vacancies__more button button_more button_light js-toggle js-parent-toggle"> 66 <!--<button class="vacancies__more button button_more button_light js-toggle js-parent-toggle">
68 <span>Показать ещё</span> 67 <span>Показать ещё</span>
69 <span>Скрыть</span> 68 <span>Скрыть</span>
70 </button>--> 69 </button>-->
71 <div class="vacancies__list" id="block_ajax" name="block_ajax"> 70 <div class="vacancies__list" id="block_ajax" name="block_ajax">
72 @foreach($Main_Job as $key => $it_main) 71 @foreach($Main_Job as $key => $it_main)
73 <div class="vacancies__list-col"> 72 <div class="vacancies__list-col">
74 @include('block_real_new', ['it_main' => $it_main, 'category' => $key]) 73 @include('block_real_new', ['it_main' => $it_main, 'category' => $key])
75 </div> 74 </div>
76 @endforeach 75 @endforeach
77 <!--_foreach (BigFlot as $key => $flot) 76 <!--_foreach (BigFlot as $key => $flot)
78 <div class="vacancies__list-col"> 77 <div class="vacancies__list-col">
79 _include('block_real', ['flot' => $flot, 'position' => $Position[$key]]) 78 _include('block_real', ['flot' => $flot, 'position' => $Position[$key]])
80 </div> 79 </div>
81 _endforeach--> 80 _endforeach-->
82 </div> 81 </div>
83 </div> 82 </div>
84 </div> 83 </div>
85 </div> 84 </div>
86 </main> 85 </main>
87 86
88 </div> 87 </div>
89 @endsection 88 @endsection
90 89
resources/views/news-list.blade.php
1 @extends('layout.frontend', ['title' => 'Список новостей - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Список новостей - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '#jobs', function() { 5 $(document).on('change', '#jobs', function() {
7 var val = $(this).val(); 6 var val = $(this).val();
8 var main_oskar = $('#Main_Ajax'); 7 var main_oskar = $('#Main_Ajax');
9 8
10 console.log('Code='+val); 9 console.log('Code='+val);
11 console.log('Click change...'); 10 console.log('Click change...');
12 $.ajax({ 11 $.ajax({
13 type: "GET", 12 type: "GET",
14 url: "{{ route('news') }}", 13 url: "{{ route('news') }}",
15 data: "job="+val, 14 data: "job="+val,
16 success: function (data) { 15 success: function (data) {
17 console.log('Выбор сделан!'); 16 console.log('Выбор сделан!');
18 console.log(data); 17 console.log(data);
19 main_oskar.html(data); 18 main_oskar.html(data);
20 history.pushState({}, '', "{{ route('news') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 19 history.pushState({}, '', "{{ route('news') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
21 }, 20 },
22 headers: { 21 headers: {
23 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 22 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
24 }, 23 },
25 error: function (data) { 24 error: function (data) {
26 data = JSON.stringify(data); 25 data = JSON.stringify(data);
27 console.log('Error: ' + data); 26 console.log('Error: ' + data);
28 } 27 }
29 }); 28 });
30 }); 29 });
31 30
32 $(document).on('click', '.js_send_it_button', function() { 31 $(document).on('click', '.js_send_it_button', function() {
33 var this_ = $(this); 32 var this_ = $(this);
34 var code_user_id = this_.attr('data-uid'); 33 var code_user_id = this_.attr('data-uid');
35 var code_to_user_id = this_.attr('data-tuid'); 34 var code_to_user_id = this_.attr('data-tuid');
36 var code_vacancy = this_.attr('data-vacancy'); 35 var code_vacancy = this_.attr('data-vacancy');
37 var user_id = $('#_user_id'); 36 var user_id = $('#_user_id');
38 var to_user_id = $('#_to_user_id'); 37 var to_user_id = $('#_to_user_id');
39 var vacancy = $('#_vacancy'); 38 var vacancy = $('#_vacancy');
40 39
41 console.log('Клик на кнопки...'); 40 console.log('Клик на кнопки...');
42 41
43 user_id.val(code_user_id); 42 user_id.val(code_user_id);
44 to_user_id.val(code_to_user_id); 43 to_user_id.val(code_to_user_id);
45 vacancy.val(code_vacancy); 44 vacancy.val(code_vacancy);
46 }); 45 });
47 46
48 $(document).on('change', '#sort_ajax', function() { 47 $(document).on('change', '#sort_ajax', function() {
49 var this_ = $(this); 48 var this_ = $(this);
50 var val_ = this_.val(); 49 var val_ = this_.val();
51 console.log('sort items '+val_); 50 console.log('sort items '+val_);
52 51
53 $.ajax({ 52 $.ajax({
54 type: "GET", 53 type: "GET",
55 url: "{{ route('news') }}", 54 url: "{{ route('news') }}",
56 data: "sort="+val_+"&block=1", 55 data: "sort="+val_+"&block=1",
57 success: function (data) { 56 success: function (data) {
58 console.log('Выбор сортировки'); 57 console.log('Выбор сортировки');
59 console.log(data); 58 console.log(data);
60 $('#main_ockar').html(data); 59 $('#main_ockar').html(data);
61 history.pushState({}, '', "{{ route('news') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 60 history.pushState({}, '', "{{ route('news') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
62 }, 61 },
63 headers: { 62 headers: {
64 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 63 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
65 }, 64 },
66 error: function (data) { 65 error: function (data) {
67 data = JSON.stringify(data); 66 data = JSON.stringify(data);
68 console.log('Error: ' + data); 67 console.log('Error: ' + data);
69 } 68 }
70 }); 69 });
71 }); 70 });
72 71
73 $(document).ready(function(){ 72 $(document).ready(function(){
74 var sel = $('#select2-sort_ajax-container'); 73 var sel = $('#select2-sort_ajax-container');
75 var key = getUrlParameter('sort'); 74 var key = getUrlParameter('sort');
76 console.log(sel); 75 console.log(sel);
77 console.log(key); 76 console.log(key);
78 77
79 if (key !=='') { 78 if (key !=='') {
80 console.log(key); 79 console.log(key);
81 switch (key) { 80 switch (key) {
82 case "default": sel.html('Сортировка (по умолчанию)'); break; 81 case "default": sel.html('Сортировка (по умолчанию)'); break;
83 case "name_up": sel.html('По имени (возрастание)'); break; 82 case "name_up": sel.html('По имени (возрастание)'); break;
84 case "name_down": sel.html('По дате (убывание)'); break; 83 case "name_down": sel.html('По дате (убывание)'); break;
85 case "created_at_up": sel.html('По дате (возрастание)'); break; 84 case "created_at_up": sel.html('По дате (возрастание)'); break;
86 case "created_at_down": sel.html('По дате (убывание)'); break; 85 case "created_at_down": sel.html('По дате (убывание)'); break;
87 } 86 }
88 87
89 } 88 }
90 }); 89 });
91 </script> 90 </script>
92 @include('js.favorite-vacancy') 91 @include('js.favorite-vacancy')
93 @endsection 92 @endsection
94 @section('content') 93 @section('content')
95 <section class="thing"> 94 <section class="thing">
96 <div class="container"> 95 <div class="container">
97 <form class="thing__body" action="{{ route('news') }}" method="GET"> 96 <form class="thing__body" action="{{ route('news') }}" method="GET">
98 <ul class="breadcrumbs thing__breadcrumbs"> 97 <ul class="breadcrumbs thing__breadcrumbs">
99 <li><a href="{{ route('index') }}">Главная</a></li> 98 <li><a href="{{ route('index') }}">Главная</a></li>
100 <li><b>Новости</b></li> 99 <li><b>Новости</b></li>
101 </ul> 100 </ul>
102 <h1 class="thing__title">Новости</h1> 101 <h1 class="thing__title">Новости</h1>
103 <p class="thing__text">Информационные блоки и новости о компании и событиях в мире</p> 102 <p class="thing__text">Информационные блоки и новости о компании и событиях в мире</p>
104 <div class="search thing__search"> 103 <div class="search thing__search">
105 <input type="search" id="search" name="search" class="input" placeholder="Введите наименование статьи" value="@if (!empty($_GET['search'])) {{ $_GET['search'] }} @endif"> 104 <input type="search" id="search" name="search" class="input" placeholder="Введите наименование статьи" value="@if (!empty($_GET['search'])) {{ $_GET['search'] }} @endif">
106 <button type="submit" class="button">Найти</button> 105 <button type="submit" class="button">Найти</button>
107 <span> 106 <span>
108 <svg> 107 <svg>
109 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 108 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
110 </svg> 109 </svg>
111 </span> 110 </span>
112 </div> 111 </div>
113 </form> 112 </form>
114 </div> 113 </div>
115 </section> 114 </section>
116 <main class="main rus"> 115 <main class="main rus">
117 <div class="container"> 116 <div class="container">
118 <div class="main__employers"> 117 <div class="main__employers">
119 <div class="filters"> 118 <div class="filters">
120 <div class="filters__label" id="col-vo" name="col-vo">Показано {{ $Query->firstItem() }} – {{ $Query->lastItem() }} из @isset($Query_count) {{ $Query_count }} @else 0 @endisset результатов поиска</div> 119 <div class="filters__label" id="col-vo" name="col-vo">Показано {{ $Query->firstItem() }} – {{ $Query->lastItem() }} из @isset($Query_count) {{ $Query_count }} @else 0 @endisset результатов поиска</div>
121 <div class="filters__body"> 120 <div class="filters__body">
122 <div class="select filters__select"> 121 <div class="select filters__select">
123 <select class="js-select2" id="sort_ajax" name="sort_ajax"> 122 <select class="js-select2" id="sort_ajax" name="sort_ajax">
124 <option value="default">Сортировка (по умолчанию)</option> 123 <option value="default">Сортировка (по умолчанию)</option>
125 <option value="name_up">По имени (возрастание)</option> 124 <option value="name_up">По имени (возрастание)</option>
126 <option value="name_down">По имени (убывание)</option> 125 <option value="name_down">По имени (убывание)</option>
127 <option value="created_at_up">По дате (возрастание)</option> 126 <option value="created_at_up">По дате (возрастание)</option>
128 <option value="created_at_down">По дате (убывание)</option> 127 <option value="created_at_down">По дате (убывание)</option>
129 </select> 128 </select>
130 </div> 129 </div>
131 </div> 130 </div>
132 </div> 131 </div>
133 <div id="Main_Ajax" name="Main_Ajax"> 132 <div id="Main_Ajax" name="Main_Ajax">
134 133
135 @if ($Query->count()) 134 @if ($Query->count())
136 <div class="news__items"> 135 <div class="news__items">
137 @foreach ($Query as $Q) 136 @foreach ($Query as $Q)
138 <div class="news__item"> 137 <div class="news__item">
139 @if (!empty(asset(Storage::url($Q->image)))) 138 @if (!empty(asset(Storage::url($Q->image))))
140 <img src="{{ asset(Storage::url($Q->image)) }}" alt="{{ $Q->title }}" class="news__item-pic"> 139 <img src="{{ asset(Storage::url($Q->image)) }}" alt="{{ $Q->title }}" class="news__item-pic">
141 @else 140 @else
142 <img src="{{ asset('images/8.jpg') }}" alt="{{ $Q->title }}" class="news__item-pic"> 141 <img src="{{ asset('images/8.jpg') }}" alt="{{ $Q->title }}" class="news__item-pic">
143 @endif 142 @endif
144 <div class="news__item-body"> 143 <div class="news__item-body">
145 <time datetime="{{ date('d.m.Y H:i:s', strtotime($Q->created_at)) }}" class="news__item-date">{{ date('d.m.Y H:i:s', strtotime($Q->created_at)) }}</time> 144 <time datetime="{{ date('d.m.Y H:i:s', strtotime($Q->created_at)) }}" class="news__item-date">{{ date('d.m.Y H:i:s', strtotime($Q->created_at)) }}</time>
146 <span class="news__item-title">{{ $Q->title }}</span> 145 <span class="news__item-title">{{ $Q->title }}</span>
147 <span class="news__item-text">{!! $Q->text !!}</span> 146 <span class="news__item-text">{!! $Q->text !!}</span>
148 <a href="{{ route('detail_new', ['new' => $Q->id]) }}" class="news__item-more button button_light">Читать далее</a> 147 <a href="{{ route('detail_new', ['new' => $Q->id]) }}" class="news__item-more button button_light">Читать далее</a>
149 </div> 148 </div>
150 </div> 149 </div>
151 @endforeach 150 @endforeach
152 </div> 151 </div>
153 {{ $Query->appends($_GET)->links('paginate') }} 152 {{ $Query->appends($_GET)->links('paginate') }}
154 @else 153 @else
155 <div class="news__items"> 154 <div class="news__items">
156 Нет никакой информации 155 Нет никакой информации
157 </div> 156 </div>
158 @endif 157 @endif
159 </div> 158 </div>
160 159
161 </div> 160 </div>
162 </div> 161 </div>
163 </main> 162 </main>
164 </div> 163 </div>
165 164
166 @endsection 165 @endsection
167 166
resources/views/resume.blade.php
1 @extends('layout.frontend', ['title' => 'База резюме - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'База резюме - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script> 4 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
5 <script> 5 <script>
6 console.log('Test system');
7 $(document).on('change', '#jobs', function() { 6 $(document).on('change', '#jobs', function() {
8 var val = $(this).val(); 7 var val = $(this).val();
9 var main_oskar = $('#main_ockar'); 8 var main_oskar = $('#main_ockar');
10 9
11 console.log('Code='+val); 10 console.log('Code='+val);
12 console.log('Click change...'); 11 console.log('Click change...');
13 $.ajax({ 12 $.ajax({
14 type: "GET", 13 type: "GET",
15 url: "", 14 url: "",
16 data: "job="+val, 15 data: "job="+val,
17 success: function (data) { 16 success: function (data) {
18 console.log('Выбор сделан!'); 17 console.log('Выбор сделан!');
19 console.log(data); 18 console.log(data);
20 main_oskar.html(data); 19 main_oskar.html(data);
21 }, 20 },
22 headers: { 21 headers: {
23 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 22 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
24 }, 23 },
25 error: function (data) { 24 error: function (data) {
26 data = JSON.stringify(data); 25 data = JSON.stringify(data);
27 console.log('Error: ' + data); 26 console.log('Error: ' + data);
28 } 27 }
29 }); 28 });
30 }); 29 });
31 </script> 30 </script>
32 31
33 <script> 32 <script>
34 $(document).ready(function() { 33 $(document).ready(function() {
35 34
36 }); 35 });
37 36
38 //помеченный элемент 37 //помеченный элемент
39 function selected_item(obj) { 38 function selected_item(obj) {
40 var arr = read_array(); 39 var arr = read_array();
41 var index = arr.indexOf(obj); 40 var index = arr.indexOf(obj);
42 41
43 if (index > 0) 42 if (index > 0)
44 return "active"; 43 return "active";
45 else 44 else
46 return ""; 45 return "";
47 } 46 }
48 47
49 // запись элемента массива в cookie 48 // запись элемента массива в cookie
50 function add_in_array(obj){ 49 function add_in_array(obj){
51 var arr = read_array();//получаем текущее состояние массива 50 var arr = read_array();//получаем текущее состояние массива
52 arr[arr.length]=obj; //добавляем элемент в конец 51 arr[arr.length]=obj; //добавляем элемент в конец
53 //var str = JSON.stringify(arr);//конвертируем в строку 52 //var str = JSON.stringify(arr);//конвертируем в строку
54 //$.cookie('arr',str);//записываем массив в куки 53 //$.cookie('arr',str);//записываем массив в куки
55 $.cookie('favorite_worker', JSON.stringify(arr)); 54 $.cookie('favorite_worker', JSON.stringify(arr));
56 55
57 } 56 }
58 57
59 // удаление элемента из массива в cookie 58 // удаление элемента из массива в cookie
60 function delete_in_array(obj) { 59 function delete_in_array(obj) {
61 var arr = read_array(); 60 var arr = read_array();
62 var unique = [...new Set(arr)] 61 var unique = [...new Set(arr)]
63 var index = unique.indexOf(obj); 62 var index = unique.indexOf(obj);
64 63
65 unique.splice(index, 1); 64 unique.splice(index, 1);
66 65
67 //var str = JSON.stringify(arr);//конвертируем в строку 66 //var str = JSON.stringify(arr);//конвертируем в строку
68 //$.cookie('arr',str);//записываем массив в куки 67 //$.cookie('arr',str);//записываем массив в куки
69 $.cookie('favorite_worker', JSON.stringify(unique)); 68 $.cookie('favorite_worker', JSON.stringify(unique));
70 69
71 } 70 }
72 71
73 function read_array(){ 72 function read_array(){
74 var dataArr=$.cookie('favorite_worker');//считываем данные из куков 73 var dataArr=$.cookie('favorite_worker');//считываем данные из куков
75 74
76 //если массив не был обнаружен, иницилизируем его 75 //если массив не был обнаружен, иницилизируем его
77 if(dataArr===null){ 76 if(dataArr===null){
78 dataArr = init_array(); //возвращаем инициализированный пустой маасив 77 dataArr = init_array(); //возвращаем инициализированный пустой маасив
79 } 78 }
80 //возвращаем полученный массив 79 //возвращаем полученный массив
81 //return JSON.parse(dataArr); 80 //return JSON.parse(dataArr);
82 return JSON.parse(dataArr); 81 return JSON.parse(dataArr);
83 } 82 }
84 83
85 //другими словами создаем пустой массив 84 //другими словами создаем пустой массив
86 function init_array(){ 85 function init_array(){
87 //var str = JSON.stringify(new Array());//конвертируем в строку 86 //var str = JSON.stringify(new Array());//конвертируем в строку
88 var str = JSON.stringify(new Array()); 87 var str = JSON.stringify(new Array());
89 $.cookie('favorite_worker',str);//записываем массив в куки 88 $.cookie('favorite_worker',str);//записываем массив в куки
90 89
91 return str; 90 return str;
92 } 91 }
93 </script> 92 </script>
94 <script> 93 <script>
95 $(document).on('click', '.js_it_button', function() { 94 $(document).on('click', '.js_it_button', function() {
96 var this_ = $(this); 95 var this_ = $(this);
97 var code_user_id = this_.attr('data-uid'); 96 var code_user_id = this_.attr('data-uid');
98 var code_to_user_id = this_.attr('data-tuid'); 97 var code_to_user_id = this_.attr('data-tuid');
99 var code_vacancy = this_.attr('data-vacancy'); 98 var code_vacancy = this_.attr('data-vacancy');
100 var user_id = $('#_user_id'); 99 var user_id = $('#_user_id');
101 var to_user_id = $('#_to_user_id'); 100 var to_user_id = $('#_to_user_id');
102 var vacancy = $('#_vacancy'); 101 var vacancy = $('#_vacancy');
103 102
104 console.log('code_to_user_id='+code_to_user_id); 103 console.log('code_to_user_id='+code_to_user_id);
105 console.log('code_user_id='+code_user_id); 104 console.log('code_user_id='+code_user_id);
106 console.log('code_vacancy='+code_vacancy); 105 console.log('code_vacancy='+code_vacancy);
107 console.log('Клик на кнопке...'); 106 console.log('Клик на кнопке...');
108 107
109 user_id.val(code_user_id); 108 user_id.val(code_user_id);
110 to_user_id.val(code_to_user_id); 109 to_user_id.val(code_to_user_id);
111 vacancy.val(code_vacancy); 110 vacancy.val(code_vacancy);
112 }); 111 });
113 </script> 112 </script>
114 <script> 113 <script>
115 $(document).on('change', '#sort_ajax', function() { 114 $(document).on('change', '#sort_ajax', function() {
116 var this_ = $(this); 115 var this_ = $(this);
117 var val_ = this_.val(); 116 var val_ = this_.val();
118 console.log('sort items '+val_); 117 console.log('sort items '+val_);
119 118
120 $.ajax({ 119 $.ajax({
121 type: "GET", 120 type: "GET",
122 url: "{{ route('bd_resume') }}", 121 url: "{{ route('bd_resume') }}",
123 data: "sort="+val_+"&block=1", 122 data: "sort="+val_+"&block=1",
124 success: function (data) { 123 success: function (data) {
125 console.log('Выбор сортировки'); 124 console.log('Выбор сортировки');
126 console.log(data); 125 console.log(data);
127 $('#block1').html(data); 126 $('#block1').html(data);
128 history.pushState({}, '', "{{ route('bd_resume') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 127 history.pushState({}, '', "{{ route('bd_resume') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
129 }, 128 },
130 headers: { 129 headers: {
131 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 130 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
132 }, 131 },
133 error: function (data) { 132 error: function (data) {
134 data = JSON.stringify(data); 133 data = JSON.stringify(data);
135 console.log('Error: ' + data); 134 console.log('Error: ' + data);
136 } 135 }
137 }); 136 });
138 }); 137 });
139 138
140 $(document).ready(function(){ 139 $(document).ready(function(){
141 var sel = $('#select2-sort_ajax-container'); 140 var sel = $('#select2-sort_ajax-container');
142 var key = getUrlParameter('sort'); 141 var key = getUrlParameter('sort');
143 console.log(sel); 142 console.log(sel);
144 console.log(key); 143 console.log(key);
145 144
146 if (key !=='') { 145 if (key !=='') {
147 console.log(key); 146 console.log(key);
148 switch (key) { 147 switch (key) {
149 case "default": sel.html('Сортировка (по умолчанию)'); break; 148 case "default": sel.html('Сортировка (по умолчанию)'); break;
150 case "name_up": sel.html('По имени (возрастание)'); break; 149 case "name_up": sel.html('По имени (возрастание)'); break;
151 case "name_down": sel.html('По дате (убывание)'); break; 150 case "name_down": sel.html('По дате (убывание)'); break;
152 case "created_at_up": sel.html('По дате (возрастание)'); break; 151 case "created_at_up": sel.html('По дате (возрастание)'); break;
153 case "created_at_down": sel.html('По дате (убывание)'); break; 152 case "created_at_down": sel.html('По дате (убывание)'); break;
154 } 153 }
155 154
156 } 155 }
157 }); 156 });
158 </script> 157 </script>
159 158
160 <script> 159 <script>
161 console.log('Test system');
162 $(document).on('change', '.jobs', function() { 160 $(document).on('change', '.jobs', function() {
163 var val = $(this).val(); 161 var val = $(this).val();
164 162
165 console.log('Click filter вакансии...'); 163 console.log('Click filter вакансии...');
166 $.ajax({ 164 $.ajax({
167 type: "GET", 165 type: "GET",
168 url: "{{ route('bd_resume') }}", 166 url: "{{ route('bd_resume') }}",
169 data: "job="+val+'&block=1', 167 data: "job="+val+'&block=1',
170 success: function (data) { 168 success: function (data) {
171 console.log('Выбор должности'); 169 console.log('Выбор должности');
172 console.log(data); 170 console.log(data);
173 $('#block1').html(data); 171 $('#block1').html(data);
174 history.pushState({}, '', "{{ route('bd_resume') }}?job="+val+"@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 172 history.pushState({}, '', "{{ route('bd_resume') }}?job="+val+"@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
175 }, 173 },
176 headers: { 174 headers: {
177 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 175 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
178 }, 176 },
179 error: function (data) { 177 error: function (data) {
180 data = JSON.stringify(data); 178 data = JSON.stringify(data);
181 console.log('Error: ' + data); 179 console.log('Error: ' + data);
182 } 180 }
183 }); 181 });
184 }); 182 });
185 </script> 183 </script>
186 @include('js.favorite-worker') 184 @include('js.favorite-worker')
187 @endsection 185 @endsection
188 186
189 187
190 @section('content') 188 @section('content')
191 <section class="thing"> 189 <section class="thing">
192 <div class="container"> 190 <div class="container">
193 <form class="thing__body" action="{{ url()->current() }}"> 191 <form class="thing__body" action="{{ url()->current() }}">
194 <ul class="breadcrumbs thing__breadcrumbs"> 192 <ul class="breadcrumbs thing__breadcrumbs">
195 <li><a href="{{ route('index') }}">Главная</a></li> 193 <li><a href="{{ route('index') }}">Главная</a></li>
196 <li><b>База резюме</b></li> 194 <li><b>База резюме</b></li>
197 </ul> 195 </ul>
198 <h1 class="thing__title">База резюме</h1> 196 <h1 class="thing__title">База резюме</h1>
199 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для 197 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для
200 существующих финансовых и административных условий.</p> 198 существующих финансовых и административных условий.</p>
201 199
202 <div class="select select_search thing__select"> 200 <div class="select select_search thing__select">
203 <div class="select__icon"> 201 <div class="select__icon">
204 <svg> 202 <svg>
205 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 203 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
206 </svg> 204 </svg>
207 </div> 205 </div>
208 <select class="js-select2 jobs" name="search" id="search"> 206 <select class="js-select2 jobs" name="search" id="search">
209 <option value="0">Выберите должность</option> 207 <option value="0">Выберите должность</option>
210 @if($Job_title->count()) 208 @if($Job_title->count())
211 @foreach($Job_title as $JT) 209 @foreach($Job_title as $JT)
212 <option value="{{ $JT->id }}" @if (isset($_GET['job'])) @if($_GET['job'] == $JT->id) selected @endif @endif>{{ $JT->name }}</option> 210 <option value="{{ $JT->id }}" @if (isset($_GET['job'])) @if($_GET['job'] == $JT->id) selected @endif @endif>{{ $JT->name }}</option>
213 @endforeach 211 @endforeach
214 @endif 212 @endif
215 </select> 213 </select>
216 </div> 214 </div>
217 </form> 215 </form>
218 </div> 216 </div>
219 </section> 217 </section>
220 <main class="main"> 218 <main class="main">
221 <div class="container"> 219 <div class="container">
222 <div class="main__resume-base"> 220 <div class="main__resume-base">
223 <h2>Резюме работников</h2> 221 <h2>Резюме работников</h2>
224 <div class="filters"> 222 <div class="filters">
225 <div class="filters__label">Показано {{ $resumes->firstItem() }} – {{ $resumes->lastItem() }} из {{ $res_count }} результатов поиска</div> 223 <div class="filters__label">Показано {{ $resumes->firstItem() }} – {{ $resumes->lastItem() }} из {{ $res_count }} результатов поиска</div>
226 <div class="filters__body"> 224 <div class="filters__body">
227 <div class="select filters__select"> 225 <div class="select filters__select">
228 <select class="js-select2" id="sort_ajax" name="sort_ajax"> 226 <select class="js-select2" id="sort_ajax" name="sort_ajax">
229 <option value="all_workers">Все кандидаты</option> 227 <option value="all_workers">Все кандидаты</option>
230 <option value="looking_for_work">Ищу работу</option> 228 <option value="looking_for_work">Ищу работу</option>
231 <option value="considering_offers">Рассматриваю предложения</option> 229 <option value="considering_offers">Рассматриваю предложения</option>
232 <option value="not_looking_for_work">Не ищу работу</option> 230 <option value="not_looking_for_work">Не ищу работу</option>
233 </select> 231 </select>
234 </div> 232 </div>
235 </div> 233 </div>
236 </div> 234 </div>
237 <div class="main__resume-base-body showed" data-body="1"> 235 <div class="main__resume-base-body showed" data-body="1">
238 <div class="main__resume-base-body-one" id="block1" name="block1"> 236 <div class="main__resume-base-body-one" id="block1" name="block1">
239 @include('resume.resume_blocks') 237 @include('resume.resume_blocks')
240 </div> 238 </div>
241 </div> 239 </div>
242 </div> 240 </div>
243 </div> 241 </div>
244 </main> 242 </main>
245 </div> 243 </div>
246 </div> 244 </div>
247 @endsection 245 @endsection
248 246
resources/views/vacancies.blade.php
1 @extends('layout.frontend', ['title' => 'Вакансии РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Вакансии РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 console.log('Test system');
6 $(document).on('change', '.jobs', function() { 5 $(document).on('change', '.jobs', function() {
7 var val = $(this).val(); 6 var val = $(this).val();
8 7
9 console.log('Click change...'); 8 console.log('Click change...');
10 $.ajax({ 9 $.ajax({
11 type: "GET", 10 type: "GET",
12 url: "{{ route('vacancies') }}", 11 url: "{{ route('vacancies') }}",
13 data: "job="+val, 12 data: "job="+val,
14 success: function (data) { 13 success: function (data) {
15 console.log('Выбор должности'); 14 console.log('Выбор должности');
16 console.log(data); 15 console.log(data);
17 $('#block_ajax').html(data); 16 $('#block_ajax').html(data);
18 }, 17 },
19 headers: { 18 headers: {
20 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 19 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
21 }, 20 },
22 error: function (data) { 21 error: function (data) {
23 data = JSON.stringify(data); 22 data = JSON.stringify(data);
24 console.log('Error: ' + data); 23 console.log('Error: ' + data);
25 } 24 }
26 }); 25 });
27 }); 26 });
28 </script> 27 </script>
29 @endsection 28 @endsection
30 29
31 @section('content') 30 @section('content')
32 <section class="thing"> 31 <section class="thing">
33 <div class="container"> 32 <div class="container">
34 <form class="thing__body"> 33 <form class="thing__body">
35 <ul class="breadcrumbs thing__breadcrumbs"> 34 <ul class="breadcrumbs thing__breadcrumbs">
36 <li><a href="{{ route('index') }}">Главная</a></li> 35 <li><a href="{{ route('index') }}">Главная</a></li>
37 <li><b>Вакансии</b></li> 36 <li><b>Вакансии</b></li>
38 </ul> 37 </ul>
39 <h1 class="thing__title">Вакансии</h1> 38 <h1 class="thing__title">Вакансии</h1>
40 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для 39 <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для
41 существующих финансовых и административных условий.</p> 40 существующих финансовых и административных условий.</p>
42 <div class="select select_search thing__select"> 41 <div class="select select_search thing__select">
43 <div class="select__icon"> 42 <div class="select__icon">
44 <svg> 43 <svg>
45 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> 44 <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use>
46 </svg> 45 </svg>
47 </div> 46 </div>
48 <select class="js-select2 jobs" id="jobs" name="jobs"> 47 <select class="js-select2 jobs" id="jobs" name="jobs">
49 <option value="0">Выберите должность</option> 48 <option value="0">Выберите должность</option>
50 @if ($Job_title->count()) 49 @if ($Job_title->count())
51 @foreach($Job_title as $JT) 50 @foreach($Job_title as $JT)
52 <option value="{{ $JT->id }}" @if ((isset($_GET['job'])) && ($_GET['job'] == $JT->id)) selected @endif>{{ $JT->name }}</option> 51 <option value="{{ $JT->id }}" @if ((isset($_GET['job'])) && ($_GET['job'] == $JT->id)) selected @endif>{{ $JT->name }}</option>
53 @endforeach 52 @endforeach
54 @endif 53 @endif
55 </select> 54 </select>
56 </div> 55 </div>
57 </form> 56 </form>
58 </div> 57 </div>
59 </section> 58 </section>
60 <main class="main"> 59 <main class="main">
61 <div class="container"> 60 <div class="container">
62 <div class="main__vacancies"> 61 <div class="main__vacancies">
63 <h2 class="main__vacancies-title">Категории вакансий</h2> 62 <h2 class="main__vacancies-title">Категории вакансий</h2>
64 <div class="vacancies__body"> 63 <div class="vacancies__body">
65 <!--<button class="vacancies__more button button_more button_light js-toggle js-parent-toggle"> 64 <!--<button class="vacancies__more button button_more button_light js-toggle js-parent-toggle">
66 <span>Показать ещё</span> 65 <span>Показать ещё</span>
67 <span>Скрыть</span> 66 <span>Скрыть</span>
68 </button>--> 67 </button>-->
69 <div class="vacancies__list" id="block_ajax" name="block_ajax"> 68 <div class="vacancies__list" id="block_ajax" name="block_ajax">
70 @php $colors = Array('#F4C4C2', '#FBF1C8', '#ECFDEF', '#F3ECF6', '#ECFDEF'); 69 @php $colors = Array('#F4C4C2', '#FBF1C8', '#ECFDEF', '#F3ECF6', '#ECFDEF');
71 $i = 0; 70 $i = 0;
72 @endphp 71 @endphp
73 @if ($categories->count()) 72 @if ($categories->count())
74 @foreach ($categories as $cat) 73 @foreach ($categories as $cat)
75 <a href="{{ route('list-vacancies', ['categories' => $cat->id]) }}" class="vacancies__item"> 74 <a href="{{ route('list-vacancies', ['categories' => $cat->id]) }}" class="vacancies__item">
76 <span style="border-color:{{$colors[$i]}}"> 75 <span style="border-color:{{$colors[$i]}}">
77 <b>{{ $cat->name }}</b> 76 <b>{{ $cat->name }}</b>
78 <u>@if (!empty($cat->min_salary)) {{ $cat->min_salary }} @else 0 @endif &mdash; 77 <u>@if (!empty($cat->min_salary)) {{ $cat->min_salary }} @else 0 @endif &mdash;
79 @if (!empty($cat->max_salary)) {{ $cat->max_salary }} @else 0 @endif ₽</u> 78 @if (!empty($cat->max_salary)) {{ $cat->max_salary }} @else 0 @endif ₽</u>
80 <i>Вакансий: <span>{{ $cat->cnt }}</span></i> 79 <i>Вакансий: <span>{{ $cat->cnt }}</span></i>
81 </span> 80 </span>
82 </a> 81 </a>
83 @php $i++; 82 @php $i++;
84 if ($i > 4) {$i = 0;} 83 if ($i > 4) {$i = 0;}
85 @endphp 84 @endphp
86 @endforeach 85 @endforeach
87 @else 86 @else
88 Тут пока нет никаких вакансий 87 Тут пока нет никаких вакансий
89 @endif 88 @endif
90 </div> 89 </div>
91 </div> 90 </div>
92 </div> 91 </div>
93 </div> 92 </div>
94 </main> 93 </main>
95 </div> 94 </div>
96 @endsection 95 @endsection
97 96
resources/views/worker.blade.php
1 @extends('layout.frontend', ['title' => 'Карточка соискателя - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Карточка соискателя - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 $(function(){ 5 $(function(){
6 $('[name="footer-like-button"]').click(function(){ 6 $('[name="footer-like-button"]').click(function(){
7 $('[name="header-like-button"]').click(); 7 $('[name="header-like-button"]').click();
8 $(this).toggleClass('active'); 8 $(this).toggleClass('active');
9 }); 9 });
10 $('[name="header-like-button"]').click(function(){ 10 $('[name="header-like-button"]').click(function(){
11 $('[name="footer-like-button"]').toggleClass('active'); 11 $('[name="footer-like-button"]').toggleClass('active');
12 }); 12 });
13 }); 13 });
14 14
15 console.log('Test system');
16 $(document).on('change', '#jobs', function() { 15 $(document).on('change', '#jobs', function() {
17 var val = $(this).val(); 16 var val = $(this).val();
18 var main_oskar = $('#main_ockar'); 17 var main_oskar = $('#main_ockar');
19 18
20 console.log('Code='+val); 19 console.log('Code='+val);
21 console.log('Click change...'); 20 console.log('Click change...');
22 $.ajax({ 21 $.ajax({
23 type: "GET", 22 type: "GET",
24 url: "", 23 url: "",
25 data: "job="+val, 24 data: "job="+val,
26 success: function (data) { 25 success: function (data) {
27 console.log('Выбор сделан!'); 26 console.log('Выбор сделан!');
28 console.log(data); 27 console.log(data);
29 main_oskar.html(data); 28 main_oskar.html(data);
30 }, 29 },
31 headers: { 30 headers: {
32 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 31 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
33 }, 32 },
34 error: function (data) { 33 error: function (data) {
35 data = JSON.stringify(data); 34 data = JSON.stringify(data);
36 console.log('Error: ' + data); 35 console.log('Error: ' + data);
37 } 36 }
38 }); 37 });
39 }); 38 });
40 </script> 39 </script>
41 40
42 <script> 41 <script>
43 $(document).on('click', '.js_it_button', function() { 42 $(document).on('click', '.js_it_button', function() {
44 var this_ = $(this); 43 var this_ = $(this);
45 var code_user_id = this_.attr('data-uid'); 44 var code_user_id = this_.attr('data-uid');
46 var code_to_user_id = this_.attr('data-tuid'); 45 var code_to_user_id = this_.attr('data-tuid');
47 var code_vacancy = this_.attr('data-vacancy'); 46 var code_vacancy = this_.attr('data-vacancy');
48 var user_id = $('#_user_id'); 47 var user_id = $('#_user_id');
49 var to_user_id = $('#_to_user_id'); 48 var to_user_id = $('#_to_user_id');
50 var vacancy = $('#_vacancy'); 49 var vacancy = $('#_vacancy');
51 50
52 console.log('code_to_user_id='+code_to_user_id); 51 console.log('code_to_user_id='+code_to_user_id);
53 console.log('code_user_id='+code_user_id); 52 console.log('code_user_id='+code_user_id);
54 console.log('code_vacancy='+code_vacancy); 53 console.log('code_vacancy='+code_vacancy);
55 console.log('Клик на кнопке...'); 54 console.log('Клик на кнопке...');
56 55
57 user_id.val(code_user_id); 56 user_id.val(code_user_id);
58 to_user_id.val(code_to_user_id); 57 to_user_id.val(code_to_user_id);
59 vacancy.val(code_vacancy); 58 vacancy.val(code_vacancy);
60 }); 59 });
61 </script> 60 </script>
62 @include('js.favorite-worker') 61 @include('js.favorite-worker')
63 @endsection 62 @endsection
64 63
65 @section('content') 64 @section('content')
66 @php 65 @php
67 $worker = $Query[0]; 66 $worker = $Query[0];
68 @endphp 67 @endphp
69 <section class="thing"> 68 <section class="thing">
70 <div class="container"> 69 <div class="container">
71 <ul class="breadcrumbs thing__breadcrumbs"> 70 <ul class="breadcrumbs thing__breadcrumbs">
72 <li><a href="{{ route('index') }}">Главная</a></li> 71 <li><a href="{{ route('index') }}">Главная</a></li>
73 <li><a href="{{ route('bd_resume') }}">База резюме</a></li> 72 <li><a href="{{ route('bd_resume') }}">База резюме</a></li>
74 <li><b>@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</b></li> 73 <li><b>@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</b></li>
75 </ul> 74 </ul>
76 <div class="thing__profile"> 75 <div class="thing__profile">
77 <img src="@if (isset($Query[0]->photo)) {{ asset(Storage::url($Query[0]->photo)) }} @else {{ asset('images/default_man.jpg') }} @endif" alt="" class="main__resume-base-body-item-photo"> 76 <img src="@if (isset($Query[0]->photo)) {{ asset(Storage::url($Query[0]->photo)) }} @else {{ asset('images/default_man.jpg') }} @endif" alt="" class="main__resume-base-body-item-photo">
78 <div class="thing__profile-body"> 77 <div class="thing__profile-body">
79 <h1 class="thing__title">@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</h1> 78 <h1 class="thing__title">@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</h1>
80 <p class="thing__text">Сложно сказать, почему ключевые особенности структуры проекта рассмотрены 79 <p class="thing__text">Сложно сказать, почему ключевые особенности структуры проекта рассмотрены
81 исключительно в разрезе маркетинговых и финансовых предпосылок.</p> 80 исключительно в разрезе маркетинговых и финансовых предпосылок.</p>
82 <div class="main__resume-profile-about-buttons thing__bottom"> 81 <div class="main__resume-profile-about-buttons thing__bottom">
83 <button type="button" class="like js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" data-val="{{ $Query[0]->id }}" id="elem{{ $Query[0]->id }}" 82 <button type="button" class="like js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" data-val="{{ $Query[0]->id }}" id="elem{{ $Query[0]->id }}"
84 name="header-like-button" 83 name="header-like-button"
85 > 84 >
86 <svg class="mr-10"> 85 <svg class="mr-10">
87 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> 86 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
88 </svg> 87 </svg>
89 <span class="to-favorites">В избранное</span> 88 <span class="to-favorites">В избранное</span>
90 <span class="in-favorites">В избранном</span> 89 <span class="in-favorites">В избранном</span>
91 </button> 90 </button>
92 <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}'> 91 <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}'>
93 <svg> 92 <svg>
94 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> 93 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use>
95 </svg> 94 </svg>
96 Написать 95 Написать
97 </div> 96 </div>
98 <a class="button" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}" target="_blank"> 97 <a class="button" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}" target="_blank">
99 Скачать резюме 98 Скачать резюме
100 <svg> 99 <svg>
101 <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> 100 <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use>
102 </svg> 101 </svg>
103 </a> 102 </a>
104 </div> 103 </div>
105 </div> 104 </div>
106 </div> 105 </div>
107 </div> 106 </div>
108 </section> 107 </section>
109 <main class="main"> 108 <main class="main">
110 <div class="container"> 109 <div class="container">
111 <div class="main__resume-profile"> 110 <div class="main__resume-profile">
112 <div class="main__content"> 111 <div class="main__content">
113 <div class="main__spoiler"> 112 <div class="main__spoiler">
114 <button type="button" class="main__spoiler-toper js-toggle active"> 113 <button type="button" class="main__spoiler-toper js-toggle active">
115 Основная информация</button> 114 Основная информация</button>
116 115
117 <div class="main__spoiler-body"> 116 <div class="main__spoiler-body">
118 <table class="main__table"> 117 <table class="main__table">
119 <tbody> 118 <tbody>
120 <tr> 119 <tr>
121 <td><b>Статус:</b></td> 120 <td><b>Статус:</b></td>
122 <td>{{ $status_work[$worker->status_work] }}</td> 121 <td>{{ $status_work[$worker->status_work] }}</td>
123 </tr> 122 </tr>
124 <tr> 123 <tr>
125 <td><b>ФИО:</b></td> 124 <td><b>ФИО:</b></td>
126 <td>{{ $worker->users->surname." ".$worker->users->name_man." ".$worker->users->surname2 }}</td> 125 <td>{{ $worker->users->surname." ".$worker->users->name_man." ".$worker->users->surname2 }}</td>
127 </tr> 126 </tr>
128 <tr> 127 <tr>
129 <td><b>Возраст:</b></td> 128 <td><b>Возраст:</b></td>
130 <td>{{ $worker->old_year ?? '-' }}</td> 129 <td>{{ $worker->old_year ?? '-' }}</td>
131 </tr> 130 </tr>
132 <tr> 131 <tr>
133 <td><b>Желаемые вакансии:</b></td> 132 <td><b>Желаемые вакансии:</b></td>
134 <td> 133 <td>
135 @if ($Query[0]->job_titles->count()) 134 @if ($Query[0]->job_titles->count())
136 @foreach ($Query[0]->job_titles as $it) 135 @foreach ($Query[0]->job_titles as $it)
137 @if ($it->is_remove == 0) 136 @if ($it->is_remove == 0)
138 {{ $it->name }} / 137 {{ $it->name }} /
139 @endif 138 @endif
140 @endforeach 139 @endforeach
141 @else 140 @else
142 - 141 -
143 @endif 142 @endif
144 </td> 143 </td>
145 </tr> 144 </tr>
146 <tr> 145 <tr>
147 <td><b>Пожелания по З/П:</b></td> 146 <td><b>Пожелания по З/П:</b></td>
148 <td>{{ $worker->salary_expectations ?? '-' }}</td> 147 <td>{{ $worker->salary_expectations ?? '-' }}</td>
149 </tr> 148 </tr>
150 <tr> 149 <tr>
151 <td><b>Опыт работы:</b></td> 150 <td><b>Опыт работы:</b></td>
152 <td>{{ $worker->experience ?? '-' }}</td> 151 <td>{{ $worker->experience ?? '-' }}</td>
153 </tr> 152 </tr>
154 <tr> 153 <tr>
155 <td><b>Уровень английского:</b></td> 154 <td><b>Уровень английского:</b></td>
156 <td>{{ $worker->english_level ?? '-' }}</td> 155 <td>{{ $worker->english_level ?? '-' }}</td>
157 </tr> 156 </tr>
158 <tr> 157 <tr>
159 <td><b>Дата готовности к посадке:</b></td> 158 <td><b>Дата готовности к посадке:</b></td>
160 <td>{{ $worker->ready_boart_date ?? '-' }}</td> 159 <td>{{ $worker->ready_boart_date ?? '-' }}</td>
161 </tr> 160 </tr>
162 <tr> 161 <tr>
163 <td><b>Предпочтение по типу судна:</b></td> 162 <td><b>Предпочтение по типу судна:</b></td>
164 <td>{{ $worker->boart_type_preference ?? '-' }}</td> 163 <td>{{ $worker->boart_type_preference ?? '-' }}</td>
165 </tr> 164 </tr>
166 <tr> 165 <tr>
167 <td><b>Наличие визы:</b></td> 166 <td><b>Наличие визы:</b></td>
168 <td>{{ $worker->visa_available ?? '-' }}</td> 167 <td>{{ $worker->visa_available ?? '-' }}</td>
169 </tr> 168 </tr>
170 <tr> 169 <tr>
171 <td><b>Наличие танкерных документов:</b></td> 170 <td><b>Наличие танкерных документов:</b></td>
172 <td>{{ $worker->tanker_documents_available ?? '-' }}</td> 171 <td>{{ $worker->tanker_documents_available ?? '-' }}</td>
173 </tr> 172 </tr>
174 <tr> 173 <tr>
175 <td><b>Наличие подтверждения для работы на ВВП:</b></td> 174 <td><b>Наличие подтверждения для работы на ВВП:</b></td>
176 <td>{{ $worker->confirmation_work_for_vvp ?? '-' }}</td> 175 <td>{{ $worker->confirmation_work_for_vvp ?? '-' }}</td>
177 </tr> 176 </tr>
178 <tr> 177 <tr>
179 <td><b>Наличие военного билета / приписного свидетельства:</b></td> 178 <td><b>Наличие военного билета / приписного свидетельства:</b></td>
180 <td>{{ $worker->military_id_available ?? '-' }}</td> 179 <td>{{ $worker->military_id_available ?? '-' }}</td>
181 </tr> 180 </tr>
182 <tr> 181 <tr>
183 <td><b>Город проживания:</b></td> 182 <td><b>Город проживания:</b></td>
184 <td>{{ $worker->city ?? '-' }}</td> 183 <td>{{ $worker->city ?? '-' }}</td>
185 </tr> 184 </tr>
186 <tr> 185 <tr>
187 <td><b>Телефон:</b></td> 186 <td><b>Телефон:</b></td>
188 <td>{{ $worker->telephone ?? '-' }}</td> 187 <td>{{ $worker->telephone ?? '-' }}</td>
189 </tr> 188 </tr>
190 <tr> 189 <tr>
191 <td><b>E-mail:</b></td> 190 <td><b>E-mail:</b></td>
192 <td>{{ $worker->email ?? '-' }}</td> 191 <td>{{ $worker->email ?? '-' }}</td>
193 </tr> 192 </tr>
194 <tr> 193 <tr>
195 <td><b>Контакты родственников:</b></td> 194 <td><b>Контакты родственников:</b></td>
196 <td>{{ $worker->telephone2 ?? '-' }}</td> 195 <td>{{ $worker->telephone2 ?? '-' }}</td>
197 </tr> 196 </tr>
198 </tbody> 197 </tbody>
199 </table> 198 </table>
200 </div> 199 </div>
201 </div> 200 </div>
202 201
203 <div class="main__spoiler"> 202 <div class="main__spoiler">
204 <button type="button" class="main__spoiler-toper js-toggle active">Сертификаты / документы</button> 203 <button type="button" class="main__spoiler-toper js-toggle active">Сертификаты / документы</button>
205 <div class="main__spoiler-body"> 204 <div class="main__spoiler-body">
206 205
207 @if (isset($Query[0]->sertificate)) 206 @if (isset($Query[0]->sertificate))
208 @if ($Query[0]->sertificate->count()) 207 @if ($Query[0]->sertificate->count())
209 <table class="main__table"> 208 <table class="main__table">
210 <tbody> 209 <tbody>
211 <tr> 210 <tr>
212 <td><b>Название сертификата:</b></td> 211 <td><b>Название сертификата:</b></td>
213 <td><b>Действителен до:</b></td> 212 <td><b>Действителен до:</b></td>
214 </tr> 213 </tr>
215 @foreach($Query[0]->sertificate as $it) 214 @foreach($Query[0]->sertificate as $it)
216 <tr> 215 <tr>
217 <td>{{ $it->name }}</td> 216 <td>{{ $it->name }}</td>
218 <td>{{ date('d.m.Y', strtotime($it->end_begin)) }}</td> 217 <td>{{ date('d.m.Y', strtotime($it->end_begin)) }}</td>
219 </tr> 218 </tr>
220 @endforeach 219 @endforeach
221 </tbody> 220 </tbody>
222 </table> 221 </table>
223 @endif 222 @endif
224 @endif 223 @endif
225 </div> 224 </div>
226 </div> 225 </div>
227 226
228 <div class="main__spoiler"> 227 <div class="main__spoiler">
229 <button type="button" class="main__spoiler-toper js-toggle active">Дополнительные документы</button> 228 <button type="button" class="main__spoiler-toper js-toggle active">Дополнительные документы</button>
230 <div class="main__spoiler-body"> 229 <div class="main__spoiler-body">
231 @if ($infoblocks->count()) 230 @if ($infoblocks->count())
232 <table class="main__table"> 231 <table class="main__table">
233 <tbody> 232 <tbody>
234 @foreach ($infoblocks as $info) 233 @foreach ($infoblocks as $info)
235 @php $finder = false; @endphp 234 @php $finder = false; @endphp
236 @if (isset($Query[0]->infobloks)) 235 @if (isset($Query[0]->infobloks))
237 @if ($Query[0]->infobloks->count()) 236 @if ($Query[0]->infobloks->count())
238 237
239 @foreach($Query[0]->infobloks as $it) 238 @foreach($Query[0]->infobloks as $it)
240 @if ($info->id == $it->id) 239 @if ($info->id == $it->id)
241 <tr> 240 <tr>
242 <td><b>{{ $it->name }}</b></td> 241 <td><b>{{ $it->name }}</b></td>
243 <td> 242 <td>
244 @if ($it->model_dop_info[0]->status == 0) Не указано 243 @if ($it->model_dop_info[0]->status == 0) Не указано
245 @elseif($it->model_dop_info[0]->status==1) В наличии 244 @elseif($it->model_dop_info[0]->status==1) В наличии
246 @else Отсутствует 245 @else Отсутствует
247 @endif 246 @endif
248 </td> 247 </td>
249 </tr> 248 </tr>
250 @php $finder = true; @endphp 249 @php $finder = true; @endphp
251 @endif 250 @endif
252 @endforeach 251 @endforeach
253 @endif 252 @endif
254 @endif 253 @endif
255 @if (!$finder) 254 @if (!$finder)
256 <tr> 255 <tr>
257 <td><b>{{ $info->name }}</b></td> 256 <td><b>{{ $info->name }}</b></td>
258 <td> 257 <td>
259 Не указано 258 Не указано
260 </td> 259 </td>
261 </tr> 260 </tr>
262 @endif 261 @endif
263 @endforeach 262 @endforeach
264 </tbody> 263 </tbody>
265 </table> 264 </table>
266 @endif 265 @endif
267 </div> 266 </div>
268 </div> 267 </div>
269 268
270 <div class="main__spoiler"> 269 <div class="main__spoiler">
271 <button type="button" class="main__spoiler-toper js-toggle active">Опыт работы</button> 270 <button type="button" class="main__spoiler-toper js-toggle active">Опыт работы</button>
272 <div class="main__spoiler-body"> 271 <div class="main__spoiler-body">
273 272
274 @if (isset($Query[0]->place_worker)) 273 @if (isset($Query[0]->place_worker))
275 @if ($Query[0]->place_worker->count()) 274 @if ($Query[0]->place_worker->count())
276 <table class="main__table"> 275 <table class="main__table">
277 <tbody> 276 <tbody>
278 <tr> 277 <tr>
279 <td><b>Должность:</b></td> 278 <td><b>Должность:</b></td>
280 <td><b>Название т/х:</b></td> 279 <td><b>Название т/х:</b></td>
281 <td><b>Тип судна:</b></td> 280 <td><b>Тип судна:</b></td>
282 <td><b>Марка ГД:</b></td> 281 <td><b>Марка ГД:</b></td>
283 <td><b>Мощность ГД (кВТ):</b></td> 282 <td><b>Мощность ГД (кВТ):</b></td>
284 <td><b>Водоизмещение (DWT):</b></td> 283 <td><b>Водоизмещение (DWT):</b></td>
285 <td><b>Название компании:</b></td> 284 <td><b>Название компании:</b></td>
286 <td><b>Начало контракта:</b></td> 285 <td><b>Начало контракта:</b></td>
287 <td><b>Окончание контракта:</b></td> 286 <td><b>Окончание контракта:</b></td>
288 </tr> 287 </tr>
289 @foreach($Query[0]->place_worker as $it) 288 @foreach($Query[0]->place_worker as $it)
290 <tr> 289 <tr>
291 <td>{{ $it->job_title }}</td> 290 <td>{{ $it->job_title }}</td>
292 <td>{{ $it->teplohod }}</td> 291 <td>{{ $it->teplohod }}</td>
293 <td>{{ $it->GWT }}</td> 292 <td>{{ $it->GWT }}</td>
294 <td>{{ $it->Marka_GD }}</td> 293 <td>{{ $it->Marka_GD }}</td>
295 <td>{{ $it->KBT }}</td> 294 <td>{{ $it->KBT }}</td>
296 <td>{{ $it->GRT }}</td> 295 <td>{{ $it->GRT }}</td>
297 <td>{{ $it->name_company }}</td> 296 <td>{{ $it->name_company }}</td>
298 <td>{{ date('d.m.Y', strtotime($it->begin_work)) }}</td> 297 <td>{{ date('d.m.Y', strtotime($it->begin_work)) }}</td>
299 <td>{{ date('d.m.Y', strtotime($it->end_work)) }}</td> 298 <td>{{ date('d.m.Y', strtotime($it->end_work)) }}</td>
300 </tr> 299 </tr>
301 @endforeach 300 @endforeach
302 </tbody> 301 </tbody>
303 </table> 302 </table>
304 @endif 303 @endif
305 @endif 304 @endif
306 </div> 305 </div>
307 </div> 306 </div>
308 307
309 <div class="main__spoiler"> 308 <div class="main__spoiler">
310 <button type="button" class="main__spoiler-toper js-toggle active">Данные о прошлых компаниях</button> 309 <button type="button" class="main__spoiler-toper js-toggle active">Данные о прошлых компаниях</button>
311 <div class="main__spoiler-body"> 310 <div class="main__spoiler-body">
312 @if ((isset($worker->prev_company)) && ($worker->prev_company->count())) 311 @if ((isset($worker->prev_company)) && ($worker->prev_company->count()))
313 <table class="main__table"> 312 <table class="main__table">
314 <tbody> 313 <tbody>
315 <tr> 314 <tr>
316 <td><b>Название компании:</b></td> 315 <td><b>Название компании:</b></td>
317 <td><b>ФИО сотрудника:</b></td> 316 <td><b>ФИО сотрудника:</b></td>
318 <td><b>Должность сотрудника:</b></td> 317 <td><b>Должность сотрудника:</b></td>
319 <td><b>Телефон сотрудника:</b></td> 318 <td><b>Телефон сотрудника:</b></td>
320 </tr> 319 </tr>
321 @foreach ($worker->prev_company as $prev_company) 320 @foreach ($worker->prev_company as $prev_company)
322 <tr> 321 <tr>
323 <td>{{ $prev_company->name_company }}</td> 322 <td>{{ $prev_company->name_company }}</td>
324 <td>{{ $prev_company->direct }}</td> 323 <td>{{ $prev_company->direct }}</td>
325 <td>{{ $prev_company->telephone }}</td> 324 <td>{{ $prev_company->telephone }}</td>
326 <td>{{ $prev_company->telephone2 }}</td> 325 <td>{{ $prev_company->telephone2 }}</td>
327 </tr> 326 </tr>
328 @endforeach 327 @endforeach
329 </tbody> 328 </tbody>
330 </table> 329 </table>
331 @endif 330 @endif
332 </div> 331 </div>
333 </div> 332 </div>
334 </div> 333 </div>
335 334
336 <div class="main__resume-profile-about"> 335 <div class="main__resume-profile-about">
337 <h2 class="main__resume-profile-about-title">О себе</h2> 336 <h2 class="main__resume-profile-about-title">О себе</h2>
338 <p class="main__resume-profile-about-text">{{ $Query[0]->text }}</p> 337 <p class="main__resume-profile-about-text">{{ $Query[0]->text }}</p>
339 @if (App\Classes\StatusUser::Status()==0) 338 @if (App\Classes\StatusUser::Status()==0)
340 @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) 339 @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message))
341 <div class="main__resume-profile-about-buttons flex width100"> 340 <div class="main__resume-profile-about-buttons flex width100">
342 <button type="button" class="like mr-10 js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" 341 <button type="button" class="like mr-10 js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}"
343 name="footer-like-button" 342 name="footer-like-button"
344 > 343 >
345 <svg class="mr-10"> 344 <svg class="mr-10">
346 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> 345 <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
347 </svg> 346 </svg>
348 <span class="to-favorites">В избранное</span> 347 <span class="to-favorites">В избранное</span>
349 <span class="in-favorites">В избранном</span> 348 <span class="in-favorites">В избранном</span>
350 </button> 349 </button>
351 <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}'> 350 <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}'>
352 <svg> 351 <svg>
353 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> 352 <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use>
354 </svg> 353 </svg>
355 Написать 354 Написать
356 </div> 355 </div>
357 <a class="button mr-10" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}"> 356 <a class="button mr-10" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}">
358 <svg> 357 <svg>
359 <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> 358 <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use>
360 </svg> 359 </svg>
361 Скачать резюме 360 Скачать резюме
362 </a> 361 </a>
363 </div> 362 </div>
364 @endif 363 @endif
365 @endif 364 @endif
366 </div> 365 </div>
367 366
368 <div class="main__resume-profile-info"> 367 <div class="main__resume-profile-info">
369 <h2 class="main__resume-profile-info-title">Количество просмотров страницы: ({{ $stat[0]->lookin }})</h2> 368 <h2 class="main__resume-profile-info-title">Количество просмотров страницы: ({{ $stat[0]->lookin }})</h2>
370 </div> 369 </div>
371 370
372 <div class="main__resume-profile-info"> 371 <div class="main__resume-profile-info">
373 <h2 class="main__resume-profile-info-title">Отзывы о работнике ({{ $Query[0]->response->count() }})</h2> 372 <h2 class="main__resume-profile-info-title">Отзывы о работнике ({{ $Query[0]->response->count() }})</h2>
374 <div class="main__resume-profile-info-body"> 373 <div class="main__resume-profile-info-body">
375 @if ((isset($Query[0]->response)) && ($Query[0]->response->count())) 374 @if ((isset($Query[0]->response)) && ($Query[0]->response->count()))
376 <div class="main__resume-profile-info-body-item"> 375 <div class="main__resume-profile-info-body-item">
377 <ul class="main__resume-profile-info-body-inner"> 376 <ul class="main__resume-profile-info-body-inner">
378 @php $i = 1; @endphp 377 @php $i = 1; @endphp
379 @foreach($Query[0]->response as $it) 378 @foreach($Query[0]->response as $it)
380 <li> 379 <li>
381 <span><h3>Комментарий №{{$i}}</h3></span> 380 <span><h3>Комментарий №{{$i}}</h3></span>
382 <span><b>Оценка человека: {{ $it->stars }}</b></span> 381 <span><b>Оценка человека: {{ $it->stars }}</b></span>
383 <span><b>Сообщение: </b>{{ $it->message }}</span> 382 <span><b>Сообщение: </b>{{ $it->message }}</span>
384 </li> 383 </li>
385 @php $i++; @endphp 384 @php $i++; @endphp
386 @endforeach 385 @endforeach
387 </ul> 386 </ul>
388 </div> 387 </div>
389 @else 388 @else
390 <div class="main__resume-profile-info-body-item"> 389 <div class="main__resume-profile-info-body-item">
391 <h3 class="main__resume-profile-info-body-subtitle">Нету комментариев</h3> 390 <h3 class="main__resume-profile-info-body-subtitle">Нету комментариев</h3>
392 </div> 391 </div>
393 @endif 392 @endif
394 </div> 393 </div>
395 </div> 394 </div>
396 395
397 <div class="main__resume-profile-review"> 396 <div class="main__resume-profile-review">
398 <form action="{{ route('stars_answer') }}" method="POST"> 397 <form action="{{ route('stars_answer') }}" method="POST">
399 @csrf 398 @csrf
400 <h2 class="main__resume-profile-review-title">Оставить отзыв о работнике</h2> 399 <h2 class="main__resume-profile-review-title">Оставить отзыв о работнике</h2>
401 <div class="rate"> 400 <div class="rate">
402 <div class="rate__label">Ваша оценка:</div> 401 <div class="rate__label">Ваша оценка:</div>
403 <div class="rate__stars"> 402 <div class="rate__stars">
404 <select name="stars" id="stars" class="star-rating js-stars"> 403 <select name="stars" id="stars" class="star-rating js-stars">
405 <option value="5">5</option> 404 <option value="5">5</option>
406 <option value="4">4</option> 405 <option value="4">4</option>
407 <option value="3">3</option> 406 <option value="3">3</option>
408 <option value="2">2</option> 407 <option value="2">2</option>
409 <option value="1" selected>1</option> 408 <option value="1" selected>1</option>
410 </select> 409 </select>
411 </div> 410 </div>
412 </div> 411 </div>
413 <input type="hidden" name="worker_id" id="worker_id" value="{{ $Query[0]->id }}"/> 412 <input type="hidden" name="worker_id" id="worker_id" value="{{ $Query[0]->id }}"/>
414 <div class="main__resume-profile-review-body"> 413 <div class="main__resume-profile-review-body">
415 <h3>Ваш отзыв</h3> 414 <h3>Ваш отзыв</h3>
416 <textarea class="textarea" name="message" id="message" placeholder="Текст отзыва&hellip;" required></textarea> 415 <textarea class="textarea" name="message" id="message" placeholder="Текст отзыва&hellip;" required></textarea>
417 <button type="submit" class="button">Оставить отзыв</button> 416 <button type="submit" class="button">Оставить отзыв</button>
418 </div> 417 </div>
419 </form> 418 </form>
420 </div> 419 </div>
421 </div> 420 </div>
422 </div> 421 </div>
423 </main> 422 </main>
424 </div> 423 </div>
425 @endsection 424 @endsection
426 425
resources/views/workers/cabinet.blade.php
1 @extends('layout.frontend', ['title' => 'Моя анкета - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Моя анкета - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 $(function() { 5 $(function() {
6 $('.cabinet__avatar-form [type="file"][name="photo"]').change(function (event) { 6 $('.cabinet__avatar-form [type="file"][name="photo"]').change(function (event) {
7 var form = $(this).closest('form'); 7 var form = $(this).closest('form');
8 const file = event.target.files[0]; 8 const file = event.target.files[0];
9 9
10 if (file) { 10 if (file) {
11 var img_wrap = $('.cabinet__avatar-pic'); 11 var img_wrap = $('.cabinet__avatar-pic');
12 var img = $('<img src="#"/>'); 12 var img = $('<img src="#"/>');
13 const reader = new FileReader(); 13 const reader = new FileReader();
14 14
15 reader.onload = function(e) { 15 reader.onload = function(e) {
16 img.attr('src', e.target.result); 16 img.attr('src', e.target.result);
17 img_wrap.find('svg, img').remove(); 17 img_wrap.find('svg, img').remove();
18 img_wrap.append(img); 18 img_wrap.append(img);
19 19
20 setTimeout(function () { 20 setTimeout(function () {
21 form.submit(); 21 form.submit();
22 }, 1000); 22 }, 1000);
23 }; 23 };
24 24
25 reader.readAsDataURL(file); 25 reader.readAsDataURL(file);
26 } 26 }
27 }); 27 });
28 }); 28 });
29 29
30 $(document).on('click', '#old_year', function() { 30 $(document).on('click', '#old_year', function() {
31 var this_ = $(this); 31 var this_ = $(this);
32 var val = this_.val(); 32 var val = this_.val();
33 33
34 if (val < 0) 34 if (val < 0)
35 $('#old_year').val(0); 35 $('#old_year').val(0);
36 }); 36 });
37 </script> 37 </script>
38 @endsection 38 @endsection
39 39
40 @section('content') 40 @section('content')
41 @php 41 @php
42 $user = $worker->users 42 $user = $worker->users
43 @endphp 43 @endphp
44 <section class="cabinet"> 44 <section class="cabinet">
45 <div class="container"> 45 <div class="container">
46 <ul class="breadcrumbs cabinet__breadcrumbs"> 46 <ul class="breadcrumbs cabinet__breadcrumbs">
47 <li><a href="{{ route('index') }}">Главная</a></li> 47 <li><a href="{{ route('index') }}">Главная</a></li>
48 <li><b>Личный кабинет</b></li> 48 <li><b>Личный кабинет</b></li>
49 </ul> 49 </ul>
50 <div class="cabinet__wrapper"> 50 <div class="cabinet__wrapper">
51 <div class="cabinet__side"> 51 <div class="cabinet__side">
52 <div class="cabinet__side-toper"> 52 <div class="cabinet__side-toper">
53 @include('workers.emblema') 53 @include('workers.emblema')
54 54
55 </div> 55 </div>
56 56
57 @include('workers.menu', ['item' => 1]) 57 @include('workers.menu', ['item' => 1])
58 </div> 58 </div>
59 <div class="cabinet__body"> 59 <div class="cabinet__body">
60 <div class="cabinet__body-item"> 60 <div class="cabinet__body-item">
61 <div class="cabinet__anketa"> 61 <div class="cabinet__anketa">
62 <h2 class="title cabinet__title">Моя анкета</h2> 62 <h2 class="title cabinet__title">Моя анкета</h2>
63 <div class="cabinet__anketa-buttons"> 63 <div class="cabinet__anketa-buttons">
64 <a href="{{ route('worker.up', ['worker' => $worker->id]) }}" class="button">Поднять резюме</a> 64 <a href="{{ route('worker.up', ['worker' => $worker->id]) }}" class="button">Поднять резюме</a>
65 <a href="{{ route('resume_download', ['worker' => $worker->id]) }}" target="_blank" class="button"> 65 <a href="{{ route('resume_download', ['worker' => $worker->id]) }}" target="_blank" class="button">
66 <svg> 66 <svg>
67 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> 67 <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use>
68 </svg> 68 </svg>
69 Скачать резюме 69 Скачать резюме
70 </a> 70 </a>
71 </div> 71 </div>
72 </div> 72 </div>
73 </div> 73 </div>
74 74
75 <div class="cabinet__body-item"> 75 <div class="cabinet__body-item">
76 <div class="cabinet__stats"> 76 <div class="cabinet__stats">
77 <h3 class="cabinet__subtitle cabinet__stats-title">Статистика</h3> 77 <h3 class="cabinet__subtitle cabinet__stats-title">Статистика</h3>
78 <div class="cabinet__stats-body"> 78 <div class="cabinet__stats-body">
79 <div class="cabinet__stats-item"> 79 <div class="cabinet__stats-item">
80 <svg> 80 <svg>
81 <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> 81 <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use>
82 </svg> 82 </svg>
83 <span>Просмотров:</span> 83 <span>Просмотров:</span>
84 <b>@if (isset($stat[0]->lookin)) {{ $stat[0]->lookin }} @else 0 @endif</b> 84 <b>@if (isset($stat[0]->lookin)) {{ $stat[0]->lookin }} @else 0 @endif</b>
85 </div> 85 </div>
86 <div class="cabinet__stats-item"> 86 <div class="cabinet__stats-item">
87 <svg> 87 <svg>
88 <use xlink:href="{{ asset('images/sprite.svg#warning') }}"></use> 88 <use xlink:href="{{ asset('images/sprite.svg#warning') }}"></use>
89 </svg> 89 </svg>
90 <span>Отзывов:</span> 90 <span>Отзывов:</span>
91 <b>@if(isset($worker->response)) {{ $worker->response->count() }} @else 0 @endif</b> 91 <b>@if(isset($worker->response)) {{ $worker->response->count() }} @else 0 @endif</b>
92 </div> 92 </div>
93 </div> 93 </div>
94 <div class="cabinet__stats-subtitle">Анкета заполнена на {{ $persent }}%</div> 94 <div class="cabinet__stats-subtitle">Анкета заполнена на {{ $persent }}%</div>
95 <div class="cabinet__stats-line"> 95 <div class="cabinet__stats-line">
96 <span style="width:{{ $persent }}%"></span> 96 <span style="width:{{ $persent }}%"></span>
97 </div> 97 </div>
98 <div class="cabinet__stats-bottom">Заполните профиль, чтобы повысить процент анкеты на 80%</div> 98 <div class="cabinet__stats-bottom">Заполните профиль, чтобы повысить процент анкеты на 80%</div>
99 </div> 99 </div>
100 </div> 100 </div>
101 101
102 <form class="" action="{{ route('worker.cabinet_save_foto', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> 102 <form class="" action="{{ route('worker.cabinet_save_foto', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST">
103 @csrf 103 @csrf
104 @include('messages_error') 104 @include('messages_error')
105 105
106 <div class="cabinet__body-item"> 106 <div class="cabinet__body-item">
107 <h3 class="cabinet__subtitle">Профиль</h3> 107 <h3 class="cabinet__subtitle">Профиль</h3>
108 <div class="cabinet__avatar"> 108 <div class="cabinet__avatar">
109 <div class="cabinet__avatar-pic"> 109 <div class="cabinet__avatar-pic">
110 110
111 @if (!empty($worker->photo)) 111 @if (!empty($worker->photo))
112 <img src="{{ asset(Storage::url($worker->photo)) }}"/> 112 <img src="{{ asset(Storage::url($worker->photo)) }}"/>
113 @else 113 @else
114 <svg> 114 <svg>
115 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 115 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
116 </svg> 116 </svg>
117 @endif 117 @endif
118 </div> 118 </div>
119 <div class="cabinet__avatar-form"> 119 <div class="cabinet__avatar-form">
120 <label class="file"> 120 <label class="file">
121 <span class="file__input flex"> 121 <span class="file__input flex">
122 <input type="file" name="photo" id="photo"> 122 <input type="file" name="photo" id="photo">
123 123
124 <span class="button mr-20"> 124 <span class="button mr-20">
125 <svg> 125 <svg>
126 <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> 126 <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use>
127 </svg> 127 </svg>
128 Загрузить 128 Загрузить
129 </span> 129 </span>
130 @if (!empty($worker->photo)) 130 @if (!empty($worker->photo))
131 <button type="submit" class="button">Удалить фото</button> 131 <button type="submit" class="button">Удалить фото</button>
132 @endif 132 @endif
133 </span> 133 </span>
134 </label> 134 </label>
135 <p class="cabinet__text">Загрузите фотографию в формате svg., jpg., jpeg., png.</p> 135 <p class="cabinet__text">Загрузите фотографию в формате svg., jpg., jpeg., png.</p>
136 </div> 136 </div>
137 </div> 137 </div>
138 </div> 138 </div>
139 </form> 139 </form>
140 140
141 <div class="cabinet__body-item mb-40"> 141 <div class="cabinet__body-item mb-40">
142 <h3 class="cabinet__subtitle font30">Основная информация</h3> 142 <h3 class="cabinet__subtitle font30">Основная информация</h3>
143 143
144 <div class="cabinet__inputs"> 144 <div class="cabinet__inputs">
145 <div class="cabinet__inputs_to_columns_wrap"> 145 <div class="cabinet__inputs_to_columns_wrap">
146 <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left"> 146 <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left">
147 <div class="cabinet__inputs-item form-group"> 147 <div class="cabinet__inputs-item form-group">
148 <label class="form-group__label">Фамилия:</label> 148 <label class="form-group__label">Фамилия:</label>
149 <div class="form-group__item"> 149 <div class="form-group__item">
150 {{ $user->surname }} 150 {{ $user->surname }}
151 </div> 151 </div>
152 </div> 152 </div>
153 <div class="cabinet__inputs-item form-group"> 153 <div class="cabinet__inputs-item form-group">
154 <label class="form-group__label">Имя:</label> 154 <label class="form-group__label">Имя:</label>
155 <div class="form-group__item"> 155 <div class="form-group__item">
156 {{ $user->name_man }} 156 {{ $user->name_man }}
157 </div> 157 </div>
158 </div> 158 </div>
159 <div class="cabinet__inputs-item form-group"> 159 <div class="cabinet__inputs-item form-group">
160 <label class="form-group__label">Отчество:</label> 160 <label class="form-group__label">Отчество:</label>
161 <div class="form-group__item"> 161 <div class="form-group__item">
162 {{ $user->surname2 }} 162 {{ $user->surname2 }}
163 </div> 163 </div>
164 </div> 164 </div>
165 <div class="cabinet__inputs-item form-group"> 165 <div class="cabinet__inputs-item form-group">
166 <label class="form-group__label">Возраст:</label> 166 <label class="form-group__label">Возраст:</label>
167 <div class="form-group__item"> 167 <div class="form-group__item">
168 {{ $worker->old_year ?? '-' }} 168 {{ $worker->old_year ?? '-' }}
169 </div> 169 </div>
170 </div> 170 </div>
171 <div class="cabinet__inputs-item form-group"> 171 <div class="cabinet__inputs-item form-group">
172 <label class="form-group__label">Статус:</label> 172 <label class="form-group__label">Статус:</label>
173 <div class="form-group__item"> 173 <div class="form-group__item">
174 {{ $status_work[$worker->status_work] ?? '-' }} 174 {{ $status_work[$worker->status_work] ?? '-' }}
175 </div> 175 </div>
176 </div> 176 </div>
177 <div class="cabinet__inputs-item form-group"> 177 <div class="cabinet__inputs-item form-group">
178 <label class="form-group__label">Желаемые вакансии:</label> 178 <label class="form-group__label">Желаемые вакансии:</label>
179 <div class="form-group__item"> 179 <div class="form-group__item">
180 @if ($worker->job_titles->count()) 180 @if ($worker->job_titles->count())
181 @foreach($worker->job_titles as $job_title) 181 @foreach($worker->job_titles as $job_title)
182 {{ $job_title->name }} 182 {{ $job_title->name }}
183 @if (!$loop->last) / @endif 183 @if (!$loop->last) / @endif
184 @endforeach 184 @endforeach
185 @endif 185 @endif
186 </div> 186 </div>
187 </div> 187 </div>
188 <div class="cabinet__inputs-item form-group"> 188 <div class="cabinet__inputs-item form-group">
189 <label class="form-group__label">Пожелания к З/П:</label> 189 <label class="form-group__label">Пожелания к З/П:</label>
190 <div class="form-group__item"> 190 <div class="form-group__item">
191 {{ $worker->salary_expectations ?? '-' }} 191 {{ $worker->salary_expectations ?? '-' }}
192 </div> 192 </div>
193 </div> 193 </div>
194 <div class="cabinet__inputs-item form-group"> 194 <div class="cabinet__inputs-item form-group">
195 <label class="form-group__label">Уровень английского:</label> 195 <label class="form-group__label">Уровень английского:</label>
196 <div class="form-group__item"> 196 <div class="form-group__item">
197 {{ $worker->english_level ?? '-' }} 197 {{ $worker->english_level ?? '-' }}
198 </div> 198 </div>
199 </div> 199 </div>
200 <div class="cabinet__inputs-item form-group"> 200 <div class="cabinet__inputs-item form-group">
201 <label class="form-group__label">Дата готовности к посадке:</label> 201 <label class="form-group__label">Дата готовности к посадке:</label>
202 <div class="form-group__item"> 202 <div class="form-group__item">
203 {{ $worker->ready_boart_date ?? '-' }} 203 {{ $worker->ready_boart_date ?? '-' }}
204 </div> 204 </div>
205 </div> 205 </div>
206 <div class="cabinet__inputs-item form-group"> 206 <div class="cabinet__inputs-item form-group">
207 <label class="form-group__label">Предпочтение по типу судна:</label> 207 <label class="form-group__label">Предпочтение по типу судна:</label>
208 <div class="form-group__item"> 208 <div class="form-group__item">
209 {{ $worker->boart_type_preference ?? '-' }} 209 {{ $worker->boart_type_preference ?? '-' }}
210 </div> 210 </div>
211 </div> 211 </div>
212 </div> 212 </div>
213 213
214 <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right"> 214 <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right">
215 <div class="cabinet__inputs-item form-group"> 215 <div class="cabinet__inputs-item form-group">
216 <label class="form-group__label">Наличие визы:</label> 216 <label class="form-group__label">Наличие визы:</label>
217 <div class="form-group__item"> 217 <div class="form-group__item">
218 {{ $worker->visa_available }} 218 {{ $worker->visa_available }}
219 </div> 219 </div>
220 </div> 220 </div>
221 221
222 222
223 <div class="cabinet__inputs-item form-group"> 223 <div class="cabinet__inputs-item form-group">
224 <label class="form-group__label">Наличие танкерных документов:</label> 224 <label class="form-group__label">Наличие танкерных документов:</label>
225 <div class="form-group__item"> 225 <div class="form-group__item">
226 {{ $worker->tanker_documents_available ?? '-' }} 226 {{ $worker->tanker_documents_available ?? '-' }}
227 </div> 227 </div>
228 </div> 228 </div>
229 229
230 230
231 <div class="cabinet__inputs-item form-group"> 231 <div class="cabinet__inputs-item form-group">
232 <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> 232 <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label>
233 <div class="form-group__item"> 233 <div class="form-group__item">
234 {{ $worker->confirmation_work_for_vvp ?? '-' }} 234 {{ $worker->confirmation_work_for_vvp ?? '-' }}
235 </div> 235 </div>
236 </div> 236 </div>
237 237
238 238
239 <div class="cabinet__inputs-item form-group"> 239 <div class="cabinet__inputs-item form-group">
240 <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> 240 <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label>
241 <div class="form-group__item"> 241 <div class="form-group__item">
242 {{ $worker->military_id_available ?? '-' }} 242 {{ $worker->military_id_available ?? '-' }}
243 </div> 243 </div>
244 </div> 244 </div>
245 245
246 246
247 <div class="cabinet__inputs-item form-group"> 247 <div class="cabinet__inputs-item form-group">
248 <label class="form-group__label">Город проживания:</label> 248 <label class="form-group__label">Город проживания:</label>
249 <div class="form-group__item"> 249 <div class="form-group__item">
250 {{ $worker->city ?? '-' }} 250 {{ $worker->city ?? '-' }}
251 </div> 251 </div>
252 </div> 252 </div>
253 253
254 254
255 <div class="cabinet__inputs-item form-group"> 255 <div class="cabinet__inputs-item form-group">
256 <label class="form-group__label">Телефон:</label> 256 <label class="form-group__label">Телефон:</label>
257 <div class="form-group__item"> 257 <div class="form-group__item">
258 {{ $worker->telephone ?? '-' }} 258 {{ $worker->telephone ?? '-' }}
259 </div> 259 </div>
260 </div> 260 </div>
261 261
262 262
263 <div class="cabinet__inputs-item form-group"> 263 <div class="cabinet__inputs-item form-group">
264 <label class="form-group__label">E-mail:</label> 264 <label class="form-group__label">E-mail:</label>
265 <div class="form-group__item"> 265 <div class="form-group__item">
266 {{ $worker->email ?? '-' }} 266 {{ $worker->email ?? '-' }}
267 </div> 267 </div>
268 </div> 268 </div>
269 269
270 270
271 <div class="cabinet__inputs-item form-group"> 271 <div class="cabinet__inputs-item form-group">
272 <label class="form-group__label">Контакты родственников:</label> 272 <label class="form-group__label">Контакты родственников:</label>
273 <div class="form-group__item"> 273 <div class="form-group__item">
274 {{ $worker->telephone2 ?? '-' }} 274 {{ $worker->telephone2 ?? '-' }}
275 </div> 275 </div>
276 </div> 276 </div>
277 </div> 277 </div>
278 </div> 278 </div>
279 279
280 <div class="width100"> 280 <div class="width100">
281 <h4 class="cabinet__h4 mb-10">О себе</h4> 281 <h4 class="cabinet__h4 mb-10">О себе</h4>
282 <div>{{ $worker->text }}</div> 282 <div style="white-space:break-spaces; word-break: break-word;">{{ $worker->text }}</div>
283 </div> 283 </div>
284 284
285 <div class=""> 285 <div class="">
286 <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a> 286 <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a>
287 </div> 287 </div>
288 </div> 288 </div>
289 </div> 289 </div>
290 290
291 <div class="mb-40" id="sertificate" name="sertificate"> 291 <div class="mb-40" id="sertificate" name="sertificate">
292 <h3 class="cabinet__subtitle font30 mb-20">Сертификаты / документы</h3> 292 <h3 class="cabinet__subtitle font30 mb-20">Сертификаты / документы</h3>
293 293
294 @if($worker->sertificate->count()) 294 @if($worker->sertificate->count())
295 @foreach($worker->sertificate as $sertificate) 295 @foreach($worker->sertificate as $sertificate)
296 <div class="one-sertificate"> 296 <div class="one-sertificate">
297 <div class="sertificate-field sertificate-name"> 297 <div class="sertificate-field sertificate-name">
298 <label class="bold">Название сертификата:</label> 298 <label class="bold">Название сертификата:</label>
299 <div>{{ $sertificate->name }}</div> 299 <div>{{ $sertificate->name }}</div>
300 </div> 300 </div>
301 <div class="sertificate-field"> 301 <div class="sertificate-field">
302 <label class="bold">Действителен до:</label> 302 <label class="bold">Действителен до:</label>
303 <div>{{ date('d.m.Y', strtotime($sertificate->end_begin)) }}</div> 303 <div>{{ date('d.m.Y', strtotime($sertificate->end_begin)) }}</div>
304 </div> 304 </div>
305 <div class="sertificate-field sertificate-buttons"> 305 <div class="sertificate-field sertificate-buttons">
306 <a href="{{ route('worker.edit_sertificate', ['worker' => $worker->id, 'doc' => $sertificate->id ]) }}" class="button button_light mr-10"> 306 <a href="{{ route('worker.edit_sertificate', ['worker' => $worker->id, 'doc' => $sertificate->id ]) }}" class="button button_light mr-10">
307 <svg><use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use></svg> 307 <svg><use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use></svg>
308 </a> 308 </a>
309 <a href="{{ route('worker.delete_sertificate', ['doc' => $sertificate->id]) }}" class="button button_light"> 309 <a href="{{ route('worker.delete_sertificate', ['doc' => $sertificate->id]) }}" class="button button_light">
310 <svg><use xlink:href="{{ asset('images/sprite.svg#del') }}"></use></svg> 310 <svg><use xlink:href="{{ asset('images/sprite.svg#del') }}"></use></svg>
311 </a> 311 </a>
312 </div> 312 </div>
313 </div> 313 </div>
314 @endforeach 314 @endforeach
315 @endif 315 @endif
316 316
317 <a class="button fit-content" href="{{ route('worker.new_sertificate',['worker' => $worker->id]) }}" id="button_new_doc" name="button_new_doc"> 317 <a class="button fit-content" href="{{ route('worker.new_sertificate',['worker' => $worker->id]) }}" id="button_new_doc" name="button_new_doc">
318 Добавить сертификат / документ 318 Добавить сертификат / документ
319 </a> 319 </a>
320 </div> 320 </div>
321 321
322 <div class="cabinet__body-item mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> 322 <div class="cabinet__body-item mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi">
323 <h3 class="cabinet__subtitle font30">Дополнительные документы</h3> 323 <h3 class="cabinet__subtitle font30">Дополнительные документы</h3>
324 324
325 <div class="cabinet__inputs" id="block_sertificate"> 325 <div class="cabinet__inputs" id="block_sertificate">
326 @if ($info_blocks->count()) 326 @if ($info_blocks->count())
327 @foreach ($info_blocks as $info_block) 327 @foreach ($info_blocks as $info_block)
328 <div class="cabinet__inputs-item column-count-3 form-group"> 328 <div class="cabinet__inputs-item column-count-3 form-group">
329 <label class="form-group__label">{{ $info_block->name }}:</label> 329 <label class="form-group__label">{{ $info_block->name }}:</label>
330 330
331 <div class="form-group__item"> 331 <div class="form-group__item">
332 @php $status = 0; @endphp 332 @php $status = 0; @endphp
333 @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) 333 @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status'])
334 @php $status = $worker->dop_info[$info_block->id]['status']; @endphp 334 @php $status = $worker->dop_info[$info_block->id]['status']; @endphp
335 @endif 335 @endif
336 {{ $additional_document_statuses[$status] }} 336 {{ $additional_document_statuses[$status] }}
337 </div> 337 </div>
338 </div> 338 </div>
339 @endforeach 339 @endforeach
340 @endif 340 @endif
341 </div> 341 </div>
342 342
343 <a class="button fit-content" href="{{ route('worker.additional_documents') }}"> 343 <a class="button fit-content" href="{{ route('worker.additional_documents') }}">
344 Редактировать дополнительные документы 344 Редактировать дополнительные документы
345 </a> 345 </a>
346 </div> 346 </div>
347 347
348 <div class="cabinet__body-item mb-20"> 348 <div class="cabinet__body-item mb-20">
349 <div> 349 <div>
350 <h3 class="cabinet__subtitle font30">Опыт работы</h3> 350 <h3 class="cabinet__subtitle font30">Опыт работы</h3>
351 <div class="">Начните заполнение анкеты с указания последнего места работы</div> 351 <div class="">Начните заполнение анкеты с указания последнего места работы</div>
352 </div> 352 </div>
353 353
354 <div class="cabinet__works"> 354 <div class="cabinet__works">
355 @if (isset($worker->place_worker)) 355 @if (isset($worker->place_worker))
356 @foreach($worker->place_worker as $company) 356 @foreach($worker->place_worker as $company)
357 <div class="cabinet__works-item"> 357 <div class="cabinet__works-item">
358 <div class="cabinet__works-spoiler active"> 358 <div class="cabinet__works-spoiler active">
359 <div class="cabinet__works-spoiler-left"> 359 <div class="cabinet__works-spoiler-left">
360 <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div> 360 <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div>
361 </div> 361 </div>
362 <div class="cabinet__works-spoiler-buttons"> 362 <div class="cabinet__works-spoiler-buttons">
363 <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit"> 363 <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit">
364 <svg> 364 <svg>
365 <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> 365 <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use>
366 </svg> 366 </svg>
367 </a> 367 </a>
368 <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> 368 <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove">
369 <svg> 369 <svg>
370 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> 370 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use>
371 </svg> 371 </svg>
372 </a> 372 </a>
373 </div> 373 </div>
374 </div> 374 </div>
375 375
376 <div class="cabinet__works-body"> 376 <div class="cabinet__works-body">
377 <div class="cabinet__inputs"> 377 <div class="cabinet__inputs">
378 <div class="cabinet__inputs-item column-count-3 form-group"> 378 <div class="cabinet__inputs-item column-count-3 form-group">
379 <label class="form-group__label">Должность:</label> 379 <label class="form-group__label">Должность:</label>
380 <div class="form-group__item"> 380 <div class="form-group__item">
381 {{ $company->job_title ?? '-' }} 381 {{ $company->job_title ?? '-' }}
382 </div> 382 </div>
383 </div> 383 </div>
384 384
385 <div class="cabinet__inputs-item column-count-3 form-group"> 385 <div class="cabinet__inputs-item column-count-3 form-group">
386 <label class="form-group__label">Название т/х:</label> 386 <label class="form-group__label">Название т/х:</label>
387 <div class="form-group__item"> 387 <div class="form-group__item">
388 {{ $company->teplohod ?? '-' }} 388 {{ $company->teplohod ?? '-' }}
389 </div> 389 </div>
390 </div> 390 </div>
391 <div class="cabinet__inputs-item column-count-3 form-group"> 391 <div class="cabinet__inputs-item column-count-3 form-group">
392 <label class="form-group__label">Тип суда:</label> 392 <label class="form-group__label">Тип суда:</label>
393 <div class="form-group__item"> 393 <div class="form-group__item">
394 {{ $company->GWT ?? '-' }} 394 {{ $company->GWT ?? '-' }}
395 </div> 395 </div>
396 </div> 396 </div>
397 <div class="cabinet__inputs-item column-count-3 form-group"> 397 <div class="cabinet__inputs-item column-count-3 form-group">
398 <label class="form-group__label">Марка ГД:</label> 398 <label class="form-group__label">Марка ГД:</label>
399 <div class="form-group__item"> 399 <div class="form-group__item">
400 {{ $company->Marka_GD ?? '-' }} 400 {{ $company->Marka_GD ?? '-' }}
401 </div> 401 </div>
402 </div> 402 </div>
403 <div class="cabinet__inputs-item column-count-3 form-group"> 403 <div class="cabinet__inputs-item column-count-3 form-group">
404 <label class="form-group__label">Мощность ГД (кВТ):</label> 404 <label class="form-group__label">Мощность ГД (кВТ):</label>
405 <div class="form-group__item"> 405 <div class="form-group__item">
406 {{ $company->KBT ?? '-' }} 406 {{ $company->KBT ?? '-' }}
407 </div> 407 </div>
408 </div> 408 </div>
409 <div class="cabinet__inputs-item column-count-3 form-group"> 409 <div class="cabinet__inputs-item column-count-3 form-group">
410 <label class="form-group__label">Водоизмещение (DWT):</label> 410 <label class="form-group__label">Водоизмещение (DWT):</label>
411 <div class="form-group__item"> 411 <div class="form-group__item">
412 {{ $company->GRT ?? '-' }} 412 {{ $company->GRT ?? '-' }}
413 </div> 413 </div>
414 </div> 414 </div>
415 <div class="cabinet__inputs-item column-count-3 form-group"> 415 <div class="cabinet__inputs-item column-count-3 form-group">
416 <label class="form-group__label">Название компании:</label> 416 <label class="form-group__label">Название компании:</label>
417 <div class="form-group__item"> 417 <div class="form-group__item">
418 {{ $company->name_company ?? '-' }} 418 {{ $company->name_company ?? '-' }}
419 </div> 419 </div>
420 </div> 420 </div>
421 <div class="cabinet__inputs-item column-count-3 form-group"> 421 <div class="cabinet__inputs-item column-count-3 form-group">
422 <label class="form-group__label">Начало контракта:</label> 422 <label class="form-group__label">Начало контракта:</label>
423 <div class="form-group__item"> 423 <div class="form-group__item">
424 {{ $company->begin_work ?? '-' }} 424 {{ $company->begin_work ?? '-' }}
425 </div> 425 </div>
426 </div> 426 </div>
427 <div class="cabinet__inputs-item column-count-3 form-group"> 427 <div class="cabinet__inputs-item column-count-3 form-group">
428 <label class="form-group__label">Окончание контракта:</label> 428 <label class="form-group__label">Окончание контракта:</label>
429 <div class="form-group__item"> 429 <div class="form-group__item">
430 {{ $company->end_work ?? '-' }} 430 {{ $company->end_work ?? '-' }}
431 </div> 431 </div>
432 </div> 432 </div>
433 433
434 </div> 434 </div>
435 </div> 435 </div>
436 </div> 436 </div>
437 @endforeach 437 @endforeach
438 @endif 438 @endif
439 </div> 439 </div>
440 440
441 <a href="{{ route('worker.add_document', ['worker' => $worker->id]) }}" id="new_work" name="new_work" class="button fit-content"> 441 <a href="{{ route('worker.add_document', ['worker' => $worker->id]) }}" id="new_work" name="new_work" class="button fit-content">
442 Добавить место работы 442 Добавить место работы
443 </a> 443 </a>
444 </div> 444 </div>
445 445
446 <div id="prev_worker" name="prev_worker"> 446 <div id="prev_worker" name="prev_worker">
447 <div> 447 <div>
448 <h3 class="cabinet__subtitle font30">Рекомендации</h3> 448 <h3 class="cabinet__subtitle font30">Рекомендации</h3>
449 <div class="">Укажите контакты компаний, которые могут дать рекомендации</div> 449 <div class="">Укажите контакты компаний, которые могут дать рекомендации</div>
450 </div> 450 </div>
451 451
452 @if ((isset($worker->prev_company)) && ($worker->prev_company->count() > 0)) 452 @if ((isset($worker->prev_company)) && ($worker->prev_company->count() > 0))
453 @foreach($worker->prev_company as $it) 453 @foreach($worker->prev_company as $it)
454 <div class="cabinet__body-item"> 454 <div class="cabinet__body-item">
455 <div class="cabinet__inputs mt-30"> 455 <div class="cabinet__inputs mt-30">
456 <div class="cabinet__inputs-item column-count-3 form-group"> 456 <div class="cabinet__inputs-item column-count-3 form-group">
457 <label class="form-group__label">Название компании:</label> 457 <label class="form-group__label">Название компании:</label>
458 <div class="form-group__item"> 458 <div class="form-group__item">
459 {{ $it->name_company }} 459 {{ $it->name_company }}
460 </div> 460 </div>
461 </div> 461 </div>
462 <div class="cabinet__inputs-item column-count-3 form-group"> 462 <div class="cabinet__inputs-item column-count-3 form-group">
463 <label class="form-group__label">ФИО сотрудника:</label> 463 <label class="form-group__label">ФИО сотрудника:</label>
464 <div class="form-group__item"> 464 <div class="form-group__item">
465 {{ $it->direct }} 465 {{ $it->direct }}
466 </div> 466 </div>
467 </div> 467 </div>
468 <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"> 468 <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons">
469 <div class="flex"> 469 <div class="flex">
470 <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10"> 470 <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10">
471 <svg> 471 <svg>
472 <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> 472 <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use>
473 </svg> 473 </svg>
474 </a> 474 </a>
475 <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light"> 475 <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light">
476 <svg> 476 <svg>
477 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> 477 <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use>
478 </svg> 478 </svg>
479 </a> 479 </a>
480 </div> 480 </div>
481 </div> 481 </div>
482 <div class="cabinet__inputs-item column-count-3 form-group"> 482 <div class="cabinet__inputs-item column-count-3 form-group">
483 <label class="form-group__label">Должность сотрудника:</label> 483 <label class="form-group__label">Должность сотрудника:</label>
484 <div class="form-group__item"> 484 <div class="form-group__item">
485 {{ $it->telephone }} 485 {{ $it->telephone }}
486 </div> 486 </div>
487 </div> 487 </div>
488 <div class="cabinet__inputs-item column-count-3 form-group"> 488 <div class="cabinet__inputs-item column-count-3 form-group">
489 <label class="form-group__label">Телефон сотрудника:</label> 489 <label class="form-group__label">Телефон сотрудника:</label>
490 <div class="form-group__item"> 490 <div class="form-group__item">
491 {{ $it->telephone2 }} 491 {{ $it->telephone2 }}
492 </div> 492 </div>
493 </div> 493 </div>
494 <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"></div> 494 <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"></div>
495 </div> 495 </div>
496 </div> 496 </div>
497 @endforeach 497 @endforeach
498 @endif 498 @endif
499 </div> 499 </div>
500 500
501 <div class="cabinet__body-item"> 501 <div class="cabinet__body-item">
502 <a class="button fit-content" href="{{ route('worker.new_prev_company',['worker' => $worker->id]) }}"> 502 <a class="button fit-content" href="{{ route('worker.new_prev_company',['worker' => $worker->id]) }}">
503 Добавить контакт для рекомендации 503 Добавить контакт для рекомендации
504 </a> 504 </a>
505 </div> 505 </div>
506 </div> 506 </div>
507 </div> 507 </div>
508 </div> 508 </div>
509 </section> 509 </section>
510 @endsection 510 @endsection
511 511