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