Commit d176257df1cb28e23e37cbd30fa1938f9152f25c

Authored by Андрей Ларионов
1 parent 567d6161f9

Мелкий шрифт образования, работодатели, юзеры, работники

Showing 8 changed files with 252 additions and 53 deletions Side-by-side Diff

resources/views/admin/ad_employers/index.blade.php
... ... @@ -91,13 +91,13 @@
91 91 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
92 92 @foreach($ad_employers as $ad)
93 93 <tr class="text-gray-700 dark:text-gray-400">
94   - <td class="px-4 py-3 class1">
  94 + <td class="px-4 py-3 class1 text-xs">
95 95 <input type="checkbox" class="box" name="vacan_{{$ad->id}}" id="vacan_{{$ad->id}}" value="{{$ad->id}}"/>
96 96 </td>
97   - <td class="px-4 py-3 class1">
  97 + <td class="px-4 py-3 class1 text-xs">
98 98 {{$ad->id}}
99 99 </td>
100   - <td class="px-4 py-3 class2">
  100 + <td class="px-4 py-3 class2 text-xs">
101 101 <div class="flex items-center text-sm">
102 102 <div
103 103 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
... ... @@ -124,7 +124,7 @@
124 124 </div>
125 125 </td>
126 126  
127   - <td class="px-4 py-3 class4">
  127 + <td class="px-4 py-3 class4 text-xs">
128 128 <div class="flex items-center text-sm">
129 129 @if ($ad->jobs->count())
130 130 <div>
... ... @@ -144,7 +144,7 @@
144 144  
145 145 </td>
146 146  
147   - <td class="px-4 py-3 text-sm class5">
  147 + <td class="px-4 py-3 text-sm class5 text-xs">
148 148 @if ($ad->favorite_vacancy==1)
149 149 <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100">
150 150 Да
... ... @@ -156,7 +156,7 @@
156 156 @endif
157 157 </td>
158 158  
159   - <td class="px-4 py-3 text-sm class6">
  159 + <td class="px-4 py-3 text-sm class6 text-xs">
160 160 @if ($ad->sroch_vacancy==1)
161 161 <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100">
162 162 Да
... ... @@ -168,12 +168,12 @@
168 168 @endif
169 169 </td>
170 170  
171   - <td class="px-4 py-3 text-sm class7">
  171 + <td class="px-4 py-3 text-sm class7 text-xs">
172 172 {{ $ad->status }}
173 173 </td>
174 174  
175   - <td class="px-4 py-3 text-sm class8">
176   - <div class="flex items-center text-sm">
  175 + <td class="px-4 py-3 text-sm class8 text-xs">
  176 + <div class="flex items-center text-xs">
177 177 <div>
178 178 <p class="font-semibold">{{ date('d.m.Y', strtotime($ad->created_at)) }}</p>
179 179 <p class="text-xs text-gray-600 dark:text-gray-400">
... ... @@ -184,7 +184,7 @@
184 184  
185 185 </td>
186 186  
187   - <td class="px-4 py-3 text-sm class10">
  187 + <td class="px-4 py-3 text-sm class10 text-xs">
188 188 <form action="{{ route('admin.delete-ad-employer', ['ad_employer' => $ad->id]) }}" method="POST">
189 189 <a href="{{ route('admin.edit-ad-employers', ['ad_employer' => $ad->id]) }}">Изменить</a> |
190 190 @csrf
resources/views/admin/ad_employers/index_ajax.blade.php
... ... @@ -18,13 +18,13 @@
18 18 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
19 19 @foreach($ad_employers as $ad)
20 20 <tr class="text-gray-700 dark:text-gray-400">
21   - <td class="px-4 py-3 class1">
  21 + <td class="px-4 py-3 class1 text-xs">
22 22 <input type="checkbox" class="box" name="vacan_{{$ad->id}}" id="vacan_{{$ad->id}}" value="{{$ad->id}}"/>
23 23 </td>
24   - <td class="px-4 py-3 class1">
  24 + <td class="px-4 py-3 class1 text-xs">
25 25 {{$ad->id}}
26 26 </td>
27   - <td class="px-4 py-3 class2">
  27 + <td class="px-4 py-3 class2 text-xs">
28 28 <div class="flex items-center text-sm">
29 29 <div
30 30 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
... ... @@ -51,8 +51,8 @@
51 51 </div>
52 52 </td>
53 53  
54   - <td class="px-4 py-3 class4">
55   - <div class="flex items-center text-sm">
  54 + <td class="px-4 py-3 class4 text-xs">
  55 + <div class="flex items-center text-xs">
56 56 @if ($ad->jobs->count())
57 57 <div>
58 58 <?php $i = 0;?>
... ... @@ -71,7 +71,7 @@
71 71  
72 72 </td>
73 73  
74   - <td class="px-4 py-3 text-sm class5">
  74 + <td class="px-4 py-3 text-sm class5 text-xs">
75 75 @if ($ad->favorite_vacancy==1)
76 76 <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100">
77 77 Да
... ... @@ -83,7 +83,7 @@
83 83 @endif
84 84 </td>
85 85  
86   - <td class="px-4 py-3 text-sm class6">
  86 + <td class="px-4 py-3 text-sm class6 text-xs">
87 87 @if ($ad->sroch_vacancy==1)
88 88 <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100">
89 89 Да
... ... @@ -95,11 +95,11 @@
95 95 @endif
96 96 </td>
97 97  
98   - <td class="px-4 py-3 text-sm class7">
  98 + <td class="px-4 py-3 text-sm class7 text-xs">
99 99 {{ $ad->status }}
100 100 </td>
101 101  
102   - <td class="px-4 py-3 text-sm class8">
  102 + <td class="px-4 py-3 text-sm class8 text-xs">
103 103 <div class="flex items-center text-sm">
104 104 <div>
105 105 <p class="font-semibold">{{ date('d.m.Y', strtotime($ad->created_at)) }}</p>
... ... @@ -111,7 +111,7 @@
111 111  
112 112 </td>
113 113  
114   - <td class="px-4 py-3 text-sm class10">
  114 + <td class="px-4 py-3 text-sm class10 text-xs">
115 115 <a href="{{ route('admin.edit-ad-employers', ['ad_employer' => $ad->id]) }}">
116 116 Изменить
117 117 </a>
resources/views/admin/education/index.blade.php
1 1 @extends('layout.admin', ['title' => 'Админка - Справочник образование'])
2 2  
3 3 @section('script')
  4 + <script>
  5 + const btns = document.querySelectorAll('.btn_del');
  6 + btns.forEach(btn => {
  7 + btn.addEventListener('click', (e) => {
  8 + console.log('click button');
  9 + let id = e.target.id;
  10 + let form = document.getElementById("form_modal_del");
  11 + form.action = "<?=$_SERVER['APP_URL']?>public/admin/education/"+e.target.getAttribute('data-education');
  12 + //document.getElementById("title_modal").innerHTML = id;
  13 + console.log(e.target.getAttribute('data-education'));
  14 + });
  15 + });
  16 + </script>
  17 +@endsection
4 18  
  19 +@section('modal')
  20 + @include('admin.education.modal')
5 21 @endsection
6 22  
7 23 @section('search')
... ... @@ -39,12 +55,10 @@
39 55 </td>
40 56  
41 57 <td class="px-4 py-3 text-sm_">
42   - <form action="{{ route('admin.education.destroy', ['education' => $cat->id]) }}" method="POST">
43   - <a href="{{ route('admin.education.edit', ['education' => $cat->id]) }}">Изменить</a> |
44   - @csrf
45   - @method('DELETE')
46   - <input class="btn btn-danger" type="submit" value="Удалить"/>
47   - </form>
  58 + @if ($cat->id)
  59 + <a href="{{ route('admin.education.edit', ['education' => $cat->id]) }}">Изменить</a>
  60 + | <a @click="openModal" style="cursor: pointer;" data-education="{{$cat->id}}" class="btn_del btn btn-danger">Удалить</a>
  61 + @endif
48 62 </td>
49 63 <td class="px-4 py-3">
50 64 <div class="flex items-center text-sm">
resources/views/admin/education/modal.blade.php
... ... @@ -0,0 +1,83 @@
  1 +<!-- Modal backdrop. This what you want to place close to the closing body tag -->
  2 +<div
  3 + x-show="isModalOpen"
  4 + x-transition:enter="transition ease-out duration-150"
  5 + x-transition:enter-start="opacity-0"
  6 + x-transition:enter-end="opacity-100"
  7 + x-transition:leave="transition ease-in duration-150"
  8 + x-transition:leave-start="opacity-100"
  9 + x-transition:leave-end="opacity-0"
  10 + class="fixed inset-0 z-30 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center"
  11 +>
  12 + <!-- Modal -->
  13 + <div
  14 + x-show="isModalOpen"
  15 + x-transition:enter="transition ease-out duration-150"
  16 + x-transition:enter-start="opacity-0 transform translate-y-1/2"
  17 + x-transition:enter-end="opacity-100"
  18 + x-transition:leave="transition ease-in duration-150"
  19 + x-transition:leave-start="opacity-100"
  20 + x-transition:leave-end="opacity-0 transform translate-y-1/2"
  21 + @click.away="closeModal"
  22 + @keydown.escape="closeModal"
  23 + class="w-full px-6 py-4 overflow-hidden bg-white rounded-t-lg dark:bg-gray-800 sm:rounded-lg sm:m-4 sm:max-w-xl"
  24 + role="dialog"
  25 + id="modal"
  26 + >
  27 + <!-- Remove header if you don't want a close icon. Use modal body to place modal tile. -->
  28 + <header class="flex justify-end">
  29 + <button
  30 + class="inline-flex items-center justify-center w-6 h-6 text-gray-400 transition-colors duration-150 rounded dark:hover:text-gray-200 hover: hover:text-gray-700"
  31 + aria-label="close"
  32 + @click="closeModal"
  33 + >
  34 + <svg
  35 + class="w-4 h-4"
  36 + fill="currentColor"
  37 + viewBox="0 0 20 20"
  38 + role="img"
  39 + aria-hidden="true"
  40 + >
  41 + <path
  42 + d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
  43 + clip-rule="evenodd"
  44 + fill-rule="evenodd"
  45 + ></path>
  46 + </svg>
  47 + </button>
  48 + </header>
  49 + <!-- Modal body -->
  50 + <div class="mt-4 mb-6">
  51 + <!-- Modal title -->
  52 + <p
  53 + class="mb-2 text-lg font-semibold text-gray-700 dark:text-gray-300"
  54 + >
  55 + Вы действительно хотите удалить это учебное заведение?
  56 + </p>
  57 + <!-- Modal description -->
  58 + <p class="text-sm text-gray-700 dark:text-gray-400">
  59 + Это приведет к удалению всей информации об учебном учреждении
  60 + </p>
  61 + </div>
  62 + <footer
  63 + class="flex flex-col items-center justify-end px-6 py-3 -mx-6 -mb-4 space-y-4 sm:space-y-0 sm:space-x-6 sm:flex-row bg-gray-50 dark:bg-gray-800"
  64 + >
  65 + <button
  66 + @click="closeModal"
  67 + class="w-full px-5 py-3 text-sm font-medium leading-5 text-white text-gray-700 transition-colors duration-150 border border-gray-300 rounded-lg dark:text-gray-400 sm:px-4 sm:py-2 sm:w-auto active:bg-transparent hover:border-gray-500 focus:border-gray-500 active:text-gray-500 focus:outline-none focus:shadow-outline-gray"
  68 + >
  69 + Отмена
  70 + </button>
  71 + <form id="form_modal_del" name="form_modal_del" action="admin/education/{education}" method="POST">
  72 + @csrf
  73 + @method('DELETE')
  74 + <button
  75 + type="submit"
  76 + class="w-full px-5 py-3 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg sm:w-auto sm:px-4 sm:py-2 active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"
  77 + >
  78 + Удалить
  79 + </button>
  80 + </form>
  81 + </footer>
  82 + </div>
  83 +</div>
resources/views/admin/employer/index.blade.php
... ... @@ -136,15 +136,15 @@
136 136 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
137 137 @foreach($users as $user)
138 138 <tr class="text-gray-700 dark:text-gray-400">
139   - <td class="px-4 py-3">
  139 + <td class="px-4 py-3 text-xs">
140 140 {{$user->id}}
141 141 </td>
142   - <td class="px-4 py-3">
  142 + <td class="px-4 py-3 text-xs">
143 143 @if (isset($user->code_id))
144 144 {{$user->code_id}}
145 145 @endif
146 146 </td>
147   - <td class="px-4 py-3">
  147 + <td class="px-4 py-3 text-xs">
148 148 @if (isset($user->emp_logo) && ($user->emp_logo))
149 149 <div class="flex items-center text-sm">
150 150 <div
... ... @@ -167,7 +167,7 @@
167 167 @endif
168 168 </td>
169 169  
170   - <td class="px-4 py-3">
  170 + <td class="px-4 py-3 text-xs">
171 171 <div class="flex items-center text-sm">
172 172 <div>
173 173 <p class="font-semibold">{{$user->name}}</p>
... ... @@ -184,10 +184,10 @@
184 184 </div>
185 185  
186 186 </td>
187   - <td class="px-4 py-3 text-sm">
  187 + <td class="px-4 py-3 text-xs">
188 188 {{ $user->category }}
189 189 </td>
190   - <td class="px-4 py-3 text-sm">
  190 + <td class="px-4 py-3 text-xs">
191 191 @if (!empty($user->comment_admin))
192 192  
193 193 <a style="text-decoration: underline;" href="{{ route('admin.comment-employer', ['employer' => $user->emp_id]) }}">Есть</a>
... ... @@ -195,10 +195,10 @@
195 195 Нет
196 196 @endif
197 197 </td>
198   - <td class="px-4 py-3 text-sm">
  198 + <td class="px-4 py-3 text-xs">
199 199 {{ date('d.m.Y', strtotime($user->created_at)) }}
200 200 </td>
201   - <td class="px-4 py-3 text-sm">
  201 + <td class="px-4 py-3 text-xs">
202 202 @if (!empty($user->emp_id))
203 203 <a href="{{ route('admin.employer-profile', ['employer' => $user->emp_id]) }}">Изменить</a>
204 204 @if ($user->emp_id > 2) | <a @click="openModal" style="cursor: pointer;" data-employer="{{$user->emp_id}}" data-user="{{$user->user_id}}" class="btn_del btn btn-danger">Удалить</a>
resources/views/admin/users/index_bd.blade.php
... ... @@ -40,6 +40,26 @@
40 40 });
41 41 });
42 42 </script>
  43 +
  44 + <script>
  45 + const btns = document.querySelectorAll('.btn_del');
  46 + btns.forEach(btn => {
  47 + btn.addEventListener('click', (e) => {
  48 + console.log('click button');
  49 + let id = e.target.id;
  50 + let form = document.getElementById("form_modal_del");
  51 + form.action = "<?=$_SERVER['APP_URL']?>public/admin/basedata/delete/"+e.target.getAttribute('data-user');
  52 + //document.getElementById("title_modal").innerHTML = id;
  53 + console.log(e.target.getAttribute('data-employer'));
  54 + console.log(e.target.getAttribute('data-user'));
  55 +
  56 + });
  57 + });
  58 + </script>
  59 +@endsection
  60 +
  61 +@section('modal')
  62 + @include('admin.users.modal')
43 63 @endsection
44 64  
45 65 @section('search')
... ... @@ -67,10 +87,10 @@
67 87 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
68 88 @foreach($users as $user)
69 89 <tr class="text-gray-700 dark:text-gray-400">
70   - <td class="px-4 py-3">
  90 + <td class="px-4 py-3 text-xs">
71 91 {{$user->id}}
72 92 </td>
73   - <td class="px-4 py-3">
  93 + <td class="px-4 py-3 text-xs">
74 94 <!--<div class="flex items-center text-sm">
75 95 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
76 96 <div
... ... @@ -91,7 +111,7 @@
91 111 {{ $user->name }}
92 112 </td>
93 113  
94   - <td class="px-4 py-3">
  114 + <td class="px-4 py-3 text-xs">
95 115 <div class="flex items-center text-sm">
96 116 <!--<div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
97 117 <div
... ... @@ -136,7 +156,7 @@
136 156 @endif
137 157 </td>
138 158  
139   - <td class="px-4 py-3 text-sm">
  159 + <td class="px-4 py-3 text-xs">
140 160 @if (isset($user->workers[0]->id))
141 161 <!--<a href="{{ route('admin.worker-profile-edit', ['worker' => $user->workers[0]->id]) }}">Править</a> |-->
142 162 <!--<a href="{{ route('admin.doc-basedata', ['user' => $user->id]) }}">Скачать</a>-->
... ... @@ -148,17 +168,15 @@
148 168 @endisset
149 169 </td>
150 170  
151   - <td class="px-4 py-3 text-sm">
  171 + <td class="px-4 py-3 text-xs">
152 172 {{ date('d.m.Y', strtotime($user->created_at)) }}
153 173 </td>
154 174  
155   - <td class="px-4 py-3 text-sm_">
156   - <form action="{{ route('admin.delete-basedata', ['user' => $user->id]) }}" method="POST">
157   - <a href="{{ route('admin.edit-basedata', ['user' => $user->id]) }}">Изменить</a> |
158   - @csrf
159   - @method('DELETE')
160   - <input class="btn btn-danger" type="submit" value="Удалить"/>
161   - </form>
  175 + <td class="px-4 py-3 text-xs text-sm_">
  176 + @if (!empty($user->id))
  177 + <a href="{{ route('admin.edit-basedata', ['user' => $user->id]) }}">Изменить</a>
  178 + | <a @click="openModal" style="cursor: pointer;" data-user="{{$user->id}}" class="btn_del btn btn-danger">Удалить</a>
  179 + @endif
162 180 </td>
163 181 </tr>
164 182 @endforeach
resources/views/admin/users/modal.blade.php
... ... @@ -0,0 +1,84 @@
  1 +<!-- Modal backdrop. This what you want to place close to the closing body tag -->
  2 +<div
  3 + x-show="isModalOpen"
  4 + x-transition:enter="transition ease-out duration-150"
  5 + x-transition:enter-start="opacity-0"
  6 + x-transition:enter-end="opacity-100"
  7 + x-transition:leave="transition ease-in duration-150"
  8 + x-transition:leave-start="opacity-100"
  9 + x-transition:leave-end="opacity-0"
  10 + class="fixed inset-0 z-30 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center"
  11 +>
  12 + <!-- Modal -->
  13 + <div
  14 + x-show="isModalOpen"
  15 + x-transition:enter="transition ease-out duration-150"
  16 + x-transition:enter-start="opacity-0 transform translate-y-1/2"
  17 + x-transition:enter-end="opacity-100"
  18 + x-transition:leave="transition ease-in duration-150"
  19 + x-transition:leave-start="opacity-100"
  20 + x-transition:leave-end="opacity-0 transform translate-y-1/2"
  21 + @click.away="closeModal"
  22 + @keydown.escape="closeModal"
  23 + class="w-full px-6 py-4 overflow-hidden bg-white rounded-t-lg dark:bg-gray-800 sm:rounded-lg sm:m-4 sm:max-w-xl"
  24 + role="dialog"
  25 + id="modal"
  26 + >
  27 + <!-- Remove header if you don't want a close icon. Use modal body to place modal tile. -->
  28 + <header class="flex justify-end">
  29 + <button
  30 + class="inline-flex items-center justify-center w-6 h-6 text-gray-400 transition-colors duration-150 rounded dark:hover:text-gray-200 hover: hover:text-gray-700"
  31 + aria-label="close"
  32 + @click="closeModal"
  33 + >
  34 + <svg
  35 + class="w-4 h-4"
  36 + fill="currentColor"
  37 + viewBox="0 0 20 20"
  38 + role="img"
  39 + aria-hidden="true"
  40 + >
  41 + <path
  42 + d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
  43 + clip-rule="evenodd"
  44 + fill-rule="evenodd"
  45 + ></path>
  46 + </svg>
  47 + </button>
  48 + </header>
  49 + <!-- Modal body -->
  50 + <div class="mt-4 mb-6">
  51 + <!-- Modal title -->
  52 + <p
  53 + class="mb-2 text-lg font-semibold text-gray-700 dark:text-gray-300"
  54 + >
  55 + Вы действительно хотите удалить пользователя?
  56 + </p>
  57 + <!-- Modal description -->
  58 + <p class="text-sm text-gray-700 dark:text-gray-400">
  59 + Это приведет к удалению всей информации о пользователе<br>
  60 + на данном проекте.
  61 + </p>
  62 + </div>
  63 + <footer
  64 + class="flex flex-col items-center justify-end px-6 py-3 -mx-6 -mb-4 space-y-4 sm:space-y-0 sm:space-x-6 sm:flex-row bg-gray-50 dark:bg-gray-800"
  65 + >
  66 + <button
  67 + @click="closeModal"
  68 + class="w-full px-5 py-3 text-sm font-medium leading-5 text-white text-gray-700 transition-colors duration-150 border border-gray-300 rounded-lg dark:text-gray-400 sm:px-4 sm:py-2 sm:w-auto active:bg-transparent hover:border-gray-500 focus:border-gray-500 active:text-gray-500 focus:outline-none focus:shadow-outline-gray"
  69 + >
  70 + Отмена
  71 + </button>
  72 + <form id="form_modal_del" name="form_modal_del" action="/basedata/delete/{user}" method="POST">
  73 + @csrf
  74 + @method('DELETE')
  75 + <button
  76 + type="submit"
  77 + class="w-full px-5 py-3 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg sm:w-auto sm:px-4 sm:py-2 active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"
  78 + >
  79 + Удалить
  80 + </button>
  81 + </form>
  82 + </footer>
  83 + </div>
  84 +</div>
resources/views/admin/worker/index.blade.php
... ... @@ -83,10 +83,10 @@
83 83 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
84 84 @foreach($users as $user)
85 85 <tr class="text-gray-700 dark:text-gray-400">
86   - <td class="px-4 py-3">
  86 + <td class="px-4 py-3 text-xs">
87 87 {{$user->id}}
88 88 </td>
89   - <td class="px-4 py-3">
  89 + <td class="px-4 py-3 text-xs">
90 90 @if (isset($user->workers[0]->photo))
91 91 <div class="flex items-center text-sm">
92 92 <div
... ... @@ -109,7 +109,7 @@
109 109 @endif
110 110 </td>
111 111  
112   - <td class="px-4 py-3">
  112 + <td class="px-4 py-3 text-xs">
113 113 <div class="flex items-center text-sm">
114 114 <div>
115 115 <p class="font-semibold">
... ... @@ -127,7 +127,7 @@
127 127 </div>
128 128 </td>
129 129  
130   - <td class="px-4 py-3">
  130 + <td class="px-4 py-3 text-xs">
131 131 @if (isset($user->workers[0]->status_work))
132 132 {{ $status_wor[$user->workers[0]->status_work] }}
133 133 @else
... ... @@ -152,17 +152,17 @@
152 152 </span>
153 153 @endif
154 154 </td>
155   - <td class="px-4 py-3 text-sm">
  155 + <td class="px-4 py-3 text-xs">
156 156 @if (isset($user->jobtitles[0]->name))
157 157 {{ $user->jobtitles[0]->name }}
158 158 @else
159 159 Не задана
160 160 @endif
161 161 </td>
162   - <td class="px-4 py-3 text-sm">
  162 + <td class="px-4 py-3 text-xs">
163 163 {{ date('d.m.Y h:i:s', strtotime($user->created_at)) }}
164 164 </td>
165   - <td class="px-4 py-3 text-sm">
  165 + <td class="px-4 py-3 text-xs">
166 166 <!--if ($user->id > 1)-->
167 167 @if (isset($user->workers[0]->id))
168 168 <a href="{{ route('admin.worker-profile-edit', ['worker' => $user->workers[0]->id]) }}">Изменить</a>