Commit 9eab870970985fd3e52eeb3597b749d5884f284f

Authored by Андрей Ларионов
1 parent c7543af366
Exists in master

Коммит по шаблону pdf

Showing 3 changed files with 34 additions and 1 deletions Inline Diff

1 User-agent: * 1 User-agent: *
2 Disallow: 2 Disallow: /
3 3
resources/views/layout/pdf-list-people.blade.php
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="ru"> 2 <html lang="ru">
3 3
4 <head> 4 <head>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <title>Резюме соискателя</title> 6 <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 9
10 <!--<link rel="stylesheet" href=" asset('css/style.css') }}">--> 10 <!--<link rel="stylesheet" href=" asset('css/style.css') }}">-->
11 11
12 <style> 12 <style>
13 body { 13 body {
14 font-family:'DejaVu Sans',sans-serif; 14 font-family:'DejaVu Sans',sans-serif;
15 background:#fff; 15 background:#fff;
16 font-size:1.6rem; 16 font-size:1.6rem;
17 font-weight:400; 17 font-weight:400;
18 color:#363A3F; 18 color:#363A3F;
19 } 19 }
20 20
21 .main { 21 .main {
22 padding: 30px 0; 22 padding: 30px 0;
23 } 23 }
24 24
25 .thing { 25 .thing {
26 color: #3a3b3c; 26 color: #3a3b3c;
27 /* background-color: #f2f5fc; */ 27 /* background-color: #f2f5fc; */
28 } 28 }
29 29
30 .thing__profile { 30 .thing__profile {
31 31
32 } 32 }
33 33
34 .thing__profile-photo { 34 .thing__profile-photo {
35 width: 200px; 35 width: 200px;
36 border-radius: 8px; 36 border-radius: 8px;
37 float: left; 37 float: left;
38 margin-right: 20px; 38 margin-right: 20px;
39 } 39 }
40 40
41 .thing__profile-body { 41 .thing__profile-body {
42 42
43 } 43 }
44 44
45 .thing__title { 45 .thing__title {
46 width: 100%; 46 width: 100%;
47 font-size: 32px; 47 font-size: 32px;
48 font-weight: 700; 48 font-weight: 700;
49 line-height: 1.1; 49 line-height: 1.1;
50 margin: 0; 50 margin: 0;
51 } 51 }
52 52
53 .thing__text { 53 .thing__text {
54 font-size: 14px; 54 font-size: 14px;
55 line-height: 1.4; 55 line-height: 1.4;
56 margin: 15px 0 0 0; 56 margin: 15px 0 0 0;
57 } 57 }
58 58
59 .main__spoiler { 59 .main__spoiler {
60 margin: 0px 0px 32px 0px; 60 margin: 0px 0px 32px 0px;
61 } 61 }
62 62
63 .main__spoiler-body { 63 .main__spoiler-body {
64 64
65 } 65 }
66 66
67 .main__table { 67 .main__table {
68 border-collapse: collapse; 68 border-collapse: collapse;
69 table-layout: fixed; 69 table-layout: fixed;
70 font-size: 14px; 70 font-size: 14px;
71 width: 100%; 71 width: 100%;
72 background: #ffffff; 72 background: #ffffff;
73 } 73 }
74 74
75 .main__table thead { 75 .main__table thead {
76 color: #ffffff; 76 color: #ffffff;
77 font-size: 16px; 77 font-size: 16px;
78 background-color: #377d87; 78 background-color: #377d87;
79 } 79 }
80 80
81 .main__table th { 81 .main__table th {
82 padding: 8px 16px; 82 padding: 8px 16px;
83 } 83 }
84 84
85 .main__table td { 85 .main__table td {
86 width: 40%; 86 width: 40%;
87 padding: 8px 16px; 87 padding: 8px 16px;
88 border: 1px solid #cecece; 88 border: 1px solid #cecece;
89 } 89 }
90 90
91 .main__table td b { 91 .main__table td b {
92 font-weight: 700; 92 font-weight: 700;
93 } 93 }
94 94
95 .main__table b { 95 .main__table b {
96 display: block; 96 display: block;
97 } 97 }
98 98
99 .main__table a { 99 .main__table a {
100 color: #377d87; 100 color: #377d87;
101 text-decoration: underline; 101 text-decoration: underline;
102 } 102 }
103 103
104 .main__table td + td { 104 .main__table td + td {
105 width: 60%; 105 width: 60%;
106 } 106 }
107 107
108 .main__table_three td { 108 .main__table_three td {
109 width: 25% !important; 109 width: 25% !important;
110 } 110 }
111 111
112 .main__table_three td:last-child { 112 .main__table_three td:last-child {
113 width: 50% !important; 113 width: 50% !important;
114 } 114 }
115 115
116 .main h2 { 116 .main h2 {
117 margin: 0; 117 margin: 0;
118 font-weight: 700; 118 font-weight: 700;
119 font-size: 30px; 119 font-size: 30px;
120 } 120 }
121 121
122 .main p { 122 .main p {
123 margin: 0; 123 margin: 0;
124 font-size: 14px; 124 font-size: 14px;
125 line-height: 1.4; 125 line-height: 1.4;
126 margin: 15px 0 0 0; 126 margin: 15px 0 0 0;
127 } 127 }
128 128
129 .main__resume-profile-info { 129 .main__resume-profile-info {
130 margin: 30px 0px 0px 0px; 130 margin: 30px 0px 0px 0px;
131 } 131 }
132 132
133 .main__resume-profile-info-title { 133 .main__resume-profile-info-title {
134 margin-bottom: 20px !important; 134 margin-bottom: 20px !important;
135 color: #3a3b3c; 135 color: #3a3b3c;
136 } 136 }
137 137
138 .main__resume-profile-info-body-item { 138 .main__resume-profile-info-body-item {
139 margin: 0px 0px 20px 0px; 139 margin: 0px 0px 20px 0px;
140 } 140 }
141 141
142 .main__resume-profile-info-body-subtitle { 142 .main__resume-profile-info-body-subtitle {
143 color: #4d88d9; 143 color: #4d88d9;
144 margin: 0px 0px 10px 0px; 144 margin: 0px 0px 10px 0px;
145 font-weight: 700; 145 font-weight: 700;
146 font-size: 22px; 146 font-size: 22px;
147 } 147 }
148 148
149 .main__resume-profile-info-body-inner { 149 .main__resume-profile-info-body-inner {
150 margin: 0; 150 margin: 0;
151 padding: 0; 151 padding: 0;
152 font-size: 12px; 152 font-size: 12px;
153 } 153 }
154 154
155 .main__resume-profile-info-body-inner li { 155 .main__resume-profile-info-body-inner li {
156 list-style-type: none; 156 list-style-type: none;
157 margin: 0px 0px 20px 0px; 157 margin: 0px 0px 20px 0px;
158 } 158 }
159 159
160 .main__resume-profile-info-body-inner b { 160 .main__resume-profile-info-body-inner b {
161 display: block; 161 display: block;
162 margin: 0px 0px 6px 0px; 162 margin: 0px 0px 6px 0px;
163 color: #377d87; 163 color: #377d87;
164 font-size: 14px; 164 font-size: 14px;
165 } 165 }
166 166
167 .main__resume-profile-info-body-inner span { 167 .main__resume-profile-info-body-inner span {
168 display: block; 168 display: block;
169 } 169 }
170 170
171 .main__resume-profile-info-body-inner a { 171 .main__resume-profile-info-body-inner a {
172 display: block; 172 display: block;
173 text-decoration: none; 173 text-decoration: none;
174 color: inherit; 174 color: inherit;
175 } 175 }
176 176
177 </style> 177 </style>
178 </head> 178 </head>
179 179
180 <body id="body" class="pdf"> 180 <body id="body" class="pdf">
181 @if (count($Query) > 0) 181 @if (count($Query) > 0)
182 @foreach ($Query as $Q) 182 @foreach ($Query as $Q)
183 <section class="thing thing_pdf"> 183 <section class="thing thing_pdf">
184 <div class="container"> 184 <div class="container">
185 <div class="thing__profile"> 185 <div class="thing__profile">
186 @if (!empty($Q['photo'])) 186 @if (!empty($Q['photo']))
187 <img src="{{ asset(Storage::url($Q['photo'])) }}" alt="" class="thing__profile-photo"> 187 <img src="{{ asset(Storage::url($Q['photo'])) }}" alt="" class="thing__profile-photo">
188 @else 188 @else
189 <img src="{{ asset('images/default_man.jpg') }}" alt="" class="thing__profile-photo"> 189 <img src="{{ asset('images/default_man.jpg') }}" alt="" class="thing__profile-photo">
190 @endif 190 @endif
191 <div class="thing__profile-body"> 191 <div class="thing__profile-body">
192 <h1 class="thing__title">@if (isset($Q['users']['surname'])) {{ $Q['users']['surname']." ".$Q['users']['name_man']." ".$Q['users']['surname2'] }} @endif</h1> 192 <h1 class="thing__title">@if (isset($Q['users']['surname'])) {{ $Q['users']['surname']." ".$Q['users']['name_man']." ".$Q['users']['surname2'] }} @endif</h1>
193 <div style="clear:both;"></div> 193 <div style="clear:both;"></div>
194 <p class="thing__text">{{ $Q['text'] }}</p> 194 <p class="thing__text">{{ $Q['text'] }}</p>
195 </div> 195 </div>
196 </div> 196 </div>
197 @if (!empty($Q['users']['file'])) 197 @if (!empty($Q['users']['file']))
198 <a href="{{ asset(Storage::url($Q['users']['file'])) }}">Анкета-файл</a> 198 <a href="{{ asset(Storage::url($Q['users']['file'])) }}">Анкета-файл</a>
199 @endif 199 @endif
200 </div> 200 </div>
201 </section> 201 </section>
202 202
203 <main class="main"> 203 <main class="main">
204 <div class="container"> 204 <div class="container">
205 205
206 <!--php dd($Query); endphp--> 206 <!--php dd($Query); endphp-->
207 207
208 <div class="main__resume-profile"> 208 <div class="main__resume-profile">
209 <div class="main__content"> 209 <div class="main__content">
210 <div class="main__spoiler"> 210 <div class="main__spoiler">
211 211
212 <!-- <button type="button" class="main__spoiler-toper js-toggle active">Основная 212 <!-- <button type="button" class="main__spoiler-toper js-toggle active">Основная
213 информация</button> --> 213 информация</button> -->
214 <div class="main__spoiler-body"> 214 <div class="main__spoiler-body">
215 <table class="main__table"> 215 <table class="main__table">
216 <thead> 216 <thead>
217 <tr> 217 <tr>
218 <th colspan="2">Основная информация</th> 218 <th colspan="2">Основная информация</th>
219 </tr> 219 </tr>
220 </thead> 220 </thead>
221 <tbody> 221 <tbody>
222 <tr> 222 <tr>
223 <td>Имя:</td> 223 <td>Имя:</td>
224 <td><b>@if (isset($Q['users']['name_man'])) {{ $Q['users']['name_man'] }} @endif</b></td> 224 <td><b>@if (isset($Q['users']['name_man'])) {{ $Q['users']['name_man'] }} @endif</b></td>
225 </tr> 225 </tr>
226 <tr> 226 <tr>
227 <td>Должность:</td> 227 <td>Должность:</td>
228 <td> 228 <td>
229 @foreach ($Q['job_titles'] as $it) 229 @foreach ($Q['job_titles'] as $it)
230 <b>{{ $it['name'] }}</b><br> 230 <b>{{ $it['name'] }}</b><br>
231 @endforeach 231 @endforeach
232 </td> 232 </td>
233 </tr> 233 </tr>
234 <tr> 234 <tr>
235 <td>Телефон:</td> 235 <td>Телефон:</td>
236 <td><b><a>{{ $Q['telephone'] }}</a></b> 236 <td><b><a>{{ $Q['telephone'] }}</a></b>
237 <b><a>{{ $Q['telephone2'] }}</a></b> 237 <b><a>{{ $Q['telephone2'] }}</a></b>
238 </td> 238 </td>
239 </tr> 239 </tr>
240 <tr> 240 <tr>
241 <td>E-mail:</td> 241 <td>E-mail:</td>
242 <td><b><a>{{ $Q['email'] }}</a></b></td> 242 <td><b><a>{{ $Q['email'] }}</a></b></td>
243 </tr> 243 </tr>
244 <tr> 244 <tr>
245 <td>Возраст:</td> 245 <td>Возраст:</td>
246 <td><b>{{ $Q['old_year'] }}</b></td> 246 <td><b>{{ $Q['old_year'] }}</b></td>
247 </tr> 247 </tr>
248 <tr> 248 <tr>
249 <td>Статус:</td> 249 <td>Статус:</td>
250 <td> 250 <td>
251 @php $code = $Q['status_work']; @endphp 251 @php $code = $Q['status_work']; @endphp
252 <b>@if ($code == 0) Ищу работу @elseif($code == 1) Не указано @else Не ищу работу @endif</b></td> 252 <b>@if ($code == 0) Ищу работу @elseif($code == 1) Не указано @else Не ищу работу @endif</b></td>
253 </tr> 253 </tr>
254 <tr> 254 <tr>
255 <td>Город проживания:</td> 255 <td>Город проживания:</td>
256 <td><b>{{ $Q['city'] }}</b></td> 256 <td><b>{{ $Q['city'] }}</b></td>
257 </tr> 257 </tr>
258 <tr> 258 <tr>
259 <td>Уровень английского:</td> 259 <td>Уровень английского:</td>
260 <td><b>{{ $Q['en_is'] }}</b></td> 260 <td><b>{{ $Q['en_is'] }}</b></td>
261 </tr> 261 </tr>
262 <tr> 262 <tr>
263 <td>Опыт работы:</td> 263 <td>Опыт работы:</td>
264 <td><b>{{ $Q['old_year'] }}</b></td> 264 <td><b>{{ $Q['old_year'] }}</b></td>
265 </tr> 265 </tr>
266 </tbody> 266 </tbody>
267 </table> 267 </table>
268 </div> 268 </div>
269 </div> 269 </div>
270 <div class="main__spoiler"> 270 <div class="main__spoiler">
271 <div class="main__spoiler-body"> 271 <div class="main__spoiler-body">
272 <table class="main__table"> 272 <table class="main__table">
273 <thead> 273 <thead>
274 <tr> 274 <tr>
275 <th colspan="2">Сертификаты / документы</th> 275 <th colspan="2">Сертификаты / документы</th>
276 </tr> 276 </tr>
277 </thead> 277 </thead>
278 <tbody> 278 <tbody>
279 @if (count($Q['sertificate'])) 279 @if (count($Q['sertificate']))
280 @foreach($Q['sertificate'] as $it) 280 @foreach($Q['sertificate'] as $it)
281 <tr> 281 <tr>
282 <td>{{ $it['name']." ".$it['education'] }}</td> 282 <td>{{ $it['name']." ".$it['education'] }}</td>
283 <td><a>{{ date('d.m.Y H:i:s', strtotime($it['date_begin']))."-".date('d.m.Y H:i:s', strtotime($it['end_begin'])) }}</a></td> 283 <td><a>{{ date('d.m.Y H:i:s', strtotime($it['date_begin']))."-".date('d.m.Y H:i:s', strtotime($it['end_begin'])) }}</a></td>
284 </tr> 284 </tr>
285 @endforeach 285 @endforeach
286 @else 286 @else
287 <tr> 287 <tr>
288 <td> - </td> 288 <td> - </td>
289 <td> - </td> 289 <td> - </td>
290 </tr> 290 </tr>
291 @endif 291 @endif
292 </tbody> 292 </tbody>
293 </table> 293 </table>
294 </div> 294 </div>
295 </div> 295 </div>
296 <div class="main__spoiler"> 296 <div class="main__spoiler">
297 <div class="main__spoiler-body"> 297 <div class="main__spoiler-body">
298 <table class="main__table main__table_three"> 298 <table class="main__table main__table_three">
299 <thead> 299 <thead>
300 <tr> 300 <tr>
301 <th colspan="3">Опыт работы</th> 301 <th colspan="3">Опыт работы</th>
302 </tr> 302 </tr>
303 </thead> 303 </thead>
304 <tbody> 304 <tbody>
305 @if (count($Q['place_worker']) > 0) 305 @if (count($Q['place_worker']) > 0)
306 @foreach($Q['place_worker'] as $it) 306 @foreach($Q['place_worker'] as $it)
307 <tr> 307 <tr>
308 <td>{{ $it['begin_work']." - ".$it['end_work'] }} 308 <td>{{ $it['begin_work']." - ".$it['end_work'] }}
309 </td> 309 </td>
310 <td><b>{{ $it['name_company'] }}</b> 310 <td><b>{{ $it['name_company'] }}</b>
311 </td> 311 </td>
312 <td><b>{{ $it['job_title'] }}</b> 312 <td><b>{{ $it['job_title'] }}</b>
313 Судно: {{ $it['teplohod'] }} 313 Судно: {{ $it['teplohod'] }}
314 </td> 314 </td>
315 </tr> 315 </tr>
316 @endforeach 316 @endforeach
317 @endif 317 @endif
318 </tbody> 318 </tbody>
319 </table> 319 </table>
320 </div> 320 </div>
321 </div> 321 </div>
322 </div> 322 </div>
323 <div class="main__resume-profile-about"> 323 <div class="main__resume-profile-about">
324 <h2 class="main__resume-profile-about-title">О себе</h2> 324 <h2 class="main__resume-profile-about-title">О себе</h2>
325 <p class="main__resume-profile-about-text">{{ $Q['text'] }}</p> 325 <p class="main__resume-profile-about-text">{{ $Q['text'] }}</p>
326 326
327 </div> 327 </div>
328 <div class="main__resume-profile-info"> 328 <div class="main__resume-profile-info">
329 <h2 class="main__resume-profile-info-title">Данные о прошлых компаниях</h2> 329 <h2 class="main__resume-profile-info-title">Данные о прошлых компаниях</h2>
330 <div class="main__resume-profile-info-body"> 330 <div class="main__resume-profile-info-body">
331 @if ((isset($Q['prev_company'])) && (count($Q['prev_company']) > 0)) 331 @if ((isset($Q['prev_company'])) && (count($Q['prev_company']) > 0))
332 @foreach ($Q['prev_company'] as $it) 332 @foreach ($Q['prev_company'] as $it)
333 <div class="main__resume-profile-info-body-item"> 333 <div class="main__resume-profile-info-body-item">
334 <h3 class="main__resume-profile-info-body-subtitle">{{ $it['name_company'] }}</h3> 334 <h3 class="main__resume-profile-info-body-subtitle">{{ $it['name_company'] }}</h3>
335 <ul class="main__resume-profile-info-body-inner"> 335 <ul class="main__resume-profile-info-body-inner">
336 <li> 336 <li>
337 <b>Руководитель</b> 337 <b>Руководитель</b>
338 <span>{{ $it['direct'] }}</span> 338 <span>{{ $it['direct'] }}</span>
339 </li> 339 </li>
340 <li> 340 <li>
341 <b>Телефон того, кто может дать рекомендацию</b> 341 <b>Телефон того, кто может дать рекомендацию</b>
342 <span> 342 <span>
343 <a>{{ $it['telephone'] }}</a> 343 <a>{{ $it['telephone'] }}</a>
344 <a>{{ $it['telephone2'] }}</a> 344 <a>{{ $it['telephone2'] }}</a>
345 </span> 345 </span>
346 </li> 346 </li>
347 </ul> 347 </ul>
348 </div> 348 </div>
349 @endforeach 349 @endforeach
350 @else
351 <div class="main__resume-profile-info-body-item">
352 <h3 class="main__resume-profile-info-body-subtitle">Не указано</h3>
353 <ul class="main__resume-profile-info-body-inner">
354 <li>
355 <b>Руководитель</b>
356 <span>Нет сведений</span>
357 </li>
358 <li>
359 <b>Телефон того, кто может дать рекомендацию</b>
360 <span>
361 <a>Нет сведений</a>
362 </span>
363 </li>
364 </ul>
365 </div>
366
350 @endif 367 @endif
351 </div> 368 </div>
352 </div> 369 </div>
353 </div> 370 </div>
354 371
355 </div> 372 </div>
356 </main> 373 </main>
357 @endforeach 374 @endforeach
358 @endif 375 @endif
359 </body> 376 </body>
360 </html> 377 </html>
361 378
resources/views/layout/pdf.blade.php
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="ru"> 2 <html lang="ru">
3 3
4 <head> 4 <head>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <title>Резюме соискателя</title> 6 <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 <!--<link rel="stylesheet" href=" asset('css/style.css') }}">--> 9 <!--<link rel="stylesheet" href=" asset('css/style.css') }}">-->
10 10
11 <style> 11 <style>
12 body { 12 body {
13 font-family:'DejaVu Sans',sans-serif; 13 font-family:'DejaVu Sans',sans-serif;
14 background:#fff; 14 background:#fff;
15 font-size:1.6rem; 15 font-size:1.6rem;
16 font-weight:400; 16 font-weight:400;
17 color:#363A3F; 17 color:#363A3F;
18 } 18 }
19 19
20 .main { 20 .main {
21 padding: 30px 0; 21 padding: 30px 0;
22 } 22 }
23 23
24 .thing { 24 .thing {
25 color: #3a3b3c; 25 color: #3a3b3c;
26 /* background-color: #f2f5fc; */ 26 /* background-color: #f2f5fc; */
27 } 27 }
28 28
29 .thing__profile { 29 .thing__profile {
30 30
31 } 31 }
32 32
33 .thing__profile-photo { 33 .thing__profile-photo {
34 width: 200px; 34 width: 200px;
35 border-radius: 8px; 35 border-radius: 8px;
36 float: left; 36 float: left;
37 margin-right: 20px; 37 margin-right: 20px;
38 } 38 }
39 39
40 .thing__profile-body { 40 .thing__profile-body {
41 41
42 } 42 }
43 43
44 .thing__title { 44 .thing__title {
45 width: 100%; 45 width: 100%;
46 font-size: 32px; 46 font-size: 32px;
47 font-weight: 700; 47 font-weight: 700;
48 line-height: 1.1; 48 line-height: 1.1;
49 margin: 0; 49 margin: 0;
50 } 50 }
51 51
52 .thing__text { 52 .thing__text {
53 font-size: 14px; 53 font-size: 14px;
54 line-height: 1.4; 54 line-height: 1.4;
55 margin: 15px 0 0 0; 55 margin: 15px 0 0 0;
56 } 56 }
57 57
58 .main__spoiler { 58 .main__spoiler {
59 margin: 0px 0px 32px 0px; 59 margin: 0px 0px 32px 0px;
60 } 60 }
61 61
62 .main__spoiler-body { 62 .main__spoiler-body {
63 63
64 } 64 }
65 65
66 .main__table { 66 .main__table {
67 border-collapse: collapse; 67 border-collapse: collapse;
68 table-layout: fixed; 68 table-layout: fixed;
69 font-size: 14px; 69 font-size: 14px;
70 width: 100%; 70 width: 100%;
71 background: #ffffff; 71 background: #ffffff;
72 } 72 }
73 73
74 .main__table thead { 74 .main__table thead {
75 color: #ffffff; 75 color: #ffffff;
76 font-size: 16px; 76 font-size: 16px;
77 background-color: #377d87; 77 background-color: #377d87;
78 } 78 }
79 79
80 .main__table th { 80 .main__table th {
81 padding: 8px 16px; 81 padding: 8px 16px;
82 } 82 }
83 83
84 .main__table td { 84 .main__table td {
85 width: 40%; 85 width: 40%;
86 padding: 8px 16px; 86 padding: 8px 16px;
87 border: 1px solid #cecece; 87 border: 1px solid #cecece;
88 } 88 }
89 89
90 .main__table td b { 90 .main__table td b {
91 font-weight: 700; 91 font-weight: 700;
92 } 92 }
93 93
94 .main__table b { 94 .main__table b {
95 display: block; 95 display: block;
96 } 96 }
97 97
98 .main__table a { 98 .main__table a {
99 color: #377d87; 99 color: #377d87;
100 text-decoration: underline; 100 text-decoration: underline;
101 } 101 }
102 102
103 .main__table td + td { 103 .main__table td + td {
104 width: 60%; 104 width: 60%;
105 } 105 }
106 106
107 .main__table_three td { 107 .main__table_three td {
108 width: 25% !important; 108 width: 25% !important;
109 } 109 }
110 110
111 .main__table_three td:last-child { 111 .main__table_three td:last-child {
112 width: 50% !important; 112 width: 50% !important;
113 } 113 }
114 114
115 .main h2 { 115 .main h2 {
116 margin: 0; 116 margin: 0;
117 font-weight: 700; 117 font-weight: 700;
118 font-size: 30px; 118 font-size: 30px;
119 } 119 }
120 120
121 .main p { 121 .main p {
122 margin: 0; 122 margin: 0;
123 font-size: 14px; 123 font-size: 14px;
124 line-height: 1.4; 124 line-height: 1.4;
125 margin: 15px 0 0 0; 125 margin: 15px 0 0 0;
126 } 126 }
127 127
128 .main__resume-profile-info { 128 .main__resume-profile-info {
129 margin: 30px 0px 0px 0px; 129 margin: 30px 0px 0px 0px;
130 } 130 }
131 131
132 .main__resume-profile-info-title { 132 .main__resume-profile-info-title {
133 margin-bottom: 20px !important; 133 margin-bottom: 20px !important;
134 color: #3a3b3c; 134 color: #3a3b3c;
135 } 135 }
136 136
137 .main__resume-profile-info-body-item { 137 .main__resume-profile-info-body-item {
138 margin: 0px 0px 20px 0px; 138 margin: 0px 0px 20px 0px;
139 } 139 }
140 140
141 .main__resume-profile-info-body-subtitle { 141 .main__resume-profile-info-body-subtitle {
142 color: #4d88d9; 142 color: #4d88d9;
143 margin: 0px 0px 10px 0px; 143 margin: 0px 0px 10px 0px;
144 font-weight: 700; 144 font-weight: 700;
145 font-size: 22px; 145 font-size: 22px;
146 } 146 }
147 147
148 .main__resume-profile-info-body-inner { 148 .main__resume-profile-info-body-inner {
149 margin: 0; 149 margin: 0;
150 padding: 0; 150 padding: 0;
151 font-size: 12px; 151 font-size: 12px;
152 } 152 }
153 153
154 .main__resume-profile-info-body-inner li { 154 .main__resume-profile-info-body-inner li {
155 list-style-type: none; 155 list-style-type: none;
156 margin: 0px 0px 20px 0px; 156 margin: 0px 0px 20px 0px;
157 } 157 }
158 158
159 .main__resume-profile-info-body-inner b { 159 .main__resume-profile-info-body-inner b {
160 display: block; 160 display: block;
161 margin: 0px 0px 6px 0px; 161 margin: 0px 0px 6px 0px;
162 color: #377d87; 162 color: #377d87;
163 font-size: 14px; 163 font-size: 14px;
164 } 164 }
165 165
166 .main__resume-profile-info-body-inner span { 166 .main__resume-profile-info-body-inner span {
167 display: block; 167 display: block;
168 } 168 }
169 169
170 .main__resume-profile-info-body-inner a { 170 .main__resume-profile-info-body-inner a {
171 display: block; 171 display: block;
172 text-decoration: none; 172 text-decoration: none;
173 color: inherit; 173 color: inherit;
174 } 174 }
175 175
176 </style> 176 </style>
177 </head> 177 </head>
178 178
179 <body id="body" class="pdf"> 179 <body id="body" class="pdf">
180 <section class="thing thing_pdf"> 180 <section class="thing thing_pdf">
181 <div class="container"> 181 <div class="container">
182 <div class="thing__profile"> 182 <div class="thing__profile">
183 @if (!empty($Query[0]['photo'])) 183 @if (!empty($Query[0]['photo']))
184 <img src="{{ asset(Storage::url($Query[0]['photo'])) }}" alt="" class="thing__profile-photo"> 184 <img src="{{ asset(Storage::url($Query[0]['photo'])) }}" alt="" class="thing__profile-photo">
185 @else 185 @else
186 <img src="{{ asset('images/default_man.jpg') }}" alt="" class="thing__profile-photo"> 186 <img src="{{ asset('images/default_man.jpg') }}" alt="" class="thing__profile-photo">
187 @endif 187 @endif
188 <div class="thing__profile-body"> 188 <div class="thing__profile-body">
189 <h1 class="thing__title">{{ $Query[0]['users']['surname']." ".$Query[0]['users']['name_man']." ".$Query[0]['users']['surname2'] }}</h1> 189 <h1 class="thing__title">{{ $Query[0]['users']['surname']." ".$Query[0]['users']['name_man']." ".$Query[0]['users']['surname2'] }}</h1>
190 <div style="clear:both;"></div> 190 <div style="clear:both;"></div>
191 <p class="thing__text">{{ $Query[0]['text'] }}</p> 191 <p class="thing__text">{{ $Query[0]['text'] }}</p>
192 </div> 192 </div>
193 </div> 193 </div>
194 @if (!empty($Query[0]['users']['file'])) 194 @if (!empty($Query[0]['users']['file']))
195 <a href="{{ asset(Storage::url($Query[0]['users']['file'])) }}">Анкета-файл</a> 195 <a href="{{ asset(Storage::url($Query[0]['users']['file'])) }}">Анкета-файл</a>
196 @endif 196 @endif
197 </div> 197 </div>
198 </section> 198 </section>
199 <main class="main"> 199 <main class="main">
200 <div class="container"> 200 <div class="container">
201 <div class="main__resume-profile"> 201 <div class="main__resume-profile">
202 <div class="main__content"> 202 <div class="main__content">
203 <div class="main__spoiler"> 203 <div class="main__spoiler">
204 <!-- <button type="button" class="main__spoiler-toper js-toggle active">Основная 204 <!-- <button type="button" class="main__spoiler-toper js-toggle active">Основная
205 информация</button> --> 205 информация</button> -->
206 <div class="main__spoiler-body"> 206 <div class="main__spoiler-body">
207 <table class="main__table"> 207 <table class="main__table">
208 <thead> 208 <thead>
209 <tr> 209 <tr>
210 <th colspan="2">Основная информация</th> 210 <th colspan="2">Основная информация</th>
211 </tr> 211 </tr>
212 </thead> 212 </thead>
213 <tbody> 213 <tbody>
214 <tr> 214 <tr>
215 <td>Имя:</td> 215 <td>Имя:</td>
216 <td><b>{{ $Query[0]['users']['name_man'] }}</b></td> 216 <td><b>{{ $Query[0]['users']['name_man'] }}</b></td>
217 </tr> 217 </tr>
218 <tr> 218 <tr>
219 <td>Должность:</td> 219 <td>Должность:</td>
220 <td> 220 <td>
221 @foreach ($Query[0]['job_titles'] as $it) 221 @foreach ($Query[0]['job_titles'] as $it)
222 <b>{{ $it['name'] }}</b><br> 222 <b>{{ $it['name'] }}</b><br>
223 @endforeach 223 @endforeach
224 </td> 224 </td>
225 </tr> 225 </tr>
226 <tr> 226 <tr>
227 <td>Телефон:</td> 227 <td>Телефон:</td>
228 <td><b><a>{{ $Query[0]['telephone'] }}</a></b> 228 <td><b><a>{{ $Query[0]['telephone'] }}</a></b>
229 <b><a>{{ $Query[0]['telephone2'] }}</a></b> 229 <b><a>{{ $Query[0]['telephone2'] }}</a></b>
230 </td> 230 </td>
231 </tr> 231 </tr>
232 <tr> 232 <tr>
233 <td>E-mail:</td> 233 <td>E-mail:</td>
234 <td><b><a>{{ $Query[0]['email'] }}</a></b></td> 234 <td><b><a>{{ $Query[0]['email'] }}</a></b></td>
235 </tr> 235 </tr>
236 <tr> 236 <tr>
237 <td>Возраст:</td> 237 <td>Возраст:</td>
238 <td><b>{{ $Query[0]['old_year'] }}</b></td> 238 <td><b>{{ $Query[0]['old_year'] }}</b></td>
239 </tr> 239 </tr>
240 <tr> 240 <tr>
241 <td>Статус:</td> 241 <td>Статус:</td>
242 <td> 242 <td>
243 @php $code = $Query[0]['status_work']; @endphp 243 @php $code = $Query[0]['status_work']; @endphp
244 <b>@if ($code == 0) Ищу работу @elseif($code == 1) Не указано @else Не ищу работу @endif</b></td> 244 <b>@if ($code == 0) Ищу работу @elseif($code == 1) Не указано @else Не ищу работу @endif</b></td>
245 </tr> 245 </tr>
246 <tr> 246 <tr>
247 <td>Город проживания:</td> 247 <td>Город проживания:</td>
248 <td><b>{{ $Query[0]['city'] }}</b></td> 248 <td><b>{{ $Query[0]['city'] }}</b></td>
249 </tr> 249 </tr>
250 <tr> 250 <tr>
251 <td>Уровень английского:</td> 251 <td>Уровень английского:</td>
252 <td><b>{{ $Query[0]['en_is'] }}</b></td> 252 <td><b>{{ $Query[0]['en_is'] }}</b></td>
253 </tr> 253 </tr>
254 <tr> 254 <tr>
255 <td>Опыт работы:</td> 255 <td>Опыт работы:</td>
256 <td><b>{{ $Query[0]['old_year'] }}</b></td> 256 <td><b>{{ $Query[0]['old_year'] }}</b></td>
257 </tr> 257 </tr>
258 </tbody> 258 </tbody>
259 </table> 259 </table>
260 </div> 260 </div>
261 </div> 261 </div>
262 <div class="main__spoiler"> 262 <div class="main__spoiler">
263 263
264 <div class="main__spoiler-body"> 264 <div class="main__spoiler-body">
265 <table class="main__table"> 265 <table class="main__table">
266 <thead> 266 <thead>
267 <tr> 267 <tr>
268 <th colspan="2">Сертификаты / документы</th> 268 <th colspan="2">Сертификаты / документы</th>
269 </tr> 269 </tr>
270 </thead> 270 </thead>
271 <tbody> 271 <tbody>
272 @if (count($Query[0]['sertificate'])) 272 @if (count($Query[0]['sertificate']))
273 @foreach($Query[0]['sertificate'] as $it) 273 @foreach($Query[0]['sertificate'] as $it)
274 <tr> 274 <tr>
275 <td>{{ $it['name']." ".$it['education'] }}</td> 275 <td>{{ $it['name']." ".$it['education'] }}</td>
276 <td><a>{{ date('d.m.Y H:i:s', strtotime($it['date_begin']))."-".date('d.m.Y H:i:s', strtotime($it['end_begin'])) }}</a></td> 276 <td><a>{{ date('d.m.Y H:i:s', strtotime($it['date_begin']))."-".date('d.m.Y H:i:s', strtotime($it['end_begin'])) }}</a></td>
277 </tr> 277 </tr>
278 @endforeach 278 @endforeach
279 @else 279 @else
280 <tr> 280 <tr>
281 <td> - </td> 281 <td> - </td>
282 <td> - </td> 282 <td> - </td>
283 </tr> 283 </tr>
284 @endif 284 @endif
285 </tbody> 285 </tbody>
286 </table> 286 </table>
287 </div> 287 </div>
288 </div> 288 </div>
289 <div class="main__spoiler"> 289 <div class="main__spoiler">
290 290
291 <div class="main__spoiler-body"> 291 <div class="main__spoiler-body">
292 <table class="main__table main__table_three"> 292 <table class="main__table main__table_three">
293 <thead> 293 <thead>
294 <tr> 294 <tr>
295 <th colspan="3">Опыт работы</th> 295 <th colspan="3">Опыт работы</th>
296 </tr> 296 </tr>
297 </thead> 297 </thead>
298 <tbody> 298 <tbody>
299 @if (count($Query[0]['place_worker']) > 0) 299 @if (count($Query[0]['place_worker']) > 0)
300 @foreach($Query[0]['place_worker'] as $it) 300 @foreach($Query[0]['place_worker'] as $it)
301 <tr> 301 <tr>
302 <td>{{ $it['begin_work']." - ".$it['end_work'] }} 302 <td>{{ $it['begin_work']." - ".$it['end_work'] }}
303 </td> 303 </td>
304 <td><b>{{ $it['name_company'] }}</b> 304 <td><b>{{ $it['name_company'] }}</b>
305 </td> 305 </td>
306 <td><b>{{ $it['job_title'] }}</b> 306 <td><b>{{ $it['job_title'] }}</b>
307 Судно: {{ $it['teplohod'] }} 307 Судно: {{ $it['teplohod'] }}
308 </td> 308 </td>
309 </tr> 309 </tr>
310 @endforeach 310 @endforeach
311 @endif 311 @endif
312 </tbody> 312 </tbody>
313 </table> 313 </table>
314 </div> 314 </div>
315 </div> 315 </div>
316 </div> 316 </div>
317 <div class="main__resume-profile-about"> 317 <div class="main__resume-profile-about">
318 <h2 class="main__resume-profile-about-title">О себе</h2> 318 <h2 class="main__resume-profile-about-title">О себе</h2>
319 <p class="main__resume-profile-about-text">{{ $Query[0]['text'] }}</p> 319 <p class="main__resume-profile-about-text">{{ $Query[0]['text'] }}</p>
320 </div> 320 </div>
321 <div class="main__resume-profile-info"> 321 <div class="main__resume-profile-info">
322 <h2 class="main__resume-profile-info-title">Данные о прошлых компаниях</h2> 322 <h2 class="main__resume-profile-info-title">Данные о прошлых компаниях</h2>
323 <div class="main__resume-profile-info-body"> 323 <div class="main__resume-profile-info-body">
324 @if ((isset($Query[0]['prev_company'])) && (count($Query[0]['prev_company']) > 0)) 324 @if ((isset($Query[0]['prev_company'])) && (count($Query[0]['prev_company']) > 0))
325 @foreach ($Query[0]['prev_company'] as $it) 325 @foreach ($Query[0]['prev_company'] as $it)
326 <div class="main__resume-profile-info-body-item"> 326 <div class="main__resume-profile-info-body-item">
327 <h3 class="main__resume-profile-info-body-subtitle">{{ $it['name_company'] }}</h3> 327 <h3 class="main__resume-profile-info-body-subtitle">{{ $it['name_company'] }}</h3>
328 <ul class="main__resume-profile-info-body-inner"> 328 <ul class="main__resume-profile-info-body-inner">
329 <li> 329 <li>
330 <b>Руководитель</b> 330 <b>Руководитель</b>
331 <span>{{ $it['direct'] }}</span> 331 <span>{{ $it['direct'] }}</span>
332 </li> 332 </li>
333 <li> 333 <li>
334 <b>Телефон того, кто может дать рекомендацию</b> 334 <b>Телефон того, кто может дать рекомендацию</b>
335 <span> 335 <span>
336 <a>{{ $it['telephone'] }}</a> 336 <a>{{ $it['telephone'] }}</a>
337 <a>{{ $it['telephone2'] }}</a> 337 <a>{{ $it['telephone2'] }}</a>
338 </span> 338 </span>
339 </li> 339 </li>
340 </ul> 340 </ul>
341 </div> 341 </div>
342 @endforeach 342 @endforeach
343 @else
344 <div class="main__resume-profile-info-body-item">
345 <h3 class="main__resume-profile-info-body-subtitle">Не указано</h3>
346 <ul class="main__resume-profile-info-body-inner">
347 <li>
348 <b>Руководитель</b>
349 <span>Нет сведений</span>
350 </li>
351 <li>
352 <b>Телефон того, кто может дать рекомендацию</b>
353 <span>
354 <a>Нет сведений</a>
355 </span>
356 </li>
357 </ul>
358 </div>
343 @endif 359 @endif
344 </div> 360 </div>
345 </div> 361 </div>
346 </div> 362 </div>
347 </div> 363 </div>
348 </main> 364 </main>
349 </body> 365 </body>
350 </html> 366 </html>
351 367