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