Commit 4b740f606334d00fc3c4895f0f770b655e8dbd7b
Exists in
master
uncommited files
Showing 2 changed files Side-by-side Diff
public/css/style_may2024.css
... | ... | @@ -8334,6 +8334,17 @@ main + .news { |
8334 | 8334 | flex-direction: column; |
8335 | 8335 | gap: 20px; |
8336 | 8336 | } |
8337 | +.cabinet__inputs .cabinet__inputs_to_columns_wrap{ | |
8338 | + display: flex; | |
8339 | +} | |
8340 | +.cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | |
8341 | + width: 50%; | |
8342 | + padding-right: 20px; | |
8343 | +} | |
8344 | +.cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ | |
8345 | + margin-bottom: 20px; | |
8346 | + width: 100%; | |
8347 | +} | |
8337 | 8348 | @media (min-width: 1280px) { |
8338 | 8349 | .cabinet__inputs { |
8339 | 8350 | -webkit-box-orient: horizontal; |
... | ... | @@ -8377,6 +8388,14 @@ main + .news { |
8377 | 8388 | padding: 0; |
8378 | 8389 | } |
8379 | 8390 | } |
8391 | +@media (max-width: 768px) { | |
8392 | + .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | |
8393 | + display: block; | |
8394 | + } | |
8395 | + .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | |
8396 | + width: 100%; | |
8397 | + } | |
8398 | +} | |
8380 | 8399 | .cabinet__inputs-item.column-count-3{ |
8381 | 8400 | width: calc(32% - 10px); |
8382 | 8401 | } |
resources/views/workers/cabinet.blade.php
... | ... | @@ -139,134 +139,150 @@ |
139 | 139 | <h3 class="cabinet__subtitle font30">Основная информация</h3> |
140 | 140 | |
141 | 141 | <div class="cabinet__inputs"> |
142 | - <div class="cabinet__inputs-item form-group"> | |
143 | - <label class="form-group__label">Фамилия:</label> | |
144 | - <div class="form-group__item"> | |
145 | - {{ $user->surname }} | |
146 | - </div> | |
147 | - </div> | |
148 | - <div class="cabinet__inputs-item form-group"> | |
149 | - <label class="form-group__label">Наличие визы:</label> | |
150 | - <div class="form-group__item"> | |
151 | - {{ $worker->visa_available }} | |
142 | + <div class="cabinet__inputs_to_columns_wrap"> | |
143 | + <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left"> | |
144 | + <div class="cabinet__inputs-item form-group"> | |
145 | + <label class="form-group__label">Фамилия:</label> | |
146 | + <div class="form-group__item"> | |
147 | + {{ $user->surname }} | |
148 | + </div> | |
149 | + </div> | |
150 | + <div class="cabinet__inputs-item form-group"> | |
151 | + <label class="form-group__label">Имя:</label> | |
152 | + <div class="form-group__item"> | |
153 | + {{ $user->name_man }} | |
154 | + </div> | |
155 | + </div> | |
156 | + <div class="cabinet__inputs-item form-group"> | |
157 | + <label class="form-group__label">Отчество:</label> | |
158 | + <div class="form-group__item"> | |
159 | + {{ $user->surname2 }} | |
160 | + </div> | |
161 | + </div> | |
162 | + <div class="cabinet__inputs-item form-group"> | |
163 | + <label class="form-group__label">Возраст:</label> | |
164 | + <div class="form-group__item"> | |
165 | + {{ $worker->old_year ?? '-' }} | |
166 | + </div> | |
167 | + </div> | |
168 | + <div class="cabinet__inputs-item form-group"> | |
169 | + <label class="form-group__label">Статус:</label> | |
170 | + <div class="form-group__item"> | |
171 | + {{ $status_work[$worker->status_work] ?? '-' }} | |
172 | + </div> | |
173 | + </div> | |
174 | + <div class="cabinet__inputs-item form-group"> | |
175 | + <label class="form-group__label">Желаемые вакансии:</label> | |
176 | + <div class="form-group__item"> | |
177 | + @if ($worker->job_titles->count()) | |
178 | + @foreach($worker->job_titles as $job_title) | |
179 | + {{ $job_title->name }} | |
180 | + @if (!$loop->last) / @endif | |
181 | + @endforeach | |
182 | + @endif | |
183 | + </div> | |
184 | + </div> | |
185 | + <div class="cabinet__inputs-item form-group"> | |
186 | + <label class="form-group__label">Пожелания к З/П:</label> | |
187 | + <div class="form-group__item"> | |
188 | + {{ $worker->salary_expectations ?? '-' }} | |
189 | + </div> | |
190 | + </div> | |
191 | + <div class="cabinet__inputs-item form-group"> | |
192 | + <label class="form-group__label">Уровень английского:</label> | |
193 | + <div class="form-group__item"> | |
194 | + {{ $worker->english_level ?? '-' }} | |
195 | + </div> | |
196 | + </div> | |
197 | + <div class="cabinet__inputs-item form-group"> | |
198 | + <label class="form-group__label">Дата готовности к посадке:</label> | |
199 | + <div class="form-group__item"> | |
200 | + {{ $worker->ready_boart_date ?? '-' }} | |
201 | + </div> | |
202 | + </div> | |
203 | + <div class="cabinet__inputs-item form-group"> | |
204 | + <label class="form-group__label">Предпочтение по типу судна:</label> | |
205 | + <div class="form-group__item"> | |
206 | + {{ $worker->boart_type_preference ?? '-' }} | |
207 | + </div> | |
208 | + </div> | |
152 | 209 | </div> |
153 | - </div> | |
154 | 210 | |
155 | - <div class="cabinet__inputs-item form-group"> | |
156 | - <label class="form-group__label">Имя:</label> | |
157 | - <div class="form-group__item"> | |
158 | - {{ $user->name_man }} | |
159 | - </div> | |
160 | - </div> | |
161 | - <div class="cabinet__inputs-item form-group"> | |
162 | - <label class="form-group__label">Наличие танкерных документов:</label> | |
163 | - <div class="form-group__item"> | |
164 | - {{ $worker->tanker_documents_available ?? '-' }} | |
165 | - </div> | |
166 | - </div> | |
211 | + <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right"> | |
212 | + <div class="cabinet__inputs-item form-group"> | |
213 | + <label class="form-group__label">Наличие визы:</label> | |
214 | + <div class="form-group__item"> | |
215 | + {{ $worker->visa_available }} | |
216 | + </div> | |
217 | + </div> | |
167 | 218 | |
168 | - <div class="cabinet__inputs-item form-group"> | |
169 | - <label class="form-group__label">Отчество:</label> | |
170 | - <div class="form-group__item"> | |
171 | - {{ $user->surname2 }} | |
172 | - </div> | |
173 | - </div> | |
174 | - <div class="cabinet__inputs-item form-group"> | |
175 | - <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> | |
176 | - <div class="form-group__item"> | |
177 | - {{ $worker->confirmation_work_for_vvp ?? '-' }} | |
178 | - </div> | |
179 | - </div> | |
180 | 219 | |
181 | - <div class="cabinet__inputs-item form-group"> | |
182 | - <label class="form-group__label">Возраст:</label> | |
183 | - <div class="form-group__item"> | |
184 | - {{ $worker->old_year ?? '-' }} | |
185 | - </div> | |
186 | - </div> | |
187 | - <div class="cabinet__inputs-item form-group"> | |
188 | - <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> | |
189 | - <div class="form-group__item"> | |
190 | - {{ $worker->military_id_available ?? '-' }} | |
191 | - </div> | |
192 | - </div> | |
220 | + <div class="cabinet__inputs-item form-group"> | |
221 | + <label class="form-group__label">Наличие танкерных документов:</label> | |
222 | + <div class="form-group__item"> | |
223 | + {{ $worker->tanker_documents_available ?? '-' }} | |
224 | + </div> | |
225 | + </div> | |
193 | 226 | |
194 | - <div class="cabinet__inputs-item form-group"> | |
195 | - <label class="form-group__label">Статус:</label> | |
196 | - <div class="form-group__item"> | |
197 | - {{ $status_work[$worker->status_work] ?? '-' }} | |
198 | - </div> | |
199 | - </div> | |
200 | - <div class="cabinet__inputs-item form-group"> | |
201 | - <label class="form-group__label">Город проживания:</label> | |
202 | - <div class="form-group__item"> | |
203 | - {{ $worker->city ?? '-' }} | |
204 | - </div> | |
205 | - </div> | |
206 | 227 | |
207 | - <div class="cabinet__inputs-item form-group"> | |
208 | - <label class="form-group__label">Желаемые вакансии:</label> | |
209 | - <div class="form-group__item"> | |
210 | - @if ($worker->job_titles->count()) | |
211 | - @foreach($worker->job_titles as $job_title) | |
212 | - {{ $job_title->name }} | |
213 | - @if (!$loop->last) / @endif | |
214 | - @endforeach | |
215 | - @endif | |
216 | - </div> | |
217 | - </div> | |
218 | - <div class="cabinet__inputs-item form-group"> | |
219 | - <label class="form-group__label">Телефон:</label> | |
220 | - <div class="form-group__item"> | |
221 | - {{ $worker->telephone ?? '-' }} | |
222 | - </div> | |
223 | - </div> | |
228 | + <div class="cabinet__inputs-item form-group"> | |
229 | + <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> | |
230 | + <div class="form-group__item"> | |
231 | + {{ $worker->confirmation_work_for_vvp ?? '-' }} | |
232 | + </div> | |
233 | + </div> | |
224 | 234 | |
225 | - <div class="cabinet__inputs-item form-group"> | |
226 | - <label class="form-group__label">Пожелания к З/П:</label> | |
227 | - <div class="form-group__item"> | |
228 | - {{ $worker->salary_expectations ?? '-' }} | |
229 | - </div> | |
230 | - </div> | |
231 | - <div class="cabinet__inputs-item form-group"> | |
232 | - <label class="form-group__label">E-mail:</label> | |
233 | - <div class="form-group__item"> | |
234 | - {{ $worker->email ?? '-' }} | |
235 | - </div> | |
236 | - </div> | |
237 | 235 | |
238 | - <div class="cabinet__inputs-item form-group"> | |
239 | - <label class="form-group__label">Уровень английского:</label> | |
240 | - <div class="form-group__item"> | |
241 | - {{ $worker->english_level ?? '-' }} | |
242 | - </div> | |
243 | - </div> | |
244 | - <div class="cabinet__inputs-item form-group"> | |
245 | - <label class="form-group__label">Контакты родственников:</label> | |
246 | - <div class="form-group__item"> | |
247 | - {{ $worker->telephon2 ?? '-' }} | |
248 | - </div> | |
249 | - </div> | |
236 | + <div class="cabinet__inputs-item form-group"> | |
237 | + <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> | |
238 | + <div class="form-group__item"> | |
239 | + {{ $worker->military_id_available ?? '-' }} | |
240 | + </div> | |
241 | + </div> | |
250 | 242 | |
251 | - <div class="cabinet__inputs-item form-group"> | |
252 | - <label class="form-group__label">Дата готовности к посадке:</label> | |
253 | - <div class="form-group__item"> | |
254 | - {{ $worker->ready_boart_date ?? '-' }} | |
255 | - </div> | |
256 | - </div> | |
257 | - <div class="cabinet__inputs-item form-group"></div> | |
258 | 243 | |
259 | - <div class="cabinet__inputs-item form-group"> | |
260 | - <label class="form-group__label">Предпочтение по типу судна:</label> | |
261 | - <div class="form-group__item"> | |
262 | - {{ $worker->boart_type_preference ?? '-' }} | |
244 | + <div class="cabinet__inputs-item form-group"> | |
245 | + <label class="form-group__label">Город проживания:</label> | |
246 | + <div class="form-group__item"> | |
247 | + {{ $worker->city ?? '-' }} | |
248 | + </div> | |
249 | + </div> | |
250 | + | |
251 | + | |
252 | + <div class="cabinet__inputs-item form-group"> | |
253 | + <label class="form-group__label">Телефон:</label> | |
254 | + <div class="form-group__item"> | |
255 | + {{ $worker->telephone ?? '-' }} | |
256 | + </div> | |
257 | + </div> | |
258 | + | |
259 | + | |
260 | + <div class="cabinet__inputs-item form-group"> | |
261 | + <label class="form-group__label">E-mail:</label> | |
262 | + <div class="form-group__item"> | |
263 | + {{ $worker->email ?? '-' }} | |
264 | + </div> | |
265 | + </div> | |
266 | + | |
267 | + | |
268 | + <div class="cabinet__inputs-item form-group"> | |
269 | + <label class="form-group__label">Контакты родственников:</label> | |
270 | + <div class="form-group__item"> | |
271 | + {{ $worker->telephon2 ?? '-' }} | |
272 | + </div> | |
273 | + </div> | |
274 | + | |
275 | + | |
276 | + | |
277 | + <div class="width100"> | |
278 | + <h4 class="cabinet__h4 mb-10">О себе</h4> | |
279 | + <div>{{ $worker->text }}</div> | |
280 | + </div> | |
263 | 281 | </div> |
264 | 282 | </div> |
265 | 283 | |
266 | - <div class="width100"> | |
267 | - <h4 class="cabinet__h4 mb-10">О себе</h4> | |
268 | - <div>{{ $worker->text }}</div> | |
269 | - </div> | |
284 | + | |
285 | + | |
270 | 286 | |
271 | 287 | <div class=""> |
272 | 288 | <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a> |