Commit 4c66e360c8ab112cedffb80e98ca9bc10c18c0d4

Authored by Андрей Ларионов
1 parent 5f2a2635a1

Справочник документы и ajax-подгрузка пользователей в группах

Showing 20 changed files with 572 additions and 25 deletions Inline Diff

app/Http/Controllers/Admin/GroupsController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers\Admin; 3 namespace App\Http\Controllers\Admin;
4 4
5 use App\Http\Controllers\Controller; 5 use App\Http\Controllers\Controller;
6 use App\Models\Group_user; 6 use App\Models\Group_user;
7 use App\Models\Group_works;
7 use App\Models\User; 8 use App\Models\User;
9 use Illuminate\Database\Eloquent\Model;
8 use Illuminate\Http\Request; 10 use Illuminate\Http\Request;
9 use Illuminate\Support\Facades\Auth; 11 use Illuminate\Support\Facades\Auth;
10 use Illuminate\Support\Facades\Validator; 12 use Illuminate\Support\Facades\Validator;
11 13
12 class GroupsController extends Controller 14 class GroupsController extends Controller
13 { 15 {
16 public $limit = 15;
17
14 // индексная страница 18 // индексная страница
15 public function index() { 19 public function index() {
16 $groups = Group_user::query()->active()->paginate(15); 20 $groups = Group_user::query()->active()->paginate(15);
17 return view('admin.groups.index', compact('groups')); 21 return view('admin.groups.index', compact('groups'));
18 } 22 }
19 23
20 // форма добавления группы 24 // форма добавления группы
21 public function add() { 25 public function add(Request $request) {
22 $editor = Auth::user()->id; 26 /*$editor = Auth::user()->id;
23 $users = User::query()->get(); 27 $users = User::query()->active()->Offset(0)->limit($this->limit)->get();
24 return view('admin.groups.add', compact('editor', 'users')); 28 return view('admin.groups.add', compact('editor', 'users'));*/
29 $hide = false;
30 $total = User::query()->active()->count();
31 $amt = ceil($total / $this->limit);
32 if ($this->limit >= $total) $hide = true;
33 if ($request->ajax()) {
34 $page = intval($request->page);
35 $page = (empty($page)) ? 1 : $page;
36 $start = ($page != 1) ? $page * $this->limit - $this->limit : 0;
37 $users = User::query()->active()->Offset($start)->limit($this->limit)->get();
38 return view('admin.groups.ajax_add', compact('users', 'amt'));
39
40 } else {
41 $editor = Auth::user()->id;
42 $users = User::query()->active()->Offset(0)->limit($this->limit)->get();
43 return view('admin.groups.add', compact('editor', 'users', 'amt', 'hide'));
44 }
25 } 45 }
26 46
27 // форма сохранения добавленной группы 47 // форма сохранения добавленной группы
28 public function store(Request $request) { 48 public function store(Request $request) {
29 $rules = [ 49 $rules = [
30 'name_group' => 'required|min:3', 50 'name_group' => 'required|min:3',
31 ]; 51 ];
32 $messages = [ 52 $messages = [
33 'required' => 'Укажите обязательное поле', 53 'required' => 'Укажите обязательное поле',
34 ]; 54 ];
35 $validator = Validator::make($request->all(), $rules, $messages); 55 $validator = Validator::make($request->all(), $rules, $messages);
36 56
37 if ($validator->fails()) { 57 if ($validator->fails()) {
38 return redirect()->route('admin.add-group') 58 return redirect()->route('admin.add-group')
39 ->withErrors($validator); 59 ->withErrors($validator);
40 } else { 60 } else {
41 Group_user::create($request->all()); 61 $id_group = Group_user::create($request->all())->id;
62 foreach ($request->usergroup as $user) {
63 $people = new Group_works();
64 $people->group_user_id = $id_group;
65 $people->user_id = $user;
66 $people->save();
67 }
42 return redirect()->route('admin.groups') 68 return redirect()->route('admin.groups')
43 ->with('success', 'Данные были успешно сохранены'); 69 ->with('success', 'Данные были успешно сохранены');
44 } 70 }
45 return redirect()->route('admin.groups'); 71 return redirect()->route('admin.groups');
46 } 72 }
47 73
48 // форма редактирования группы 74 // форма редактирования группы
49 public function edit(Group_user $group, Request $request) { 75 public function edit(Group_user $group, Request $request) {
50 $editor = Auth::user()->id; 76 //https://snipp.ru/php/loading-scrolling
51 $users = User::query()->get(); 77 $hide = false;
52 return view('admin.groups.edit', compact('editor', 'group', 'users')); 78 $total = User::query()->active()->count();
79 $amt = ceil($total / $this->limit);
80 if ($this->limit >= $total) $hide = true;
81
82 if ($request->ajax()) {
83 $page = intval($request->page);
84 $page = (empty($page)) ? 1 : $page;
85 $start = ($page != 1) ? $page * $this->limit - $this->limit : 0;
86 $users = User::query()->active()->Offset($start)->limit($this->limit)->get();
87 return view('admin.groups.ajax', compact('users', 'group', 'amt'));
88
89 } else {
90 $editor = Auth::user()->id;
91 $users = User::query()->active()->Offset(0)->limit($this->limit)->get();
92 return view('admin.groups.edit', compact('editor', 'group', 'users', 'amt', 'hide'));
93 }
53 } 94 }
54 95
55 // форма сохранения редактированной группы 96 // форма сохранения редактированной группы
56 public function update(Group_user $group, Request $request) { 97 public function update(Group_user $group, Request $request) {
57
58 $params = $request->all(); 98 $params = $request->all();
59 unset($params['usergroup']); 99 unset($params['usergroup']);
60 $rules = [ 100 $rules = [
61 'name_group' => 'required|min:3', 101 'name_group' => 'required|min:3',
62 ]; 102 ];
63 $messages = [ 103 $messages = [
64 'required' => 'Укажите обязательное поле', 104 'required' => 'Укажите обязательное поле',
65 ]; 105 ];
66 $validator = Validator::make($request->all(), $rules, $messages); 106 $validator = Validator::make($request->all(), $rules, $messages);
67 107
68 if ($validator->fails()) { 108 if ($validator->fails()) {
69 return redirect()->route('admin.edit-group', ['group' => $group->id]) 109 return redirect()->route('admin.edit-group', ['group' => $group->id])
70 ->withErrors($validator); 110 ->withErrors($validator);
71 } else { 111 } else {
72 $group->update($request->all()); 112 $group->update($request->all());
73 $group->ingroup()->sync($request->usergroup); 113 $group->ingroup()->sync($request->usergroup);
74 /*if ($request->usergroup->count()) { 114 /*if ($request->usergroup->count()) {
75 foreach ($request->usergroup as $us) { 115 foreach ($request->usergroup as $us) {
76 Group_works 116 Group_works
77 } 117 }
78 }*/ 118 }*/
79 119
80 return redirect()->route('admin.groups') 120 return redirect()->route('admin.groups')
81 ->with('success', 'Данные были успешно сохранены'); 121 ->with('success', 'Данные были успешно сохранены');
82 } 122 }
83 return redirect()->route('admin.groups'); 123 return redirect()->route('admin.groups');
84 } 124 }
85 125
86 public function destroy(Group_user $group) { 126 public function destroy(Group_user $group) {
87 $group->update(['is_remove' => 1]); 127 $group->update(['is_remove' => 1]);
88 128
89 return redirect()->route('admin.groups'); 129 return redirect()->route('admin.groups');
90 } 130 }
91 } 131 }
app/Http/Controllers/Admin/InfoBloksController.php
File was created 1 <?php
2
3 namespace App\Http\Controllers\Admin;
4
5 use App\Http\Controllers\Controller;
6 use App\Models\infobloks;
7 use Illuminate\Http\Request;
8
9 class InfoBloksController extends Controller
10 {
11 /**
12 * Display a listing of the resource.
13 *
14 * @return \Illuminate\Http\Response
15 */
16 public function index()
17 {
18 $infobloks = infobloks::query()->active()->orderByDesc('sort')->orderBy('name')->paginate(15);
19 return view('admin.infobloks.index', compact('infobloks'));
20 }
21
22 /**
23 * Show the form for creating a new resource.
24 *
25 * @return \Illuminate\Http\Response
26 */
27 public function create()
28 {
29 return view('admin.infobloks.add');
30 }
31
32 /**
33 * Store a newly created resource in storage.
34 *
35 * @param \Illuminate\Http\Request $request
36 * @return \Illuminate\Http\Response
37 */
38 public function store(Request $request)
39 {
40 infobloks::create($request->all());
41 return redirect()->route('admin.infobloks.index');
42 }
43
44 /**
45 * Display the specified resource.
46 *
47 * @param \App\Models\infobloks $infobloks
48 * @return \Illuminate\Http\Response
49 */
50 public function show(infobloks $infobloks)
51 {
52 //
53 }
54
55 /**
56 * Show the form for editing the specified resource.
57 *
58 * @param \App\Models\infobloks $infoblok
59 * @return \Illuminate\Http\Response
60 */
61 public function edit(infobloks $infoblok)
62 {
63 return view('admin.infobloks.edit', compact('infoblok'));
64 }
65
66 /**
67 * Update the specified resource in storage.
68 *
69 * @param \Illuminate\Http\Request $request
70 * @param \App\Models\infobloks $infobloks
71 * @return \Illuminate\Http\Response
72 */
73 public function update(Request $request, infobloks $infoblok)
74 {
75 $infoblok->update($request->all());
76 return redirect()->route('admin.infobloks.index');
77 }
78
79 /**
80 * Remove the specified resource from storage.
81 *
82 * @param \App\Models\infobloks $infobloks
83 * @return \Illuminate\Http\Response
84 */
85 public function destroy(infobloks $infoblok)
86 {
87 $infoblok->update(['is_remove' => 1]);
88 return redirect()->route('admin.infobloks.index');
89 }
90 }
91
app/Http/Controllers/Admin/WorkersController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers\Admin; 3 namespace App\Http\Controllers\Admin;
4 4
5 use App\Http\Controllers\Controller; 5 use App\Http\Controllers\Controller;
6 use App\Models\User; 6 use App\Models\User;
7 use App\Models\Worker; 7 use App\Models\Worker;
8 use Illuminate\Http\Request; 8 use Illuminate\Http\Request;
9 9
10 class WorkersController extends Controller 10 class WorkersController extends Controller
11 { 11 {
12 public function index(Request $request) { 12 public function index(Request $request) {
13 if ($request->ajax()) { 13 if ($request->ajax()) {
14 $user = User::find($request->id); 14 $user = User::find($request->id);
15 $request->offsetUnset('id'); 15 $request->offsetUnset('id');
16 $user->update($request->all()); 16 $user->update($request->all());
17 } 17 }
18 18
19 $users = User::where('is_worker', '1')->paginate(15); 19 $users = User::where('is_worker', '1')->paginate(15);
20 20
21 if ($request->ajax()) { 21 if ($request->ajax()) {
22 return view('admin.worker.index_ajax', compact('users')); 22 return view('admin.worker.index_ajax', compact('users'));
23 } else { 23 } else {
24 return view('admin.worker.index', compact('users')); 24 return view('admin.worker.index', compact('users'));
25 } 25 }
26 } 26 }
27 27
28 public function form_update_worker(Worker $worker) { 28 public function form_update_worker(Worker $worker) {
29 return view('admin.worker.edit'); 29 return view('admin.worker.edit');
30 } 30 }
31 31
32 // кабинет - статистика работников 32 // кабинет - статистика работников
33 public function static_workers() { 33 public function static_workers() {
34 return; 34 return;
35 } 35 }
36 36
37 // кабинет - справочник - блоки информации для резюме работника
38 public function infobloks() {
39 return;
40 }
41 } 37 }
42 38
app/Models/infobloks.php
1 <?php 1 <?php
2 2
3 namespace App\Models; 3 namespace App\Models;
4 4
5 use Illuminate\Database\Eloquent\Factories\HasFactory; 5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Database\Eloquent\Model; 6 use Illuminate\Database\Eloquent\Model;
7 7
8 class infobloks extends Model 8 class infobloks extends Model
9 { 9 {
10 use HasFactory; 10 use HasFactory;
11
12 protected $fillable = [
13 'name',
14 'is_remove',
15 'sort',
16 ];
17
18 public function ScopeActive($query) {
19 return $query->where('is_remove', '=', '0');
20 }
11 } 21 }
12 22
database/migrations/2023_09_08_092903_alter_infobloks_table.php
File was created 1 <?php
2
3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
6
7 return new class extends Migration
8 {
9 /**
10 * Run the migrations.
11 *
12 * @return void
13 */
14 public function up()
15 {
16 Schema::table('infobloks', function (Blueprint $table) {
17 $table->integer('sort')->default(100);
18 });
19 }
20
21 /**
22 * Reverse the migrations.
23 *
24 * @return void
25 */
26 public function down()
27 {
28 Schema::table('infobloks', function (Blueprint $table) {
29 $table->dropColumn('sort');
30 });
31 }
32 };
33
resources/views/admin/editor/index.blade.php
File was created 1 @extends('layout.admin', ['title' => 'Админка - Редактор сайта'])
2
3 @section('content')
4
5 <!-- Таблицы -->
6 <div class="w-full overflow-hidden rounded-lg shadow-xs">
7 <div class="w-full overflow-x-auto">
8 <table class="w-full whitespace-no-wrap">
9 <thead>
10 <tr
11 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
12 >
13 <th class="px-4 py-3">Название</th>
14 <th class="px-4 py-3">Ссылка</th>
15 </tr>
16 </thead>
17 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
18 <tr class="text-gray-700 dark:text-gray-400">
19 <td class="px-4 py-3">
20 <div class="flex items-center text-sm">
21 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
22 <div
23 class="absolute inset-0 rounded-full shadow-inner"
24 aria-hidden="true"
25 ></div>
26 </div>
27 <div>
28 <p class="font-semibold">Шапка-футер сайта</p>
29 <p class="text-xs text-gray-600 dark:text-gray-400">
30 Редактор шапки и подвала сайта
31 </p>
32 </div>
33 </div>
34 </td>
35 <td class="px-4 py-3 text-sm">
36 <a href="{{ route('admin.edit-blocks') }}">Ссылка</a>
37 </td>
38 </tr>
39 <tr class="text-gray-700 dark:text-gray-400">
40 <td class="px-4 py-3">
41 <div class="flex items-center text-sm">
42 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
43 <div
44 class="absolute inset-0 rounded-full shadow-inner"
45 aria-hidden="true"
46 ></div>
47 </div>
48 <div>
49 <p class="font-semibold">Реклама</p>
50 <p class="text-xs text-gray-600 dark:text-gray-400">
51 Рекламные объявления сайта
52 </p>
53 </div>
54 </div>
55 </td>
56 <td class="px-4 py-3 text-sm">
57 <a href="{{ route('admin.reclames') }}">Ссылка</a>
58 </td>
59 </tr>
60 <tr class="text-gray-700 dark:text-gray-400">
61 <td class="px-4 py-3">
62 <div class="flex items-center text-sm">
63 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
64 <div
65 class="absolute inset-0 rounded-full shadow-inner"
66 aria-hidden="true"
67 ></div>
68 </div>
69 <div>
70 <p class="font-semibold">SEO-сайта</p>
71 <p class="text-xs text-gray-600 dark:text-gray-400">
72 Расширенные возможности seo для отдельных страниц сайта
73 </p>
74 </div>
75 </div>
76 </td>
77 <td class="px-4 py-3 text-sm">
78 <a href="{{ route('admin.editor-seo') }}">Ссылка</a>
79 </td>
80 </tr>
81 <tr class="text-gray-700 dark:text-gray-400">
82 <td class="px-4 py-3">
83 <div class="flex items-center text-sm">
84 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
85 <div
86 class="absolute inset-0 rounded-full shadow-inner"
87 aria-hidden="true"
88 ></div>
89 </div>
90 <div>
91 <p class="font-semibold">Редактор страниц</p>
92 <p class="text-xs text-gray-600 dark:text-gray-400">
93 Создание и изменение страниц с произвольным содержанием
94 </p>
95 </div>
96 </div>
97 </td>
98 <td class="px-4 py-3 text-sm">
99 <a href="{{ route('admin.editor-pages') }}">Ссылка</a>
100 </td>
101 </tr>
102 <tr class="text-gray-700 dark:text-gray-400">
103 <td class="px-4 py-3">
104 <div class="flex items-center text-sm">
105 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
106 <div
107 class="absolute inset-0 rounded-full shadow-inner"
108 aria-hidden="true"
109 ></div>
110 </div>
111 <div>
112 <p class="font-semibold">Должности на главной</p>
113 <p class="text-xs text-gray-600 dark:text-gray-400">
114 Вывод некоторых актуальных должностей на главной странице
115 </p>
116 </div>
117 </div>
118 </td>
119 <td class="px-4 py-3 text-sm">
120 <a href="{{ route('admin.job-titles-main') }}">Ссылка</a>
121 </td>
122 </tr>
123 <tr class="text-gray-700 dark:text-gray-400">
124 <td class="px-4 py-3">
125 <div class="flex items-center text-sm">
126 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
127 <div
128 class="absolute inset-0 rounded-full shadow-inner"
129 aria-hidden="true"
130 ></div>
131 </div>
132 <div>
133 <p class="font-semibold">Работодатели на главной</p>
134 <p class="text-xs text-gray-600 dark:text-gray-400">
135 Вывод некоторых актуальных работодателей на главной странице
136 </p>
137 </div>
138 </div>
139 </td>
140 <td class="px-4 py-3 text-sm">
141 <a href="{{ route('admin.employers-main') }}">Ссылка</a>
142 </td>
143 </tr>
144
145 </tbody>
146 </table>
147 </div>
148 </div>
149 @endsection
150
resources/views/admin/groups/add.blade.php
1 @extends('layout.admin', ['title' => 'Админка - Добавление новой группы']) 1 @extends('layout.admin', ['title' => 'Админка - Добавление новой группы'])
2 2
3 @section('script')
4 @include('admin.groups.script')
5 @endsection
6
3 @section('content') 7 @section('content')
4 <h4 class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300"> 8 <h4 class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300">
5 Добавление новой группы 9 Добавление новой группы
6 </h4> 10 </h4>
7 <form method="POST" action="{{ route('admin.add-group-store') }}"> 11 <form method="POST" action="{{ route('admin.add-group-store') }}">
8 @csrf 12 @csrf
9 @include('admin.groups.form') 13 @include('admin.groups.form')
10 </form> 14 </form>
11 @endsection 15 @endsection
12 16
resources/views/admin/groups/ajax.blade.php
File was created 1 @foreach($users as $user)
2 <tr class="text-gray-700 dark:text-gray-400">
3 <td class="px-4 py-3">
4 {{$user->id}}
5 </td>
6 <td class="px-4 py-3">
7 {{$user->name}}
8 </td>
9 <td class="px-4 py-3">
10 <input type="checkbox" id="user{{$user->id}}" name="usergroup[]" value="{{$user->id}}" <?php if ($user->ingroup->contains('id', $group->id)) {?>checked<? }?>/>
11 </td>
12 </tr>
13 @endforeach
14
15
resources/views/admin/groups/ajax_add.blade.php
File was created 1 @foreach($users as $user)
2 <tr class="text-gray-700 dark:text-gray-400">
3 <td class="px-4 py-3">
4 {{$user->id}}
5 </td>
6 <td class="px-4 py-3">
7 {{$user->name}}
8 </td>
9 <td class="px-4 py-3">
10 <input type="checkbox" id="user{{$user->id}}" name="usergroup[]" value="{{$user->id}}"/>
11 </td>
12 </tr>
13 @endforeach
14
15
resources/views/admin/groups/edit.blade.php
1 @extends('layout.admin', ['title' => 'Админка - Редактирование группы']) 1 @extends('layout.admin', ['title' => 'Админка - Редактирование группы'])
2 2
3 @section('script')
4 @include('admin.groups.script')
5 @endsection
6
3 @section('content') 7 @section('content')
4 <h4 class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300"> 8 <h4 class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300">
5 Редактирование группы 9 Редактирование группы
6 </h4> 10 </h4>
7 <form method="POST" action="{{ route('admin.update-group', ['group' => $group->id]) }}"> 11 <form method="POST" action="{{ route('admin.update-group', ['group' => $group->id]) }}">
8 @csrf 12 @csrf
9 @include('admin.groups.form') 13 @include('admin.groups.form')
10 </form> 14 </form>
11 @endsection 15 @endsection
12 16
resources/views/admin/groups/form.blade.php
1 <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> 1 <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800">
2 <label class="block text-sm"> 2 <label class="block text-sm">
3 <span class="text-gray-700 dark:text-gray-400">Имя группы</span> 3 <span class="text-gray-700 dark:text-gray-400">Имя группы</span>
4 <input name="name_group" id="name_group" 4 <input name="name_group" id="name_group"
5 class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" 5 class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input"
6 placeholder="Название группы" value="{{ old('name_group') ?? $group->name_group ?? '' }}" 6 placeholder="Название группы" value="{{ old('name_group') ?? $group->name_group ?? '' }}"
7 /> 7 />
8 @error('name_group') 8 @error('name_group')
9 <span class="text-xs text-red-600 dark:text-red-400"> 9 <span class="text-xs text-red-600 dark:text-red-400">
10 {{ $message }} 10 {{ $message }}
11 </span> 11 </span>
12 @enderror 12 @enderror
13 </label><br> 13 </label><br>
14 <input type="hidden" name="user_id" id="user_id" value="{{ $editor }}"/> 14 <input type="hidden" name="user_id" id="user_id" value="{{ $editor }}"/>
15 15
16 <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> 16 <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4">
17 <div> 17 <div>
18 <button type="submit" class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"> 18 <button type="submit" class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple">
19 Сохранить 19 Сохранить
20 </button> 20 </button>
21 </div> 21 </div>
22 </div> 22 </div>
23 23
24 <label class="block text-sm"> 24 <label class="block text-sm">
25 <span class="text-gray-700 dark:text-gray-400">Пользователи системы</span> 25 <span class="text-gray-700 dark:text-gray-400">Пользователи системы</span>
26 </label> 26 </label>
27 <table class="w-full whitespace-no-wrap"> 27 <div>
28 <table class="w-full whitespace-no-wrap" >
28 <thead> 29 <thead>
29 <tr 30 <tr
30 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" 31 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
31 > 32 >
32 <th class="px-4 py-3">№</th> 33 <th class="px-4 py-3">№</th>
33 <th class="px-4 py-3">Имя пользователя</th> 34 <th class="px-4 py-3">Имя пользователя</th>
34 <th class="px-4 py-3">Добавленные в группу</th> 35 <th class="px-4 py-3">Добавленные в группу</th>
35 </tr> 36 </tr>
36 </thead> 37 </thead>
37 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> 38 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" id="showmore-list">
38 @foreach($users as $user) 39 @foreach($users as $user)
39 <tr class="text-gray-700 dark:text-gray-400"> 40 <tr class="text-gray-700 dark:text-gray-400" >
40 <td class="px-4 py-3"> 41 <td class="px-4 py-3">
41 {{$user->id}} 42 {{$user->id}}
42 </td> 43 </td>
43 <td class="px-4 py-3"> 44 <td class="px-4 py-3">
44 {{$user->name}} 45 {{$user->name}}
45 </td> 46 </td>
46 <td class="px-4 py-3"> 47 <td class="px-4 py-3">
47 <input type="checkbox" id="user{{$user->id}}" name="usergroup[]" value="{{$user->id}}" <?php if ($user->ingroup->contains('id', $group->id)) {?>checked<? }?>/> 48 <input type="checkbox" id="user{{$user->id}}" name="usergroup[]" value="{{$user->id}}" @isset($group) <?php if ($user->ingroup->contains('id', $group->id)) {?>checked<? }?> @endisset/>
48 <pre><? //print_r($user->ingroup->id);?></pre>
49 </td> 49 </td>
50 </tr> 50 </tr>
51 @endforeach 51 @endforeach
52 </tbody> 52 </tbody>
53 </table> 53 </table>
54 54 </div>
55 55 @if (!$hide)
56 <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4">
57 <div>
58 <a id="showmore-triger" data-page="1" data-max="{{ $amt }}" class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple center">
59 Погрузить пользователей
60 </a>
61 </div>
62 </div>
63 @endif
56 </div> 64 </div>
57 65
resources/views/admin/groups/script.blade.php
File was created 1 <script>
2 $(document).ready(function() {
3 console.log('load script...');
4 var block_show = false;
5
6 function scrollMore() {
7 var $target = $('#showmore-triger');
8
9 if (block_show) {
10 return false;
11 }
12
13 console.log('function ScrollMore');
14
15 if (true) {
16 var page = $target.attr('data-page');
17 page++;
18 block_show = true;
19
20 $.ajax({
21 type: "GET",
22 url: "{{ url()->full()}}",
23 data: "page=" + page,
24 dataType: 'html',
25 success: function (data) {
26 $('#showmore-list').append(data);
27 block_show = false;
28 }
29 });
30
31 $target.attr('data-page', page);
32 if (page == $target.attr('data-max')) {
33 $target.remove();
34 }
35 }
36 }
37
38 $(document).on('click', '#showmore-triger', function () {
39 console.log('click paginate...');
40 scrollMore();
41 });
42 });
43 </script>
44
resources/views/admin/index.blade.php
1 @extends('layout.admin', ['title' => 'Админка - Главная страница']) 1 @extends('layout.admin', ['title' => 'Админка - Главная страница'])
2 2
3 @section('content') 3 @section('content')
4 <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> 4 <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4">
5 5
6 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> 6 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
7 <div class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500"> 7 <div class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500">
8 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 8 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
9 <path 9 <path
10 d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"></path> 10 d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"></path>
11 </svg> 11 </svg>
12 </div> 12 </div>
13 <div> 13 <div>
14 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> 14 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">
15 Всего пользователей 15 Всего пользователей
16 </p> 16 </p>
17 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> 17 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200">
18 {{ $all_user }} 18 {{ $all_user }}
19 </p> 19 </p>
20 </div> 20 </div>
21 </div> 21 </div>
22 22
23 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> 23 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
24 <div class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500"> 24 <div class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500">
25 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 25 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
26 <path 26 <path
27 fill-rule="evenodd" 27 fill-rule="evenodd"
28 d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" 28 d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z"
29 clip-rule="evenodd" 29 clip-rule="evenodd"
30 ></path> 30 ></path>
31 </svg> 31 </svg>
32 </div> 32 </div>
33 <div> 33 <div>
34 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> 34 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">
35 Работодателей 35 Работодателей
36 </p> 36 </p>
37 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> 37 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200">
38 {{ $all_employer }} 38 {{ $all_employer }}
39 </p> 39 </p>
40 </div> 40 </div>
41 </div> 41 </div>
42 42
43 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> 43 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
44 <div class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500"> 44 <div class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500">
45 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 45 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
46 <path d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path> 46 <path d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path>
47 </svg> 47 </svg>
48 </div> 48 </div>
49 <div> 49 <div>
50 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> 50 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">
51 Соискателей 51 Соискателей
52 </p> 52 </p>
53 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> 53 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200">
54 {{$all_worker}} 54 {{$all_worker}}
55 </p> 55 </p>
56 </div> 56 </div>
57 </div> 57 </div>
58 58
59 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> 59 <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
60 <div class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500"> 60 <div class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500">
61 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 61 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
62 <path 62 <path
63 fill-rule="evenodd" 63 fill-rule="evenodd"
64 d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" 64 d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z"
65 clip-rule="evenodd" 65 clip-rule="evenodd"
66 ></path> 66 ></path>
67 </svg> 67 </svg>
68 </div> 68 </div>
69 <div> 69 <div>
70 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> 70 <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">
71 Администраторы 71 Администраторы
72 </p> 72 </p>
73 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> 73 <p class="text-lg font-semibold text-gray-700 dark:text-gray-200">
74 {{$all_admin}} 74 {{$all_admin}}
75 </p> 75 </p>
76 </div> 76 </div>
77 </div> 77 </div>
78 </div> 78 </div>
79 79
80 <!-- Таблицы --> 80 <!-- Таблицы -->
81 81
82 <div class="w-full overflow-hidden rounded-lg shadow-xs"> 82 <div class="w-full overflow-hidden rounded-lg shadow-xs">
83 <div class="w-full overflow-x-auto"> 83 <div class="w-full overflow-x-auto">
84 <table class="w-full whitespace-no-wrap"> 84 <table class="w-full whitespace-no-wrap">
85 <thead> 85 <thead>
86 <tr 86 <tr
87 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" 87 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
88 > 88 >
89 <th class="px-4 py-3">Название</th> 89 <th class="px-4 py-3">Название</th>
90 <th class="px-4 py-3">Таблица</th> 90 <th class="px-4 py-3">Таблица</th>
91 <th class="px-4 py-3">Редактирование</th> 91 <th class="px-4 py-3">Редактирование</th>
92 <th class="px-4 py-3">Дата</th> 92 <th class="px-4 py-3">Дата</th>
93 </tr> 93 </tr>
94 </thead> 94 </thead>
95 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> 95 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
96 <tr class="text-gray-700 dark:text-gray-400"> 96 <tr class="text-gray-700 dark:text-gray-400">
97 <td class="px-4 py-3"> 97 <td class="px-4 py-3">
98 <div class="flex items-center text-sm"> 98 <div class="flex items-center text-sm">
99 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 99 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
100 <div 100 <div
101 class="absolute inset-0 rounded-full shadow-inner" 101 class="absolute inset-0 rounded-full shadow-inner"
102 aria-hidden="true" 102 aria-hidden="true"
103 ></div> 103 ></div>
104 </div> 104 </div>
105 <div> 105 <div>
106 <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p> 106 <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p>
107 <p class="text-xs text-gray-600 dark:text-gray-400"> 107 <p class="text-xs text-gray-600 dark:text-gray-400">
108 Все пользователи сайта 108 Все пользователи сайта
109 </p> 109 </p>
110 </div> 110 </div>
111 </div> 111 </div>
112 </td> 112 </td>
113 <td class="px-4 py-3 text-sm"> 113 <td class="px-4 py-3 text-sm">
114 users 114 users
115 </td> 115 </td>
116 <td class="px-4 py-3 text-xs"> 116 <td class="px-4 py-3 text-xs">
117 <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"> 117 <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">
118 Доступно 118 Доступно
119 </span> 119 </span>
120 <!--<span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> 120 <!--<span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600">
121 Недоступно 121 Недоступно
122 </span>--> 122 </span>-->
123 </td> 123 </td>
124 <td class="px-4 py-3 text-sm"> 124 <td class="px-4 py-3 text-sm">
125 май 2023 125 май 2023
126 </td> 126 </td>
127 </tr> 127 </tr>
128 128
129 <tr class="text-gray-700 dark:text-gray-400"> 129 <tr class="text-gray-700 dark:text-gray-400">
130 <td class="px-4 py-3"> 130 <td class="px-4 py-3">
131 <div class="flex items-center text-sm"> 131 <div class="flex items-center text-sm">
132 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 132 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
133 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 133 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
134 </div> 134 </div>
135 <div> 135 <div>
136 <p class="font-semibold"><a href="{{ route('admin.employers') }}">Работодатели</a></p> 136 <p class="font-semibold"><a href="{{ route('admin.employers') }}">Работодатели</a></p>
137 <p class="text-xs text-gray-600 dark:text-gray-400"> 137 <p class="text-xs text-gray-600 dark:text-gray-400">
138 Все работодатели сайта 138 Все работодатели сайта
139 </p> 139 </p>
140 </div> 140 </div>
141 </div> 141 </div>
142 </td> 142 </td>
143 <td class="px-4 py-3 text-sm"> 143 <td class="px-4 py-3 text-sm">
144 employers 144 employers
145 </td> 145 </td>
146 <td class="px-4 py-3 text-xs"> 146 <td class="px-4 py-3 text-xs">
147 <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"> 147 <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">
148 Доступно 148 Доступно
149 </span> 149 </span>
150 </td> 150 </td>
151 <td class="px-4 py-3 text-sm"> 151 <td class="px-4 py-3 text-sm">
152 май 2023 152 май 2023
153 </td> 153 </td>
154 </tr> 154 </tr>
155 155
156 <tr class="text-gray-700 dark:text-gray-400"> 156 <tr class="text-gray-700 dark:text-gray-400">
157 <td class="px-4 py-3"> 157 <td class="px-4 py-3">
158 <div class="flex items-center text-sm"> 158 <div class="flex items-center text-sm">
159 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 159 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
160 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 160 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
161 </div> 161 </div>
162 <div> 162 <div>
163 <p class="font-semibold"><a href="{{ route('admin.workers') }}">Соискатели</a></p> 163 <p class="font-semibold"><a href="{{ route('admin.workers') }}">Соискатели</a></p>
164 <p class="text-xs text-gray-600 dark:text-gray-400"> 164 <p class="text-xs text-gray-600 dark:text-gray-400">
165 Все работники сайта 165 Все работники сайта
166 </p> 166 </p>
167 </div> 167 </div>
168 </div> 168 </div>
169 </td> 169 </td>
170 <td class="px-4 py-3 text-sm"> 170 <td class="px-4 py-3 text-sm">
171 workers 171 workers
172 </td> 172 </td>
173 <td class="px-4 py-3 text-xs"> 173 <td class="px-4 py-3 text-xs">
174 <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"> 174 <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">
175 Доступно 175 Доступно
176 </span> 176 </span>
177 </td> 177 </td>
178 <td class="px-4 py-3 text-sm"> 178 <td class="px-4 py-3 text-sm">
179 май 2023 179 май 2023
180 </td> 180 </td>
181 </tr> 181 </tr>
182 182
183 <tr class="text-gray-700 dark:text-gray-400"> 183 <tr class="text-gray-700 dark:text-gray-400">
184 <td class="px-4 py-3"> 184 <td class="px-4 py-3">
185 <div class="flex items-center text-sm"> 185 <div class="flex items-center text-sm">
186 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 186 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
187 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 187 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
188 </div> 188 </div>
189 <div> 189 <div>
190 <p class="font-semibold"><a href="{{ route('admin.ad-employers') }}">Вакансии</a></p> 190 <p class="font-semibold"><a href="{{ route('admin.ad-employers') }}">Вакансии</a></p>
191 <p class="text-xs text-gray-600 dark:text-gray-400"> 191 <p class="text-xs text-gray-600 dark:text-gray-400">
192 Все вакансии сайта 192 Все вакансии сайта
193 </p> 193 </p>
194 </div> 194 </div>
195 </div> 195 </div>
196 </td> 196 </td>
197 <td class="px-4 py-3 text-sm"> 197 <td class="px-4 py-3 text-sm">
198 ad_employers 198 ad_employers
199 </td> 199 </td>
200 <td class="px-4 py-3 text-xs"> 200 <td class="px-4 py-3 text-xs">
201 <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"> 201 <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">
202 Доступно 202 Доступно
203 </span> 203 </span>
204 </td> 204 </td>
205 <td class="px-4 py-3 text-sm"> 205 <td class="px-4 py-3 text-sm">
206 май 2023 206 май 2023
207 </td> 207 </td>
208 </tr> 208 </tr>
209 209
210 <tr class="text-gray-700 dark:text-gray-400"> 210 <tr class="text-gray-700 dark:text-gray-400">
211 <td class="px-4 py-3"> 211 <td class="px-4 py-3">
212 <div class="flex items-center text-sm"> 212 <div class="flex items-center text-sm">
213 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 213 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
214 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 214 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
215 </div> 215 </div>
216 <div> 216 <div>
217 <p class="font-semibold"><a href="{{ route('admin.categories.index') }}">Категории</a></p> 217 <p class="font-semibold"><a href="{{ route('admin.categories.index') }}">Категории</a></p>
218 <p class="text-xs text-gray-600 dark:text-gray-400"> 218 <p class="text-xs text-gray-600 dark:text-gray-400">
219 Справочник категории (по умолчанию: река, море, река-море) 219 Справочник категории (по умолчанию: река, море, река-море)
220 </p> 220 </p>
221 </div> 221 </div>
222 </div> 222 </div>
223 </td> 223 </td>
224 <td class="px-4 py-3 text-sm"> 224 <td class="px-4 py-3 text-sm">
225 category 225 category
226 </td> 226 </td>
227 <td class="px-4 py-3 text-xs"> 227 <td class="px-4 py-3 text-xs">
228 <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"> 228 <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">
229 Доступно 229 Доступно
230 </span> 230 </span>
231 </td> 231 </td>
232 <td class="px-4 py-3 text-sm"> 232 <td class="px-4 py-3 text-sm">
233 май 2023 233 май 2023
234 </td> 234 </td>
235 </tr> 235 </tr>
236 236
237 <tr class="text-gray-700 dark:text-gray-400"> 237 <tr class="text-gray-700 dark:text-gray-400">
238 <td class="px-4 py-3"> 238 <td class="px-4 py-3">
239 <div class="flex items-center text-sm"> 239 <div class="flex items-center text-sm">
240 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 240 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
241 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 241 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
242 </div> 242 </div>
243 <div> 243 <div>
244 <p class="font-semibold"><a href="{{ route('admin.job-titles.index') }}">Должности</a></p> 244 <p class="font-semibold"><a href="{{ route('admin.job-titles.index') }}">Должности</a></p>
245 <p class="text-xs text-gray-600 dark:text-gray-400"> 245 <p class="text-xs text-gray-600 dark:text-gray-400">
246 Справочник должности (все должности проекта) 246 Справочник должности (все должности проекта)
247 </p> 247 </p>
248 </div> 248 </div>
249 </div> 249 </div>
250 </td> 250 </td>
251 <td class="px-4 py-3 text-sm"> 251 <td class="px-4 py-3 text-sm">
252 job_titles 252 job_titles
253 </td> 253 </td>
254 <td class="px-4 py-3 text-xs"> 254 <td class="px-4 py-3 text-xs">
255 <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"> 255 <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">
256 Доступно 256 Доступно
257 </span> 257 </span>
258 </td> 258 </td>
259 <td class="px-4 py-3 text-sm"> 259 <td class="px-4 py-3 text-sm">
260 май 2023 260 май 2023
261 </td> 261 </td>
262 </tr> 262 </tr>
263 263
264 <tr class="text-gray-700 dark:text-gray-400"> 264 <tr class="text-gray-700 dark:text-gray-400">
265 <td class="px-4 py-3"> 265 <td class="px-4 py-3">
266 <div class="flex items-center text-sm"> 266 <div class="flex items-center text-sm">
267 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 267 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
268 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 268 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
269 </div> 269 </div>
270 <div> 270 <div>
271 <p class="font-semibold"><a href="{{ route('admin.infobloks') }}">Документы-Дипломы</a></p> 271 <p class="font-semibold"><a href="{{ route('admin.infobloks.index') }}">Документы-Дипломы</a></p>
272 <p class="text-xs text-gray-600 dark:text-gray-400"> 272 <p class="text-xs text-gray-600 dark:text-gray-400">
273 Справочник документы-дипломы (все блоки-документы необходимые соискателю) 273 Справочник документы-дипломы (все блоки-документы необходимые соискателю)
274 </p> 274 </p>
275 </div> 275 </div>
276 </div> 276 </div>
277 </td> 277 </td>
278 <td class="px-4 py-3 text-sm"> 278 <td class="px-4 py-3 text-sm">
279 infobloks 279 infobloks
280 </td> 280 </td>
281 <td class="px-4 py-3 text-xs"> 281 <td class="px-4 py-3 text-xs">
282 <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"> 282 <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">
283 Доступно 283 Доступно
284 </span> 284 </span>
285 </td> 285 </td>
286 <td class="px-4 py-3 text-sm"> 286 <td class="px-4 py-3 text-sm">
287 сентябрь 2023 287 сентябрь 2023
288 </td> 288 </td>
289 </tr> 289 </tr>
290 290
291 <tr class="text-gray-700 dark:text-gray-400"> 291 <tr class="text-gray-700 dark:text-gray-400">
292 <td class="px-4 py-3"> 292 <td class="px-4 py-3">
293 <div class="flex items-center text-sm"> 293 <div class="flex items-center text-sm">
294 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 294 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
295 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 295 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
296 </div> 296 </div>
297 <div> 297 <div>
298 <p class="font-semibold"><a href="{{ route('admin.messages') }}">Сообщения</a></p> 298 <p class="font-semibold"><a href="{{ route('admin.messages') }}">Сообщения</a></p>
299 <p class="text-xs text-gray-600 dark:text-gray-400"> 299 <p class="text-xs text-gray-600 dark:text-gray-400">
300 Все сообщения сайта 300 Все сообщения сайта
301 </p> 301 </p>
302 </div> 302 </div>
303 </div> 303 </div>
304 </td> 304 </td>
305 <td class="px-4 py-3 text-sm"> 305 <td class="px-4 py-3 text-sm">
306 messages 306 messages
307 </td> 307 </td>
308 <td class="px-4 py-3 text-xs"> 308 <td class="px-4 py-3 text-xs">
309 <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> 309 <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600">
310 Недоступно 310 Недоступно
311 </span> 311 </span>
312 </td> 312 </td>
313 <td class="px-4 py-3 text-sm"> 313 <td class="px-4 py-3 text-sm">
314 май 2023 314 май 2023
315 </td> 315 </td>
316 </tr> 316 </tr>
317 317
318 <tr class="text-gray-700 dark:text-gray-400"> 318 <tr class="text-gray-700 dark:text-gray-400">
319 <td class="px-4 py-3"> 319 <td class="px-4 py-3">
320 <div class="flex items-center text-sm"> 320 <div class="flex items-center text-sm">
321 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 321 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
322 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 322 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
323 </div> 323 </div>
324 <div> 324 <div>
325 <p class="font-semibold"><a href="{{ route('admin.groups') }}">Группы пользователей</a></p> 325 <p class="font-semibold"><a href="{{ route('admin.groups') }}">Группы пользователей</a></p>
326 <p class="text-xs text-gray-600 dark:text-gray-400"> 326 <p class="text-xs text-gray-600 dark:text-gray-400">
327 Группировка людей в именованные группы 327 Группировка людей в именованные группы
328 </p> 328 </p>
329 </div> 329 </div>
330 </div> 330 </div>
331 </td> 331 </td>
332 <td class="px-4 py-3 text-sm"> 332 <td class="px-4 py-3 text-sm">
333 group_users 333 group_users
334 </td> 334 </td>
335 <td class="px-4 py-3 text-xs"> 335 <td class="px-4 py-3 text-xs">
336 <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"> 336 <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">
337 Доступно 337 Доступно
338 </span> 338 </span>
339 </td> 339 </td>
340 <td class="px-4 py-3 text-sm"> 340 <td class="px-4 py-3 text-sm">
341 май 2023 341 май 2023
342 </td> 342 </td>
343 </tr> 343 </tr>
344 344
345 <tr class="text-gray-700 dark:text-gray-400"> 345 <tr class="text-gray-700 dark:text-gray-400">
346 <td class="px-4 py-3"> 346 <td class="px-4 py-3">
347 <div class="flex items-center text-sm"> 347 <div class="flex items-center text-sm">
348 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 348 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
349 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 349 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
350 </div> 350 </div>
351 <div> 351 <div>
352 <p class="font-semibold"><a href="{{ route('admin.roles') }}">Роли пользователей</a></p> 352 <p class="font-semibold"><a href="{{ route('admin.roles') }}">Роли пользователей</a></p>
353 <p class="text-xs text-gray-600 dark:text-gray-400"> 353 <p class="text-xs text-gray-600 dark:text-gray-400">
354 Роли людей (запреты и доступы) в системе 354 Роли людей (запреты и доступы) в системе
355 </p> 355 </p>
356 </div> 356 </div>
357 </div> 357 </div>
358 </td> 358 </td>
359 <td class="px-4 py-3 text-sm"> 359 <td class="px-4 py-3 text-sm">
360 users 360 users
361 </td> 361 </td>
362 <td class="px-4 py-3 text-xs"> 362 <td class="px-4 py-3 text-xs">
363 <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"> 363 <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">
364 Доступно 364 Доступно
365 </span> 365 </span>
366 </td> 366 </td>
367 <td class="px-4 py-3 text-sm"> 367 <td class="px-4 py-3 text-sm">
368 сентябрь 2023 368 сентябрь 2023
369 </td> 369 </td>
370 </tr> 370 </tr>
371 371
372 <tr class="text-gray-700 dark:text-gray-400"> 372 <tr class="text-gray-700 dark:text-gray-400">
373 <td class="px-4 py-3"> 373 <td class="px-4 py-3">
374 <div class="flex items-center text-sm"> 374 <div class="flex items-center text-sm">
375 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 375 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
376 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 376 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
377 </div> 377 </div>
378 <div> 378 <div>
379 <p class="font-semibold"><a href="{{ route('admin.statics') }}">Статистика</a></p> 379 <p class="font-semibold"><a href="{{ route('admin.statics') }}">Статистика</a></p>
380 <p class="text-xs text-gray-600 dark:text-gray-400"> 380 <p class="text-xs text-gray-600 dark:text-gray-400">
381 Статистика соискателей и работодателей 381 Статистика соискателей и работодателей
382 </p> 382 </p>
383 </div> 383 </div>
384 </div> 384 </div>
385 </td> 385 </td>
386 <td class="px-4 py-3 text-sm"> 386 <td class="px-4 py-3 text-sm">
387 static_workers, static_ads 387 static_workers, static_ads
388 </td> 388 </td>
389 <td class="px-4 py-3 text-xs"> 389 <td class="px-4 py-3 text-xs">
390 <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> 390 <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600">
391 Недоступно 391 Недоступно
392 </span> 392 </span>
393 </td> 393 </td>
394 <td class="px-4 py-3 text-sm"> 394 <td class="px-4 py-3 text-sm">
395 сентябрь 2023 395 сентябрь 2023
396 </td> 396 </td>
397 </tr> 397 </tr>
398 398
399 <tr class="text-gray-700 dark:text-gray-400"> 399 <tr class="text-gray-700 dark:text-gray-400">
400 <td class="px-4 py-3"> 400 <td class="px-4 py-3">
401 <div class="flex items-center text-sm"> 401 <div class="flex items-center text-sm">
402 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 402 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
403 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 403 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
404 </div> 404 </div>
405 <div> 405 <div>
406 <p class="font-semibold"><a href="{{ route('admin.editor-site') }}">Редактор сайта</a></p> 406 <p class="font-semibold"><a href="{{ route('admin.editor-site') }}">Редактор сайта</a></p>
407 <p class="text-xs text-gray-600 dark:text-gray-400"> 407 <p class="text-xs text-gray-600 dark:text-gray-400">
408 Все редакторы системы 408 Все редакторы системы
409 </p> 409 </p>
410 </div> 410 </div>
411 </div> 411 </div>
412 </td> 412 </td>
413 <td class="px-4 py-3 text-sm"> 413 <td class="px-4 py-3 text-sm">
414 header_footer, job_titles_mains, employers_mains,<br> pages, seo, reclames, companies 414 header_footer, job_titles_mains, employers_mains,<br> pages, seo, reclames, companies
415 </td> 415 </td>
416 <td class="px-4 py-3 text-xs"> 416 <td class="px-4 py-3 text-xs">
417 <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"> 417 <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">
418 Доступно 418 Доступно
419 </span> 419 </span>
420 </td> 420 </td>
421 <td class="px-4 py-3 text-sm"> 421 <td class="px-4 py-3 text-sm">
422 сентябрь 2023 422 сентябрь 2023
423 </td> 423 </td>
424 </tr> 424 </tr>
425 <tr class="text-gray-700 dark:text-gray-400"> 425 <tr class="text-gray-700 dark:text-gray-400">
426 <td class="px-4 py-3"> 426 <td class="px-4 py-3">
427 <div class="flex items-center text-sm"> 427 <div class="flex items-center text-sm">
428 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> 428 <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
429 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> 429 <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div>
430 </div> 430 </div>
431 <div> 431 <div>
432 <p class="font-semibold"><a href="{{ route('admin.answers') }}">Модерация</a></p> 432 <p class="font-semibold"><a href="{{ route('admin.answers') }}">Модерация</a></p>
433 <p class="text-xs text-gray-600 dark:text-gray-400"> 433 <p class="text-xs text-gray-600 dark:text-gray-400">
434 Модерация отзывов о работодателе 434 Модерация отзывов о работодателе
435 </p> 435 </p>
436 </div> 436 </div>
437 </div> 437 </div>
438 </td> 438 </td>
439 <td class="px-4 py-3 text-sm"> 439 <td class="px-4 py-3 text-sm">
440 answers 440 answers
441 </td> 441 </td>
442 <td class="px-4 py-3 text-xs"> 442 <td class="px-4 py-3 text-xs">
443 <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"> 443 <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">
444 Доступно 444 Доступно
445 </span> 445 </span>
446 </td> 446 </td>
447 <td class="px-4 py-3 text-sm"> 447 <td class="px-4 py-3 text-sm">
448 сентябрь 2023 448 сентябрь 2023
449 </td> 449 </td>
450 </tr> 450 </tr>
451 451
452 <!--<tr class="text-gray-700 dark:text-gray-400"> 452 <!--<tr class="text-gray-700 dark:text-gray-400">
453 <td class="px-4 py-3"> 453 <td class="px-4 py-3">
454 <div class="flex items-center text-sm"> 454 <div class="flex items-center text-sm">
455 455
456 <div 456 <div
457 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 457 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
458 > 458 >
459 <img 459 <img
460 class="object-cover w-full h-full rounded-full" 460 class="object-cover w-full h-full rounded-full"
461 src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 461 src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
462 alt="" 462 alt=""
463 loading="lazy" 463 loading="lazy"
464 /> 464 />
465 <div 465 <div
466 class="absolute inset-0 rounded-full shadow-inner" 466 class="absolute inset-0 rounded-full shadow-inner"
467 aria-hidden="true" 467 aria-hidden="true"
468 ></div> 468 ></div>
469 </div> 469 </div>
470 <div> 470 <div>
471 <p class="font-semibold">Sarah Curry</p> 471 <p class="font-semibold">Sarah Curry</p>
472 <p class="text-xs text-gray-600 dark:text-gray-400"> 472 <p class="text-xs text-gray-600 dark:text-gray-400">
473 Designer 473 Designer
474 </p> 474 </p>
475 </div> 475 </div>
476 </div> 476 </div>
477 </td> 477 </td>
478 <td class="px-4 py-3 text-sm"> 478 <td class="px-4 py-3 text-sm">
479 $ 86.00 479 $ 86.00
480 </td> 480 </td>
481 <td class="px-4 py-3 text-xs"> 481 <td class="px-4 py-3 text-xs">
482 <span 482 <span
483 class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" 483 class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700"
484 > 484 >
485 Denied 485 Denied
486 </span> 486 </span>
487 </td> 487 </td>
488 <td class="px-4 py-3 text-sm"> 488 <td class="px-4 py-3 text-sm">
489 6/10/2020 489 6/10/2020
490 </td> 490 </td>
491 </tr> 491 </tr>
492 492
493 <tr class="text-gray-700 dark:text-gray-400"> 493 <tr class="text-gray-700 dark:text-gray-400">
494 <td class="px-4 py-3"> 494 <td class="px-4 py-3">
495 <div class="flex items-center text-sm"> 495 <div class="flex items-center text-sm">
496 496
497 <div 497 <div
498 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 498 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
499 > 499 >
500 <img 500 <img
501 class="object-cover w-full h-full rounded-full" 501 class="object-cover w-full h-full rounded-full"
502 src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 502 src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
503 alt="" 503 alt=""
504 loading="lazy" 504 loading="lazy"
505 /> 505 />
506 <div 506 <div
507 class="absolute inset-0 rounded-full shadow-inner" 507 class="absolute inset-0 rounded-full shadow-inner"
508 aria-hidden="true" 508 aria-hidden="true"
509 ></div> 509 ></div>
510 </div> 510 </div>
511 <div> 511 <div>
512 <p class="font-semibold">Rulia Joberts</p> 512 <p class="font-semibold">Rulia Joberts</p>
513 <p class="text-xs text-gray-600 dark:text-gray-400"> 513 <p class="text-xs text-gray-600 dark:text-gray-400">
514 Actress 514 Actress
515 </p> 515 </p>
516 </div> 516 </div>
517 </div> 517 </div>
518 </td> 518 </td>
519 <td class="px-4 py-3 text-sm"> 519 <td class="px-4 py-3 text-sm">
520 $ 1276.45 520 $ 1276.45
521 </td> 521 </td>
522 <td class="px-4 py-3 text-xs"> 522 <td class="px-4 py-3 text-xs">
523 <span 523 <span
524 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" 524 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"
525 > 525 >
526 Approved 526 Approved
527 </span> 527 </span>
528 </td> 528 </td>
529 <td class="px-4 py-3 text-sm"> 529 <td class="px-4 py-3 text-sm">
530 6/10/2020 530 6/10/2020
531 </td> 531 </td>
532 </tr> 532 </tr>
533 533
534 <tr class="text-gray-700 dark:text-gray-400"> 534 <tr class="text-gray-700 dark:text-gray-400">
535 <td class="px-4 py-3"> 535 <td class="px-4 py-3">
536 <div class="flex items-center text-sm"> 536 <div class="flex items-center text-sm">
537 537
538 <div 538 <div
539 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 539 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
540 > 540 >
541 <img 541 <img
542 class="object-cover w-full h-full rounded-full" 542 class="object-cover w-full h-full rounded-full"
543 src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 543 src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
544 alt="" 544 alt=""
545 loading="lazy" 545 loading="lazy"
546 /> 546 />
547 <div 547 <div
548 class="absolute inset-0 rounded-full shadow-inner" 548 class="absolute inset-0 rounded-full shadow-inner"
549 aria-hidden="true" 549 aria-hidden="true"
550 ></div> 550 ></div>
551 </div> 551 </div>
552 <div> 552 <div>
553 <p class="font-semibold">Wenzel Dashington</p> 553 <p class="font-semibold">Wenzel Dashington</p>
554 <p class="text-xs text-gray-600 dark:text-gray-400"> 554 <p class="text-xs text-gray-600 dark:text-gray-400">
555 Actor 555 Actor
556 </p> 556 </p>
557 </div> 557 </div>
558 </div> 558 </div>
559 </td> 559 </td>
560 <td class="px-4 py-3 text-sm"> 560 <td class="px-4 py-3 text-sm">
561 $ 863.45 561 $ 863.45
562 </td> 562 </td>
563 <td class="px-4 py-3 text-xs"> 563 <td class="px-4 py-3 text-xs">
564 <span 564 <span
565 class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" 565 class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700"
566 > 566 >
567 Expired 567 Expired
568 </span> 568 </span>
569 </td> 569 </td>
570 <td class="px-4 py-3 text-sm"> 570 <td class="px-4 py-3 text-sm">
571 6/10/2020 571 6/10/2020
572 </td> 572 </td>
573 </tr> 573 </tr>
574 574
575 <tr class="text-gray-700 dark:text-gray-400"> 575 <tr class="text-gray-700 dark:text-gray-400">
576 <td class="px-4 py-3"> 576 <td class="px-4 py-3">
577 <div class="flex items-center text-sm"> 577 <div class="flex items-center text-sm">
578 578
579 <div 579 <div
580 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 580 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
581 > 581 >
582 <img 582 <img
583 class="object-cover w-full h-full rounded-full" 583 class="object-cover w-full h-full rounded-full"
584 src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" 584 src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5"
585 alt="" 585 alt=""
586 loading="lazy" 586 loading="lazy"
587 /> 587 />
588 <div 588 <div
589 class="absolute inset-0 rounded-full shadow-inner" 589 class="absolute inset-0 rounded-full shadow-inner"
590 aria-hidden="true" 590 aria-hidden="true"
591 ></div> 591 ></div>
592 </div> 592 </div>
593 <div> 593 <div>
594 <p class="font-semibold">Dave Li</p> 594 <p class="font-semibold">Dave Li</p>
595 <p class="text-xs text-gray-600 dark:text-gray-400"> 595 <p class="text-xs text-gray-600 dark:text-gray-400">
596 Influencer 596 Influencer
597 </p> 597 </p>
598 </div> 598 </div>
599 </div> 599 </div>
600 </td> 600 </td>
601 <td class="px-4 py-3 text-sm"> 601 <td class="px-4 py-3 text-sm">
602 $ 863.45 602 $ 863.45
603 </td> 603 </td>
604 <td class="px-4 py-3 text-xs"> 604 <td class="px-4 py-3 text-xs">
605 <span 605 <span
606 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" 606 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"
607 > 607 >
608 Approved 608 Approved
609 </span> 609 </span>
610 </td> 610 </td>
611 <td class="px-4 py-3 text-sm"> 611 <td class="px-4 py-3 text-sm">
612 6/10/2020 612 6/10/2020
613 </td> 613 </td>
614 </tr> 614 </tr>
615 615
616 <tr class="text-gray-700 dark:text-gray-400"> 616 <tr class="text-gray-700 dark:text-gray-400">
617 <td class="px-4 py-3"> 617 <td class="px-4 py-3">
618 <div class="flex items-center text-sm"> 618 <div class="flex items-center text-sm">
619 619
620 <div 620 <div
621 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 621 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
622 > 622 >
623 <img 623 <img
624 class="object-cover w-full h-full rounded-full" 624 class="object-cover w-full h-full rounded-full"
625 src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 625 src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
626 alt="" 626 alt=""
627 loading="lazy" 627 loading="lazy"
628 /> 628 />
629 <div 629 <div
630 class="absolute inset-0 rounded-full shadow-inner" 630 class="absolute inset-0 rounded-full shadow-inner"
631 aria-hidden="true" 631 aria-hidden="true"
632 ></div> 632 ></div>
633 </div> 633 </div>
634 <div> 634 <div>
635 <p class="font-semibold">Maria Ramovic</p> 635 <p class="font-semibold">Maria Ramovic</p>
636 <p class="text-xs text-gray-600 dark:text-gray-400"> 636 <p class="text-xs text-gray-600 dark:text-gray-400">
637 Runner 637 Runner
638 </p> 638 </p>
639 </div> 639 </div>
640 </div> 640 </div>
641 </td> 641 </td>
642 <td class="px-4 py-3 text-sm"> 642 <td class="px-4 py-3 text-sm">
643 $ 863.45 643 $ 863.45
644 </td> 644 </td>
645 <td class="px-4 py-3 text-xs"> 645 <td class="px-4 py-3 text-xs">
646 <span 646 <span
647 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" 647 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"
648 > 648 >
649 Approved 649 Approved
650 </span> 650 </span>
651 </td> 651 </td>
652 <td class="px-4 py-3 text-sm"> 652 <td class="px-4 py-3 text-sm">
653 6/10/2020 653 6/10/2020
654 </td> 654 </td>
655 </tr> 655 </tr>
656 656
657 <tr class="text-gray-700 dark:text-gray-400"> 657 <tr class="text-gray-700 dark:text-gray-400">
658 <td class="px-4 py-3"> 658 <td class="px-4 py-3">
659 <div class="flex items-center text-sm"> 659 <div class="flex items-center text-sm">
660 660
661 <div 661 <div
662 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 662 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
663 > 663 >
664 <img 664 <img
665 class="object-cover w-full h-full rounded-full" 665 class="object-cover w-full h-full rounded-full"
666 src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 666 src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
667 alt="" 667 alt=""
668 loading="lazy" 668 loading="lazy"
669 /> 669 />
670 <div 670 <div
671 class="absolute inset-0 rounded-full shadow-inner" 671 class="absolute inset-0 rounded-full shadow-inner"
672 aria-hidden="true" 672 aria-hidden="true"
673 ></div> 673 ></div>
674 </div> 674 </div>
675 <div> 675 <div>
676 <p class="font-semibold">Hitney Wouston</p> 676 <p class="font-semibold">Hitney Wouston</p>
677 <p class="text-xs text-gray-600 dark:text-gray-400"> 677 <p class="text-xs text-gray-600 dark:text-gray-400">
678 Singer 678 Singer
679 </p> 679 </p>
680 </div> 680 </div>
681 </div> 681 </div>
682 </td> 682 </td>
683 <td class="px-4 py-3 text-sm"> 683 <td class="px-4 py-3 text-sm">
684 $ 863.45 684 $ 863.45
685 </td> 685 </td>
686 <td class="px-4 py-3 text-xs"> 686 <td class="px-4 py-3 text-xs">
687 <span 687 <span
688 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" 688 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"
689 > 689 >
690 Approved 690 Approved
691 </span> 691 </span>
692 </td> 692 </td>
693 <td class="px-4 py-3 text-sm"> 693 <td class="px-4 py-3 text-sm">
694 6/10/2020 694 6/10/2020
695 </td> 695 </td>
696 </tr> 696 </tr>
697 697
698 <tr class="text-gray-700 dark:text-gray-400"> 698 <tr class="text-gray-700 dark:text-gray-400">
699 <td class="px-4 py-3"> 699 <td class="px-4 py-3">
700 <div class="flex items-center text-sm"> 700 <div class="flex items-center text-sm">
701 701
702 <div 702 <div
703 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 703 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
704 > 704 >
705 <img 705 <img
706 class="object-cover w-full h-full rounded-full" 706 class="object-cover w-full h-full rounded-full"
707 src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 707 src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
708 alt="" 708 alt=""
709 loading="lazy" 709 loading="lazy"
710 /> 710 />
711 <div 711 <div
712 class="absolute inset-0 rounded-full shadow-inner" 712 class="absolute inset-0 rounded-full shadow-inner"
713 aria-hidden="true" 713 aria-hidden="true"
714 ></div> 714 ></div>
715 </div> 715 </div>
716 <div> 716 <div>
717 <p class="font-semibold">Hans Burger</p> 717 <p class="font-semibold">Hans Burger</p>
718 <p class="text-xs text-gray-600 dark:text-gray-400"> 718 <p class="text-xs text-gray-600 dark:text-gray-400">
719 10x Developer 719 10x Developer
720 </p> 720 </p>
721 </div> 721 </div>
722 </div> 722 </div>
723 </td> 723 </td>
724 <td class="px-4 py-3 text-sm"> 724 <td class="px-4 py-3 text-sm">
725 $ 863.45 725 $ 863.45
726 </td> 726 </td>
727 <td class="px-4 py-3 text-xs"> 727 <td class="px-4 py-3 text-xs">
728 <span 728 <span
729 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" 729 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"
730 > 730 >
731 Approved 731 Approved
732 </span> 732 </span>
733 </td> 733 </td>
734 <td class="px-4 py-3 text-sm"> 734 <td class="px-4 py-3 text-sm">
735 6/10/2020 735 6/10/2020
736 </td> 736 </td>
737 </tr>--> 737 </tr>-->
738 </tbody> 738 </tbody>
739 </table> 739 </table>
740 </div> 740 </div>
741 </div> 741 </div>
742 742
743 743
744 <!-- Charts --> 744 <!-- Charts -->
745 745
746 <!--<h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> 746 <!--<h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200">
747 Графики 747 Графики
748 </h2> 748 </h2>
749 <div class="grid gap-6 mb-8 md:grid-cols-2"> 749 <div class="grid gap-6 mb-8 md:grid-cols-2">
750 <div 750 <div
751 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 751 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
752 > 752 >
753 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> 753 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300">
754 Revenue 754 Revenue
755 </h4> 755 </h4>
756 <canvas id="pie"></canvas> 756 <canvas id="pie"></canvas>
757 <div 757 <div
758 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" 758 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400"
759 > 759 >
760 760
761 <div class="flex items-center"> 761 <div class="flex items-center">
762 <span 762 <span
763 class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" 763 class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full"
764 ></span> 764 ></span>
765 <span>Shirts</span> 765 <span>Shirts</span>
766 </div> 766 </div>
767 <div class="flex items-center"> 767 <div class="flex items-center">
768 <span 768 <span
769 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" 769 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full"
770 ></span> 770 ></span>
771 <span>Shoes</span> 771 <span>Shoes</span>
772 </div> 772 </div>
773 <div class="flex items-center"> 773 <div class="flex items-center">
774 <span 774 <span
775 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" 775 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full"
776 ></span> 776 ></span>
777 <span>Bags</span> 777 <span>Bags</span>
778 </div> 778 </div>
779 </div> 779 </div>
780 </div> 780 </div>
781 <div 781 <div
782 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 782 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
783 > 783 >
784 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> 784 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300">
785 Посещаемость сайта 785 Посещаемость сайта
786 </h4> 786 </h4>
787 <canvas id="line"></canvas> 787 <canvas id="line"></canvas>
788 <div 788 <div
789 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" 789 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400"
790 > 790 >
791 791
792 <div class="flex items-center"> 792 <div class="flex items-center">
793 <span 793 <span
794 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" 794 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full"
795 ></span> 795 ></span>
796 <span>Organic</span> 796 <span>Organic</span>
797 </div> 797 </div>
798 <div class="flex items-center"> 798 <div class="flex items-center">
799 <span 799 <span
800 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" 800 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full"
801 ></span> 801 ></span>
802 <span>Paid</span> 802 <span>Paid</span>
803 </div> 803 </div>
804 </div> 804 </div>
805 </div> 805 </div>
806 </div>--> 806 </div>-->
807 807
808 @endsection 808 @endsection
809 809
resources/views/admin/infobloks/add.blade.php
File was created 1 @extends('layout.admin', ['title' => 'Админка - Добавление документа-диплома'])
2
3 @section('content')
4 <h4 class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300">
5 Добавление документа-диплома
6 </h4>
7 <form method="POST" action="{{ route('admin.infobloks.store') }}">
8 @csrf
9 @include('admin.infobloks.form')
10 </form>
11 @endsection
12
resources/views/admin/infobloks/edit.blade.php
File was created 1 @extends('layout.admin', ['title' => 'Админка - Редактирование документа-диплома'])
2
3 @section('content')
4 <h4 class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300">
5 Редактирование документа-диплома
6 </h4>
7 <form method="POST" action="{{ route('admin.infobloks.update', ['infoblok' => $infoblok->id]) }}">
8 @csrf
9 @isset($infoblok)
10 @method('PUT')
11 @endisset
12
13 @include('admin.infobloks.form')
14 </form>
15 @endsection
16
resources/views/admin/infobloks/form.blade.php
File was created 1 <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800">
2 <label class="block text-sm">
3 <span class="text-gray-700 dark:text-gray-400">Название документа-диплома</span>
4 <input name="name" id="name"
5 class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input"
6 placeholder="Название документа-диплома" value="{{ old('name') ?? $infoblok->name ?? '' }}"
7 />
8 @error('name')
9 <span class="text-xs text-red-600 dark:text-red-400">
10 {{ $message }}
11 </span>
12 @enderror
13 </label><br>
14
15 <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4">
16 <div>
17 <button type="submit" class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple">
18 Сохранить
19 </button>
20 </div>
21 </div>
22 </div>
23
resources/views/admin/infobloks/index.blade.php
File was created 1 @extends('layout.admin', ['title' => 'Админка - Справочник Дипломы-Документы'])
2
3 @section('script')
4 @endsection
5
6 @section('search')
7 <!--<div class="absolute inset-y-0 flex items-center pl-2">
8 <svg
9 class="w-4 h-4"
10 aria-hidden="true"
11 fill="currentColor"
12 viewBox="0 0 20 20"
13 >
14 <path
15 fill-rule="evenodd"
16 d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
17 clip-rule="evenodd"
18 ></path>
19 </svg>
20 </div>
21 <form action="" method="POST">
22 <div style="float:left;"><input
23 class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input"
24 style="width: 400px"
25 type="text"
26 placeholder="Искать..."
27 aria-label="Search"
28 /></div>
29 <div style="float: left">
30 <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button>
31 </div>
32 </form>-->
33 @endsection
34
35 @section('content')
36 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block">
37 <div class="w-full overflow-x-auto">
38 <a class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" href="{{ route('admin.infobloks.create') }}">Создать стандарт документа</a><br><br>
39 <table class="w-full whitespace-no-wrap">
40 <thead>
41 <tr
42 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
43 >
44 <th class="px-4 py-3">№</th>
45 <th class="px-4 py-3">Название документа</th>
46 <th class="px-4 py-3">Сортировка</th>
47 <th class="px-4 py-3">Дата создания</th>
48 <th class="px-4 py-3">Изменить</th>
49 </tr>
50 </thead>
51 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
52 @foreach($infobloks as $blok)
53 <tr class="text-gray-700 dark:text-gray-400">
54 <td class="px-4 py-3">
55 {{$blok->id}}
56 </td>
57 <td class="px-4 py-3">
58 {{$blok->name}}
59 </td>
60 <td class="px-4 py-3">
61 {{$blok->sort}}
62 </td>
63 <td class="px-4 py-3 text-sm">
64 {{$blok->created_at }}
65 </td>
66 <td class="px-4 py-3 text-sm_">
67 <form action="{{ route('admin.infobloks.destroy', ['infoblok' => $blok->id]) }}" method="POST">
68 <a href="{{ route('admin.infobloks.edit', ['infoblok' => $blok->id]) }}">Изменить</a> |
69 @csrf
70 @method('DELETE')
71 <input class="btn btn-danger" type="submit" value="Удалить"/>
72 </form>
73 </td>
74 </tr>
75 @endforeach
76 </tbody>
77 </table>
78 </div>
79
80 <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800">
81 <?=$infobloks->appends($_GET)->links('admin.pagginate'); ?>
82 </div>
83 </div>
84 @endsection
85
resources/views/admin/job_titles/index.blade.php
1 @extends('layout.admin', ['title' => 'Админка - Справочник Должности']) 1 @extends('layout.admin', ['title' => 'Админка - Справочник Должности'])
2 2
3 @section('script') 3 @section('script')
4 @endsection 4 @endsection
5 5
6 @section('search') 6 @section('search')
7 <!--<div class="absolute inset-y-0 flex items-center pl-2"> 7 <!--<div class="absolute inset-y-0 flex items-center pl-2">
8 <svg 8 <svg
9 class="w-4 h-4" 9 class="w-4 h-4"
10 aria-hidden="true" 10 aria-hidden="true"
11 fill="currentColor" 11 fill="currentColor"
12 viewBox="0 0 20 20" 12 viewBox="0 0 20 20"
13 > 13 >
14 <path 14 <path
15 fill-rule="evenodd" 15 fill-rule="evenodd"
16 d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" 16 d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
17 clip-rule="evenodd" 17 clip-rule="evenodd"
18 ></path> 18 ></path>
19 </svg> 19 </svg>
20 </div> 20 </div>
21 <form action="" method="POST"> 21 <form action="" method="POST">
22 <div style="float:left;"><input 22 <div style="float:left;"><input
23 class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" 23 class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input"
24 style="width: 400px" 24 style="width: 400px"
25 type="text" 25 type="text"
26 placeholder="Искать..." 26 placeholder="Искать..."
27 aria-label="Search" 27 aria-label="Search"
28 /></div> 28 /></div>
29 <div style="float: left"> 29 <div style="float: left">
30 <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> 30 <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button>
31 </div> 31 </div>
32 </form>--> 32 </form>-->
33 @endsection 33 @endsection
34 34
35 @section('content') 35 @section('content')
36 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> 36 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block">
37 <div class="w-full overflow-x-auto"> 37 <div class="w-full overflow-x-auto">
38 <a class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" href="{{ route('admin.job-titles.create') }}">Создать должность</a><br><br> 38 <a class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" href="{{ route('admin.job-titles.create') }}">Создать должность</a><br><br>
39 <table class="w-full whitespace-no-wrap"> 39 <table class="w-full whitespace-no-wrap">
40 <thead> 40 <thead>
41 <tr 41 <tr
42 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" 42 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
43 > 43 >
44 <th class="px-4 py-3">№</th> 44 <th class="px-4 py-3">№</th>
45 <th class="px-4 py-3">Родитель</th> 45 <th class="px-4 py-3">Родитель</th>
46 <th class="px-4 py-3">Должность</th> 46 <th class="px-4 py-3">Должность</th>
47 <th class="px-4 py-3">Сортировка</th>
47 <th class="px-4 py-3">Дата создания</th> 48 <th class="px-4 py-3">Дата создания</th>
48 <th class="px-4 py-3">Изменить</th> 49 <th class="px-4 py-3">Изменить</th>
49 </tr> 50 </tr>
50 </thead> 51 </thead>
51 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> 52 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
52 @foreach($Jobs as $job) 53 @foreach($Jobs as $job)
53 <tr class="text-gray-700 dark:text-gray-400"> 54 <tr class="text-gray-700 dark:text-gray-400">
54 <td class="px-4 py-3"> 55 <td class="px-4 py-3">
55 {{$job->id}} 56 {{$job->id}}
56 </td> 57 </td>
57 <td class="px-4 py-3"> 58 <td class="px-4 py-3">
58 @if (empty($job->parent->id)) 59 @if (empty($job->parent->id))
59 Не задан 60 Не задан
60 @else 61 @else
61 {{$job->parent->name}} ({{$job->parent->id}}) 62 {{$job->parent->name}} ({{$job->parent->id}})
62 @endif 63 @endif
63 </td> 64 </td>
64 <td class="px-4 py-3"> 65 <td class="px-4 py-3">
65 {{$job->name}} 66 {{$job->name}}
66 </td> 67 </td>
68 <td class="px-4 py-3">
69 {{$job->sort}}
70 </td>
67 <td class="px-4 py-3 text-sm"> 71 <td class="px-4 py-3 text-sm">
68 {{ $job->created_at }} 72 {{ $job->created_at }}
69 </td> 73 </td>
70 <td class="px-4 py-3 text-sm_"> 74 <td class="px-4 py-3 text-sm_">
71 <form action="{{ route('admin.job-titles.destroy', ['job_title' => $job->id]) }}" method="POST"> 75 <form action="{{ route('admin.job-titles.destroy', ['job_title' => $job->id]) }}" method="POST">
72 <a href="{{ route('admin.job-titles.edit', ['job_title' => $job->id]) }}">Изменить</a> | 76 <a href="{{ route('admin.job-titles.edit', ['job_title' => $job->id]) }}">Изменить</a> |
73 @csrf 77 @csrf
74 @method('DELETE') 78 @method('DELETE')
75 <input class="btn btn-danger" type="submit" value="Удалить"/> 79 <input class="btn btn-danger" type="submit" value="Удалить"/>
76 </form> 80 </form>
77 </td> 81 </td>
78 </tr> 82 </tr>
79 @endforeach 83 @endforeach
80 </tbody> 84 </tbody>
81 </table> 85 </table>
82 </div> 86 </div>
83 87
84 <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"> 88 <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800">
85 <?=$Jobs->appends($_GET)->links('admin.pagginate'); ?> 89 <?=$Jobs->appends($_GET)->links('admin.pagginate'); ?>
86 </div> 90 </div>
87 </div> 91 </div>
88 @endsection 92 @endsection
89 93
resources/views/layout/admin.blade.php
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html :class="{ 'theme-dark': dark }" x-data="data()" lang="{{ str_replace('_', '-', app()->getLocale()) }}"> 2 <html :class="{ 'theme-dark': dark }" x-data="data()" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3 <head> 3 <head>
4 <meta charset="UTF-8" /> 4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6 <title>{{$title}}</title> 6 <title>{{$title}}</title>
7 <link 7 <link
8 href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" 8 href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
9 rel="stylesheet" 9 rel="stylesheet"
10 /> 10 />
11 <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output.css')}}" /> 11 <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output.css')}}" />
12 <script 12 <script
13 src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" 13 src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js"
14 defer 14 defer
15 ></script> 15 ></script>
16 <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> 16 <script src="{{ asset('./assets/js/init-alpine.js') }}"></script>
17 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> 17 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/>
18 <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> 18 <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script>
19 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> 19 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
20 <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> 20 <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script>
21 <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> 21 <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script>
22 </head> 22 </head>
23 <body> 23 <body>
24 <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> 24 <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }">
25 <!-- Desktop sidebar --> 25 <!-- Desktop sidebar -->
26 <aside 26 <aside
27 class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" 27 class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0"
28 > 28 >
29 <div class="py-4 text-gray-500 dark:text-gray-400"> 29 <div class="py-4 text-gray-500 dark:text-gray-400">
30 <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" 30 <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200"
31 href="{{ route('admin.index') }}"> 31 href="{{ route('admin.index') }}">
32 Админка 32 Админка
33 </a> 33 </a>
34 <ul class="mt-6"> 34 <ul class="mt-6">
35 <li class="relative px-6 py-3"> 35 <li class="relative px-6 py-3">
36 <span 36 <span
37 class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" 37 class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg"
38 aria-hidden="true" 38 aria-hidden="true"
39 ></span> 39 ></span>
40 <a 40 <a
41 class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" 41 class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100"
42 href="{{ route('admin.index') }}" 42 href="{{ route('admin.index') }}"
43 > 43 >
44 <svg 44 <svg
45 class="w-5 h-5" 45 class="w-5 h-5"
46 aria-hidden="true" 46 aria-hidden="true"
47 fill="none" 47 fill="none"
48 stroke-linecap="round" 48 stroke-linecap="round"
49 stroke-linejoin="round" 49 stroke-linejoin="round"
50 stroke-width="2" 50 stroke-width="2"
51 viewBox="0 0 24 24" 51 viewBox="0 0 24 24"
52 stroke="currentColor" 52 stroke="currentColor"
53 > 53 >
54 <path 54 <path
55 d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" 55 d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
56 ></path> 56 ></path>
57 </svg> 57 </svg>
58 <span class="ml-4">Главная страница</span> 58 <span class="ml-4">Главная страница</span>
59 </a> 59 </a>
60 </li> 60 </li>
61 </ul> 61 </ul>
62 <ul> 62 <ul>
63 <li class="relative px-6 py-3"> 63 <li class="relative px-6 py-3">
64 <a 64 <a
65 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 65 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
66 href="{{ route('admin.users') }}" 66 href="{{ route('admin.users') }}"
67 > 67 >
68 <svg 68 <svg
69 class="w-5 h-5" 69 class="w-5 h-5"
70 aria-hidden="true" 70 aria-hidden="true"
71 fill="none" 71 fill="none"
72 stroke-linecap="round" 72 stroke-linecap="round"
73 stroke-linejoin="round" 73 stroke-linejoin="round"
74 stroke-width="2" 74 stroke-width="2"
75 viewBox="0 0 24 24" 75 viewBox="0 0 24 24"
76 stroke="currentColor" 76 stroke="currentColor"
77 > 77 >
78 <path 78 <path
79 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" 79 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
80 ></path> 80 ></path>
81 </svg> 81 </svg>
82 <span class="ml-4">Пользователи</span> 82 <span class="ml-4">Пользователи</span>
83 </a> 83 </a>
84 </li> 84 </li>
85 <li class="relative px-6 py-3"> 85 <li class="relative px-6 py-3">
86 <a 86 <a
87 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 87 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
88 href="{{ route('admin.employers') }}" 88 href="{{ route('admin.employers') }}"
89 > 89 >
90 <svg 90 <svg
91 class="w-5 h-5" 91 class="w-5 h-5"
92 aria-hidden="true" 92 aria-hidden="true"
93 fill="none" 93 fill="none"
94 stroke-linecap="round" 94 stroke-linecap="round"
95 stroke-linejoin="round" 95 stroke-linejoin="round"
96 stroke-width="2" 96 stroke-width="2"
97 viewBox="0 0 24 24" 97 viewBox="0 0 24 24"
98 stroke="currentColor" 98 stroke="currentColor"
99 > 99 >
100 <path 100 <path
101 d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" 101 d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
102 ></path> 102 ></path>
103 </svg> 103 </svg>
104 <span class="ml-4">Работодатели</span> 104 <span class="ml-4">Работодатели</span>
105 </a> 105 </a>
106 </li> 106 </li>
107 <li class="relative px-6 py-3"> 107 <li class="relative px-6 py-3">
108 <a 108 <a
109 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 109 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
110 href="{{ route('admin.workers') }}" 110 href="{{ route('admin.workers') }}"
111 > 111 >
112 <svg 112 <svg
113 class="w-5 h-5" 113 class="w-5 h-5"
114 aria-hidden="true" 114 aria-hidden="true"
115 fill="none" 115 fill="none"
116 stroke-linecap="round" 116 stroke-linecap="round"
117 stroke-linejoin="round" 117 stroke-linejoin="round"
118 stroke-width="2" 118 stroke-width="2"
119 viewBox="0 0 24 24" 119 viewBox="0 0 24 24"
120 stroke="currentColor" 120 stroke="currentColor"
121 > 121 >
122 <path 122 <path
123 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" 123 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"
124 ></path> 124 ></path>
125 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> 125 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path>
126 </svg> 126 </svg>
127 <span class="ml-4">Соискатели</span> 127 <span class="ml-4">Соискатели</span>
128 </a> 128 </a>
129 </li> 129 </li>
130 <li class="relative px-6 py-3"> 130 <li class="relative px-6 py-3">
131 <a 131 <a
132 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 132 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
133 href="{{ route('admin.ad-employers') }}" 133 href="{{ route('admin.ad-employers') }}"
134 > 134 >
135 <svg 135 <svg
136 class="w-5 h-5" 136 class="w-5 h-5"
137 aria-hidden="true" 137 aria-hidden="true"
138 fill="none" 138 fill="none"
139 stroke-linecap="round" 139 stroke-linecap="round"
140 stroke-linejoin="round" 140 stroke-linejoin="round"
141 stroke-width="2" 141 stroke-width="2"
142 viewBox="0 0 24 24" 142 viewBox="0 0 24 24"
143 stroke="currentColor" 143 stroke="currentColor"
144 > 144 >
145 <path 145 <path
146 d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" 146 d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"
147 ></path> 147 ></path>
148 </svg> 148 </svg>
149 <span class="ml-4">Вакансии</span> 149 <span class="ml-4">Вакансии</span>
150 </a> 150 </a>
151 </li> 151 </li>
152 152
153 <li class="relative px-6 py-3"> 153 <li class="relative px-6 py-3">
154 <a 154 <a
155 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 155 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
156 href="{{ route('admin.messages') }}" 156 href="{{ route('admin.messages') }}"
157 > 157 >
158 <svg 158 <svg
159 class="w-5 h-5" 159 class="w-5 h-5"
160 aria-hidden="true" 160 aria-hidden="true"
161 fill="none" 161 fill="none"
162 stroke-linecap="round" 162 stroke-linecap="round"
163 stroke-linejoin="round" 163 stroke-linejoin="round"
164 stroke-width="2" 164 stroke-width="2"
165 viewBox="0 0 24 24" 165 viewBox="0 0 24 24"
166 stroke="currentColor" 166 stroke="currentColor"
167 > 167 >
168 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> 168 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
169 </svg> 169 </svg>
170 <span class="ml-4">Сообщения</span> 170 <span class="ml-4">Сообщения</span>
171 </a> 171 </a>
172 </li> 172 </li>
173 <li class="relative px-6 py-3"> 173 <li class="relative px-6 py-3">
174 <a 174 <a
175 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 175 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
176 href="{{ route('admin.groups') }}" 176 href="{{ route('admin.groups') }}"
177 > 177 >
178 <svg 178 <svg
179 class="w-5 h-5" 179 class="w-5 h-5"
180 aria-hidden="true" 180 aria-hidden="true"
181 fill="none" 181 fill="none"
182 stroke-linecap="round" 182 stroke-linecap="round"
183 stroke-linejoin="round" 183 stroke-linejoin="round"
184 stroke-width="2" 184 stroke-width="2"
185 viewBox="0 0 24 24" 185 viewBox="0 0 24 24"
186 stroke="currentColor" 186 stroke="currentColor"
187 > 187 >
188 <path 188 <path
189 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" 189 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
190 ></path> 190 ></path>
191 </svg> 191 </svg>
192 <span class="ml-4">Группы пользователей</span> 192 <span class="ml-4">Группы пользователей</span>
193 </a> 193 </a>
194 </li> 194 </li>
195 <li class="relative px-6 py-3"> 195 <li class="relative px-6 py-3">
196 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 196 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
197 href="{{ route('admin.roles') }}"> 197 href="{{ route('admin.roles') }}">
198 <svg 198 <svg
199 class="w-5 h-5" 199 class="w-5 h-5"
200 aria-hidden="true" 200 aria-hidden="true"
201 fill="none" 201 fill="none"
202 stroke-linecap="round" 202 stroke-linecap="round"
203 stroke-linejoin="round" 203 stroke-linejoin="round"
204 stroke-width="2" 204 stroke-width="2"
205 viewBox="0 0 24 24" 205 viewBox="0 0 24 24"
206 stroke="currentColor" 206 stroke="currentColor"
207 > 207 >
208 <path 208 <path
209 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" 209 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
210 ></path> 210 ></path>
211 </svg> 211 </svg>
212 <span class="ml-4">Роли пользователей</span> 212 <span class="ml-4">Роли пользователей</span>
213 </a> 213 </a>
214 </li> 214 </li>
215 <li class="relative px-6 py-3"> 215 <li class="relative px-6 py-3">
216 <a 216 <a
217 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 217 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
218 href="{{ route('admin.statics') }}" 218 href="{{ route('admin.statics') }}"
219 > 219 >
220 <svg 220 <svg
221 class="w-5 h-5" 221 class="w-5 h-5"
222 aria-hidden="true" 222 aria-hidden="true"
223 fill="none" 223 fill="none"
224 stroke-linecap="round" 224 stroke-linecap="round"
225 stroke-linejoin="round" 225 stroke-linejoin="round"
226 stroke-width="2" 226 stroke-width="2"
227 viewBox="0 0 24 24" 227 viewBox="0 0 24 24"
228 stroke="currentColor" 228 stroke="currentColor"
229 > 229 >
230 <path 230 <path
231 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" 231 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"
232 ></path> 232 ></path>
233 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> 233 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path>
234 </svg> 234 </svg>
235 <span class="ml-4">Статистика</span> 235 <span class="ml-4">Статистика</span>
236 </a> 236 </a>
237 </li> 237 </li>
238 <li class="relative px-6 py-3"> 238 <li class="relative px-6 py-3">
239 <a 239 <a
240 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 240 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
241 href="{{ route('admin.answers') }}" 241 href="{{ route('admin.answers') }}"
242 > 242 >
243 <svg 243 <svg
244 class="w-5 h-5" 244 class="w-5 h-5"
245 aria-hidden="true" 245 aria-hidden="true"
246 fill="none" 246 fill="none"
247 stroke-linecap="round" 247 stroke-linecap="round"
248 stroke-linejoin="round" 248 stroke-linejoin="round"
249 stroke-width="2" 249 stroke-width="2"
250 viewBox="0 0 24 24" 250 viewBox="0 0 24 24"
251 stroke="currentColor" 251 stroke="currentColor"
252 > 252 >
253 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> 253 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
254 </svg> 254 </svg>
255 <span class="ml-4">Модерация</span> 255 <span class="ml-4">Модерация</span>
256 </a> 256 </a>
257 </li> 257 </li>
258 <!-- Справочники --> 258 <!-- Справочники -->
259 <li class="relative px-6 py-3" x-data="{ open1: false }"> 259 <li class="relative px-6 py-3" x-data="{ open1: false }">
260 <button 260 <button
261 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 261 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
262 @click="open1=!open1" 262 @click="open1=!open1"
263 aria-haspopup="true"> 263 aria-haspopup="true">
264 <span class="inline-flex items-center"> 264 <span class="inline-flex items-center">
265 <svg 265 <svg
266 class="w-5 h-5" 266 class="w-5 h-5"
267 aria-hidden="true" 267 aria-hidden="true"
268 fill="none" 268 fill="none"
269 stroke-linecap="round" 269 stroke-linecap="round"
270 stroke-linejoin="round" 270 stroke-linejoin="round"
271 stroke-width="2" 271 stroke-width="2"
272 viewBox="0 0 24 24" 272 viewBox="0 0 24 24"
273 stroke="currentColor"> 273 stroke="currentColor">
274 <path 274 <path
275 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" 275 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"
276 ></path> 276 ></path>
277 </svg> 277 </svg>
278 <span class="ml-4">Справочники</span> 278 <span class="ml-4">Справочники</span>
279 </span> 279 </span>
280 <svg 280 <svg
281 class="w-4 h-4" 281 class="w-4 h-4"
282 aria-hidden="true" 282 aria-hidden="true"
283 fill="currentColor" 283 fill="currentColor"
284 viewBox="0 0 20 20" 284 viewBox="0 0 20 20"
285 > 285 >
286 <path 286 <path
287 fill-rule="evenodd" 287 fill-rule="evenodd"
288 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" 288 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
289 clip-rule="evenodd" 289 clip-rule="evenodd"
290 ></path> 290 ></path>
291 </svg> 291 </svg>
292 </button> 292 </button>
293 <template x-if="open1"> 293 <template x-if="open1">
294 <ul 294 <ul
295 x-transition:enter="transition-all ease-in-out duration-300" 295 x-transition:enter="transition-all ease-in-out duration-300"
296 x-transition:enter-start="opacity-25 max-h-0" 296 x-transition:enter-start="opacity-25 max-h-0"
297 x-transition:enter-end="opacity-100 max-h-xl" 297 x-transition:enter-end="opacity-100 max-h-xl"
298 x-transition:leave="transition-all ease-in-out duration-300" 298 x-transition:leave="transition-all ease-in-out duration-300"
299 x-transition:leave-start="opacity-100 max-h-xl" 299 x-transition:leave-start="opacity-100 max-h-xl"
300 x-transition:leave-end="opacity-0 max-h-0" 300 x-transition:leave-end="opacity-0 max-h-0"
301 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" 301 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900"
302 aria-label="submenu" 302 aria-label="submenu"
303 > 303 >
304 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 304 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
305 <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> 305 <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a>
306 </li> 306 </li>
307 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 307 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
308 <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a> 308 <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a>
309 </li> 309 </li>
310 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 310 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
311 <a class="w-full" href="{{ route('admin.infobloks') }}">Блоки-Дипломы</a> 311 <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a>
312 </li> 312 </li>
313 313
314 </ul> 314 </ul>
315 </template> 315 </template>
316 </li> 316 </li>
317 317
318 318
319 <!-- Редактор --> 319 <!-- Редактор -->
320 <li class="relative px-6 py-3"> 320 <li class="relative px-6 py-3">
321 <button 321 <button
322 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 322 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
323 @click="togglePagesMenu" 323 @click="togglePagesMenu"
324 aria-haspopup="true"> 324 aria-haspopup="true">
325 <span class="inline-flex items-center"> 325 <span class="inline-flex items-center">
326 <svg 326 <svg
327 class="w-5 h-5" 327 class="w-5 h-5"
328 aria-hidden="true" 328 aria-hidden="true"
329 fill="none" 329 fill="none"
330 stroke-linecap="round" 330 stroke-linecap="round"
331 stroke-linejoin="round" 331 stroke-linejoin="round"
332 stroke-width="2" 332 stroke-width="2"
333 viewBox="0 0 24 24" 333 viewBox="0 0 24 24"
334 stroke="currentColor"> 334 stroke="currentColor">
335 <path 335 <path
336 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" 336 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"
337 ></path> 337 ></path>
338 </svg> 338 </svg>
339 <span class="ml-4">Редактор</span> 339 <span class="ml-4">Редактор</span>
340 </span> 340 </span>
341 <svg 341 <svg
342 class="w-4 h-4" 342 class="w-4 h-4"
343 aria-hidden="true" 343 aria-hidden="true"
344 fill="currentColor" 344 fill="currentColor"
345 viewBox="0 0 20 20" 345 viewBox="0 0 20 20"
346 > 346 >
347 <path 347 <path
348 fill-rule="evenodd" 348 fill-rule="evenodd"
349 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" 349 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
350 clip-rule="evenodd" 350 clip-rule="evenodd"
351 ></path> 351 ></path>
352 </svg> 352 </svg>
353 </button> 353 </button>
354 <template x-if="isPagesMenuOpen"> 354 <template x-if="isPagesMenuOpen">
355 <ul 355 <ul
356 x-transition:enter="transition-all ease-in-out duration-300" 356 x-transition:enter="transition-all ease-in-out duration-300"
357 x-transition:enter-start="opacity-25 max-h-0" 357 x-transition:enter-start="opacity-25 max-h-0"
358 x-transition:enter-end="opacity-100 max-h-xl" 358 x-transition:enter-end="opacity-100 max-h-xl"
359 x-transition:leave="transition-all ease-in-out duration-300" 359 x-transition:leave="transition-all ease-in-out duration-300"
360 x-transition:leave-start="opacity-100 max-h-xl" 360 x-transition:leave-start="opacity-100 max-h-xl"
361 x-transition:leave-end="opacity-0 max-h-0" 361 x-transition:leave-end="opacity-0 max-h-0"
362 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" 362 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900"
363 aria-label="submenu" 363 aria-label="submenu"
364 > 364 >
365 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 365 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
366 <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> 366 <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a>
367 </li> 367 </li>
368 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 368 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
369 <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> 369 <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a>
370 </li> 370 </li>
371 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 371 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
372 <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> 372 <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a>
373 </li> 373 </li>
374 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 374 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
375 <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> 375 <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a>
376 </li> 376 </li>
377 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 377 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
378 <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> 378 <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a>
379 </li> 379 </li>
380 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 380 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
381 <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> 381 <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a>
382 </li> 382 </li>
383 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 383 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
384 <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> 384 <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a>
385 </li> 385 </li>
386 </ul> 386 </ul>
387 </template> 387 </template>
388 </li> 388 </li>
389 389
390 </ul> 390 </ul>
391 <!--<div class="px-6 my-6"> 391 <!--<div class="px-6 my-6">
392 <button 392 <button
393 class="flex items-center justify-between w-full px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" 393 class="flex items-center justify-between w-full px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"
394 > 394 >
395 Create account 395 Create account
396 <span class="ml-2" aria-hidden="true">+</span> 396 <span class="ml-2" aria-hidden="true">+</span>
397 </button> 397 </button>
398 </div>--> 398 </div>-->
399 </div> 399 </div>
400 </aside> 400 </aside>
401 <!-- Mobile sidebar --> 401 <!-- Mobile sidebar -->
402 <!-- Backdrop --> 402 <!-- Backdrop -->
403 <div 403 <div
404 x-show="isSideMenuOpen" 404 x-show="isSideMenuOpen"
405 x-transition:enter="transition ease-in-out duration-150" 405 x-transition:enter="transition ease-in-out duration-150"
406 x-transition:enter-start="opacity-0" 406 x-transition:enter-start="opacity-0"
407 x-transition:enter-end="opacity-100" 407 x-transition:enter-end="opacity-100"
408 x-transition:leave="transition ease-in-out duration-150" 408 x-transition:leave="transition ease-in-out duration-150"
409 x-transition:leave-start="opacity-100" 409 x-transition:leave-start="opacity-100"
410 x-transition:leave-end="opacity-0" 410 x-transition:leave-end="opacity-0"
411 class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" 411 class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center"
412 ></div> 412 ></div>
413 <aside 413 <aside
414 class="fixed inset-y-0 z-20 flex-shrink-0 w-64 mt-16 overflow-y-auto bg-white dark:bg-gray-800 md:hidden" 414 class="fixed inset-y-0 z-20 flex-shrink-0 w-64 mt-16 overflow-y-auto bg-white dark:bg-gray-800 md:hidden"
415 x-show="isSideMenuOpen" 415 x-show="isSideMenuOpen"
416 x-transition:enter="transition ease-in-out duration-150" 416 x-transition:enter="transition ease-in-out duration-150"
417 x-transition:enter-start="opacity-0 transform -translate-x-20" 417 x-transition:enter-start="opacity-0 transform -translate-x-20"
418 x-transition:enter-end="opacity-100" 418 x-transition:enter-end="opacity-100"
419 x-transition:leave="transition ease-in-out duration-150" 419 x-transition:leave="transition ease-in-out duration-150"
420 x-transition:leave-start="opacity-100" 420 x-transition:leave-start="opacity-100"
421 x-transition:leave-end="opacity-0 transform -translate-x-20" 421 x-transition:leave-end="opacity-0 transform -translate-x-20"
422 @click.away="closeSideMenu" 422 @click.away="closeSideMenu"
423 @keydown.escape="closeSideMenu" 423 @keydown.escape="closeSideMenu"
424 > 424 >
425 <div class="py-4 text-gray-500 dark:text-gray-400"> 425 <div class="py-4 text-gray-500 dark:text-gray-400">
426 <a 426 <a
427 class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" 427 class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200"
428 href="{{ route('admin.index') }}" 428 href="{{ route('admin.index') }}"
429 > 429 >
430 Админка 430 Админка
431 </a> 431 </a>
432 <ul class="mt-6"> 432 <ul class="mt-6">
433 <li class="relative px-6 py-3"> 433 <li class="relative px-6 py-3">
434 <span 434 <span
435 class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" 435 class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg"
436 aria-hidden="true" 436 aria-hidden="true"
437 ></span> 437 ></span>
438 <a 438 <a
439 class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" 439 class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100"
440 href="{{ route('admin.index') }}" 440 href="{{ route('admin.index') }}"
441 > 441 >
442 <svg 442 <svg
443 class="w-5 h-5" 443 class="w-5 h-5"
444 aria-hidden="true" 444 aria-hidden="true"
445 fill="none" 445 fill="none"
446 stroke-linecap="round" 446 stroke-linecap="round"
447 stroke-linejoin="round" 447 stroke-linejoin="round"
448 stroke-width="2" 448 stroke-width="2"
449 viewBox="0 0 24 24" 449 viewBox="0 0 24 24"
450 stroke="currentColor" 450 stroke="currentColor"
451 > 451 >
452 <path 452 <path
453 d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" 453 d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
454 ></path> 454 ></path>
455 </svg> 455 </svg>
456 <span class="ml-4">Главная страница</span> 456 <span class="ml-4">Главная страница</span>
457 </a> 457 </a>
458 </li> 458 </li>
459 </ul> 459 </ul>
460 <ul> 460 <ul>
461 <li class="relative px-6 py-3"> 461 <li class="relative px-6 py-3">
462 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 462 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
463 href="{{ route('admin.users') }}"> 463 href="{{ route('admin.users') }}">
464 <svg 464 <svg
465 class="w-5 h-5" 465 class="w-5 h-5"
466 aria-hidden="true" 466 aria-hidden="true"
467 fill="none" 467 fill="none"
468 stroke-linecap="round" 468 stroke-linecap="round"
469 stroke-linejoin="round" 469 stroke-linejoin="round"
470 stroke-width="2" 470 stroke-width="2"
471 viewBox="0 0 24 24" 471 viewBox="0 0 24 24"
472 stroke="currentColor" 472 stroke="currentColor"
473 > 473 >
474 <path 474 <path
475 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" 475 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
476 ></path> 476 ></path>
477 </svg> 477 </svg>
478 <span class="ml-4">Пользователи</span> 478 <span class="ml-4">Пользователи</span>
479 </a> 479 </a>
480 </li> 480 </li>
481 <li class="relative px-6 py-3"> 481 <li class="relative px-6 py-3">
482 <a 482 <a
483 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 483 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
484 href="{{ route('admin.employers') }}" 484 href="{{ route('admin.employers') }}"
485 > 485 >
486 <svg 486 <svg
487 class="w-5 h-5" 487 class="w-5 h-5"
488 aria-hidden="true" 488 aria-hidden="true"
489 fill="none" 489 fill="none"
490 stroke-linecap="round" 490 stroke-linecap="round"
491 stroke-linejoin="round" 491 stroke-linejoin="round"
492 stroke-width="2" 492 stroke-width="2"
493 viewBox="0 0 24 24" 493 viewBox="0 0 24 24"
494 stroke="currentColor" 494 stroke="currentColor"
495 > 495 >
496 <path 496 <path
497 d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" 497 d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
498 ></path> 498 ></path>
499 </svg> 499 </svg>
500 <span class="ml-4">Работодатели</span> 500 <span class="ml-4">Работодатели</span>
501 </a> 501 </a>
502 </li> 502 </li>
503 <li class="relative px-6 py-3"> 503 <li class="relative px-6 py-3">
504 <a 504 <a
505 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 505 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
506 href="{{ route('admin.workers') }}" 506 href="{{ route('admin.workers') }}"
507 > 507 >
508 <svg 508 <svg
509 class="w-5 h-5" 509 class="w-5 h-5"
510 aria-hidden="true" 510 aria-hidden="true"
511 fill="none" 511 fill="none"
512 stroke-linecap="round" 512 stroke-linecap="round"
513 stroke-linejoin="round" 513 stroke-linejoin="round"
514 stroke-width="2" 514 stroke-width="2"
515 viewBox="0 0 24 24" 515 viewBox="0 0 24 24"
516 stroke="currentColor" 516 stroke="currentColor"
517 > 517 >
518 <path 518 <path
519 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" 519 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"
520 ></path> 520 ></path>
521 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> 521 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path>
522 </svg> 522 </svg>
523 <span class="ml-4">Соискатели</span> 523 <span class="ml-4">Соискатели</span>
524 </a> 524 </a>
525 </li> 525 </li>
526 <li class="relative px-6 py-3"> 526 <li class="relative px-6 py-3">
527 <a 527 <a
528 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 528 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
529 href="{{ route('admin.ad-employers') }}" 529 href="{{ route('admin.ad-employers') }}"
530 > 530 >
531 <svg 531 <svg
532 class="w-5 h-5" 532 class="w-5 h-5"
533 aria-hidden="true" 533 aria-hidden="true"
534 fill="none" 534 fill="none"
535 stroke-linecap="round" 535 stroke-linecap="round"
536 stroke-linejoin="round" 536 stroke-linejoin="round"
537 stroke-width="2" 537 stroke-width="2"
538 viewBox="0 0 24 24" 538 viewBox="0 0 24 24"
539 stroke="currentColor" 539 stroke="currentColor"
540 > 540 >
541 <path 541 <path
542 d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" 542 d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"
543 ></path> 543 ></path>
544 </svg> 544 </svg>
545 <span class="ml-4">Вакансии</span> 545 <span class="ml-4">Вакансии</span>
546 </a> 546 </a>
547 </li> 547 </li>
548 <li class="relative px-6 py-3"> 548 <li class="relative px-6 py-3">
549 <a 549 <a
550 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 550 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
551 href="{{ route('admin.messages') }}" 551 href="{{ route('admin.messages') }}"
552 > 552 >
553 <svg 553 <svg
554 class="w-5 h-5" 554 class="w-5 h-5"
555 aria-hidden="true" 555 aria-hidden="true"
556 fill="none" 556 fill="none"
557 stroke-linecap="round" 557 stroke-linecap="round"
558 stroke-linejoin="round" 558 stroke-linejoin="round"
559 stroke-width="2" 559 stroke-width="2"
560 viewBox="0 0 24 24" 560 viewBox="0 0 24 24"
561 stroke="currentColor" 561 stroke="currentColor"
562 > 562 >
563 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> 563 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
564 </svg> 564 </svg>
565 <span class="ml-4">Сообщения</span> 565 <span class="ml-4">Сообщения</span>
566 </a> 566 </a>
567 </li> 567 </li>
568 <li class="relative px-6 py-3"> 568 <li class="relative px-6 py-3">
569 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 569 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
570 href="{{ route('admin.groups') }}"> 570 href="{{ route('admin.groups') }}">
571 <svg 571 <svg
572 class="w-5 h-5" 572 class="w-5 h-5"
573 aria-hidden="true" 573 aria-hidden="true"
574 fill="none" 574 fill="none"
575 stroke-linecap="round" 575 stroke-linecap="round"
576 stroke-linejoin="round" 576 stroke-linejoin="round"
577 stroke-width="2" 577 stroke-width="2"
578 viewBox="0 0 24 24" 578 viewBox="0 0 24 24"
579 stroke="currentColor" 579 stroke="currentColor"
580 > 580 >
581 <path 581 <path
582 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" 582 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
583 ></path> 583 ></path>
584 </svg> 584 </svg>
585 <span class="ml-4">Группы пользователей</span> 585 <span class="ml-4">Группы пользователей</span>
586 </a> 586 </a>
587 </li> 587 </li>
588 <li class="relative px-6 py-3"> 588 <li class="relative px-6 py-3">
589 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 589 <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
590 href="{{ route('admin.roles') }}"> 590 href="{{ route('admin.roles') }}">
591 <svg 591 <svg
592 class="w-5 h-5" 592 class="w-5 h-5"
593 aria-hidden="true" 593 aria-hidden="true"
594 fill="none" 594 fill="none"
595 stroke-linecap="round" 595 stroke-linecap="round"
596 stroke-linejoin="round" 596 stroke-linejoin="round"
597 stroke-width="2" 597 stroke-width="2"
598 viewBox="0 0 24 24" 598 viewBox="0 0 24 24"
599 stroke="currentColor" 599 stroke="currentColor"
600 > 600 >
601 <path 601 <path
602 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" 602 d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
603 ></path> 603 ></path>
604 </svg> 604 </svg>
605 <span class="ml-4">Роли пользователей</span> 605 <span class="ml-4">Роли пользователей</span>
606 </a> 606 </a>
607 </li> 607 </li>
608 <li class="relative px-6 py-3"> 608 <li class="relative px-6 py-3">
609 <a 609 <a
610 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 610 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
611 href="{{ route('admin.statics') }}" 611 href="{{ route('admin.statics') }}"
612 > 612 >
613 <svg 613 <svg
614 class="w-5 h-5" 614 class="w-5 h-5"
615 aria-hidden="true" 615 aria-hidden="true"
616 fill="none" 616 fill="none"
617 stroke-linecap="round" 617 stroke-linecap="round"
618 stroke-linejoin="round" 618 stroke-linejoin="round"
619 stroke-width="2" 619 stroke-width="2"
620 viewBox="0 0 24 24" 620 viewBox="0 0 24 24"
621 stroke="currentColor" 621 stroke="currentColor"
622 > 622 >
623 <path 623 <path
624 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" 624 d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"
625 ></path> 625 ></path>
626 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> 626 <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path>
627 </svg> 627 </svg>
628 <span class="ml-4">Статистика</span> 628 <span class="ml-4">Статистика</span>
629 </a> 629 </a>
630 </li> 630 </li>
631 <li class="relative px-6 py-3"> 631 <li class="relative px-6 py-3">
632 <a 632 <a
633 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 633 class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
634 href="{{ route('admin.messages') }}" 634 href="{{ route('admin.messages') }}"
635 > 635 >
636 <svg 636 <svg
637 class="w-5 h-5" 637 class="w-5 h-5"
638 aria-hidden="true" 638 aria-hidden="true"
639 fill="none" 639 fill="none"
640 stroke-linecap="round" 640 stroke-linecap="round"
641 stroke-linejoin="round" 641 stroke-linejoin="round"
642 stroke-width="2" 642 stroke-width="2"
643 viewBox="0 0 24 24" 643 viewBox="0 0 24 24"
644 stroke="currentColor" 644 stroke="currentColor"
645 > 645 >
646 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> 646 <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
647 </svg> 647 </svg>
648 <span class="ml-4">Сообщения</span> 648 <span class="ml-4">Сообщения</span>
649 </a> 649 </a>
650 </li> 650 </li>
651 <!-- Справочники --> 651 <!-- Справочники -->
652 <li class="relative px-6 py-3" x-data="{ open2: false }"> 652 <li class="relative px-6 py-3" x-data="{ open2: false }">
653 <button 653 <button
654 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 654 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
655 @click="open2=!open2" 655 @click="open2=!open2"
656 aria-haspopup="true"> 656 aria-haspopup="true">
657 <span class="inline-flex items-center"> 657 <span class="inline-flex items-center">
658 <svg 658 <svg
659 class="w-5 h-5" 659 class="w-5 h-5"
660 aria-hidden="true" 660 aria-hidden="true"
661 fill="none" 661 fill="none"
662 stroke-linecap="round" 662 stroke-linecap="round"
663 stroke-linejoin="round" 663 stroke-linejoin="round"
664 stroke-width="2" 664 stroke-width="2"
665 viewBox="0 0 24 24" 665 viewBox="0 0 24 24"
666 stroke="currentColor"> 666 stroke="currentColor">
667 <path 667 <path
668 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" 668 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"
669 ></path> 669 ></path>
670 </svg> 670 </svg>
671 <span class="ml-4">Справочники</span> 671 <span class="ml-4">Справочники</span>
672 </span> 672 </span>
673 <svg 673 <svg
674 class="w-4 h-4" 674 class="w-4 h-4"
675 aria-hidden="true" 675 aria-hidden="true"
676 fill="currentColor" 676 fill="currentColor"
677 viewBox="0 0 20 20" 677 viewBox="0 0 20 20"
678 > 678 >
679 <path 679 <path
680 fill-rule="evenodd" 680 fill-rule="evenodd"
681 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" 681 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
682 clip-rule="evenodd" 682 clip-rule="evenodd"
683 ></path> 683 ></path>
684 </svg> 684 </svg>
685 </button> 685 </button>
686 <template x-if="open2"> 686 <template x-if="open2">
687 <ul 687 <ul
688 x-transition:enter="transition-all ease-in-out duration-300" 688 x-transition:enter="transition-all ease-in-out duration-300"
689 x-transition:enter-start="opacity-25 max-h-0" 689 x-transition:enter-start="opacity-25 max-h-0"
690 x-transition:enter-end="opacity-100 max-h-xl" 690 x-transition:enter-end="opacity-100 max-h-xl"
691 x-transition:leave="transition-all ease-in-out duration-300" 691 x-transition:leave="transition-all ease-in-out duration-300"
692 x-transition:leave-start="opacity-100 max-h-xl" 692 x-transition:leave-start="opacity-100 max-h-xl"
693 x-transition:leave-end="opacity-0 max-h-0" 693 x-transition:leave-end="opacity-0 max-h-0"
694 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" 694 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900"
695 aria-label="submenu" 695 aria-label="submenu"
696 > 696 >
697 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 697 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
698 <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> 698 <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a>
699 </li> 699 </li>
700 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 700 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
701 <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a> 701 <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a>
702 </li> 702 </li>
703 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 703 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
704 <a class="w-full" href="{{ route('admin.infobloks') }}">Блоки-Дипломы</a> 704 <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a>
705 </li> 705 </li>
706 706
707 </ul> 707 </ul>
708 </template> 708 </template>
709 </li> 709 </li>
710 710
711 711
712 <!-- Редактор --> 712 <!-- Редактор -->
713 <li class="relative px-6 py-3"> 713 <li class="relative px-6 py-3">
714 <button 714 <button
715 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" 715 class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"
716 @click="togglePagesMenu" 716 @click="togglePagesMenu"
717 aria-haspopup="true" 717 aria-haspopup="true"
718 > 718 >
719 <span class="inline-flex items-center"> 719 <span class="inline-flex items-center">
720 <svg 720 <svg
721 class="w-5 h-5" 721 class="w-5 h-5"
722 aria-hidden="true" 722 aria-hidden="true"
723 fill="none" 723 fill="none"
724 stroke-linecap="round" 724 stroke-linecap="round"
725 stroke-linejoin="round" 725 stroke-linejoin="round"
726 stroke-width="2" 726 stroke-width="2"
727 viewBox="0 0 24 24" 727 viewBox="0 0 24 24"
728 stroke="currentColor" 728 stroke="currentColor"
729 > 729 >
730 <path 730 <path
731 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" 731 d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"
732 ></path> 732 ></path>
733 </svg> 733 </svg>
734 <span class="ml-4">Редактор</span> 734 <span class="ml-4">Редактор</span>
735 </span> 735 </span>
736 <svg 736 <svg
737 class="w-4 h-4" 737 class="w-4 h-4"
738 aria-hidden="true" 738 aria-hidden="true"
739 fill="currentColor" 739 fill="currentColor"
740 viewBox="0 0 20 20" 740 viewBox="0 0 20 20"
741 > 741 >
742 <path 742 <path
743 fill-rule="evenodd" 743 fill-rule="evenodd"
744 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" 744 d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
745 clip-rule="evenodd" 745 clip-rule="evenodd"
746 ></path> 746 ></path>
747 </svg> 747 </svg>
748 </button> 748 </button>
749 <template x-if="isPagesMenuOpen"> 749 <template x-if="isPagesMenuOpen">
750 <ul 750 <ul
751 x-transition:enter="transition-all ease-in-out duration-300" 751 x-transition:enter="transition-all ease-in-out duration-300"
752 x-transition:enter-start="opacity-25 max-h-0" 752 x-transition:enter-start="opacity-25 max-h-0"
753 x-transition:enter-end="opacity-100 max-h-xl" 753 x-transition:enter-end="opacity-100 max-h-xl"
754 x-transition:leave="transition-all ease-in-out duration-300" 754 x-transition:leave="transition-all ease-in-out duration-300"
755 x-transition:leave-start="opacity-100 max-h-xl" 755 x-transition:leave-start="opacity-100 max-h-xl"
756 x-transition:leave-end="opacity-0 max-h-0" 756 x-transition:leave-end="opacity-0 max-h-0"
757 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" 757 class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900"
758 aria-label="submenu" 758 aria-label="submenu"
759 > 759 >
760 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 760 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
761 <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> 761 <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a>
762 </li> 762 </li>
763 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 763 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
764 <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> 764 <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a>
765 </li> 765 </li>
766 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 766 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
767 <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> 767 <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a>
768 </li> 768 </li>
769 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 769 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
770 <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> 770 <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a>
771 </li> 771 </li>
772 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 772 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
773 <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> 773 <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a>
774 </li> 774 </li>
775 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 775 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
776 <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> 776 <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a>
777 </li> 777 </li>
778 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> 778 <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200">
779 <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> 779 <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a>
780 </li> 780 </li>
781 781
782 </ul> 782 </ul>
783 </template> 783 </template>
784 </li> 784 </li>
785 </ul> 785 </ul>
786 <!--<div class="px-6 my-6"> 786 <!--<div class="px-6 my-6">
787 <button class="flex items-center justify-between px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"> 787 <button class="flex items-center justify-between px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple">
788 Create account 788 Create account
789 <span class="ml-2" aria-hidden="true">+</span> 789 <span class="ml-2" aria-hidden="true">+</span>
790 </button> 790 </button>
791 </div>--> 791 </div>-->
792 </div> 792 </div>
793 </aside> 793 </aside>
794 <div class="flex flex-col flex-1 w-full"> 794 <div class="flex flex-col flex-1 w-full">
795 <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> 795 <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800">
796 <div 796 <div
797 class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" 797 class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300"
798 > 798 >
799 <!-- Mobile hamburger --> 799 <!-- Mobile hamburger -->
800 <button 800 <button
801 class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" 801 class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple"
802 @click="toggleSideMenu" 802 @click="toggleSideMenu"
803 aria-label="Menu" 803 aria-label="Menu"
804 > 804 >
805 <svg 805 <svg
806 class="w-6 h-6" 806 class="w-6 h-6"
807 aria-hidden="true" 807 aria-hidden="true"
808 fill="currentColor" 808 fill="currentColor"
809 viewBox="0 0 20 20" 809 viewBox="0 0 20 20"
810 > 810 >
811 <path 811 <path
812 fill-rule="evenodd" 812 fill-rule="evenodd"
813 d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" 813 d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
814 clip-rule="evenodd" 814 clip-rule="evenodd"
815 ></path> 815 ></path>
816 </svg> 816 </svg>
817 </button> 817 </button>
818 <!-- Search input --> 818 <!-- Search input -->
819 <div class="flex justify-center flex-1 lg:mr-32"> 819 <div class="flex justify-center flex-1 lg:mr-32">
820 <div 820 <div
821 class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" 821 class="relative w-full max-w-xl mr-6 focus-within:text-purple-500"
822 > 822 >
823 823
824 @yield('search') 824 @yield('search')
825 </div> 825 </div>
826 </div> 826 </div>
827 <ul class="flex items-center flex-shrink-0 space-x-6"> 827 <ul class="flex items-center flex-shrink-0 space-x-6">
828 <!-- Theme toggler --> 828 <!-- Theme toggler -->
829 <li class="flex"> 829 <li class="flex">
830 <button 830 <button
831 class="rounded-md focus:outline-none focus:shadow-outline-purple" 831 class="rounded-md focus:outline-none focus:shadow-outline-purple"
832 @click="toggleTheme" 832 @click="toggleTheme"
833 aria-label="Toggle color mode" 833 aria-label="Toggle color mode"
834 > 834 >
835 <template x-if="!dark"> 835 <template x-if="!dark">
836 <svg 836 <svg
837 class="w-5 h-5" 837 class="w-5 h-5"
838 aria-hidden="true" 838 aria-hidden="true"
839 fill="currentColor" 839 fill="currentColor"
840 viewBox="0 0 20 20" 840 viewBox="0 0 20 20"
841 > 841 >
842 <path 842 <path
843 d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" 843 d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"
844 ></path> 844 ></path>
845 </svg> 845 </svg>
846 </template> 846 </template>
847 <template x-if="dark"> 847 <template x-if="dark">
848 <svg 848 <svg
849 class="w-5 h-5" 849 class="w-5 h-5"
850 aria-hidden="true" 850 aria-hidden="true"
851 fill="currentColor" 851 fill="currentColor"
852 viewBox="0 0 20 20" 852 viewBox="0 0 20 20"
853 > 853 >
854 <path 854 <path
855 fill-rule="evenodd" 855 fill-rule="evenodd"
856 d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" 856 d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
857 clip-rule="evenodd" 857 clip-rule="evenodd"
858 ></path> 858 ></path>
859 </svg> 859 </svg>
860 </template> 860 </template>
861 </button> 861 </button>
862 </li> 862 </li>
863 <!-- Notifications menu --> 863 <!-- Notifications menu -->
864 <li class="relative"> 864 <li class="relative">
865 <button 865 <button
866 class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" 866 class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple"
867 @click="toggleNotificationsMenu" 867 @click="toggleNotificationsMenu"
868 @keydown.escape="closeNotificationsMenu" 868 @keydown.escape="closeNotificationsMenu"
869 aria-label="Notifications" 869 aria-label="Notifications"
870 aria-haspopup="true" 870 aria-haspopup="true"
871 > 871 >
872 <svg 872 <svg
873 class="w-5 h-5" 873 class="w-5 h-5"
874 aria-hidden="true" 874 aria-hidden="true"
875 fill="currentColor" 875 fill="currentColor"
876 viewBox="0 0 20 20" 876 viewBox="0 0 20 20"
877 > 877 >
878 <path 878 <path
879 d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z" 879 d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"
880 ></path> 880 ></path>
881 </svg> 881 </svg>
882 <!-- Notification badge --> 882 <!-- Notification badge -->
883 <span 883 <span
884 aria-hidden="true" 884 aria-hidden="true"
885 class="absolute top-0 right-0 inline-block w-3 h-3 transform translate-x-1 -translate-y-1 bg-red-600 border-2 border-white rounded-full dark:border-gray-800" 885 class="absolute top-0 right-0 inline-block w-3 h-3 transform translate-x-1 -translate-y-1 bg-red-600 border-2 border-white rounded-full dark:border-gray-800"
886 ></span> 886 ></span>
887 </button> 887 </button>
888 <template x-if="isNotificationsMenuOpen"> 888 <template x-if="isNotificationsMenuOpen">
889 <ul 889 <ul
890 x-transition:leave="transition ease-in duration-150" 890 x-transition:leave="transition ease-in duration-150"
891 x-transition:leave-start="opacity-100" 891 x-transition:leave-start="opacity-100"
892 x-transition:leave-end="opacity-0" 892 x-transition:leave-end="opacity-0"
893 @click.away="closeNotificationsMenu" 893 @click.away="closeNotificationsMenu"
894 @keydown.escape="closeNotificationsMenu" 894 @keydown.escape="closeNotificationsMenu"
895 class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:text-gray-300 dark:border-gray-700 dark:bg-gray-700" 895 class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:text-gray-300 dark:border-gray-700 dark:bg-gray-700"
896 > 896 >
897 <li class="flex"> 897 <li class="flex">
898 <a 898 <a
899 class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" 899 class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200"
900 href="#" 900 href="#"
901 > 901 >
902 <span>Сообщения</span> 902 <span>Сообщения</span>
903 <span 903 <span
904 class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-600 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-600" 904 class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-600 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-600"
905 > 905 >
906 13 906 13
907 </span> 907 </span>
908 </a> 908 </a>
909 </li> 909 </li>
910 <li class="flex"> 910 <li class="flex">
911 <a 911 <a
912 class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" 912 class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200"
913 href="#" 913 href="#"
914 > 914 >
915 <span>Логи</span> 915 <span>Логи</span>
916 </a> 916 </a>
917 </li> 917 </li>
918 </ul> 918 </ul>
919 </template> 919 </template>
920 </li> 920 </li>
921 <!-- Profile menu --> 921 <!-- Profile menu -->
922 <li class="relative"> 922 <li class="relative">
923 <button 923 <button
924 class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" 924 class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none"
925 @click="toggleProfileMenu" 925 @click="toggleProfileMenu"
926 @keydown.escape="closeProfileMenu" 926 @keydown.escape="closeProfileMenu"
927 aria-label="Account" 927 aria-label="Account"
928 aria-haspopup="true" 928 aria-haspopup="true"
929 > 929 >
930 <img 930 <img
931 class="object-cover w-8 h-8 rounded-full" 931 class="object-cover w-8 h-8 rounded-full"
932 src="{{ asset('assets/img/profile.jpg') }}" 932 src="{{ asset('assets/img/profile.jpg') }}"
933 alt="" 933 alt=""
934 aria-hidden="true" 934 aria-hidden="true"
935 /> 935 />
936 </button> 936 </button>
937 <template x-if="isProfileMenuOpen"> 937 <template x-if="isProfileMenuOpen">
938 <ul 938 <ul
939 x-transition:leave="transition ease-in duration-150" 939 x-transition:leave="transition ease-in duration-150"
940 x-transition:leave-start="opacity-100" 940 x-transition:leave-start="opacity-100"
941 x-transition:leave-end="opacity-0" 941 x-transition:leave-end="opacity-0"
942 @click.away="closeProfileMenu" 942 @click.away="closeProfileMenu"
943 @keydown.escape="closeProfileMenu" 943 @keydown.escape="closeProfileMenu"
944 class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:border-gray-700 dark:text-gray-300 dark:bg-gray-700" 944 class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:border-gray-700 dark:text-gray-300 dark:bg-gray-700"
945 aria-label="submenu" 945 aria-label="submenu"
946 > 946 >
947 <li class="flex"> 947 <li class="flex">
948 <a 948 <a
949 class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" 949 class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200"
950 href="{{ route('admin.profile') }}" 950 href="{{ route('admin.profile') }}"
951 > 951 >
952 <svg 952 <svg
953 class="w-4 h-4 mr-3" 953 class="w-4 h-4 mr-3"
954 aria-hidden="true" 954 aria-hidden="true"
955 fill="none" 955 fill="none"
956 stroke-linecap="round" 956 stroke-linecap="round"
957 stroke-linejoin="round" 957 stroke-linejoin="round"
958 stroke-width="2" 958 stroke-width="2"
959 viewBox="0 0 24 24" 959 viewBox="0 0 24 24"
960 stroke="currentColor" 960 stroke="currentColor"
961 > 961 >
962 <path 962 <path
963 d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" 963 d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"
964 ></path> 964 ></path>
965 </svg> 965 </svg>
966 <span>Профиль</span> 966 <span>Профиль</span>
967 </a> 967 </a>
968 </li> 968 </li>
969 <li class="flex"> 969 <li class="flex">
970 <a 970 <a
971 class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" 971 class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200"
972 href="{{ route('admin.config') }}" 972 href="{{ route('admin.config') }}"
973 > 973 >
974 <svg 974 <svg
975 class="w-4 h-4 mr-3" 975 class="w-4 h-4 mr-3"
976 aria-hidden="true" 976 aria-hidden="true"
977 fill="none" 977 fill="none"
978 stroke-linecap="round" 978 stroke-linecap="round"
979 stroke-linejoin="round" 979 stroke-linejoin="round"
980 stroke-width="2" 980 stroke-width="2"
981 viewBox="0 0 24 24" 981 viewBox="0 0 24 24"
982 stroke="currentColor" 982 stroke="currentColor"
983 > 983 >
984 <path 984 <path
985 d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" 985 d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
986 ></path> 986 ></path>
987 <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> 987 <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
988 </svg> 988 </svg>
989 <span>Настройки</span> 989 <span>Настройки</span>
990 </a> 990 </a>
991 </li> 991 </li>
992 <li class="flex"> 992 <li class="flex">
993 <a 993 <a
994 class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" 994 class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200"
995 href="{{ route('admin.logout') }}" 995 href="{{ route('admin.logout') }}"
996 > 996 >
997 <svg 997 <svg
998 class="w-4 h-4 mr-3" 998 class="w-4 h-4 mr-3"
999 aria-hidden="true" 999 aria-hidden="true"
1000 fill="none" 1000 fill="none"
1001 stroke-linecap="round" 1001 stroke-linecap="round"
1002 stroke-linejoin="round" 1002 stroke-linejoin="round"
1003 stroke-width="2" 1003 stroke-width="2"
1004 viewBox="0 0 24 24" 1004 viewBox="0 0 24 24"
1005 stroke="currentColor" 1005 stroke="currentColor"
1006 > 1006 >
1007 <path 1007 <path
1008 d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1" 1008 d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"
1009 ></path> 1009 ></path>
1010 </svg> 1010 </svg>
1011 <span>Выход</span> 1011 <span>Выход</span>
1012 </a> 1012 </a>
1013 </li> 1013 </li>
1014 </ul> 1014 </ul>
1015 </template> 1015 </template>
1016 </li> 1016 </li>
1017 </ul> 1017 </ul>
1018 </div> 1018 </div>
1019 </header> 1019 </header>
1020 <main class="h-full overflow-y-auto"> 1020 <main class="h-full overflow-y-auto">
1021 <div class="container px-6 mx-auto grid"> 1021 <div class="container px-6 mx-auto grid">
1022 <h2 1022 <h2
1023 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" 1023 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"
1024 > 1024 >
1025 {{$title}} 1025 {{$title}}
1026 </h2> 1026 </h2>
1027 <!-- CTA --> 1027 <!-- CTA -->
1028 <a 1028 <a
1029 class="flex items-center justify-between p-4 mb-8 text-sm font-semibold text-purple-100 bg-purple-600 rounded-lg shadow-md focus:outline-none focus:shadow-outline-purple" 1029 class="flex items-center justify-between p-4 mb-8 text-sm font-semibold text-purple-100 bg-purple-600 rounded-lg shadow-md focus:outline-none focus:shadow-outline-purple"
1030 href="{{ route('admin.admin-users') }}" 1030 href="{{ route('admin.admin-users') }}"
1031 > 1031 >
1032 <div class="flex items-center"> 1032 <div class="flex items-center">
1033 <svg 1033 <svg
1034 class="w-5 h-5 mr-2" 1034 class="w-5 h-5 mr-2"
1035 fill="currentColor" 1035 fill="currentColor"
1036 viewBox="0 0 20 20" 1036 viewBox="0 0 20 20"
1037 > 1037 >
1038 <path 1038 <path
1039 d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" 1039 d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
1040 ></path> 1040 ></path>
1041 </svg> 1041 </svg>
1042 <span>Вход в админку только для пользователей-админов</span> 1042 <span>Вход в админку только для пользователей-админов</span>
1043 </div> 1043 </div>
1044 <span>Список админов &RightArrow;</span> 1044 <span>Список админов &RightArrow;</span>
1045 </a> 1045 </a>
1046 1046
1047 @if ($message = Session::get('success')) 1047 @if ($message = Session::get('success'))
1048 <section> 1048 <section>
1049 <div class="alert alert-success alert-dismissible mt-0" role="alert"> 1049 <div class="alert alert-success alert-dismissible mt-0" role="alert">
1050 <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> 1050 <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть">
1051 <span aria-hidden="true">&times;</span> 1051 <span aria-hidden="true">&times;</span>
1052 </button> 1052 </button>
1053 {{ $message }} 1053 {{ $message }}
1054 </div> 1054 </div>
1055 </section> 1055 </section>
1056 @endif 1056 @endif
1057 1057
1058 @if ($errors->any()) 1058 @if ($errors->any())
1059 <section> 1059 <section>
1060 <div class="alert alert-danger alert-dismissible mt-4" role="alert"> 1060 <div class="alert alert-danger alert-dismissible mt-4" role="alert">
1061 <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> 1061 <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть">
1062 <span aria-hidden="true">&times;</span> 1062 <span aria-hidden="true">&times;</span>
1063 </button> 1063 </button>
1064 <ul class="mb-0"> 1064 <ul class="mb-0">
1065 @foreach ($errors->all() as $error) 1065 @foreach ($errors->all() as $error)
1066 <li>{{ $error }}</li> 1066 <li>{{ $error }}</li>
1067 @endforeach 1067 @endforeach
1068 </ul> 1068 </ul>
1069 </div> 1069 </div>
1070 </section> 1070 </section>
1071 @endif 1071 @endif
1072 1072
1073 @yield('content') 1073 @yield('content')
1074 1074
1075 <!-- Cards 1075 <!-- Cards
1076 <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> 1076 <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4">
1077 1077
1078 <div 1078 <div
1079 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 1079 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
1080 > 1080 >
1081 <div 1081 <div
1082 class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" 1082 class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500"
1083 > 1083 >
1084 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 1084 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
1085 <path 1085 <path
1086 d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z" 1086 d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"
1087 ></path> 1087 ></path>
1088 </svg> 1088 </svg>
1089 </div> 1089 </div>
1090 <div> 1090 <div>
1091 <p 1091 <p
1092 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" 1092 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"
1093 > 1093 >
1094 Total clients 1094 Total clients
1095 </p> 1095 </p>
1096 <p 1096 <p
1097 class="text-lg font-semibold text-gray-700 dark:text-gray-200" 1097 class="text-lg font-semibold text-gray-700 dark:text-gray-200"
1098 > 1098 >
1099 6389 1099 6389
1100 </p> 1100 </p>
1101 </div> 1101 </div>
1102 </div> 1102 </div>
1103 1103
1104 <div 1104 <div
1105 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 1105 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
1106 > 1106 >
1107 <div 1107 <div
1108 class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" 1108 class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500"
1109 > 1109 >
1110 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 1110 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
1111 <path 1111 <path
1112 fill-rule="evenodd" 1112 fill-rule="evenodd"
1113 d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" 1113 d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z"
1114 clip-rule="evenodd" 1114 clip-rule="evenodd"
1115 ></path> 1115 ></path>
1116 </svg> 1116 </svg>
1117 </div> 1117 </div>
1118 <div> 1118 <div>
1119 <p 1119 <p
1120 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" 1120 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"
1121 > 1121 >
1122 Account balance 1122 Account balance
1123 </p> 1123 </p>
1124 <p 1124 <p
1125 class="text-lg font-semibold text-gray-700 dark:text-gray-200" 1125 class="text-lg font-semibold text-gray-700 dark:text-gray-200"
1126 > 1126 >
1127 $ 46,760.89 1127 $ 46,760.89
1128 </p> 1128 </p>
1129 </div> 1129 </div>
1130 </div> 1130 </div>
1131 1131
1132 <div 1132 <div
1133 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 1133 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
1134 > 1134 >
1135 <div 1135 <div
1136 class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" 1136 class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500"
1137 > 1137 >
1138 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 1138 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
1139 <path 1139 <path
1140 d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z" 1140 d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"
1141 ></path> 1141 ></path>
1142 </svg> 1142 </svg>
1143 </div> 1143 </div>
1144 <div> 1144 <div>
1145 <p 1145 <p
1146 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" 1146 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"
1147 > 1147 >
1148 New sales 1148 New sales
1149 </p> 1149 </p>
1150 <p 1150 <p
1151 class="text-lg font-semibold text-gray-700 dark:text-gray-200" 1151 class="text-lg font-semibold text-gray-700 dark:text-gray-200"
1152 > 1152 >
1153 376 1153 376
1154 </p> 1154 </p>
1155 </div> 1155 </div>
1156 </div> 1156 </div>
1157 1157
1158 <div 1158 <div
1159 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 1159 class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
1160 > 1160 >
1161 <div 1161 <div
1162 class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" 1162 class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500"
1163 > 1163 >
1164 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> 1164 <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
1165 <path 1165 <path
1166 fill-rule="evenodd" 1166 fill-rule="evenodd"
1167 d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" 1167 d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z"
1168 clip-rule="evenodd" 1168 clip-rule="evenodd"
1169 ></path> 1169 ></path>
1170 </svg> 1170 </svg>
1171 </div> 1171 </div>
1172 <div> 1172 <div>
1173 <p 1173 <p
1174 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" 1174 class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"
1175 > 1175 >
1176 Pending contacts 1176 Pending contacts
1177 </p> 1177 </p>
1178 <p 1178 <p
1179 class="text-lg font-semibold text-gray-700 dark:text-gray-200" 1179 class="text-lg font-semibold text-gray-700 dark:text-gray-200"
1180 > 1180 >
1181 35 1181 35
1182 </p> 1182 </p>
1183 </div> 1183 </div>
1184 </div> 1184 </div>
1185 </div> 1185 </div>
1186 --> 1186 -->
1187 <!-- New Table 1187 <!-- New Table
1188 <div class="w-full overflow-hidden rounded-lg shadow-xs"> 1188 <div class="w-full overflow-hidden rounded-lg shadow-xs">
1189 <div class="w-full overflow-x-auto"> 1189 <div class="w-full overflow-x-auto">
1190 <table class="w-full whitespace-no-wrap"> 1190 <table class="w-full whitespace-no-wrap">
1191 <thead> 1191 <thead>
1192 <tr 1192 <tr
1193 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" 1193 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
1194 > 1194 >
1195 <th class="px-4 py-3">Client</th> 1195 <th class="px-4 py-3">Client</th>
1196 <th class="px-4 py-3">Amount</th> 1196 <th class="px-4 py-3">Amount</th>
1197 <th class="px-4 py-3">Status</th> 1197 <th class="px-4 py-3">Status</th>
1198 <th class="px-4 py-3">Date</th> 1198 <th class="px-4 py-3">Date</th>
1199 </tr> 1199 </tr>
1200 </thead> 1200 </thead>
1201 <tbody 1201 <tbody
1202 class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" 1202 class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"
1203 > 1203 >
1204 <tr class="text-gray-700 dark:text-gray-400"> 1204 <tr class="text-gray-700 dark:text-gray-400">
1205 <td class="px-4 py-3"> 1205 <td class="px-4 py-3">
1206 <div class="flex items-center text-sm"> 1206 <div class="flex items-center text-sm">
1207 1207
1208 <div 1208 <div
1209 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1209 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1210 > 1210 >
1211 <img 1211 <img
1212 class="object-cover w-full h-full rounded-full" 1212 class="object-cover w-full h-full rounded-full"
1213 src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1213 src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1214 alt="" 1214 alt=""
1215 loading="lazy" 1215 loading="lazy"
1216 /> 1216 />
1217 <div 1217 <div
1218 class="absolute inset-0 rounded-full shadow-inner" 1218 class="absolute inset-0 rounded-full shadow-inner"
1219 aria-hidden="true" 1219 aria-hidden="true"
1220 ></div> 1220 ></div>
1221 </div> 1221 </div>
1222 <div> 1222 <div>
1223 <p class="font-semibold">Hans Burger</p> 1223 <p class="font-semibold">Hans Burger</p>
1224 <p class="text-xs text-gray-600 dark:text-gray-400"> 1224 <p class="text-xs text-gray-600 dark:text-gray-400">
1225 10x Developer 1225 10x Developer
1226 </p> 1226 </p>
1227 </div> 1227 </div>
1228 </div> 1228 </div>
1229 </td> 1229 </td>
1230 <td class="px-4 py-3 text-sm"> 1230 <td class="px-4 py-3 text-sm">
1231 $ 863.45 1231 $ 863.45
1232 </td> 1232 </td>
1233 <td class="px-4 py-3 text-xs"> 1233 <td class="px-4 py-3 text-xs">
1234 <span 1234 <span
1235 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" 1235 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"
1236 > 1236 >
1237 Approved 1237 Approved
1238 </span> 1238 </span>
1239 </td> 1239 </td>
1240 <td class="px-4 py-3 text-sm"> 1240 <td class="px-4 py-3 text-sm">
1241 6/10/2020 1241 6/10/2020
1242 </td> 1242 </td>
1243 </tr> 1243 </tr>
1244 1244
1245 <tr class="text-gray-700 dark:text-gray-400"> 1245 <tr class="text-gray-700 dark:text-gray-400">
1246 <td class="px-4 py-3"> 1246 <td class="px-4 py-3">
1247 <div class="flex items-center text-sm"> 1247 <div class="flex items-center text-sm">
1248 1248
1249 <div 1249 <div
1250 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1250 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1251 > 1251 >
1252 <img 1252 <img
1253 class="object-cover w-full h-full rounded-full" 1253 class="object-cover w-full h-full rounded-full"
1254 src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&facepad=3&fit=facearea&s=707b9c33066bf8808c934c8ab394dff6" 1254 src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&facepad=3&fit=facearea&s=707b9c33066bf8808c934c8ab394dff6"
1255 alt="" 1255 alt=""
1256 loading="lazy" 1256 loading="lazy"
1257 /> 1257 />
1258 <div 1258 <div
1259 class="absolute inset-0 rounded-full shadow-inner" 1259 class="absolute inset-0 rounded-full shadow-inner"
1260 aria-hidden="true" 1260 aria-hidden="true"
1261 ></div> 1261 ></div>
1262 </div> 1262 </div>
1263 <div> 1263 <div>
1264 <p class="font-semibold">Jolina Angelie</p> 1264 <p class="font-semibold">Jolina Angelie</p>
1265 <p class="text-xs text-gray-600 dark:text-gray-400"> 1265 <p class="text-xs text-gray-600 dark:text-gray-400">
1266 Unemployed 1266 Unemployed
1267 </p> 1267 </p>
1268 </div> 1268 </div>
1269 </div> 1269 </div>
1270 </td> 1270 </td>
1271 <td class="px-4 py-3 text-sm"> 1271 <td class="px-4 py-3 text-sm">
1272 $ 369.95 1272 $ 369.95
1273 </td> 1273 </td>
1274 <td class="px-4 py-3 text-xs"> 1274 <td class="px-4 py-3 text-xs">
1275 <span 1275 <span
1276 class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" 1276 class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"
1277 > 1277 >
1278 Pending 1278 Pending
1279 </span> 1279 </span>
1280 </td> 1280 </td>
1281 <td class="px-4 py-3 text-sm"> 1281 <td class="px-4 py-3 text-sm">
1282 6/10/2020 1282 6/10/2020
1283 </td> 1283 </td>
1284 </tr> 1284 </tr>
1285 1285
1286 <tr class="text-gray-700 dark:text-gray-400"> 1286 <tr class="text-gray-700 dark:text-gray-400">
1287 <td class="px-4 py-3"> 1287 <td class="px-4 py-3">
1288 <div class="flex items-center text-sm"> 1288 <div class="flex items-center text-sm">
1289 1289
1290 <div 1290 <div
1291 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1291 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1292 > 1292 >
1293 <img 1293 <img
1294 class="object-cover w-full h-full rounded-full" 1294 class="object-cover w-full h-full rounded-full"
1295 src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1295 src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1296 alt="" 1296 alt=""
1297 loading="lazy" 1297 loading="lazy"
1298 /> 1298 />
1299 <div 1299 <div
1300 class="absolute inset-0 rounded-full shadow-inner" 1300 class="absolute inset-0 rounded-full shadow-inner"
1301 aria-hidden="true" 1301 aria-hidden="true"
1302 ></div> 1302 ></div>
1303 </div> 1303 </div>
1304 <div> 1304 <div>
1305 <p class="font-semibold">Sarah Curry</p> 1305 <p class="font-semibold">Sarah Curry</p>
1306 <p class="text-xs text-gray-600 dark:text-gray-400"> 1306 <p class="text-xs text-gray-600 dark:text-gray-400">
1307 Designer 1307 Designer
1308 </p> 1308 </p>
1309 </div> 1309 </div>
1310 </div> 1310 </div>
1311 </td> 1311 </td>
1312 <td class="px-4 py-3 text-sm"> 1312 <td class="px-4 py-3 text-sm">
1313 $ 86.00 1313 $ 86.00
1314 </td> 1314 </td>
1315 <td class="px-4 py-3 text-xs"> 1315 <td class="px-4 py-3 text-xs">
1316 <span 1316 <span
1317 class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" 1317 class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700"
1318 > 1318 >
1319 Denied 1319 Denied
1320 </span> 1320 </span>
1321 </td> 1321 </td>
1322 <td class="px-4 py-3 text-sm"> 1322 <td class="px-4 py-3 text-sm">
1323 6/10/2020 1323 6/10/2020
1324 </td> 1324 </td>
1325 </tr> 1325 </tr>
1326 1326
1327 <tr class="text-gray-700 dark:text-gray-400"> 1327 <tr class="text-gray-700 dark:text-gray-400">
1328 <td class="px-4 py-3"> 1328 <td class="px-4 py-3">
1329 <div class="flex items-center text-sm"> 1329 <div class="flex items-center text-sm">
1330 1330
1331 <div 1331 <div
1332 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1332 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1333 > 1333 >
1334 <img 1334 <img
1335 class="object-cover w-full h-full rounded-full" 1335 class="object-cover w-full h-full rounded-full"
1336 src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1336 src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1337 alt="" 1337 alt=""
1338 loading="lazy" 1338 loading="lazy"
1339 /> 1339 />
1340 <div 1340 <div
1341 class="absolute inset-0 rounded-full shadow-inner" 1341 class="absolute inset-0 rounded-full shadow-inner"
1342 aria-hidden="true" 1342 aria-hidden="true"
1343 ></div> 1343 ></div>
1344 </div> 1344 </div>
1345 <div> 1345 <div>
1346 <p class="font-semibold">Rulia Joberts</p> 1346 <p class="font-semibold">Rulia Joberts</p>
1347 <p class="text-xs text-gray-600 dark:text-gray-400"> 1347 <p class="text-xs text-gray-600 dark:text-gray-400">
1348 Actress 1348 Actress
1349 </p> 1349 </p>
1350 </div> 1350 </div>
1351 </div> 1351 </div>
1352 </td> 1352 </td>
1353 <td class="px-4 py-3 text-sm"> 1353 <td class="px-4 py-3 text-sm">
1354 $ 1276.45 1354 $ 1276.45
1355 </td> 1355 </td>
1356 <td class="px-4 py-3 text-xs"> 1356 <td class="px-4 py-3 text-xs">
1357 <span 1357 <span
1358 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" 1358 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"
1359 > 1359 >
1360 Approved 1360 Approved
1361 </span> 1361 </span>
1362 </td> 1362 </td>
1363 <td class="px-4 py-3 text-sm"> 1363 <td class="px-4 py-3 text-sm">
1364 6/10/2020 1364 6/10/2020
1365 </td> 1365 </td>
1366 </tr> 1366 </tr>
1367 1367
1368 <tr class="text-gray-700 dark:text-gray-400"> 1368 <tr class="text-gray-700 dark:text-gray-400">
1369 <td class="px-4 py-3"> 1369 <td class="px-4 py-3">
1370 <div class="flex items-center text-sm"> 1370 <div class="flex items-center text-sm">
1371 1371
1372 <div 1372 <div
1373 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1373 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1374 > 1374 >
1375 <img 1375 <img
1376 class="object-cover w-full h-full rounded-full" 1376 class="object-cover w-full h-full rounded-full"
1377 src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1377 src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1378 alt="" 1378 alt=""
1379 loading="lazy" 1379 loading="lazy"
1380 /> 1380 />
1381 <div 1381 <div
1382 class="absolute inset-0 rounded-full shadow-inner" 1382 class="absolute inset-0 rounded-full shadow-inner"
1383 aria-hidden="true" 1383 aria-hidden="true"
1384 ></div> 1384 ></div>
1385 </div> 1385 </div>
1386 <div> 1386 <div>
1387 <p class="font-semibold">Wenzel Dashington</p> 1387 <p class="font-semibold">Wenzel Dashington</p>
1388 <p class="text-xs text-gray-600 dark:text-gray-400"> 1388 <p class="text-xs text-gray-600 dark:text-gray-400">
1389 Actor 1389 Actor
1390 </p> 1390 </p>
1391 </div> 1391 </div>
1392 </div> 1392 </div>
1393 </td> 1393 </td>
1394 <td class="px-4 py-3 text-sm"> 1394 <td class="px-4 py-3 text-sm">
1395 $ 863.45 1395 $ 863.45
1396 </td> 1396 </td>
1397 <td class="px-4 py-3 text-xs"> 1397 <td class="px-4 py-3 text-xs">
1398 <span 1398 <span
1399 class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" 1399 class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700"
1400 > 1400 >
1401 Expired 1401 Expired
1402 </span> 1402 </span>
1403 </td> 1403 </td>
1404 <td class="px-4 py-3 text-sm"> 1404 <td class="px-4 py-3 text-sm">
1405 6/10/2020 1405 6/10/2020
1406 </td> 1406 </td>
1407 </tr> 1407 </tr>
1408 1408
1409 <tr class="text-gray-700 dark:text-gray-400"> 1409 <tr class="text-gray-700 dark:text-gray-400">
1410 <td class="px-4 py-3"> 1410 <td class="px-4 py-3">
1411 <div class="flex items-center text-sm"> 1411 <div class="flex items-center text-sm">
1412 1412
1413 <div 1413 <div
1414 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1414 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1415 > 1415 >
1416 <img 1416 <img
1417 class="object-cover w-full h-full rounded-full" 1417 class="object-cover w-full h-full rounded-full"
1418 src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" 1418 src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5"
1419 alt="" 1419 alt=""
1420 loading="lazy" 1420 loading="lazy"
1421 /> 1421 />
1422 <div 1422 <div
1423 class="absolute inset-0 rounded-full shadow-inner" 1423 class="absolute inset-0 rounded-full shadow-inner"
1424 aria-hidden="true" 1424 aria-hidden="true"
1425 ></div> 1425 ></div>
1426 </div> 1426 </div>
1427 <div> 1427 <div>
1428 <p class="font-semibold">Dave Li</p> 1428 <p class="font-semibold">Dave Li</p>
1429 <p class="text-xs text-gray-600 dark:text-gray-400"> 1429 <p class="text-xs text-gray-600 dark:text-gray-400">
1430 Influencer 1430 Influencer
1431 </p> 1431 </p>
1432 </div> 1432 </div>
1433 </div> 1433 </div>
1434 </td> 1434 </td>
1435 <td class="px-4 py-3 text-sm"> 1435 <td class="px-4 py-3 text-sm">
1436 $ 863.45 1436 $ 863.45
1437 </td> 1437 </td>
1438 <td class="px-4 py-3 text-xs"> 1438 <td class="px-4 py-3 text-xs">
1439 <span 1439 <span
1440 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" 1440 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"
1441 > 1441 >
1442 Approved 1442 Approved
1443 </span> 1443 </span>
1444 </td> 1444 </td>
1445 <td class="px-4 py-3 text-sm"> 1445 <td class="px-4 py-3 text-sm">
1446 6/10/2020 1446 6/10/2020
1447 </td> 1447 </td>
1448 </tr> 1448 </tr>
1449 1449
1450 <tr class="text-gray-700 dark:text-gray-400"> 1450 <tr class="text-gray-700 dark:text-gray-400">
1451 <td class="px-4 py-3"> 1451 <td class="px-4 py-3">
1452 <div class="flex items-center text-sm"> 1452 <div class="flex items-center text-sm">
1453 1453
1454 <div 1454 <div
1455 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1455 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1456 > 1456 >
1457 <img 1457 <img
1458 class="object-cover w-full h-full rounded-full" 1458 class="object-cover w-full h-full rounded-full"
1459 src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1459 src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1460 alt="" 1460 alt=""
1461 loading="lazy" 1461 loading="lazy"
1462 /> 1462 />
1463 <div 1463 <div
1464 class="absolute inset-0 rounded-full shadow-inner" 1464 class="absolute inset-0 rounded-full shadow-inner"
1465 aria-hidden="true" 1465 aria-hidden="true"
1466 ></div> 1466 ></div>
1467 </div> 1467 </div>
1468 <div> 1468 <div>
1469 <p class="font-semibold">Maria Ramovic</p> 1469 <p class="font-semibold">Maria Ramovic</p>
1470 <p class="text-xs text-gray-600 dark:text-gray-400"> 1470 <p class="text-xs text-gray-600 dark:text-gray-400">
1471 Runner 1471 Runner
1472 </p> 1472 </p>
1473 </div> 1473 </div>
1474 </div> 1474 </div>
1475 </td> 1475 </td>
1476 <td class="px-4 py-3 text-sm"> 1476 <td class="px-4 py-3 text-sm">
1477 $ 863.45 1477 $ 863.45
1478 </td> 1478 </td>
1479 <td class="px-4 py-3 text-xs"> 1479 <td class="px-4 py-3 text-xs">
1480 <span 1480 <span
1481 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" 1481 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"
1482 > 1482 >
1483 Approved 1483 Approved
1484 </span> 1484 </span>
1485 </td> 1485 </td>
1486 <td class="px-4 py-3 text-sm"> 1486 <td class="px-4 py-3 text-sm">
1487 6/10/2020 1487 6/10/2020
1488 </td> 1488 </td>
1489 </tr> 1489 </tr>
1490 1490
1491 <tr class="text-gray-700 dark:text-gray-400"> 1491 <tr class="text-gray-700 dark:text-gray-400">
1492 <td class="px-4 py-3"> 1492 <td class="px-4 py-3">
1493 <div class="flex items-center text-sm"> 1493 <div class="flex items-center text-sm">
1494 1494
1495 <div 1495 <div
1496 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1496 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1497 > 1497 >
1498 <img 1498 <img
1499 class="object-cover w-full h-full rounded-full" 1499 class="object-cover w-full h-full rounded-full"
1500 src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1500 src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1501 alt="" 1501 alt=""
1502 loading="lazy" 1502 loading="lazy"
1503 /> 1503 />
1504 <div 1504 <div
1505 class="absolute inset-0 rounded-full shadow-inner" 1505 class="absolute inset-0 rounded-full shadow-inner"
1506 aria-hidden="true" 1506 aria-hidden="true"
1507 ></div> 1507 ></div>
1508 </div> 1508 </div>
1509 <div> 1509 <div>
1510 <p class="font-semibold">Hitney Wouston</p> 1510 <p class="font-semibold">Hitney Wouston</p>
1511 <p class="text-xs text-gray-600 dark:text-gray-400"> 1511 <p class="text-xs text-gray-600 dark:text-gray-400">
1512 Singer 1512 Singer
1513 </p> 1513 </p>
1514 </div> 1514 </div>
1515 </div> 1515 </div>
1516 </td> 1516 </td>
1517 <td class="px-4 py-3 text-sm"> 1517 <td class="px-4 py-3 text-sm">
1518 $ 863.45 1518 $ 863.45
1519 </td> 1519 </td>
1520 <td class="px-4 py-3 text-xs"> 1520 <td class="px-4 py-3 text-xs">
1521 <span 1521 <span
1522 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" 1522 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"
1523 > 1523 >
1524 Approved 1524 Approved
1525 </span> 1525 </span>
1526 </td> 1526 </td>
1527 <td class="px-4 py-3 text-sm"> 1527 <td class="px-4 py-3 text-sm">
1528 6/10/2020 1528 6/10/2020
1529 </td> 1529 </td>
1530 </tr> 1530 </tr>
1531 1531
1532 <tr class="text-gray-700 dark:text-gray-400"> 1532 <tr class="text-gray-700 dark:text-gray-400">
1533 <td class="px-4 py-3"> 1533 <td class="px-4 py-3">
1534 <div class="flex items-center text-sm"> 1534 <div class="flex items-center text-sm">
1535 1535
1536 <div 1536 <div
1537 class="relative hidden w-8 h-8 mr-3 rounded-full md:block" 1537 class="relative hidden w-8 h-8 mr-3 rounded-full md:block"
1538 > 1538 >
1539 <img 1539 <img
1540 class="object-cover w-full h-full rounded-full" 1540 class="object-cover w-full h-full rounded-full"
1541 src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" 1541 src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ"
1542 alt="" 1542 alt=""
1543 loading="lazy" 1543 loading="lazy"
1544 /> 1544 />
1545 <div 1545 <div
1546 class="absolute inset-0 rounded-full shadow-inner" 1546 class="absolute inset-0 rounded-full shadow-inner"
1547 aria-hidden="true" 1547 aria-hidden="true"
1548 ></div> 1548 ></div>
1549 </div> 1549 </div>
1550 <div> 1550 <div>
1551 <p class="font-semibold">Hans Burger</p> 1551 <p class="font-semibold">Hans Burger</p>
1552 <p class="text-xs text-gray-600 dark:text-gray-400"> 1552 <p class="text-xs text-gray-600 dark:text-gray-400">
1553 10x Developer 1553 10x Developer
1554 </p> 1554 </p>
1555 </div> 1555 </div>
1556 </div> 1556 </div>
1557 </td> 1557 </td>
1558 <td class="px-4 py-3 text-sm"> 1558 <td class="px-4 py-3 text-sm">
1559 $ 863.45 1559 $ 863.45
1560 </td> 1560 </td>
1561 <td class="px-4 py-3 text-xs"> 1561 <td class="px-4 py-3 text-xs">
1562 <span 1562 <span
1563 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" 1563 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"
1564 > 1564 >
1565 Approved 1565 Approved
1566 </span> 1566 </span>
1567 </td> 1567 </td>
1568 <td class="px-4 py-3 text-sm"> 1568 <td class="px-4 py-3 text-sm">
1569 6/10/2020 1569 6/10/2020
1570 </td> 1570 </td>
1571 </tr> 1571 </tr>
1572 </tbody> 1572 </tbody>
1573 </table> 1573 </table>
1574 </div> 1574 </div>
1575 <div 1575 <div
1576 class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" 1576 class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"
1577 > 1577 >
1578 <span class="flex items-center col-span-3"> 1578 <span class="flex items-center col-span-3">
1579 Showing 21-30 of 100 1579 Showing 21-30 of 100
1580 </span> 1580 </span>
1581 <span class="col-span-2"></span> 1581 <span class="col-span-2"></span>
1582 1582
1583 <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> 1583 <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end">
1584 <nav aria-label="Table navigation"> 1584 <nav aria-label="Table navigation">
1585 <ul class="inline-flex items-center"> 1585 <ul class="inline-flex items-center">
1586 <li> 1586 <li>
1587 <button 1587 <button
1588 class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" 1588 class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple"
1589 aria-label="Previous" 1589 aria-label="Previous"
1590 > 1590 >
1591 <svg 1591 <svg
1592 aria-hidden="true" 1592 aria-hidden="true"
1593 class="w-4 h-4 fill-current" 1593 class="w-4 h-4 fill-current"
1594 viewBox="0 0 20 20" 1594 viewBox="0 0 20 20"
1595 > 1595 >
1596 <path 1596 <path
1597 d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" 1597 d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"
1598 clip-rule="evenodd" 1598 clip-rule="evenodd"
1599 fill-rule="evenodd" 1599 fill-rule="evenodd"
1600 ></path> 1600 ></path>
1601 </svg> 1601 </svg>
1602 </button> 1602 </button>
1603 </li> 1603 </li>
1604 <li> 1604 <li>
1605 <button 1605 <button
1606 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" 1606 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple"
1607 > 1607 >
1608 1 1608 1
1609 </button> 1609 </button>
1610 </li> 1610 </li>
1611 <li> 1611 <li>
1612 <button 1612 <button
1613 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" 1613 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple"
1614 > 1614 >
1615 2 1615 2
1616 </button> 1616 </button>
1617 </li> 1617 </li>
1618 <li> 1618 <li>
1619 <button 1619 <button
1620 class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" 1620 class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple"
1621 > 1621 >
1622 3 1622 3
1623 </button> 1623 </button>
1624 </li> 1624 </li>
1625 <li> 1625 <li>
1626 <button 1626 <button
1627 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" 1627 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple"
1628 > 1628 >
1629 4 1629 4
1630 </button> 1630 </button>
1631 </li> 1631 </li>
1632 <li> 1632 <li>
1633 <span class="px-3 py-1">...</span> 1633 <span class="px-3 py-1">...</span>
1634 </li> 1634 </li>
1635 <li> 1635 <li>
1636 <button 1636 <button
1637 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" 1637 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple"
1638 > 1638 >
1639 8 1639 8
1640 </button> 1640 </button>
1641 </li> 1641 </li>
1642 <li> 1642 <li>
1643 <button 1643 <button
1644 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" 1644 class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple"
1645 > 1645 >
1646 9 1646 9
1647 </button> 1647 </button>
1648 </li> 1648 </li>
1649 <li> 1649 <li>
1650 <button 1650 <button
1651 class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" 1651 class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple"
1652 aria-label="Next" 1652 aria-label="Next"
1653 > 1653 >
1654 <svg 1654 <svg
1655 class="w-4 h-4 fill-current" 1655 class="w-4 h-4 fill-current"
1656 aria-hidden="true" 1656 aria-hidden="true"
1657 viewBox="0 0 20 20" 1657 viewBox="0 0 20 20"
1658 > 1658 >
1659 <path 1659 <path
1660 d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" 1660 d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
1661 clip-rule="evenodd" 1661 clip-rule="evenodd"
1662 fill-rule="evenodd" 1662 fill-rule="evenodd"
1663 ></path> 1663 ></path>
1664 </svg> 1664 </svg>
1665 </button> 1665 </button>
1666 </li> 1666 </li>
1667 </ul> 1667 </ul>
1668 </nav> 1668 </nav>
1669 </span> 1669 </span>
1670 </div> 1670 </div>
1671 </div> 1671 </div>
1672 --> 1672 -->
1673 <!-- Charts --> 1673 <!-- Charts -->
1674 <!-- 1674 <!--
1675 <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> 1675 <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200">
1676 Графики 1676 Графики
1677 </h2> 1677 </h2>
1678 <div class="grid gap-6 mb-8 md:grid-cols-2"> 1678 <div class="grid gap-6 mb-8 md:grid-cols-2">
1679 <div 1679 <div
1680 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 1680 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
1681 > 1681 >
1682 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> 1682 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300">
1683 Revenue 1683 Revenue
1684 </h4> 1684 </h4>
1685 <canvas id="pie"></canvas> 1685 <canvas id="pie"></canvas>
1686 <div 1686 <div
1687 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" 1687 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400"
1688 > 1688 >
1689 1689
1690 <div class="flex items-center"> 1690 <div class="flex items-center">
1691 <span 1691 <span
1692 class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" 1692 class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full"
1693 ></span> 1693 ></span>
1694 <span>Shirts</span> 1694 <span>Shirts</span>
1695 </div> 1695 </div>
1696 <div class="flex items-center"> 1696 <div class="flex items-center">
1697 <span 1697 <span
1698 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" 1698 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full"
1699 ></span> 1699 ></span>
1700 <span>Shoes</span> 1700 <span>Shoes</span>
1701 </div> 1701 </div>
1702 <div class="flex items-center"> 1702 <div class="flex items-center">
1703 <span 1703 <span
1704 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" 1704 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full"
1705 ></span> 1705 ></span>
1706 <span>Bags</span> 1706 <span>Bags</span>
1707 </div> 1707 </div>
1708 </div> 1708 </div>
1709 </div> 1709 </div>
1710 <div 1710 <div
1711 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" 1711 class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"
1712 > 1712 >
1713 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> 1713 <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300">
1714 Traffic 1714 Traffic
1715 </h4> 1715 </h4>
1716 <canvas id="line"></canvas> 1716 <canvas id="line"></canvas>
1717 <div 1717 <div
1718 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" 1718 class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400"
1719 > 1719 >
1720 1720
1721 <div class="flex items-center"> 1721 <div class="flex items-center">
1722 <span 1722 <span
1723 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" 1723 class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full"
1724 ></span> 1724 ></span>
1725 <span>Organic</span> 1725 <span>Organic</span>
1726 </div> 1726 </div>
1727 <div class="flex items-center"> 1727 <div class="flex items-center">
1728 <span 1728 <span
1729 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" 1729 class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full"
1730 ></span> 1730 ></span>
1731 <span>Paid</span> 1731 <span>Paid</span>
1732 </div> 1732 </div>
1733 </div> 1733 </div>
1734 </div> 1734 </div>
1735 </div> 1735 </div>
1736 --> 1736 -->
1737 </div> 1737 </div>
1738 </main> 1738 </main>
1739 </div> 1739 </div>
1740 </div> 1740 </div>
1741 </body> 1741 </body>
1742 @yield('script') 1742 @yield('script')
1743 </html> 1743 </html>
1744 1744
1 <?php 1 <?php
2 2
3 use App\Http\Controllers\Admin\AdminController; 3 use App\Http\Controllers\Admin\AdminController;
4 use App\Http\Controllers\Admin\CategoryController; 4 use App\Http\Controllers\Admin\CategoryController;
5 use App\Http\Controllers\Admin\EmployersController; 5 use App\Http\Controllers\Admin\EmployersController;
6 use App\Http\Controllers\Admin\InfoBloksController;
6 use App\Http\Controllers\Admin\JobTitlesController; 7 use App\Http\Controllers\Admin\JobTitlesController;
7 use App\Http\Controllers\Admin\UsersController; 8 use App\Http\Controllers\Admin\UsersController;
8 use App\Http\Controllers\Admin\WorkersController; 9 use App\Http\Controllers\Admin\WorkersController;
9 use App\Http\Controllers\Auth\LoginController; 10 use App\Http\Controllers\Auth\LoginController;
10 use App\Http\Controllers\Auth\RegisterController; 11 use App\Http\Controllers\Auth\RegisterController;
11 use App\Models\User; 12 use App\Models\User;
12 use App\Http\Controllers\MainController; 13 use App\Http\Controllers\MainController;
13 use App\Http\Controllers\HomeController; 14 use App\Http\Controllers\HomeController;
14 use Illuminate\Support\Facades\Route; 15 use Illuminate\Support\Facades\Route;
15 use App\Http\Controllers\Admin\CompanyController; 16 use App\Http\Controllers\Admin\CompanyController;
16 use App\Http\Controllers\Admin\Ad_EmployersController; 17 use App\Http\Controllers\Admin\Ad_EmployersController;
17 use App\Http\Controllers\Admin\MsgAnswersController; 18 use App\Http\Controllers\Admin\MsgAnswersController;
18 use App\Http\Controllers\Admin\GroupsController; 19 use App\Http\Controllers\Admin\GroupsController;
19 20
20 21
21 /* 22 /*
22 |-------------------------------------------------------------------------- 23 |--------------------------------------------------------------------------
23 | Web Routes 24 | Web Routes
24 |-------------------------------------------------------------------------- 25 |--------------------------------------------------------------------------
25 | 26 |
26 | Here is where you can register web routes for your application. These 27 | Here is where you can register web routes for your application. These
27 | routes are loaded by the RouteServiceProvider within a group which 28 | routes are loaded by the RouteServiceProvider within a group which
28 | contains the "web" middleware group. Now create something great! 29 | contains the "web" middleware group. Now create something great!
29 | 30 |
30 */ 31 */
31 /* 32 /*
32 Route::get('/', function () { 33 Route::get('/', function () {
33 return view('welcome'); 34 return view('welcome');
34 })->name('index'); 35 })->name('index');
35 */ 36 */
36 Route::get('/', [MainController::class, 'index'])->name('index'); 37 Route::get('/', [MainController::class, 'index'])->name('index');
37 38
38 //Роуты авторизации, регистрации, восстановления, аутентификации 39 //Роуты авторизации, регистрации, восстановления, аутентификации
39 Auth::routes(['verify' => true]); 40 Auth::routes(['verify' => true]);
40 //Личный кабинет пользователя 41 //Личный кабинет пользователя
41 Route::get('/home', [HomeController::class, 'index'])->name('home'); 42 Route::get('/home', [HomeController::class, 'index'])->name('home');
42 43
43 /* 44 /*
44 Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) { 45 Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) {
45 $user = User::where('email',$request->input('email'))->first(); 46 $user = User::where('email',$request->input('email'))->first();
46 47
47 $user->sendEmailVerificationNotification(); 48 $user->sendEmailVerificationNotification();
48 49
49 return 'your response'; 50 return 'your response';
50 })->middleware('throttle:6,1')->name('verification.resend'); 51 })->middleware('throttle:6,1')->name('verification.resend');
51 */ 52 */
52 53
53 // Авторизация, регистрация в админку 54 // Авторизация, регистрация в админку
54 Route::group([ 55 Route::group([
55 'as' => 'admin.', // имя маршрута, например auth.index 56 'as' => 'admin.', // имя маршрута, например auth.index
56 'prefix' => 'admin', // префикс маршрута, например auth/index 57 'prefix' => 'admin', // префикс маршрута, например auth/index
57 'middleware' => ['guest'], 58 'middleware' => ['guest'],
58 ], function () { 59 ], function () {
59 // Форма регистрации 60 // Форма регистрации
60 Route::get('register', [AdminController::class, 'register'])->name('register'); 61 Route::get('register', [AdminController::class, 'register'])->name('register');
61 62
62 // Создание пользователя 63 // Создание пользователя
63 Route::post('register', [AdminController::class, 'create'])->name('create'); 64 Route::post('register', [AdminController::class, 'create'])->name('create');
64 //Форма входа 65 //Форма входа
65 Route::get('login', [AdminController::class, 'login'])->name('login'); 66 Route::get('login', [AdminController::class, 'login'])->name('login');
66 67
67 // аутентификация 68 // аутентификация
68 Route::post('login', [AdminController::class, 'autenticate'])->name('auth'); 69 Route::post('login', [AdminController::class, 'autenticate'])->name('auth');
69 70
70 }); 71 });
71 72
72 // Личный кабинет админки 73 // Личный кабинет админки
73 Route::group([ 74 Route::group([
74 'as' => 'admin.', // имя маршрута, например auth.index 75 'as' => 'admin.', // имя маршрута, например auth.index
75 'prefix' => 'admin', // префикс маршрута, например auth/index 76 'prefix' => 'admin', // префикс маршрута, например auth/index
76 'middleware' => ['auth'], ['admin'], 77 'middleware' => ['auth'], ['admin'],
77 ], function() { 78 ], function() {
78 79
79 // выход 80 // выход
80 Route::get('logout', [AdminController::class, 'logout'])->name('logout'); 81 Route::get('logout', [AdminController::class, 'logout'])->name('logout');
81 82
82 // кабинет главная страница 83 // кабинет главная страница
83 Route::get('cabinet', [AdminController::class, 'index'])->name('index'); 84 Route::get('cabinet', [AdminController::class, 'index'])->name('index');
84 85
85 // кабинет профиль админа - форма 86 // кабинет профиль админа - форма
86 Route::get('profile', [AdminController::class, 'profile'])->name('profile'); 87 Route::get('profile', [AdminController::class, 'profile'])->name('profile');
87 // кабинет профиль админа - сохранение формы 88 // кабинет профиль админа - сохранение формы
88 Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile'); 89 Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile');
89 90
90 // кабинет профиль - форма пароли 91 // кабинет профиль - форма пароли
91 Route::get('password', [AdminController::class, 'profile_password'])->name('password'); 92 Route::get('password', [AdminController::class, 'profile_password'])->name('password');
92 // кабинет профиль - сохранение формы пароля 93 // кабинет профиль - сохранение формы пароля
93 Route::post('password', [AdminController::class, 'profile_password_new'])->name('password'); 94 Route::post('password', [AdminController::class, 'profile_password_new'])->name('password');
94 95
95 96
96 // кабинет профиль пользователя - форма 97 // кабинет профиль пользователя - форма
97 Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile'); 98 Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile');
98 // кабинет профиль пользователя - сохранение формы 99 // кабинет профиль пользователя - сохранение формы
99 Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile'); 100 Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile');
100 101
101 // кабинет профиль работодатель - форма 102 // кабинет профиль работодатель - форма
102 Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile'); 103 Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile');
103 // кабинет профиль работодатель - сохранение формы 104 // кабинет профиль работодатель - сохранение формы
104 Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile'); 105 Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile');
105 106
106 // кабинет профиль работник - форма 107 // кабинет профиль работник - форма
107 Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile'); 108 Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile');
108 109
109 // кабинет настройки сайта - форма 110 // кабинет настройки сайта - форма
110 Route::get('config', [AdminController::class, 'config_form'])->name('config'); 111 Route::get('config', [AdminController::class, 'config_form'])->name('config');
111 // кабинет настройки сайта сохранение формы 112 // кабинет настройки сайта сохранение формы
112 Route::post('config', [AdminController::class, 'store_config'])->name('store_config'); 113 Route::post('config', [AdminController::class, 'store_config'])->name('store_config');
113 114
114 // кабинет - пользователи 115 // кабинет - пользователи
115 Route::get('users', [UsersController::class, 'index'])->name('users'); 116 Route::get('users', [UsersController::class, 'index'])->name('users');
116 117
117 // кабинет - пользователи 118 // кабинет - пользователи
118 Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users'); 119 Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users');
119 120
120 // кабинет - работодатели 121 // кабинет - работодатели
121 Route::get('employers', [EmployersController::class, 'index'])->name('employers'); 122 Route::get('employers', [EmployersController::class, 'index'])->name('employers');
122 123
123 // кабинет - соискатели 124 // кабинет - соискатели
124 Route::get('workers', [WorkersController::class, 'index'])->name('workers'); 125 Route::get('workers', [WorkersController::class, 'index'])->name('workers');
125 126
126 // кабинет - вакансии 127 // кабинет - вакансии
127 Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers'); 128 Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers');
128 129
129 // кабинет - категории 130 // кабинет - категории
130 //Route::get('categories', [AdminController::class, 'index'])->name('categories'); 131 //Route::get('categories', [AdminController::class, 'index'])->name('categories');
131 /* 132 /*
132 * CRUD-операции над Справочником Категории 133 * CRUD-операции над Справочником Категории
133 */ 134 */
134 Route::resource('categories', CategoryController::class, ['except' => ['show']]); 135 Route::resource('categories', CategoryController::class, ['except' => ['show']]);
135 136
136 137
137 //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); 138 //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles');
138 /* 139 /*
139 * кабинет - CRUD-операции по справочнику должности 140 * кабинет - CRUD-операции по справочнику должности
140 * 141 *
141 */ 142 */
142 Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]); 143 Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]);
143 144
144 // кабинет - сообщения 145 // кабинет - сообщения
145 Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages'); 146 Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages');
146 147
147 /* 148 /*
148 * Расписанный подход в описании каждой директорий групп пользователей. 149 * Расписанный подход в описании каждой директорий групп пользователей.
149 */ 150 */
150 // кабинет - группы пользователей 151 // кабинет - группы пользователей
151 Route::get('groups', [GroupsController::class, 'index'])->name('groups'); 152 Route::get('groups', [GroupsController::class, 'index'])->name('groups');
152 // кабинет - добавление форма группы пользователей 153 // кабинет - добавление форма группы пользователей
153 Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group'); 154 Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group');
154 // кабинет - сохранение формы группы пользователей 155 // кабинет - сохранение формы группы пользователей
155 Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store'); 156 Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store');
156 // кабинет - редактирование форма группы пользователей 157 // кабинет - редактирование форма группы пользователей
157 Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group'); 158 Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group');
158 // кабинет - сохранение редактированной формы группы пользователей 159 // кабинет - сохранение редактированной формы группы пользователей
159 Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group'); 160 Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group');
160 // кабинет - удаление группы пользователей 161 // кабинет - удаление группы пользователей
161 Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group'); 162 Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group');
162 163
163 // кабинет - список админов 164 // кабинет - список админов
164 Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); 165 Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin');
165 166
166 /////редактор////// кабинет - редактор сайта//////////////////////// 167 /////редактор////// кабинет - редактор сайта////////////////////////
167 Route::get('editor-site', [CompanyController::class, 'editor'])->name('editor-site'); 168 Route::get('editor-site', function() {
169 return view('admin.editor.index');
170 })->name('editor-site');
168 171
169 // кабинет - редактор шапки-футера сайта 172 // кабинет - редактор шапки-футера сайта
170 Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks'); 173 Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks');
171 174
172 // кабинет - редактор должности на главной 175 // кабинет - редактор должности на главной
173 Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main'); 176 Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main');
174 177
175 // кабинет - редактор работодатели на главной 178 // кабинет - редактор работодатели на главной
176 Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main'); 179 Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main');
177 180
178 // кабинет - редактор seo-сайта 181 // кабинет - редактор seo-сайта
179 Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); 182 Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo');
180 183
181 // кабинет - редактор страниц 184 // кабинет - редактор страниц
182 Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); 185 Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages');
183 186
184 // кабинет - реклама сайта 187 // кабинет - реклама сайта
185 Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); 188 Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames');
186 //////////////////////////////////////////////////////////////////////// 189 ////////////////////////////////////////////////////////////////////////
187 190
188 // кабинет - отзывы о работодателе для модерации 191 // кабинет - отзывы о работодателе для модерации
189 Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); 192 Route::get('answers', [EmployersController::class, 'answers'])->name('answers');
190 193
191 // Общая страница статистики 194 // Общая страница статистики
192 Route::get('statics', function () { 195 Route::get('statics', function () {
193 return view('admin.static.index'); 196 return view('admin.static.index');
194 })->name('statics'); 197 })->name('statics');
195 198
196 // кабинет - статистика работников 199 // кабинет - статистика работников
197 Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); 200 Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers');
198 201
199 // кабинет - статистика вакансий работодателя 202 // кабинет - статистика вакансий работодателя
200 Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); 203 Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads');
201 204
202 // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника 205 // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника
203 Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); 206 /*
207 * CRUD-операции над справочником дипломы и документы
208 */
209 //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks');
210 Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]);
204 211
205 // кабинет - роли пользователя 212 // кабинет - роли пользователя
206 Route::get('roles', [UsersController::class, 'roles'])->name('roles'); 213 Route::get('roles', [UsersController::class, 'roles'])->name('roles');
207 214
208 }); 215 });
209 216