Blame view

resources/views/employers/bd_tupe.blade.php 6.5 KB
e3c7b0ffb   Андрей Ларионов   Коммит на понедел...
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
  @extends('layout.frontend', ['title' => 'База резюме - РекаМоре'])
  
  @section('scripts')
      <script>
          console.log('Test system');
          $(document).on('click', '.die_black', function() {
              var this_ = $(this);
              var ajax_ = $('#ajax_flot_div');
              var id_ = this_.attr('data-test');
              var url_ = this_.attr('data-link');
  
              console.log(url_);
              $.ajax({
                  type: "GET",
                  url: url_,
                  success: function (data) {
                      console.log('Ответка');
                      ajax_.html(data);
                  },
                  headers: {
                      'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                  },
                  error: function (data) {
                      console.log('Error: ' + data);
                  }
              });
  
          });
      </script>
  @endsection
  
  @section('content')
      <section class="cabinet">
          <div class="container">
              <ul class="breadcrumbs cabinet__breadcrumbs">
                  <li><a href="{{ route('index') }}">Главная</a></li>
                  <li><b>Личный кабинет</b></li>
              </ul>
              <div class="cabinet__wrapper">
                  <div class="cabinet__side">
                      <div class="cabinet__side-toper">
                          @include('employers.emblema')
                      </div>
                      @include('employers.menu', ['item' => 8])
                  </div>
  
                  <div class="cabinet__body">
                      <div class="cabinet__body-item">
                          <h2 class="title cabinet__title">База резюме</h2>
                      </div>
                      <div class="cabinet__body-item">
                          <div class="cabinet__filters">
                              <div class="cabinet__filters-item">
                                  <form class="search">
                                      <input type="search" class="input" placeholder="Поиск&hellip;" required>
                                      <button type="submit" class="button">Найти</button>
                                      <span>
                                              <svg>
                                                  <use xlink:href="images/sprite.svg#search"></use>
                                              </svg>
                                          </span>
                                  </form>
                              </div>
                              <div class="cabinet__filters-item">
                                  <button type="button" class="button">
                                      <svg>
                                          <use xlink:href="images/sprite.svg#share"></use>
                                      </svg>
                                      Экспорт
                                  </button>
                              </div>
                          </div>
                      </div>
                      <div class="cabinet__body-item">
                          <div class="cabinet__table-header">
                              <div>Капитан</div>
                              <span>
                                      Всего вакансий найдено:
                                      <b>18</b>
                                  </span>
                          </div>
                          <div class="table table_spoiler">
                              <button type="button" class="table__button js-toggle js-parent-toggle button button_light button_more">
                                  <span>Показать ещё</span>
                                  <span>Свернуть</span>
                              </button>
                              <div class="table__scroll">
                                  <div class="table__body table__body_min-width">
                                      <table>
                                          <thead>
                                          <tr>
                                              <th>ФИО соискателя</th>
                                              <th>Номер телефона</th>
                                              <th>Электронная<br>почта</th>
                                              <th>Наличие<br>анкеты</th>
                                          </tr>
                                          </thead>
                                          <tbody>
                                          @if ($Resume->count())
                                              @foreach($Resume as $it)
                                              <tr>
                                                  <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td>
                                                  <td>
                                                      @if (isset($it->worker->telephone))
                                                          <a href="tel:{{ $it->worker->telephone }}">{{ $it->worker->telephone }}</a>
                                                      @endif
                                                  </td>
                                                  <td>
                                                      @if (isset($it->worker->email))
                                                          <a href="emailto:{{ $it->worker->email }}">{{ $it->worker->email }}</a>
                                                      @endif
                                                  </td>
                                                  <td>
                                                      <a href="" class="table__link">
                                                          <svg>
                                                              <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use>
                                                          </svg>
                                                          Скачать
                                                      </a>
                                                  </td>
                                              </tr>
                                              @endforeach
                                          @endif
                                          </tbody>
                                      </table>
                                  </div>
                              </div>
                          </div>
                      </div>
                  </div>
              </div>
          </div>
      </section>
      </div>
  <div>
  @endsection