Commit 4eab5cf45a6808cb8f7640f3a1f69b438adec284
1 parent
507c1e1a19
Exists in
master
and in
1 other branch
Нет избранных должностей - в личном кабинете работника
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
resources/views/workers/favorite.blade.php
1 | @extends('layout.frontend', ['title' => 'Избранные - РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Избранные - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | @include('js.favorite-vacancy-45') | 4 | @include('js.favorite-vacancy-45') |
5 | @endsection | 5 | @endsection |
6 | 6 | ||
7 | @section('content') | 7 | @section('content') |
8 | <section class="cabinet"> | 8 | <section class="cabinet"> |
9 | <div class="container"> | 9 | <div class="container"> |
10 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 10 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
11 | <li><a href="{{ route('index') }}">Главная</a></li> | 11 | <li><a href="{{ route('index') }}">Главная</a></li> |
12 | <li><b>Личный кабинет</b></li> | 12 | <li><b>Личный кабинет</b></li> |
13 | </ul> | 13 | </ul> |
14 | <div class="cabinet__wrapper"> | 14 | <div class="cabinet__wrapper"> |
15 | <div class="cabinet__side"> | 15 | <div class="cabinet__side"> |
16 | <div class="cabinet__side-toper"> | 16 | <div class="cabinet__side-toper"> |
17 | @include('workers.emblema') | 17 | @include('workers.emblema') |
18 | 18 | ||
19 | </div> | 19 | </div> |
20 | @include('workers.menu', ['item' => 3]) | 20 | @include('workers.menu', ['item' => 3]) |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | <div class="cabinet__body"> | 23 | <div class="cabinet__body"> |
24 | <div class="cabinet__body-item"> | 24 | <div class="cabinet__body-item"> |
25 | <h2 class="title cabinet__title">Избранные вакансии</h2> | 25 | <h2 class="title cabinet__title">Избранные вакансии</h2> |
26 | </div> | 26 | </div> |
27 | <div class="cabinet__body-item"> | 27 | <div class="cabinet__body-item"> |
28 | <div class="cabinet__filters"> | 28 | <div class="cabinet__filters"> |
29 | <div class="cabinet__filters-item"> | 29 | <div class="cabinet__filters-item"> |
30 | <form class="search" action="{{ route('worker.colorado') }}" method="GET"> | 30 | <form class="search" action="{{ route('worker.colorado') }}" method="GET"> |
31 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…"> | 31 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…"> |
32 | <button type="submit" class="button">Найти</button> | 32 | <button type="submit" class="button">Найти</button> |
33 | <span> | 33 | <span> |
34 | <svg> | 34 | <svg> |
35 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 35 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
36 | </svg> | 36 | </svg> |
37 | </span> | 37 | </span> |
38 | </form> | 38 | </form> |
39 | </div> | 39 | </div> |
40 | <!--<div class="cabinet__filters-item"> | 40 | <!--<div class="cabinet__filters-item"> |
41 | <div class="select"> | 41 | <div class="select"> |
42 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> | 42 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> |
43 | <option value="default">Сортировка (по умолчанию)</option> | 43 | <option value="default">Сортировка (по умолчанию)</option> |
44 | <option value="name (asc)">По имени (возрастание)</option> | 44 | <option value="name (asc)">По имени (возрастание)</option> |
45 | <option value="name (desc)">По имени (убывание)</option> | 45 | <option value="name (desc)">По имени (убывание)</option> |
46 | <option value="created_at (asc)">По дате (возрастание)</option> | 46 | <option value="created_at (asc)">По дате (возрастание)</option> |
47 | <option value="created_at (desc)">По дате (убывание)</option> | 47 | <option value="created_at (desc)">По дате (убывание)</option> |
48 | </select> | 48 | </select> |
49 | </div> | 49 | </div> |
50 | </div>--> | 50 | </div>--> |
51 | </div> | 51 | </div> |
52 | @if ($Query->count()) | 52 | @if ($Query->count()) |
53 | <div class="cabinet__vacs"> | 53 | <div class="cabinet__vacs"> |
54 | <div id="main_ockar" name="main_ockar" class="cabinet__vacs-body" style="width:100%;"> | 54 | <div id="main_ockar" name="main_ockar" class="cabinet__vacs-body" style="width:100%;"> |
55 | @foreach ($Query as $Q) | 55 | @foreach ($Query as $Q) |
56 | <div class="main__vacancies-item main__employer-page-two-item"> | 56 | <div class="main__vacancies-item main__employer-page-two-item"> |
57 | <a href="{{ route('list-vacancies') }}" class="back main__employer-page-two-item-back"> | 57 | <a href="{{ route('list-vacancies') }}" class="back main__employer-page-two-item-back"> |
58 | <svg> | 58 | <svg> |
59 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> | 59 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> |
60 | </svg> | 60 | </svg> |
61 | <span> | 61 | <span> |
62 | Вернуться к списку вакансий | 62 | Вернуться к списку вакансий |
63 | </span> | 63 | </span> |
64 | </a> | 64 | </a> |
65 | <div class="main__employer-page-two-item-toper"> | 65 | <div class="main__employer-page-two-item-toper"> |
66 | @if (!empty($Q->employer->logo)) | 66 | @if (!empty($Q->employer->logo)) |
67 | <img src="{{ asset(Storage::url($Q->employer->logo)) }}" alt="{{ $Q->employer->name }}"> | 67 | <img src="{{ asset(Storage::url($Q->employer->logo)) }}" alt="{{ $Q->employer->name }}"> |
68 | @else | 68 | @else |
69 | <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Q->employer->name }}" class="main__vacancies-thing-pic"> | 69 | <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Q->employer->name }}" class="main__vacancies-thing-pic"> |
70 | @endif | 70 | @endif |
71 | <span>@if (!empty($Q->name)) {{ $Q->name }} @endif</span> | 71 | <span>@if (!empty($Q->name)) {{ $Q->name }} @endif</span> |
72 | </div> | 72 | </div> |
73 | <div class="main__employer-page-two-item-text"> | 73 | <div class="main__employer-page-two-item-text"> |
74 | <div class="main__employer-page-two-item-text-name">Судоходная компания ведет набор | 74 | <div class="main__employer-page-two-item-text-name">Судоходная компания ведет набор |
75 | специалистов на следующие должности:</div> | 75 | специалистов на следующие должности:</div> |
76 | <div class="main__employer-page-two-item-text-links"> | 76 | <div class="main__employer-page-two-item-text-links"> |
77 | @if (isset($Q->jobs)) | 77 | @if (isset($Q->jobs)) |
78 | @foreach ($Q->jobs as $key => $j) | 78 | @foreach ($Q->jobs as $key => $j) |
79 | <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> | 79 | <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> |
80 | @endforeach | 80 | @endforeach |
81 | @endif | 81 | @endif |
82 | </div> | 82 | </div> |
83 | </div> | 83 | </div> |
84 | <div class="main__employer-page-two-item-text"> | 84 | <div class="main__employer-page-two-item-text"> |
85 | <div class="main__employer-page-two-item-text-name">Мы предлагаем:</div> | 85 | <div class="main__employer-page-two-item-text-name">Мы предлагаем:</div> |
86 | <div class="main__employer-page-two-item-text-body"> | 86 | <div class="main__employer-page-two-item-text-body"> |
87 | {!! $Q->text !!} | 87 | {!! $Q->text !!} |
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | <div class="main__employer-page-two-item-text"> | 90 | <div class="main__employer-page-two-item-text"> |
91 | <div class="main__employer-page-two-item-text-name">Наши ожидания:</div> | 91 | <div class="main__employer-page-two-item-text-name">Наши ожидания:</div> |
92 | <div class="main__employer-page-two-item-text-body"> | 92 | <div class="main__employer-page-two-item-text-body"> |
93 | {!! $Q->description !!} | 93 | {!! $Q->description !!} |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | <div class="main__employer-page-two-item-text"> | 96 | <div class="main__employer-page-two-item-text"> |
97 | <div class="main__employer-page-two-item-text-name">Резюме направляйте на почту:</div> | 97 | <div class="main__employer-page-two-item-text-name">Резюме направляйте на почту:</div> |
98 | <div class="main__employer-page-two-item-text-body"> | 98 | <div class="main__employer-page-two-item-text-body"> |
99 | {!! $Q->contacts_emails !!} | 99 | {!! $Q->contacts_emails !!} |
100 | </div> | 100 | </div> |
101 | </div> | 101 | </div> |
102 | <div class="main__employer-page-two-item-text"> | 102 | <div class="main__employer-page-two-item-text"> |
103 | <div class="main__employer-page-two-item-text-name">Или звоните:</div> | 103 | <div class="main__employer-page-two-item-text-name">Или звоните:</div> |
104 | <div class="main__employer-page-two-item-text-body"> | 104 | <div class="main__employer-page-two-item-text-body"> |
105 | {!! $Q->contacts_telephones !!} | 105 | {!! $Q->contacts_telephones !!} |
106 | </div> | 106 | </div> |
107 | </div> | 107 | </div> |
108 | <div class="main__employer-page-two-item-tags"> | 108 | <div class="main__employer-page-two-item-tags"> |
109 | @if (isset($Q->jobs)) | 109 | @if (isset($Q->jobs)) |
110 | @foreach ($Q->jobs as $key => $j) | 110 | @foreach ($Q->jobs as $key => $j) |
111 | <span class="main__employer-page-two-item-tag">#{{ $j->name }}</span> | 111 | <span class="main__employer-page-two-item-tag">#{{ $j->name }}</span> |
112 | @endforeach | 112 | @endforeach |
113 | @endif | 113 | @endif |
114 | </div> | 114 | </div> |
115 | <div class="main__employer-page-two-item-buttons"> | 115 | <div class="main__employer-page-two-item-buttons"> |
116 | <!--<button type="button" | 116 | <!--<button type="button" |
117 | class="button main__employer-page-two-item-button">Откликнуться</button>--> | 117 | class="button main__employer-page-two-item-button">Откликнуться</button>--> |
118 | <a href="{{ route('vacancie', ['vacancy' => $Q->id]) }}" class="button button_light main__employer-page-two-item-button">Подробнее</a> | 118 | <a href="{{ route('vacancie', ['vacancy' => $Q->id]) }}" class="button button_light main__employer-page-two-item-button">Подробнее</a> |
119 | </div> | 119 | </div> |
120 | <div class="main__employer-page-two-item-bottom"> | 120 | <div class="main__employer-page-two-item-bottom"> |
121 | <div class="main__employer-page-two-item-bottom-date">{{ $Q->created_at }}</div> | 121 | <div class="main__employer-page-two-item-bottom-date">{{ $Q->created_at }}</div> |
122 | <button type="button" 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) }}?>"> | 122 | <button type="button" 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) }}?>"> |
123 | <svg> | 123 | <svg> |
124 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | 124 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> |
125 | </svg> | 125 | </svg> |
126 | </button> | 126 | </button> |
127 | </div> | 127 | </div> |
128 | </div> | 128 | </div> |
129 | @endforeach | 129 | @endforeach |
130 | <div style="margin-top: 20px"> | 130 | <div style="margin-top: 20px"> |
131 | {{ $Query->appends($_GET)->links('paginate') }} | 131 | {{ $Query->appends($_GET)->links('paginate') }} |
132 | </div> | 132 | </div> |
133 | </div> | 133 | </div> |
134 | @else | 134 | @else |
135 | <div class="notify"> | 135 | <div class="notify"> |
136 | <svg> | 136 | <svg> |
137 | <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> | 137 | <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> |
138 | </svg> | 138 | </svg> |
139 | <span>Нет избранных должностей</span> | 139 | <span>Нет избранных должностей!</span> |
140 | </div> | 140 | </div> |
141 | @endif | 141 | @endif |
142 | </div> | 142 | </div> |
143 | </div> | 143 | </div> |
144 | </div> | 144 | </div> |
145 | </div> | 145 | </div> |
146 | </section> | 146 | </section> |
147 | </div> | 147 | </div> |
148 | 148 | ||
149 | @endsection | 149 | @endsection |
150 | 150 |