Blame view
resources/views/ajax/list_vacancies.blade.php
6.27 KB
ac606bc38 Работа на сервере. |
1 |
@php $i = ($Query->currentPage() * $Query->perPage() - $Query->count() - 1) @endphp |
d152a3a68 Создание основных... |
2 |
@foreach ($Query as $Q) |
ac606bc38 Работа на сервере. |
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
@foreach ($Reclama as $Rec) @if ($Rec->position == $i) <div class="main__vacancies-thing"> @if (!empty($Rec->image)) <img src="{{ asset(Storage::url($Rec->image)) }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic"> @else <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic"> @endif <div class="main__vacancies-thing-body"> <h2>{{ $Rec->title }}</h2> <div class="main__vacancies-thing-scroll"> {!! $Rec->text !!} </div> <a href="{{ $Rec->link }}" class="button">Узнать больше</a> </div> </div> |
d152a3a68 Создание основных... |
19 |
@endif |
ac606bc38 Работа на сервере. |
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
@endforeach <div class="main__vacancies-item main__employer-page-two-item"> <a href="{{ route('list-vacancies', ['categories' => $categories->id]) }}" class="back main__employer-page-two-item-back"> <svg> <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> </svg> <span> Вернуться к списку вакансий </span> </a> <div class="main__employer-page-two-item-toper"> @if (!empty($Q->employer->logo)) <img src="{{ asset(Storage::url($Q->employer->logo)) }}" alt="{{ $Q->employer->name }}"> @else <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Rec->title }}" class="main__vacancies-thing-pic"> |
d152a3a68 Создание основных... |
37 |
@endif |
ac606bc38 Работа на сервере. |
38 |
<span>@if (!empty($Q->name)) {{ $Q->name }} @endif</span> |
d152a3a68 Создание основных... |
39 |
</div> |
ac606bc38 Работа на сервере. |
40 41 42 43 44 45 46 47 48 49 50 |
<div class="main__employer-page-two-item-text"> <div class="main__employer-page-two-item-text-name">Судоходная компания ведет набор специалистов на следующие должности:</div> <div class="main__employer-page-two-item-text-links"> @if (isset($Q->jobs)) @foreach ($Q->jobs as $key => $j) <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 рублей (на руки)</a> @endforeach @endif </div> |
d152a3a68 Создание основных... |
51 |
</div> |
ac606bc38 Работа на сервере. |
52 53 54 55 56 57 |
<div class="main__employer-page-two-item-text"> <div class="main__employer-page-two-item-text-name">Мы предлагаем:</div> <div class="main__employer-page-two-item-text-body"> {!! $Q->text !!} </div> |
d152a3a68 Создание основных... |
58 |
</div> |
ac606bc38 Работа на сервере. |
59 60 61 62 63 |
<div class="main__employer-page-two-item-text"> <div class="main__employer-page-two-item-text-name">Наши ожидания:</div> <div class="main__employer-page-two-item-text-body"> {!! $Q->description !!} </div> |
d152a3a68 Создание основных... |
64 |
</div> |
ac606bc38 Работа на сервере. |
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
<div class="main__employer-page-two-item-text"> <div class="main__employer-page-two-item-text-name">Резюме направляйте на почту:</div> <div class="main__employer-page-two-item-text-body"> {!! $Q->contacts_emails !!} </div> </div> <div class="main__employer-page-two-item-text"> <div class="main__employer-page-two-item-text-name">Или звоните:</div> <div class="main__employer-page-two-item-text-body"> {!! $Q->contacts_telephones !!} </div> </div> <div class="main__employer-page-two-item-tags"> @if (!empty($Q->jobs_code[0]->position_ship)) <span class="main__employer-page-two-item-tag"> #{{ $Q->jobs_code[0]->position_ship }}</span> @else @if (isset($Q->jobs)) @foreach ($Q->jobs as $key => $j) <span class="main__employer-page-two-item-tag"> #{{ $j->name }}</span> @endforeach @endif @endif </div> <div class="main__employer-page-two-item-buttons"> @guest <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="button main__employer-page-two-item-button">Откликнуться</button> @else @if (App\Classes\StatusUser::Status()==1) <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}' class="button main__employer-page-two-item-button js_send_it_button">Откликнуться</button> @else <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}' class="button main__employer-page-two-item-button js_send_it_button">Откликнуться</button> @endif @endguest <a href="{{ route('vacancie', ['vacancy' => $Q->id]) }}" class="button button_light main__employer-page-two-item-button">Подробнее</a> </div> <div class="main__employer-page-two-item-bottom"> <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y H:i:s', strtotime($Q->created_at)) }}</div> <button type="button" data-val="{{ $Q->id }}" class="like main__employer-page-two-item-bottom-like js-toggle js_vacancy_favorites <?=App\Classes\Cookies_vacancy::selected_vacancy($Q->id);?>"> <svg> <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> </svg> </button> |
d152a3a68 Создание основных... |
111 112 |
</div> </div> |
ac606bc38 Работа на сервере. |
113 |
@php $i++ @endphp |
d152a3a68 Создание основных... |
114 115 116 |
@endforeach <div style="margin-top: 20px"> {{ $Query->appends($_GET)->links('paginate') }} |
ac606bc38 Работа на сервере. |
117 |
</div><!-- конец --> |