Commit 02091c25ac61098c4f125c725575f7892b37d26e
1 parent
e878fca705
Exists in
master
Третье обновление системы
Showing 37 changed files with 1 additions and 995 deletions Inline Diff
- app/Http/Controllers/Admin/EmployersController.php
- app/Http/Controllers/Admin/UsersController.php
- app/Http/Controllers/Admin/WorkersController.php
- app/Models/Ad_employer.php
- app/Models/Category.php
- app/Models/Employer.php
- app/Models/Group_user.php
- app/Models/Job_title.php
- app/Models/Message.php
- app/Models/User.php
- app/Models/Worker.php
- composer.json
- config/app.php
- database/migrations/2023_05_16_081308_create_static_workers_table.php
- database/migrations/2023_05_16_081330_create_static_ads_table.php
- database/migrations/2023_05_16_092746_alter_ad_jobs_table.php
- database/seeders/DatabaseSeeder.php
- resources/views/admin/config.blade.php
- resources/views/admin/employer/index.blade.php
- resources/views/admin/employer/index_ajax.blade.php
- resources/views/admin/index.blade.php
- resources/views/admin/profile.blade.php
- resources/views/admin/users/index.blade.php
- resources/views/admin/users/index_ajax.blade.php
- resources/views/admin/worker/index.blade.php
- resources/views/admin/worker/index_ajax.blade.php
- resources/views/layout/admin.blade.php
- routes/web.php
- storage/app/.gitignore
- storage/app/public/.gitignore
- storage/framework/.gitignore
- storage/framework/cache/.gitignore
- storage/framework/cache/data/.gitignore
- storage/framework/sessions/.gitignore
- storage/framework/testing/.gitignore
- storage/framework/views/.gitignore
- storage/logs/.gitignore
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 | <<<<<<< HEAD | ||
7 | use App\Models\User; | ||
8 | use Illuminate\Http\Request; | ||
9 | ======= | ||
10 | use App\Models\Answer; | 6 | use App\Models\Answer; |
11 | use App\Models\Employer; | 7 | use App\Models\Employer; |
12 | use App\Models\User; | 8 | use App\Models\User; |
13 | use Illuminate\Http\Request; | 9 | use Illuminate\Http\Request; |
14 | use Illuminate\Support\Facades\Storage; | 10 | use Illuminate\Support\Facades\Storage; |
15 | use Illuminate\Support\Facades\Validator; | 11 | use Illuminate\Support\Facades\Validator; |
16 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
17 | 12 | ||
18 | class EmployersController extends Controller | 13 | class EmployersController extends Controller |
19 | { | 14 | { |
20 | public function index(Request $request) { | 15 | public function index(Request $request) { |
21 | if ($request->ajax()) { | 16 | if ($request->ajax()) { |
22 | $user = User::find($request->id); | 17 | $user = User::find($request->id); |
23 | $request->offsetUnset('id'); | 18 | $request->offsetUnset('id'); |
24 | $user->update($request->all()); | 19 | $user->update($request->all()); |
25 | } | 20 | } |
26 | 21 | ||
27 | $users = User::where('is_worker', '0')->paginate(15); | 22 | $users = User::where('is_worker', '0')->paginate(15); |
28 | if ($request->ajax()) { | 23 | if ($request->ajax()) { |
29 | return view('admin.employer.index_ajax', compact('users')); | 24 | return view('admin.employer.index_ajax', compact('users')); |
30 | } else { | 25 | } else { |
31 | return view('admin.employer.index', compact('users')); | 26 | return view('admin.employer.index', compact('users')); |
32 | } | 27 | } |
33 | } | 28 | } |
34 | <<<<<<< HEAD | ||
35 | ======= | ||
36 | 29 | ||
37 | public function form_update_employer(Employer $employer) { | 30 | public function form_update_employer(Employer $employer) { |
38 | return view('admin.employer.edit', compact('employer')); | 31 | return view('admin.employer.edit', compact('employer')); |
39 | } | 32 | } |
40 | 33 | ||
41 | public function update_employer(Employer $employer, Request $request) | 34 | public function update_employer(Employer $employer, Request $request) |
42 | { | 35 | { |
43 | $params = $request->all(); | 36 | $params = $request->all(); |
44 | unset($params['logo']); | 37 | unset($params['logo']); |
45 | unset($params['telephone']); | 38 | unset($params['telephone']); |
46 | unset($params['email']); | 39 | unset($params['email']); |
47 | unset($params['address']); | 40 | unset($params['address']); |
48 | unset($params['site']); | 41 | unset($params['site']); |
49 | 42 | ||
50 | $rules = [ | 43 | $rules = [ |
51 | 'name' => 'required|string|max:255', | 44 | 'name' => 'required|string|max:255', |
52 | ]; | 45 | ]; |
53 | 46 | ||
54 | $messages = [ | 47 | $messages = [ |
55 | 'required' => 'Укажите обязательное поле «:attribute»', | 48 | 'required' => 'Укажите обязательное поле «:attribute»', |
56 | 'confirmed' => 'Пароли не совпадают', | 49 | 'confirmed' => 'Пароли не совпадают', |
57 | 'email' => 'Введите корректный email', | 50 | 'email' => 'Введите корректный email', |
58 | 'min' => [ | 51 | 'min' => [ |
59 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 52 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
60 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 53 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
61 | ], | 54 | ], |
62 | 'max' => [ | 55 | 'max' => [ |
63 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 56 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
64 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 57 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
65 | ], | 58 | ], |
66 | ]; | 59 | ]; |
67 | 60 | ||
68 | $validator = Validator::make($params, $rules, $messages); | 61 | $validator = Validator::make($params, $rules, $messages); |
69 | 62 | ||
70 | if ($validator->fails()) { | 63 | if ($validator->fails()) { |
71 | return back()->withErrors($validator)->withInput(); //->route('admin.register') | 64 | return back()->withErrors($validator)->withInput(); //->route('admin.register') |
72 | 65 | ||
73 | } else { | 66 | } else { |
74 | 67 | ||
75 | //$user = User::find($employer->user_id); | 68 | //$user = User::find($employer->user_id); |
76 | $user_id = $employer->user_id; | 69 | $user_id = $employer->user_id; |
77 | $employer->telephone = $request->telephone; | 70 | $employer->telephone = $request->telephone; |
78 | $employer->email = $request->email; | 71 | $employer->email = $request->email; |
79 | $employer->address = $request->address; | 72 | $employer->address = $request->address; |
80 | $employer->site = $request->site; | 73 | $employer->site = $request->site; |
81 | $employer->text = $request->text; | 74 | $employer->text = $request->text; |
82 | 75 | ||
83 | if ($request->has('logo')) { | 76 | if ($request->has('logo')) { |
84 | if (!empty($employer->logo)) { | 77 | if (!empty($employer->logo)) { |
85 | Storage::delete($employer->logo); | 78 | Storage::delete($employer->logo); |
86 | } | 79 | } |
87 | $employer->logo = $request->file('logo')->store("employer/$user_id", 'public'); | 80 | $employer->logo = $request->file('logo')->store("employer/$user_id", 'public'); |
88 | } | 81 | } |
89 | $employer->save(); | 82 | $employer->save(); |
90 | 83 | ||
91 | $user = User::find($user_id); | 84 | $user = User::find($user_id); |
92 | $user->update($params); | 85 | $user->update($params); |
93 | 86 | ||
94 | return redirect()->route('admin.employer-profile', ['employer' => $employer->id]) | 87 | return redirect()->route('admin.employer-profile', ['employer' => $employer->id]) |
95 | ->with('success', 'Данные были успешно сохранены'); | 88 | ->with('success', 'Данные были успешно сохранены'); |
96 | } | 89 | } |
97 | } | 90 | } |
98 | 91 | ||
99 | // кабинет - отзывы о работодателе для модерации | 92 | // кабинет - отзывы о работодателе для модерации |
100 | public function answers(Request $request) { | 93 | public function answers(Request $request) { |
101 | if ($request->ajax()) { | 94 | if ($request->ajax()) { |
102 | $user = Answer::find($request->id); | 95 | $user = Answer::find($request->id); |
103 | $request->offsetUnset('id'); | 96 | $request->offsetUnset('id'); |
104 | $user->update($request->all()); | 97 | $user->update($request->all()); |
105 | } | 98 | } |
106 | 99 | ||
107 | $answers = Answer::query()->orderByDesc('id')->paginate(15); | 100 | $answers = Answer::query()->orderByDesc('id')->paginate(15); |
108 | 101 | ||
109 | if ($request->ajax()) { | 102 | if ($request->ajax()) { |
110 | return view('admin.answers.index_ajax', compact('answers')); | 103 | return view('admin.answers.index_ajax', compact('answers')); |
111 | } else { | 104 | } else { |
112 | return view('admin.answers.index', compact('answers')); | 105 | return view('admin.answers.index', compact('answers')); |
113 | } | 106 | } |
114 | } | 107 | } |
115 | 108 | ||
116 | // кабинет - статистика вакансий работодателя | 109 | // кабинет - статистика вакансий работодателя |
117 | public function static_ads() { | 110 | public function static_ads() { |
118 | return; | 111 | return; |
119 | } | 112 | } |
120 | 113 | ||
121 | 114 | ||
122 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
123 | } | 115 | } |
124 | 116 |
app/Http/Controllers/Admin/UsersController.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Http\Controllers\Admin; | 3 | namespace App\Http\Controllers\Admin; |
4 | 4 | ||
5 | use App\Http\Controllers\Controller; | 5 | use App\Http\Controllers\Controller; |
6 | use App\Models\User; | 6 | use App\Models\User; |
7 | use Illuminate\Http\Request; | 7 | use Illuminate\Http\Request; |
8 | <<<<<<< HEAD | ||
9 | ======= | ||
10 | use Illuminate\Support\Facades\Auth; | 8 | use Illuminate\Support\Facades\Auth; |
11 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
12 | 9 | ||
13 | class UsersController extends Controller | 10 | class UsersController extends Controller |
14 | { | 11 | { |
15 | public function index(Request $request) { | 12 | public function index(Request $request) { |
16 | <<<<<<< HEAD | ||
17 | ======= | ||
18 | $title = 'Админка - Пользователи системы'; | 13 | $title = 'Админка - Пользователи системы'; |
19 | $id_admin = Auth::user()->id; | 14 | $id_admin = Auth::user()->id; |
20 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
21 | if ($request->ajax()) { | 15 | if ($request->ajax()) { |
22 | $user = User::find($request->id); | 16 | $user = User::find($request->id); |
23 | $request->offsetUnset('id'); | 17 | $request->offsetUnset('id'); |
24 | $user->update($request->all()); | 18 | $user->update($request->all()); |
25 | } | 19 | } |
26 | 20 | ||
27 | $users = User::query()->paginate(15); | 21 | $users = User::query()->paginate(15); |
28 | 22 | ||
29 | if ($request->ajax()) { | 23 | if ($request->ajax()) { |
30 | <<<<<<< HEAD | ||
31 | return view('admin.users.index_ajax', compact('users')); | ||
32 | } else { | ||
33 | return view('admin.users.index', compact('users')); | ||
34 | } | ||
35 | } | ||
36 | |||
37 | ======= | ||
38 | return view('admin.users.index_ajax', compact('users', 'id_admin')); | 24 | return view('admin.users.index_ajax', compact('users', 'id_admin')); |
39 | } else { | 25 | } else { |
40 | return view('admin.users.index', compact('users', 'title', 'id_admin')); | 26 | return view('admin.users.index', compact('users', 'title', 'id_admin')); |
41 | } | 27 | } |
42 | } | 28 | } |
43 | 29 | ||
44 | public function roles(Request $request) { | 30 | public function roles(Request $request) { |
45 | if ($request->ajax()) { | 31 | if ($request->ajax()) { |
46 | $user = User::find($request->id); | 32 | $user = User::find($request->id); |
47 | $request->offsetUnset('id'); | 33 | $request->offsetUnset('id'); |
48 | $user->update($request->all()); | 34 | $user->update($request->all()); |
49 | } | 35 | } |
50 | 36 | ||
51 | $users = User::query()->paginate(15); | 37 | $users = User::query()->paginate(15); |
52 | 38 | ||
53 | if ($request->ajax()) { | 39 | if ($request->ajax()) { |
54 | return view('admin.users.roles.index_ajax', compact('users')); | 40 | return view('admin.users.roles.index_ajax', compact('users')); |
55 | } else { | 41 | } else { |
56 | return view('admin.users.roles.index', compact('users')); | 42 | return view('admin.users.roles.index', compact('users')); |
57 | } | 43 | } |
58 | } | 44 | } |
59 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
60 | } | 45 | } |
61 | 46 |
app/Http/Controllers/Admin/WorkersController.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Http\Controllers\Admin; | 3 | namespace App\Http\Controllers\Admin; |
4 | 4 | ||
5 | use App\Http\Controllers\Controller; | 5 | use App\Http\Controllers\Controller; |
6 | use App\Models\User; | 6 | use App\Models\User; |
7 | <<<<<<< HEAD | ||
8 | ======= | ||
9 | use App\Models\Worker; | 7 | use App\Models\Worker; |
10 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
11 | use Illuminate\Http\Request; | 8 | use Illuminate\Http\Request; |
12 | 9 | ||
13 | class WorkersController extends Controller | 10 | class WorkersController extends Controller |
14 | { | 11 | { |
15 | public function index(Request $request) { | 12 | public function index(Request $request) { |
16 | if ($request->ajax()) { | 13 | if ($request->ajax()) { |
17 | $user = User::find($request->id); | 14 | $user = User::find($request->id); |
18 | $request->offsetUnset('id'); | 15 | $request->offsetUnset('id'); |
19 | $user->update($request->all()); | 16 | $user->update($request->all()); |
20 | } | 17 | } |
21 | 18 | ||
22 | $users = User::where('is_worker', '1')->paginate(15); | 19 | $users = User::where('is_worker', '1')->paginate(15); |
23 | 20 | ||
24 | if ($request->ajax()) { | 21 | if ($request->ajax()) { |
25 | return view('admin.worker.index_ajax', compact('users')); | 22 | return view('admin.worker.index_ajax', compact('users')); |
26 | } else { | 23 | } else { |
27 | return view('admin.worker.index', compact('users')); | 24 | return view('admin.worker.index', compact('users')); |
28 | } | 25 | } |
29 | } | 26 | } |
30 | <<<<<<< HEAD | ||
31 | ======= | ||
32 | 27 | ||
33 | public function form_update_worker(Worker $worker) { | 28 | public function form_update_worker(Worker $worker) { |
34 | return view('admin.worker.edit'); | 29 | return view('admin.worker.edit'); |
35 | } | 30 | } |
36 | 31 | ||
37 | // кабинет - статистика работников | 32 | // кабинет - статистика работников |
38 | public function static_workers() { | 33 | public function static_workers() { |
39 | return; | 34 | return; |
40 | } | 35 | } |
41 | 36 | ||
42 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
43 | } | 37 | } |
44 | 38 |
app/Models/Ad_employer.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Ad_employer extends Model | 8 | class Ad_employer extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | <<<<<<< HEAD | ||
12 | ======= | ||
13 | 11 | ||
14 | protected $fillable = [ | 12 | protected $fillable = [ |
15 | 'name', | 13 | 'name', |
16 | 'telephone', | 14 | 'telephone', |
17 | 'email', | 15 | 'email', |
18 | 'salary', | 16 | 'salary', |
19 | 'category_id', | 17 | 'category_id', |
20 | 'text', | 18 | 'text', |
21 | 'employer_id', | 19 | 'employer_id', |
22 | 'city', | 20 | 'city', |
23 | 'sort', | 21 | 'sort', |
24 | 'is_remove', | 22 | 'is_remove', |
25 | 'active_is', | 23 | 'active_is', |
26 | ]; | 24 | ]; |
27 | /* | 25 | /* |
28 | * Связь таблицы employers с таблицей ad_employers | 26 | * Связь таблицы employers с таблицей ad_employers |
29 | многие-к-одному | 27 | многие-к-одному |
30 | */ | 28 | */ |
31 | public function employer() { | 29 | public function employer() { |
32 | return $this->belongsTo(Employer::class, 'employer_id'); | 30 | return $this->belongsTo(Employer::class, 'employer_id'); |
33 | } | 31 | } |
34 | 32 | ||
35 | /* | 33 | /* |
36 | * Связь модели Вакансии (Ad_employer) с моделью Должности (Job_title) | 34 | * Связь модели Вакансии (Ad_employer) с моделью Должности (Job_title) |
37 | многие-ко-многим | 35 | многие-ко-многим |
38 | */ | 36 | */ |
39 | public function jobs() { | 37 | public function jobs() { |
40 | return $this->belongsToMany(Job_title::class, 'ad_jobs'); | 38 | return $this->belongsToMany(Job_title::class, 'ad_jobs'); |
41 | } | 39 | } |
42 | 40 | ||
43 | /* | 41 | /* |
44 | * Связь модели Вакансия (Ad_employers) с моделью Отклик на Вакансию (Ad_response) | 42 | * Связь модели Вакансия (Ad_employers) с моделью Отклик на Вакансию (Ad_response) |
45 | один-ко-многим | 43 | один-ко-многим |
46 | */ | 44 | */ |
47 | public function response() { | 45 | public function response() { |
48 | return $this->hasMany(ad_response::class); | 46 | return $this->hasMany(ad_response::class); |
49 | } | 47 | } |
50 | 48 | ||
51 | public function scopeActive($query) { | 49 | public function scopeActive($query) { |
52 | return $query->where('is_remove', '=', '0'); | 50 | return $query->where('is_remove', '=', '0'); |
53 | } | 51 | } |
54 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
55 | } | 52 | } |
56 | 53 |
app/Models/Category.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Category extends Model | 8 | class Category extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | <<<<<<< HEAD | ||
12 | ======= | ||
13 | 11 | ||
14 | protected $fillable = [ | 12 | protected $fillable = [ |
15 | 'name', | 13 | 'name', |
16 | 'is_remove' | 14 | 'is_remove' |
17 | ]; | 15 | ]; |
18 | 16 | ||
19 | public function scopeActive($query) { | 17 | public function scopeActive($query) { |
20 | return $query->where('is_remove', '=', '0'); | 18 | return $query->where('is_remove', '=', '0'); |
21 | } | 19 | } |
22 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
23 | } | 20 | } |
24 | 21 |
app/Models/Employer.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Employer extends Model | 8 | class Employer extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | 11 | ||
12 | protected $fillable = [ | 12 | protected $fillable = [ |
13 | 'name_company', | 13 | 'name_company', |
14 | 'email', | 14 | 'email', |
15 | 'telephone', | 15 | 'telephone', |
16 | 'logo', | 16 | 'logo', |
17 | 'rate', | 17 | 'rate', |
18 | 'user_id', | 18 | 'user_id', |
19 | 'sort', | 19 | 'sort', |
20 | 'text', | 20 | 'text', |
21 | 'address', | 21 | 'address', |
22 | 'map', | 22 | 'map', |
23 | 'site', | 23 | 'site', |
24 | <<<<<<< HEAD | ||
25 | ======= | ||
26 | 'coord', | 24 | 'coord', |
27 | 'plus', | 25 | 'plus', |
28 | 'is_remove', | 26 | 'is_remove', |
29 | 'oficial_status', | 27 | 'oficial_status', |
30 | 'social_is', | 28 | 'social_is', |
31 | 'sending_is', | 29 | 'sending_is', |
32 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
33 | ]; | 30 | ]; |
34 | 31 | ||
35 | /* | 32 | /* |
36 | * Связь таблицы users с таблицей employers | 33 | * Связь таблицы users с таблицей employers |
37 | */ | 34 | */ |
38 | public function users() { | 35 | public function users() { |
39 | return $this->belongsTo(User::class, 'user_id'); | 36 | return $this->belongsTo(User::class, 'user_id'); |
40 | } | 37 | } |
41 | 38 | ||
42 | <<<<<<< HEAD | ||
43 | ======= | ||
44 | /* | 39 | /* |
45 | * Связь Работодателя с вакансиями | 40 | * Связь Работодателя с вакансиями |
46 | */ | 41 | */ |
47 | public function ads() { | 42 | public function ads() { |
48 | return $this->hasMany(Ad_employer::class); | 43 | return $this->hasMany(Ad_employer::class); |
49 | } | 44 | } |
50 | 45 | ||
51 | public function scopeActive($query) { | 46 | public function scopeActive($query) { |
52 | return $query->where('is_remove', '=', '0'); | 47 | return $query->where('is_remove', '=', '0'); |
53 | } | 48 | } |
54 | 49 | ||
55 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
56 | } | 50 | } |
57 | 51 |
app/Models/Group_user.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Group_user extends Model | 8 | class Group_user extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | <<<<<<< HEAD | ||
12 | ======= | ||
13 | 11 | ||
14 | protected $fillable = [ | 12 | protected $fillable = [ |
15 | 'name_group', | 13 | 'name_group', |
16 | 'user_id', | 14 | 'user_id', |
17 | 'is_remove', | 15 | 'is_remove', |
18 | ]; | 16 | ]; |
19 | 17 | ||
20 | /* | 18 | /* |
21 | * Связь Модели Группы (Group_user) с Модели Юзеры (User) | 19 | * Связь Модели Группы (Group_user) с Модели Юзеры (User) |
22 | многие-к-одному | 20 | многие-к-одному |
23 | */ | 21 | */ |
24 | public function user() { | 22 | public function user() { |
25 | return $this->belongsTo(User::class, 'user_id'); | 23 | return $this->belongsTo(User::class, 'user_id'); |
26 | } | 24 | } |
27 | 25 | ||
28 | /* | 26 | /* |
29 | * Связь модели Группы (Group_user) с Моделью Юзеры (User) - участники группы | 27 | * Связь модели Группы (Group_user) с Моделью Юзеры (User) - участники группы |
30 | многие-ко-многим | 28 | многие-ко-многим |
31 | */ | 29 | */ |
32 | public function ingroup() { | 30 | public function ingroup() { |
33 | return $this->belongsToMany(User::class, 'group_works'); | 31 | return $this->belongsToMany(User::class, 'group_works'); |
34 | } | 32 | } |
35 | 33 | ||
36 | /* | 34 | /* |
37 | * Связь модели Группы (Group_users) с моделью Группы пользователей (Group_works) | 35 | * Связь модели Группы (Group_users) с моделью Группы пользователей (Group_works) |
38 | один-ко-многим | 36 | один-ко-многим |
39 | */ | 37 | */ |
40 | public function peoples() { | 38 | public function peoples() { |
41 | return $this->hasMany(Group_works::class); | 39 | return $this->hasMany(Group_works::class); |
42 | } | 40 | } |
43 | 41 | ||
44 | public function scopeActive($query) { | 42 | public function scopeActive($query) { |
45 | return $query->where('is_remove', '=', '0'); | 43 | return $query->where('is_remove', '=', '0'); |
46 | } | 44 | } |
47 | 45 | ||
48 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
49 | } | 46 | } |
50 | 47 |
app/Models/Job_title.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Job_title extends Model | 8 | class Job_title extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | <<<<<<< HEAD | ||
12 | ======= | ||
13 | 11 | ||
14 | protected $fillable = [ | 12 | protected $fillable = [ |
15 | 'name', | 13 | 'name', |
16 | 'is_remove', | 14 | 'is_remove', |
17 | 'parent_id', | 15 | 'parent_id', |
18 | ]; | 16 | ]; |
19 | /* | 17 | /* |
20 | * Связь модели Вакансии (Ad_employer) с моделью Должности (Job_title) | 18 | * Связь модели Вакансии (Ad_employer) с моделью Должности (Job_title) |
21 | */ | 19 | */ |
22 | public function Ads() { | 20 | public function Ads() { |
23 | return $this->belongsToMany(Ad_employer::class, 'ad_jobs'); | 21 | return $this->belongsToMany(Ad_employer::class, 'ad_jobs'); |
24 | } | 22 | } |
25 | 23 | ||
26 | /* | 24 | /* |
27 | * Связь таблицы job_titles с таблицей job_titles через ключ parent_id | 25 | * Связь таблицы job_titles с таблицей job_titles через ключ parent_id |
28 | многие-к-одному | 26 | многие-к-одному |
29 | */ | 27 | */ |
30 | public function parent() { | 28 | public function parent() { |
31 | return $this->belongsTo(Job_title::class, 'parent_id'); | 29 | return $this->belongsTo(Job_title::class, 'parent_id'); |
32 | } | 30 | } |
33 | 31 | ||
34 | public function scopeActive($query) { | 32 | public function scopeActive($query) { |
35 | return $query->where('is_remove', '=', '0'); | 33 | return $query->where('is_remove', '=', '0'); |
36 | } | 34 | } |
37 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
38 | } | 35 | } |
39 | 36 |
app/Models/Message.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Message extends Model | 8 | class Message extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | <<<<<<< HEAD | ||
12 | ======= | ||
13 | 11 | ||
14 | /* | 12 | /* |
15 | * Связь таблицы Message с таблицей User (Отправитель) | 13 | * Связь таблицы Message с таблицей User (Отправитель) |
16 | */ | 14 | */ |
17 | public function user_from() { | 15 | public function user_from() { |
18 | return $this->belongsTo(User::class, 'user_id'); | 16 | return $this->belongsTo(User::class, 'user_id'); |
19 | } | 17 | } |
20 | 18 | ||
21 | /* | 19 | /* |
22 | * Связь таблицы Message с таблицей User (Получатель) | 20 | * Связь таблицы Message с таблицей User (Получатель) |
23 | */ | 21 | */ |
24 | public function user_to() { | 22 | public function user_to() { |
25 | return $this->belongsTo(User::class, 'to_user_id'); | 23 | return $this->belongsTo(User::class, 'to_user_id'); |
26 | } | 24 | } |
27 | 25 | ||
28 | /* | 26 | /* |
29 | * Связь модели Сообщения (Message) с моделью Отклик на Вакансию (Ad_response) | 27 | * Связь модели Сообщения (Message) с моделью Отклик на Вакансию (Ad_response) |
30 | */ | 28 | */ |
31 | public function response() { | 29 | public function response() { |
32 | return $this->hasMany(ad_response::class); | 30 | return $this->hasMany(ad_response::class); |
33 | } | 31 | } |
34 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
35 | } | 32 | } |
36 | 33 |
app/Models/User.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | // use Illuminate\Contracts\Auth\MustVerifyEmail; | 5 | // use Illuminate\Contracts\Auth\MustVerifyEmail; |
6 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 6 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
7 | use Illuminate\Foundation\Auth\User as Authenticatable; | 7 | use Illuminate\Foundation\Auth\User as Authenticatable; |
8 | use Illuminate\Notifications\Notifiable; | 8 | use Illuminate\Notifications\Notifiable; |
9 | use Laravel\Sanctum\HasApiTokens; | 9 | use Laravel\Sanctum\HasApiTokens; |
10 | 10 | ||
11 | class User extends Authenticatable | 11 | class User extends Authenticatable |
12 | { | 12 | { |
13 | use HasApiTokens, HasFactory, Notifiable; | 13 | use HasApiTokens, HasFactory, Notifiable; |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * The attributes that are mass assignable. | 16 | * The attributes that are mass assignable. |
17 | * | 17 | * |
18 | * @var array<int, string> | 18 | * @var array<int, string> |
19 | */ | 19 | */ |
20 | protected $fillable = [ | 20 | protected $fillable = [ |
21 | 'name', | 21 | 'name', |
22 | 'email', | 22 | 'email', |
23 | 'password', | 23 | 'password', |
24 | 'admin', | 24 | 'admin', |
25 | 'telephone', | 25 | 'telephone', |
26 | 'surname', | 26 | 'surname', |
27 | 'name_man', | 27 | 'name_man', |
28 | 'surname2', | 28 | 'surname2', |
29 | 'is_worker', | 29 | 'is_worker', |
30 | 'is_lookin', | 30 | 'is_lookin', |
31 | 'is_message', | 31 | 'is_message', |
32 | 'is_public', | 32 | 'is_public', |
33 | 'is_remove', | 33 | 'is_remove', |
34 | 'is_ban', | 34 | 'is_ban', |
35 | 'is_new', | 35 | 'is_new', |
36 | ]; | 36 | ]; |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * The attributes that should be hidden for serialization. | 39 | * The attributes that should be hidden for serialization. |
40 | * | 40 | * |
41 | * @var array<int, string> | 41 | * @var array<int, string> |
42 | */ | 42 | */ |
43 | protected $hidden = [ | 43 | protected $hidden = [ |
44 | 'password', | 44 | 'password', |
45 | 'remember_token', | 45 | 'remember_token', |
46 | ]; | 46 | ]; |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * The attributes that should be cast. | 49 | * The attributes that should be cast. |
50 | * | 50 | * |
51 | * @var array<string, string> | 51 | * @var array<string, string> |
52 | */ | 52 | */ |
53 | protected $casts = [ | 53 | protected $casts = [ |
54 | 'email_verified_at' => 'datetime', | 54 | 'email_verified_at' => 'datetime', |
55 | ]; | 55 | ]; |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * Связь Пользователей системы с работодателями | 58 | * Связь Пользователей системы с работодателями |
59 | * users - employers | 59 | * users - employers |
60 | */ | 60 | */ |
61 | public function employers() { | 61 | public function employers() { |
62 | <<<<<<< HEAD | ||
63 | return $this->hasMany(Employer::class); | ||
64 | ======= | ||
65 | return $this->hasMany(Employer::class, 'user_id'); | 62 | return $this->hasMany(Employer::class, 'user_id'); |
66 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
67 | } | 63 | } |
68 | 64 | ||
69 | /* | 65 | /* |
70 | * Связь Пользователей системы с работниками | 66 | * Связь Пользователей системы с работниками |
71 | * users - workers | 67 | * users - workers |
72 | */ | 68 | */ |
73 | public function workers() { | 69 | public function workers() { |
74 | <<<<<<< HEAD | ||
75 | return $this->hasMany(Worker::class); | ||
76 | } | ||
77 | |||
78 | /* | ||
79 | * Связь Пользователей системы с группами юзеров | ||
80 | * users - group_users | ||
81 | */ | ||
82 | public function groups() { | ||
83 | return $this->hasMany(Group_user::class); | ||
84 | ======= | ||
85 | return $this->hasMany(Worker::class, 'user_id'); | 70 | return $this->hasMany(Worker::class, 'user_id'); |
86 | } | 71 | } |
87 | 72 | ||
88 | /* | 73 | /* |
89 | * Связь Модели Пользователей(Users) с Группами (Group_users) | 74 | * Связь Модели Пользователей(Users) с Группами (Group_users) |
90 | * users - group_users | 75 | * users - group_users |
91 | многие-ко-многим | 76 | многие-ко-многим |
92 | */ | 77 | */ |
93 | public function ingroup() { | 78 | public function ingroup() { |
94 | return $this->belongsToMany(Group_user::class, 'group_works'); | 79 | return $this->belongsToMany(Group_user::class, 'group_works'); |
95 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
96 | } | 80 | } |
97 | 81 | ||
98 | /* | 82 | /* |
99 | * Связь Пользователей системы с ссобщениями | 83 | * Связь Пользователей системы с ссобщениями |
100 | * users - messages | 84 | * users - messages |
101 | */ | 85 | */ |
102 | public function messages() { | 86 | public function messages() { |
103 | return $this->hasMany(Message::class); | 87 | return $this->hasMany(Message::class); |
104 | } | 88 | } |
105 | 89 | ||
106 | /* | 90 | /* |
107 | * Связь Пользователей системы с статистика | 91 | * Связь Пользователей системы с статистика |
108 | * users - static_workers | 92 | * users - static_workers |
109 | */ | 93 | */ |
110 | public function static_user() { | 94 | public function static_user() { |
111 | return $this->hasMany(Static_worker::class); | 95 | return $this->hasMany(Static_worker::class); |
112 | } | 96 | } |
113 | 97 | ||
114 | <<<<<<< HEAD | ||
115 | ======= | ||
116 | /* | 98 | /* |
117 | * Связь модели Юзеры (users) с моделью Группы пользователей (Group_works) | 99 | * Связь модели Юзеры (users) с моделью Группы пользователей (Group_works) |
118 | один-ко-многим | 100 | один-ко-многим |
119 | */ | 101 | */ |
120 | public function peoples() { | 102 | public function peoples() { |
121 | return $this->hasMany(Group_works::class); | 103 | return $this->hasMany(Group_works::class); |
122 | } | 104 | } |
123 | 105 | ||
124 | public function scopeActive($query) { | 106 | public function scopeActive($query) { |
125 | return $query->where('is_remove', '=', '0'); | 107 | return $query->where('is_remove', '=', '0'); |
126 | } | 108 | } |
127 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
128 | 109 | ||
129 | } | 110 | } |
130 | 111 |
app/Models/Worker.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Worker extends Model | 8 | class Worker extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | 11 | ||
12 | protected $fillable = [ | 12 | protected $fillable = [ |
13 | 'user_id', | 13 | 'user_id', |
14 | 'status_work', | 14 | 'status_work', |
15 | 'position_work', | 15 | 'position_work', |
16 | 'telephone', | 16 | 'telephone', |
17 | 'telephone2', | 17 | 'telephone2', |
18 | 'persent_anketa', | 18 | 'persent_anketa', |
19 | 'photo', | 19 | 'photo', |
20 | 'email_data', | 20 | 'email_data', |
21 | 'status_profile', | 21 | 'status_profile', |
22 | 'old_year', | 22 | 'old_year', |
23 | 'experience', | 23 | 'experience', |
24 | 'en_is', | 24 | 'en_is', |
25 | 'education', | 25 | 'education', |
26 | 'email', | 26 | 'email', |
27 | 'interpassport', | 27 | 'interpassport', |
28 | 'mk', | 28 | 'mk', |
29 | 'vvp', | 29 | 'vvp', |
30 | 'vlm', | 30 | 'vlm', |
31 | 'reka_diplom', | 31 | 'reka_diplom', |
32 | 'more_diplom', | 32 | 'more_diplom', |
33 | 'mpss', | 33 | 'mpss', |
34 | 'tanker', | 34 | 'tanker', |
35 | 'gmssb', | 35 | 'gmssb', |
36 | 'resume', | 36 | 'resume', |
37 | 'sort', | 37 | 'sort', |
38 | 'updated_at', | 38 | 'updated_at', |
39 | 'text', | 39 | 'text', |
40 | 'address', | 40 | 'address', |
41 | 'city', | 41 | 'city', |
42 | <<<<<<< HEAD | ||
43 | ======= | ||
44 | 'coord', | 42 | 'coord', |
45 | 'file', | 43 | 'file', |
46 | 'is_remove', | 44 | 'is_remove', |
47 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
48 | ]; | 45 | ]; |
49 | 46 | ||
50 | /* | 47 | /* |
51 | * Связь таблицы users с таблицей workers | 48 | * Связь таблицы users с таблицей workers |
52 | */ | 49 | */ |
53 | public function users() { | 50 | public function users() { |
54 | return $this->belongsTo(User::class, 'user_id'); | 51 | return $this->belongsTo(User::class, 'user_id'); |
55 | } | 52 | } |
56 | <<<<<<< HEAD | ||
57 | ======= | ||
58 | 53 | ||
59 | public function scopeActive($query) { | 54 | public function scopeActive($query) { |
60 | return $query->where('is_remove', '=', '0'); | 55 | return $query->where('is_remove', '=', '0'); |
61 | } | 56 | } |
62 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
63 | } | 57 | } |
64 | 58 |
composer.json
1 | { | 1 | { |
2 | "name": "laravel/laravel", | 2 | "name": "laravel/laravel", |
3 | "type": "project", | 3 | "type": "project", |
4 | "description": "The Laravel Framework.", | 4 | "description": "The Laravel Framework.", |
5 | "keywords": ["framework", "laravel"], | 5 | "keywords": ["framework", "laravel"], |
6 | "license": "MIT", | 6 | "license": "MIT", |
7 | "require": { | 7 | "require": { |
8 | "php": "^8.0.2", | 8 | "php": "^8.0.2", |
9 | "filament/forms": "^2.17", | 9 | "filament/forms": "^2.17", |
10 | "filament/notifications": "^2.17", | 10 | "filament/notifications": "^2.17", |
11 | "filament/tables": "^2.17", | 11 | "filament/tables": "^2.17", |
12 | "guzzlehttp/guzzle": "^7.2", | 12 | "guzzlehttp/guzzle": "^7.2", |
13 | "laravel-lang/lang": "^12.17", | 13 | "laravel-lang/lang": "^12.17", |
14 | "laravel/framework": "^9.19", | 14 | "laravel/framework": "^9.19", |
15 | "laravel/sanctum": "^3.0", | 15 | "laravel/sanctum": "^3.0", |
16 | "laravel/tinker": "^2.7", | 16 | "laravel/tinker": "^2.7", |
17 | <<<<<<< HEAD | ||
18 | "laravel/ui": "^4.2" | ||
19 | ======= | ||
20 | "laravel/ui": "^4.2", | 17 | "laravel/ui": "^4.2", |
21 | "ext-http": "*" | 18 | "ext-http": "*" |
22 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
23 | }, | 19 | }, |
24 | "require-dev": { | 20 | "require-dev": { |
25 | "fakerphp/faker": "^1.9.1", | 21 | "fakerphp/faker": "^1.9.1", |
26 | "laravel/pint": "^1.0", | 22 | "laravel/pint": "^1.0", |
27 | "laravel/sail": "^1.0.1", | 23 | "laravel/sail": "^1.0.1", |
28 | "mockery/mockery": "^1.4.4", | 24 | "mockery/mockery": "^1.4.4", |
29 | "nunomaduro/collision": "^6.1", | 25 | "nunomaduro/collision": "^6.1", |
30 | "phpunit/phpunit": "^9.5.10", | 26 | "phpunit/phpunit": "^9.5.10", |
31 | "spatie/laravel-ignition": "^1.0" | 27 | "spatie/laravel-ignition": "^1.0" |
32 | }, | 28 | }, |
33 | "autoload": { | 29 | "autoload": { |
34 | "psr-4": { | 30 | "psr-4": { |
35 | "App\\": "app/", | 31 | "App\\": "app/", |
36 | "Database\\Factories\\": "database/factories/", | 32 | "Database\\Factories\\": "database/factories/", |
37 | "Database\\Seeders\\": "database/seeders/" | 33 | "Database\\Seeders\\": "database/seeders/" |
38 | } | 34 | } |
39 | }, | 35 | }, |
40 | "autoload-dev": { | 36 | "autoload-dev": { |
41 | "psr-4": { | 37 | "psr-4": { |
42 | "Tests\\": "tests/" | 38 | "Tests\\": "tests/" |
43 | } | 39 | } |
44 | }, | 40 | }, |
45 | "scripts": { | 41 | "scripts": { |
46 | "post-autoload-dump": [ | 42 | "post-autoload-dump": [ |
47 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", | 43 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", |
48 | "@php artisan package:discover --ansi" | 44 | "@php artisan package:discover --ansi" |
49 | ], | 45 | ], |
50 | "post-update-cmd": [ | 46 | "post-update-cmd": [ |
51 | "@php artisan vendor:publish --tag=laravel-assets --ansi --force" | 47 | "@php artisan vendor:publish --tag=laravel-assets --ansi --force" |
52 | ], | 48 | ], |
53 | "post-root-package-install": [ | 49 | "post-root-package-install": [ |
54 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" | 50 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" |
55 | ], | 51 | ], |
56 | "post-create-project-cmd": [ | 52 | "post-create-project-cmd": [ |
57 | "@php artisan key:generate --ansi" | 53 | "@php artisan key:generate --ansi" |
58 | ] | 54 | ] |
59 | }, | 55 | }, |
60 | "extra": { | 56 | "extra": { |
61 | "laravel": { | 57 | "laravel": { |
62 | "dont-discover": [] | 58 | "dont-discover": [] |
63 | } | 59 | } |
64 | }, | 60 | }, |
65 | "config": { | 61 | "config": { |
66 | "optimize-autoloader": true, | 62 | "optimize-autoloader": true, |
67 | "preferred-install": "dist", | 63 | "preferred-install": "dist", |
68 | "sort-packages": true, | 64 | "sort-packages": true, |
69 | "allow-plugins": { | 65 | "allow-plugins": { |
70 | "pestphp/pest-plugin": true | 66 | "pestphp/pest-plugin": true |
71 | } | 67 | } |
72 | }, | 68 | }, |
73 | "minimum-stability": "stable", | 69 | "minimum-stability": "stable", |
74 | "prefer-stable": true | 70 | "prefer-stable": true |
75 | } | 71 | } |
76 | 72 |
config/app.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Support\Facades\Facade; | 3 | use Illuminate\Support\Facades\Facade; |
4 | 4 | ||
5 | return [ | 5 | return [ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | |-------------------------------------------------------------------------- | 8 | |-------------------------------------------------------------------------- |
9 | | Application Name | 9 | | Application Name |
10 | |-------------------------------------------------------------------------- | 10 | |-------------------------------------------------------------------------- |
11 | | | 11 | | |
12 | | This value is the name of your application. This value is used when the | 12 | | This value is the name of your application. This value is used when the |
13 | | framework needs to place the application's name in a notification or | 13 | | framework needs to place the application's name in a notification or |
14 | | any other location as required by the application or its packages. | 14 | | any other location as required by the application or its packages. |
15 | | | 15 | | |
16 | */ | 16 | */ |
17 | 17 | ||
18 | 'name' => env('APP_NAME', 'Laravel'), | 18 | 'name' => env('APP_NAME', 'Laravel'), |
19 | 19 | ||
20 | /* | 20 | /* |
21 | |-------------------------------------------------------------------------- | 21 | |-------------------------------------------------------------------------- |
22 | | Application Environment | 22 | | Application Environment |
23 | |-------------------------------------------------------------------------- | 23 | |-------------------------------------------------------------------------- |
24 | | | 24 | | |
25 | | This value determines the "environment" your application is currently | 25 | | This value determines the "environment" your application is currently |
26 | | running in. This may determine how you prefer to configure various | 26 | | running in. This may determine how you prefer to configure various |
27 | | services the application utilizes. Set this in your ".env" file. | 27 | | services the application utilizes. Set this in your ".env" file. |
28 | | | 28 | | |
29 | */ | 29 | */ |
30 | 30 | ||
31 | 'env' => env('APP_ENV', 'production'), | 31 | 'env' => env('APP_ENV', 'production'), |
32 | 32 | ||
33 | /* | 33 | /* |
34 | |-------------------------------------------------------------------------- | 34 | |-------------------------------------------------------------------------- |
35 | | Application Debug Mode | 35 | | Application Debug Mode |
36 | |-------------------------------------------------------------------------- | 36 | |-------------------------------------------------------------------------- |
37 | | | 37 | | |
38 | | When your application is in debug mode, detailed error messages with | 38 | | When your application is in debug mode, detailed error messages with |
39 | | stack traces will be shown on every error that occurs within your | 39 | | stack traces will be shown on every error that occurs within your |
40 | | application. If disabled, a simple generic error page is shown. | 40 | | application. If disabled, a simple generic error page is shown. |
41 | | | 41 | | |
42 | */ | 42 | */ |
43 | 43 | ||
44 | 'debug' => (bool) env('APP_DEBUG', false), | 44 | 'debug' => (bool) env('APP_DEBUG', false), |
45 | 45 | ||
46 | /* | 46 | /* |
47 | |-------------------------------------------------------------------------- | 47 | |-------------------------------------------------------------------------- |
48 | | Application URL | 48 | | Application URL |
49 | |-------------------------------------------------------------------------- | 49 | |-------------------------------------------------------------------------- |
50 | | | 50 | | |
51 | | This URL is used by the console to properly generate URLs when using | 51 | | This URL is used by the console to properly generate URLs when using |
52 | | the Artisan command line tool. You should set this to the root of | 52 | | the Artisan command line tool. You should set this to the root of |
53 | | your application so that it is used when running Artisan tasks. | 53 | | your application so that it is used when running Artisan tasks. |
54 | | | 54 | | |
55 | */ | 55 | */ |
56 | 56 | ||
57 | 'url' => env('APP_URL', 'http://localhost'), | 57 | 'url' => env('APP_URL', 'http://localhost'), |
58 | 58 | ||
59 | 'asset_url' => env('ASSET_URL'), | 59 | 'asset_url' => env('ASSET_URL'), |
60 | 60 | ||
61 | /* | 61 | /* |
62 | |-------------------------------------------------------------------------- | 62 | |-------------------------------------------------------------------------- |
63 | | Application Timezone | 63 | | Application Timezone |
64 | |-------------------------------------------------------------------------- | 64 | |-------------------------------------------------------------------------- |
65 | | | 65 | | |
66 | | Here you may specify the default timezone for your application, which | 66 | | Here you may specify the default timezone for your application, which |
67 | | will be used by the PHP date and date-time functions. We have gone | 67 | | will be used by the PHP date and date-time functions. We have gone |
68 | | ahead and set this to a sensible default for you out of the box. | 68 | | ahead and set this to a sensible default for you out of the box. |
69 | | | 69 | | |
70 | */ | 70 | */ |
71 | 71 | ||
72 | 'timezone' => 'UTC', | 72 | 'timezone' => 'UTC', |
73 | 73 | ||
74 | /* | 74 | /* |
75 | |-------------------------------------------------------------------------- | 75 | |-------------------------------------------------------------------------- |
76 | | Application Locale Configuration | 76 | | Application Locale Configuration |
77 | |-------------------------------------------------------------------------- | 77 | |-------------------------------------------------------------------------- |
78 | | | 78 | | |
79 | | The application locale determines the default locale that will be used | 79 | | The application locale determines the default locale that will be used |
80 | | by the translation service provider. You are free to set this value | 80 | | by the translation service provider. You are free to set this value |
81 | | to any of the locales which will be supported by the application. | 81 | | to any of the locales which will be supported by the application. |
82 | | | 82 | | |
83 | */ | 83 | */ |
84 | 84 | ||
85 | 'locale' => 'en', | 85 | 'locale' => 'en', |
86 | 86 | ||
87 | /* | 87 | /* |
88 | |-------------------------------------------------------------------------- | 88 | |-------------------------------------------------------------------------- |
89 | | Application Fallback Locale | 89 | | Application Fallback Locale |
90 | |-------------------------------------------------------------------------- | 90 | |-------------------------------------------------------------------------- |
91 | | | 91 | | |
92 | | The fallback locale determines the locale to use when the current one | 92 | | The fallback locale determines the locale to use when the current one |
93 | | is not available. You may change the value to correspond to any of | 93 | | is not available. You may change the value to correspond to any of |
94 | | the language folders that are provided through your application. | 94 | | the language folders that are provided through your application. |
95 | | | 95 | | |
96 | */ | 96 | */ |
97 | 97 | ||
98 | 'fallback_locale' => 'en', | 98 | 'fallback_locale' => 'en', |
99 | 99 | ||
100 | /* | 100 | /* |
101 | |-------------------------------------------------------------------------- | 101 | |-------------------------------------------------------------------------- |
102 | | Faker Locale | 102 | | Faker Locale |
103 | |-------------------------------------------------------------------------- | 103 | |-------------------------------------------------------------------------- |
104 | | | 104 | | |
105 | | This locale will be used by the Faker PHP library when generating fake | 105 | | This locale will be used by the Faker PHP library when generating fake |
106 | | data for your database seeds. For example, this will be used to get | 106 | | data for your database seeds. For example, this will be used to get |
107 | | localized telephone numbers, street address information and more. | 107 | | localized telephone numbers, street address information and more. |
108 | | | 108 | | |
109 | */ | 109 | */ |
110 | 110 | ||
111 | 'faker_locale' => 'en_US', | 111 | 'faker_locale' => 'en_US', |
112 | 112 | ||
113 | /* | 113 | /* |
114 | |-------------------------------------------------------------------------- | 114 | |-------------------------------------------------------------------------- |
115 | | Encryption Key | 115 | | Encryption Key |
116 | |-------------------------------------------------------------------------- | 116 | |-------------------------------------------------------------------------- |
117 | | | 117 | | |
118 | | This key is used by the Illuminate encrypter service and should be set | 118 | | This key is used by the Illuminate encrypter service and should be set |
119 | | to a random, 32 character string, otherwise these encrypted strings | 119 | | to a random, 32 character string, otherwise these encrypted strings |
120 | | will not be safe. Please do this before deploying an application! | 120 | | will not be safe. Please do this before deploying an application! |
121 | | | 121 | | |
122 | */ | 122 | */ |
123 | 123 | ||
124 | 'key' => env('APP_KEY'), | 124 | 'key' => env('APP_KEY'), |
125 | 125 | ||
126 | 'cipher' => 'AES-256-CBC', | 126 | 'cipher' => 'AES-256-CBC', |
127 | 127 | ||
128 | /* | 128 | /* |
129 | |-------------------------------------------------------------------------- | 129 | |-------------------------------------------------------------------------- |
130 | | Maintenance Mode Driver | 130 | | Maintenance Mode Driver |
131 | |-------------------------------------------------------------------------- | 131 | |-------------------------------------------------------------------------- |
132 | | | 132 | | |
133 | | These configuration options determine the driver used to determine and | 133 | | These configuration options determine the driver used to determine and |
134 | | manage Laravel's "maintenance mode" status. The "cache" driver will | 134 | | manage Laravel's "maintenance mode" status. The "cache" driver will |
135 | | allow maintenance mode to be controlled across multiple machines. | 135 | | allow maintenance mode to be controlled across multiple machines. |
136 | | | 136 | | |
137 | | Supported drivers: "file", "cache" | 137 | | Supported drivers: "file", "cache" |
138 | | | 138 | | |
139 | */ | 139 | */ |
140 | 140 | ||
141 | 'maintenance' => [ | 141 | 'maintenance' => [ |
142 | 'driver' => 'file', | 142 | 'driver' => 'file', |
143 | // 'store' => 'redis', | 143 | // 'store' => 'redis', |
144 | ], | 144 | ], |
145 | 145 | ||
146 | /* | 146 | /* |
147 | |-------------------------------------------------------------------------- | 147 | |-------------------------------------------------------------------------- |
148 | | Autoloaded Service Providers | 148 | | Autoloaded Service Providers |
149 | |-------------------------------------------------------------------------- | 149 | |-------------------------------------------------------------------------- |
150 | | | 150 | | |
151 | | The service providers listed here will be automatically loaded on the | 151 | | The service providers listed here will be automatically loaded on the |
152 | | request to your application. Feel free to add your own services to | 152 | | request to your application. Feel free to add your own services to |
153 | | this array to grant expanded functionality to your applications. | 153 | | this array to grant expanded functionality to your applications. |
154 | | | 154 | | |
155 | */ | 155 | */ |
156 | 156 | ||
157 | 'providers' => [ | 157 | 'providers' => [ |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Laravel Framework Service Providers... | 160 | * Laravel Framework Service Providers... |
161 | */ | 161 | */ |
162 | Illuminate\Auth\AuthServiceProvider::class, | 162 | Illuminate\Auth\AuthServiceProvider::class, |
163 | Illuminate\Broadcasting\BroadcastServiceProvider::class, | 163 | Illuminate\Broadcasting\BroadcastServiceProvider::class, |
164 | Illuminate\Bus\BusServiceProvider::class, | 164 | Illuminate\Bus\BusServiceProvider::class, |
165 | Illuminate\Cache\CacheServiceProvider::class, | 165 | Illuminate\Cache\CacheServiceProvider::class, |
166 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, | 166 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, |
167 | Illuminate\Cookie\CookieServiceProvider::class, | 167 | Illuminate\Cookie\CookieServiceProvider::class, |
168 | Illuminate\Database\DatabaseServiceProvider::class, | 168 | Illuminate\Database\DatabaseServiceProvider::class, |
169 | Illuminate\Encryption\EncryptionServiceProvider::class, | 169 | Illuminate\Encryption\EncryptionServiceProvider::class, |
170 | Illuminate\Filesystem\FilesystemServiceProvider::class, | 170 | Illuminate\Filesystem\FilesystemServiceProvider::class, |
171 | Illuminate\Foundation\Providers\FoundationServiceProvider::class, | 171 | Illuminate\Foundation\Providers\FoundationServiceProvider::class, |
172 | Illuminate\Hashing\HashServiceProvider::class, | 172 | Illuminate\Hashing\HashServiceProvider::class, |
173 | Illuminate\Mail\MailServiceProvider::class, | 173 | Illuminate\Mail\MailServiceProvider::class, |
174 | Illuminate\Notifications\NotificationServiceProvider::class, | 174 | Illuminate\Notifications\NotificationServiceProvider::class, |
175 | Illuminate\Pagination\PaginationServiceProvider::class, | 175 | Illuminate\Pagination\PaginationServiceProvider::class, |
176 | Illuminate\Pipeline\PipelineServiceProvider::class, | 176 | Illuminate\Pipeline\PipelineServiceProvider::class, |
177 | Illuminate\Queue\QueueServiceProvider::class, | 177 | Illuminate\Queue\QueueServiceProvider::class, |
178 | Illuminate\Redis\RedisServiceProvider::class, | 178 | Illuminate\Redis\RedisServiceProvider::class, |
179 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, | 179 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, |
180 | Illuminate\Session\SessionServiceProvider::class, | 180 | Illuminate\Session\SessionServiceProvider::class, |
181 | Illuminate\Translation\TranslationServiceProvider::class, | 181 | Illuminate\Translation\TranslationServiceProvider::class, |
182 | Illuminate\Validation\ValidationServiceProvider::class, | 182 | Illuminate\Validation\ValidationServiceProvider::class, |
183 | Illuminate\View\ViewServiceProvider::class, | 183 | Illuminate\View\ViewServiceProvider::class, |
184 | 184 | ||
185 | /* | 185 | /* |
186 | * Package Service Providers... | 186 | * Package Service Providers... |
187 | */ | 187 | */ |
188 | 188 | ||
189 | /* | 189 | /* |
190 | * Application Service Providers... | 190 | * Application Service Providers... |
191 | */ | 191 | */ |
192 | App\Providers\AppServiceProvider::class, | 192 | App\Providers\AppServiceProvider::class, |
193 | App\Providers\AuthServiceProvider::class, | 193 | App\Providers\AuthServiceProvider::class, |
194 | // App\Providers\BroadcastServiceProvider::class, | 194 | // App\Providers\BroadcastServiceProvider::class, |
195 | App\Providers\EventServiceProvider::class, | 195 | App\Providers\EventServiceProvider::class, |
196 | App\Providers\RouteServiceProvider::class, | 196 | App\Providers\RouteServiceProvider::class, |
197 | <<<<<<< HEAD | ||
198 | |||
199 | ======= | ||
200 | App\Providers\MyServiceProvider::class, | 197 | App\Providers\MyServiceProvider::class, |
201 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | 198 | |
202 | ], | 199 | ], |
203 | 200 | ||
204 | /* | 201 | /* |
205 | |-------------------------------------------------------------------------- | 202 | |-------------------------------------------------------------------------- |
206 | | Class Aliases | 203 | | Class Aliases |
207 | |-------------------------------------------------------------------------- | 204 | |-------------------------------------------------------------------------- |
208 | | | 205 | | |
209 | | This array of class aliases will be registered when this application | 206 | | This array of class aliases will be registered when this application |
210 | | is started. However, feel free to register as many as you wish as | 207 | | is started. However, feel free to register as many as you wish as |
211 | | the aliases are "lazy" loaded so they don't hinder performance. | 208 | | the aliases are "lazy" loaded so they don't hinder performance. |
212 | | | 209 | | |
213 | */ | 210 | */ |
214 | 211 | ||
215 | 'aliases' => Facade::defaultAliases()->merge([ | 212 | 'aliases' => Facade::defaultAliases()->merge([ |
216 | // 'ExampleClass' => App\Example\ExampleClass::class, | 213 | // 'ExampleClass' => App\Example\ExampleClass::class, |
217 | ])->toArray(), | 214 | ])->toArray(), |
218 | 215 | ||
219 | ]; | 216 | ]; |
220 | 217 |
database/migrations/2023_05_16_081308_create_static_workers_table.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Database\Migrations\Migration; | 3 | use Illuminate\Database\Migrations\Migration; |
4 | use Illuminate\Database\Schema\Blueprint; | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | use Illuminate\Support\Facades\Schema; | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | ||
7 | return new class extends Migration | 7 | return new class extends Migration |
8 | { | 8 | { |
9 | /** | 9 | /** |
10 | * Run the migrations. | 10 | * Run the migrations. |
11 | * | 11 | * |
12 | * @return void | 12 | * @return void |
13 | */ | 13 | */ |
14 | public function up() | 14 | public function up() |
15 | { | 15 | { |
16 | Schema::create('static_workers', function (Blueprint $table) { | 16 | Schema::create('static_workers', function (Blueprint $table) { |
17 | $table->id(); | 17 | $table->id(); |
18 | $table->bigInteger('user_id')->nullable(false); | 18 | $table->bigInteger('user_id')->nullable(false); |
19 | $table->integer('lookin')->default(0); | 19 | $table->integer('lookin')->default(0); |
20 | <<<<<<< HEAD | ||
21 | $table->string('month_year', 255)->nullable(); | ||
22 | ======= | ||
23 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
24 | $table->integer('message')->default(0); | 20 | $table->integer('message')->default(0); |
25 | $table->timestamps(); | 21 | $table->timestamps(); |
26 | }); | 22 | }); |
27 | } | 23 | } |
28 | 24 | ||
29 | /** | 25 | /** |
30 | * Reverse the migrations. | 26 | * Reverse the migrations. |
31 | * | 27 | * |
32 | * @return void | 28 | * @return void |
33 | */ | 29 | */ |
34 | public function down() | 30 | public function down() |
35 | { | 31 | { |
36 | Schema::dropIfExists('static_workers'); | 32 | Schema::dropIfExists('static_workers'); |
37 | } | 33 | } |
38 | }; | 34 | }; |
39 | 35 |
database/migrations/2023_05_16_081330_create_static_ads_table.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Database\Migrations\Migration; | 3 | use Illuminate\Database\Migrations\Migration; |
4 | use Illuminate\Database\Schema\Blueprint; | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | use Illuminate\Support\Facades\Schema; | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | ||
7 | return new class extends Migration | 7 | return new class extends Migration |
8 | { | 8 | { |
9 | /** | 9 | /** |
10 | * Run the migrations. | 10 | * Run the migrations. |
11 | * | 11 | * |
12 | * @return void | 12 | * @return void |
13 | */ | 13 | */ |
14 | public function up() | 14 | public function up() |
15 | { | 15 | { |
16 | Schema::create('static_ads', function (Blueprint $table) { | 16 | Schema::create('static_ads', function (Blueprint $table) { |
17 | $table->id(); | 17 | $table->id(); |
18 | $table->bigInteger('ad_employer_id')->nullable(false); | 18 | $table->bigInteger('ad_employer_id')->nullable(false); |
19 | $table->integer('lookin')->default(0); | 19 | $table->integer('lookin')->default(0); |
20 | <<<<<<< HEAD | ||
21 | $table->string('month_year', 255)->nullable(); | ||
22 | ======= | ||
23 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
24 | $table->integer('message')->default(0); | 20 | $table->integer('message')->default(0); |
25 | $table->timestamps(); | 21 | $table->timestamps(); |
26 | }); | 22 | }); |
27 | } | 23 | } |
28 | 24 | ||
29 | /** | 25 | /** |
30 | * Reverse the migrations. | 26 | * Reverse the migrations. |
31 | * | 27 | * |
32 | * @return void | 28 | * @return void |
33 | */ | 29 | */ |
34 | public function down() | 30 | public function down() |
35 | { | 31 | { |
36 | Schema::dropIfExists('static_ads'); | 32 | Schema::dropIfExists('static_ads'); |
37 | } | 33 | } |
38 | }; | 34 | }; |
39 | 35 |
database/migrations/2023_05_16_092746_alter_ad_jobs_table.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Database\Migrations\Migration; | 3 | use Illuminate\Database\Migrations\Migration; |
4 | use Illuminate\Database\Schema\Blueprint; | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | use Illuminate\Support\Facades\Schema; | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | ||
7 | return new class extends Migration | 7 | return new class extends Migration |
8 | { | 8 | { |
9 | /** | 9 | /** |
10 | * Run the migrations. | 10 | * Run the migrations. |
11 | * | 11 | * |
12 | * @return void | 12 | * @return void |
13 | */ | 13 | */ |
14 | public function up() | 14 | public function up() |
15 | { | 15 | { |
16 | Schema::create('ad_jobs', function (Blueprint $table) { | 16 | Schema::create('ad_jobs', function (Blueprint $table) { |
17 | $table->id(); | 17 | $table->id(); |
18 | <<<<<<< HEAD | ||
19 | $table->bigInteger('ad_employer_id')->nullable(false); | ||
20 | $table->bigInteger('job_title_id')->nullable(false); | ||
21 | ======= | ||
22 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
23 | $table->timestamps(); | 18 | $table->timestamps(); |
24 | }); | 19 | }); |
25 | } | 20 | } |
26 | 21 | ||
27 | /** | 22 | /** |
28 | * Reverse the migrations. | 23 | * Reverse the migrations. |
29 | * | 24 | * |
30 | * @return void | 25 | * @return void |
31 | */ | 26 | */ |
32 | public function down() | 27 | public function down() |
33 | { | 28 | { |
34 | Schema::dropIfExists('ad_jobs'); | 29 | Schema::dropIfExists('ad_jobs'); |
35 | } | 30 | } |
36 | }; | 31 | }; |
37 | 32 |
database/seeders/DatabaseSeeder.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Database\Seeders; | 3 | namespace Database\Seeders; |
4 | 4 | ||
5 | // use Illuminate\Database\Console\Seeds\WithoutModelEvents; | 5 | // use Illuminate\Database\Console\Seeds\WithoutModelEvents; |
6 | use Illuminate\Database\Seeder; | 6 | use Illuminate\Database\Seeder; |
7 | 7 | ||
8 | class DatabaseSeeder extends Seeder | 8 | class DatabaseSeeder extends Seeder |
9 | { | 9 | { |
10 | /** | 10 | /** |
11 | * Seed the application's database. | 11 | * Seed the application's database. |
12 | * | 12 | * |
13 | * @return void | 13 | * @return void |
14 | */ | 14 | */ |
15 | public function run() | 15 | public function run() |
16 | { | 16 | { |
17 | <<<<<<< HEAD | ||
18 | ======= | ||
19 | $this->call(EmployersMainSeeder::class); | 17 | $this->call(EmployersMainSeeder::class); |
20 | $this->command->info('Таблица работодатели на главной загружена!'); | 18 | $this->command->info('Таблица работодатели на главной загружена!'); |
21 | 19 | ||
22 | $this->call(JobTitlesMainSeeder::class); | 20 | $this->call(JobTitlesMainSeeder::class); |
23 | $this->command->info('Таблица должности на главной загружена!'); | 21 | $this->command->info('Таблица должности на главной загружена!'); |
24 | 22 | ||
25 | 23 | ||
26 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
27 | // \App\Models\User::factory(10)->create(); | 24 | // \App\Models\User::factory(10)->create(); |
28 | 25 | ||
29 | // \App\Models\User::factory()->create([ | 26 | // \App\Models\User::factory()->create([ |
30 | // 'name' => 'Test User', | 27 | // 'name' => 'Test User', |
31 | // 'email' => 'test@example.com', | 28 | // 'email' => 'test@example.com', |
32 | // ]); | 29 | // ]); |
33 | } | 30 | } |
34 | } | 31 | } |
35 | 32 |
resources/views/admin/config.blade.php
1 | @extends('layout.admin', ['title' => 'Админка - Настройки']) | 1 | @extends('layout.admin', ['title' => 'Админка - Настройки']) |
2 | 2 | ||
3 | @section('content') | 3 | @section('content') |
4 | <<<<<<< HEAD | ||
5 | <h4 | ||
6 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | ||
7 | > | ||
8 | Elements | ||
9 | </h4> | ||
10 | <div | ||
11 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | ||
12 | > | ||
13 | <label class="block text-sm"> | ||
14 | <span class="text-gray-700 dark:text-gray-400">Name</span> | ||
15 | <input | ||
16 | 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" | ||
17 | placeholder="Jane Doe" | ||
18 | /> | ||
19 | </label> | ||
20 | |||
21 | <div class="mt-4 text-sm"> | ||
22 | <span class="text-gray-700 dark:text-gray-400"> | ||
23 | Account Type | ||
24 | </span> | ||
25 | <div class="mt-2"> | ||
26 | <label | ||
27 | class="inline-flex items-center text-gray-600 dark:text-gray-400" | ||
28 | > | ||
29 | <input | ||
30 | type="radio" | ||
31 | class="text-purple-600 form-radio focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" | ||
32 | name="accountType" | ||
33 | value="personal" | ||
34 | /> | ||
35 | <span class="ml-2">Personal</span> | ||
36 | </label> | ||
37 | <label | ||
38 | class="inline-flex items-center ml-6 text-gray-600 dark:text-gray-400" | ||
39 | > | ||
40 | <input | ||
41 | type="radio" | ||
42 | class="text-purple-600 form-radio focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" | ||
43 | name="accountType" | ||
44 | value="busines" | ||
45 | /> | ||
46 | <span class="ml-2">Business</span> | ||
47 | </label> | ||
48 | </div> | ||
49 | </div> | ||
50 | |||
51 | <label class="block mt-4 text-sm"> | ||
52 | <span class="text-gray-700 dark:text-gray-400"> | ||
53 | Requested Limit | ||
54 | </span> | ||
55 | <select | ||
56 | 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" | ||
57 | > | ||
58 | <option>$1,000</option> | ||
59 | <option>$5,000</option> | ||
60 | <option>$10,000</option> | ||
61 | <option>$25,000</option> | ||
62 | </select> | ||
63 | </label> | ||
64 | |||
65 | <label class="block mt-4 text-sm"> | ||
66 | <span class="text-gray-700 dark:text-gray-400"> | ||
67 | Multiselect | ||
68 | </span> | ||
69 | <select | ||
70 | 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" | ||
71 | multiple | ||
72 | > | ||
73 | <option>Option 1</option> | ||
74 | <option>Option 2</option> | ||
75 | <option>Option 3</option> | ||
76 | <option>Option 4</option> | ||
77 | <option>Option 5</option> | ||
78 | </select> | ||
79 | </label> | ||
80 | |||
81 | <label class="block mt-4 text-sm"> | ||
82 | <span class="text-gray-700 dark:text-gray-400">Message</span> | ||
83 | <textarea | ||
84 | 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" | ||
85 | rows="3" | ||
86 | placeholder="Enter some long form content." | ||
87 | ></textarea> | ||
88 | </label> | ||
89 | |||
90 | <div class="flex mt-6 text-sm"> | ||
91 | <label class="flex items-center dark:text-gray-400"> | ||
92 | <input | ||
93 | type="checkbox" | ||
94 | class="text-purple-600 form-checkbox focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" | ||
95 | /> | ||
96 | <span class="ml-2"> | ||
97 | I agree to the | ||
98 | <span class="underline">privacy policy</span> | ||
99 | </span> | ||
100 | </label> | ||
101 | </div> | ||
102 | </div> | ||
103 | |||
104 | <!-- Validation inputs --> | ||
105 | <h4 | ||
106 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | ||
107 | > | ||
108 | Validation | ||
109 | </h4> | ||
110 | <div | ||
111 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | ||
112 | > | ||
113 | <!-- Invalid input --> | ||
114 | <label class="block text-sm"> | ||
115 | <span class="text-gray-700 dark:text-gray-400"> | ||
116 | Invalid input | ||
117 | </span> | ||
118 | <input | ||
119 | 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" | ||
120 | placeholder="Jane Doe" | ||
121 | /> | ||
122 | <span class="text-xs text-red-600 dark:text-red-400"> | ||
123 | Your password is too short. | ||
124 | </span> | ||
125 | </label> | ||
126 | |||
127 | <!-- Valid input --> | ||
128 | <label class="block mt-4 text-sm"> | ||
129 | <span class="text-gray-700 dark:text-gray-400"> | ||
130 | Valid input | ||
131 | </span> | ||
132 | <input | ||
133 | 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" | ||
134 | placeholder="Jane Doe" | ||
135 | /> | ||
136 | <span class="text-xs text-green-600 dark:text-green-400"> | ||
137 | Your password is strong. | ||
138 | </span> | ||
139 | </label> | ||
140 | |||
141 | <!-- Helper text --> | ||
142 | <label class="block mt-4 text-sm"> | ||
143 | <span class="text-gray-700 dark:text-gray-400"> | ||
144 | Helper text | ||
145 | </span> | ||
146 | <input | ||
147 | 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" | ||
148 | placeholder="Jane Doe" | ||
149 | /> | ||
150 | <span class="text-xs text-gray-600 dark:text-gray-400"> | ||
151 | Your password must be at least 6 characters long. | ||
152 | </span> | ||
153 | </label> | ||
154 | </div> | ||
155 | |||
156 | <!-- Inputs with icons --> | ||
157 | <h4 | ||
158 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | ||
159 | > | ||
160 | Icons | ||
161 | </h4> | ||
162 | <div | ||
163 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | ||
164 | > | ||
165 | <label class="block text-sm"> | ||
166 | <span class="text-gray-700 dark:text-gray-400">Icon left</span> | ||
167 | <!-- focus-within sets the color for the icon when input is focused --> | ||
168 | <div | ||
169 | class="relative text-gray-500 focus-within:text-purple-600 dark:focus-within:text-purple-400" | ||
170 | > | ||
171 | <input | ||
172 | 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" | ||
173 | placeholder="Jane Doe" | ||
174 | /> | ||
175 | <div | ||
176 | class="absolute inset-y-0 flex items-center ml-3 pointer-events-none" | ||
177 | > | ||
178 | <svg | ||
179 | class="w-5 h-5" | ||
180 | aria-hidden="true" | ||
181 | fill="none" | ||
182 | stroke-linecap="round" | ||
183 | stroke-linejoin="round" | ||
184 | stroke-width="2" | ||
185 | viewBox="0 0 24 24" | ||
186 | stroke="currentColor" | ||
187 | > | ||
188 | <path | ||
189 | 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" | ||
190 | ></path> | ||
191 | </svg> | ||
192 | </div> | ||
193 | </div> | ||
194 | </label> | ||
195 | |||
196 | <label class="block mt-4 text-sm"> | ||
197 | <span class="text-gray-700 dark:text-gray-400">Icon right</span> | ||
198 | <!-- focus-within sets the color for the icon when input is focused --> | ||
199 | <div | ||
200 | class="relative text-gray-500 focus-within:text-purple-600 dark:focus-within:text-purple-400" | ||
201 | > | ||
202 | <input | ||
203 | 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" | ||
204 | placeholder="Jane Doe" | ||
205 | /> | ||
206 | <div | ||
207 | class="absolute inset-y-0 right-0 flex items-center mr-3 pointer-events-none" | ||
208 | > | ||
209 | <svg | ||
210 | class="w-5 h-5" | ||
211 | aria-hidden="true" | ||
212 | fill="none" | ||
213 | stroke-linecap="round" | ||
214 | stroke-linejoin="round" | ||
215 | stroke-width="2" | ||
216 | viewBox="0 0 24 24" | ||
217 | stroke="currentColor" | ||
218 | > | ||
219 | <path | ||
220 | 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" | ||
221 | ></path> | ||
222 | </svg> | ||
223 | </div> | ||
224 | </div> | ||
225 | </label> | ||
226 | </div> | ||
227 | |||
228 | <!-- Inputs with buttons --> | ||
229 | <h4 | ||
230 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | ||
231 | > | ||
232 | Buttons | ||
233 | </h4> | ||
234 | <div | ||
235 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | ||
236 | > | ||
237 | <label class="block text-sm"> | ||
238 | <span class="text-gray-700 dark:text-gray-400"> | ||
239 | Button left | ||
240 | </span> | ||
241 | <div class="relative"> | ||
242 | <input | ||
243 | 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" | ||
244 | placeholder="Jane Doe" | ||
245 | /> | ||
246 | <button | ||
247 | 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" | ||
248 | > | ||
249 | Click | ||
250 | </button> | ||
251 | </div> | ||
252 | </label> | ||
253 | |||
254 | <label class="block mt-4 text-sm"> | ||
255 | <span class="text-gray-700 dark:text-gray-400"> | ||
256 | Button right | ||
257 | </span> | ||
258 | <div | ||
259 | class="relative text-gray-500 focus-within:text-purple-600" | ||
260 | > | ||
261 | <input | ||
262 | 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" | ||
263 | placeholder="Jane Doe" | ||
264 | /> | ||
265 | <button | ||
266 | 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" | ||
267 | > | ||
268 | Click | ||
269 | </button> | ||
270 | </div> | ||
271 | </label> | ||
272 | </div> | ||
273 | ======= | ||
274 | <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"> |
275 | Реквизиты сайта (конфигурация) | 5 | Реквизиты сайта (конфигурация) |
276 | </h4> | 6 | </h4> |
277 | <form action="" method="POST" enctype="multipart/form-data"> | 7 | <form action="" method="POST" enctype="multipart/form-data"> |
278 | @csrf | 8 | @csrf |
279 | 9 | ||
280 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> | 10 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> |
281 | <label class="block text-sm"> | 11 | <label class="block text-sm"> |
282 | <span class="text-gray-700 dark:text-gray-400">Имя компании</span> | 12 | <span class="text-gray-700 dark:text-gray-400">Имя компании</span> |
283 | <input name="name" id="name" | 13 | <input name="name" id="name" |
284 | 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" | 14 | 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" |
285 | placeholder="Имя компании" value="{{ old('name') ?? $config->name ?? '' }}" | 15 | placeholder="Имя компании" value="{{ old('name') ?? $config->name ?? '' }}" |
286 | /> | 16 | /> |
287 | @error('name') | 17 | @error('name') |
288 | <span class="text-xs text-red-600 dark:text-red-400"> | 18 | <span class="text-xs text-red-600 dark:text-red-400"> |
289 | {{ $message }} | 19 | {{ $message }} |
290 | </span> | 20 | </span> |
291 | @enderror | 21 | @enderror |
292 | </label><br> | 22 | </label><br> |
293 | 23 | ||
294 | <label class="block text-sm"> | 24 | <label class="block text-sm"> |
295 | <span class="text-gray-700 dark:text-gray-400">Адрес</span> | 25 | <span class="text-gray-700 dark:text-gray-400">Адрес</span> |
296 | <input name="address" id="address" | 26 | <input name="address" id="address" |
297 | 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" | 27 | 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" |
298 | placeholder="Адрес" value="{{ old('address') ?? $config->address ?? '' }}" | 28 | placeholder="Адрес" value="{{ old('address') ?? $config->address ?? '' }}" |
299 | /> | 29 | /> |
300 | @error('address') | 30 | @error('address') |
301 | <span class="text-xs text-red-600 dark:text-red-400"> | 31 | <span class="text-xs text-red-600 dark:text-red-400"> |
302 | {{ $message }} | 32 | {{ $message }} |
303 | </span> | 33 | </span> |
304 | @enderror | 34 | @enderror |
305 | </label><br> | 35 | </label><br> |
306 | 36 | ||
307 | <label class="block text-sm"> | 37 | <label class="block text-sm"> |
308 | <span class="text-gray-700 dark:text-gray-400">ФИО директора компании</span> | 38 | <span class="text-gray-700 dark:text-gray-400">ФИО директора компании</span> |
309 | <input name="fio_director" id="fio_director" | 39 | <input name="fio_director" id="fio_director" |
310 | 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" | 40 | 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" |
311 | placeholder="ФИО директора" value="{{ old('fio_director') ?? $config->fio_director ?? '' }}" | 41 | placeholder="ФИО директора" value="{{ old('fio_director') ?? $config->fio_director ?? '' }}" |
312 | /> | 42 | /> |
313 | @error('fio_director') | 43 | @error('fio_director') |
314 | <span class="text-xs text-red-600 dark:text-red-400"> | 44 | <span class="text-xs text-red-600 dark:text-red-400"> |
315 | {{ $message }} | 45 | {{ $message }} |
316 | </span> | 46 | </span> |
317 | @enderror | 47 | @enderror |
318 | </label><br> | 48 | </label><br> |
319 | 49 | ||
320 | <label class="block text-sm"> | 50 | <label class="block text-sm"> |
321 | <span class="text-gray-700 dark:text-gray-400">Email</span> | 51 | <span class="text-gray-700 dark:text-gray-400">Email</span> |
322 | <input name="email" id="email" | 52 | <input name="email" id="email" |
323 | 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" | 53 | 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" |
324 | placeholder="Почта" value="{{ old('email') ?? $config->email ?? '' }}" | 54 | placeholder="Почта" value="{{ old('email') ?? $config->email ?? '' }}" |
325 | /> | 55 | /> |
326 | @error('email') | 56 | @error('email') |
327 | <span class="text-xs text-red-600 dark:text-red-400"> | 57 | <span class="text-xs text-red-600 dark:text-red-400"> |
328 | {{ $message }} | 58 | {{ $message }} |
329 | </span> | 59 | </span> |
330 | @enderror | 60 | @enderror |
331 | </label><br> | 61 | </label><br> |
332 | 62 | ||
333 | <label class="block text-sm"> | 63 | <label class="block text-sm"> |
334 | <span class="text-gray-700 dark:text-gray-400">Телефон</span> | 64 | <span class="text-gray-700 dark:text-gray-400">Телефон</span> |
335 | <input name="telephone" id="telephone" | 65 | <input name="telephone" id="telephone" |
336 | 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" | 66 | 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" |
337 | placeholder="Телефон" value="{{ old('telephone') ?? $config->telephone ?? '' }}" | 67 | placeholder="Телефон" value="{{ old('telephone') ?? $config->telephone ?? '' }}" |
338 | /> | 68 | /> |
339 | @error('telephone') | 69 | @error('telephone') |
340 | <span class="text-xs text-red-600 dark:text-red-400"> | 70 | <span class="text-xs text-red-600 dark:text-red-400"> |
341 | {{ $message }} | 71 | {{ $message }} |
342 | </span> | 72 | </span> |
343 | @enderror | 73 | @enderror |
344 | </label><br> | 74 | </label><br> |
345 | 75 | ||
346 | <label class="block text-sm"> | 76 | <label class="block text-sm"> |
347 | <span class="text-gray-700 dark:text-gray-400">Сайт</span> | 77 | <span class="text-gray-700 dark:text-gray-400">Сайт</span> |
348 | <input name="site" id="site" | 78 | <input name="site" id="site" |
349 | 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" | 79 | 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" |
350 | placeholder="Сайт" value="{{ old('site') ?? $config->site ?? '' }}" | 80 | placeholder="Сайт" value="{{ old('site') ?? $config->site ?? '' }}" |
351 | /> | 81 | /> |
352 | @error('site') | 82 | @error('site') |
353 | <span class="text-xs text-red-600 dark:text-red-400"> | 83 | <span class="text-xs text-red-600 dark:text-red-400"> |
354 | {{ $message }} | 84 | {{ $message }} |
355 | </span> | 85 | </span> |
356 | @enderror | 86 | @enderror |
357 | </label><br> | 87 | </label><br> |
358 | 88 | ||
359 | <label class="block text-sm"> | 89 | <label class="block text-sm"> |
360 | <span class="text-gray-700 dark:text-gray-400">Телеграм</span> | 90 | <span class="text-gray-700 dark:text-gray-400">Телеграм</span> |
361 | <input name="telegram" id="telegram" | 91 | <input name="telegram" id="telegram" |
362 | 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" | 92 | 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" |
363 | placeholder="Телеграм линк" value="{{ old('telegram') ?? $config->telegram ?? '' }}" | 93 | placeholder="Телеграм линк" value="{{ old('telegram') ?? $config->telegram ?? '' }}" |
364 | /> | 94 | /> |
365 | @error('telegram') | 95 | @error('telegram') |
366 | <span class="text-xs text-red-600 dark:text-red-400"> | 96 | <span class="text-xs text-red-600 dark:text-red-400"> |
367 | {{ $message }} | 97 | {{ $message }} |
368 | </span> | 98 | </span> |
369 | @enderror | 99 | @enderror |
370 | </label><br> | 100 | </label><br> |
371 | 101 | ||
372 | <label class="block text-sm"> | 102 | <label class="block text-sm"> |
373 | <span class="text-gray-700 dark:text-gray-400">Вконтакте</span> | 103 | <span class="text-gray-700 dark:text-gray-400">Вконтакте</span> |
374 | <input name="vkontact" id="vkontact" | 104 | <input name="vkontact" id="vkontact" |
375 | 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" | 105 | 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" |
376 | placeholder="Вконтакте линк" value="{{ old('vkontact') ?? $config->vkontact ?? '' }}" | 106 | placeholder="Вконтакте линк" value="{{ old('vkontact') ?? $config->vkontact ?? '' }}" |
377 | /> | 107 | /> |
378 | @error('vkontact') | 108 | @error('vkontact') |
379 | <span class="text-xs text-red-600 dark:text-red-400"> | 109 | <span class="text-xs text-red-600 dark:text-red-400"> |
380 | {{ $message }} | 110 | {{ $message }} |
381 | </span> | 111 | </span> |
382 | @enderror | 112 | @enderror |
383 | </label><br> | 113 | </label><br> |
384 | 114 | ||
385 | <label class="block text-sm"> | 115 | <label class="block text-sm"> |
386 | <span class="text-gray-700 dark:text-gray-400">Лого</span> | 116 | <span class="text-gray-700 dark:text-gray-400">Лого</span> |
387 | <input name="logo" id="logo" type="file" | 117 | <input name="logo" id="logo" type="file" |
388 | 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" | 118 | 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" |
389 | placeholder="Лого" value="{{ old('logo') ?? $config->logo ?? '' }}" | 119 | placeholder="Лого" value="{{ old('logo') ?? $config->logo ?? '' }}" |
390 | /> | 120 | /> |
391 | 121 | ||
392 | @if (isset($config->logo)) | 122 | @if (isset($config->logo)) |
393 | <img src="<?=asset(Storage::url($config->logo))?>" width="150"/> | 123 | <img src="<?=asset(Storage::url($config->logo))?>" width="150"/> |
394 | @endif | 124 | @endif |
395 | 125 | ||
396 | @error('logo') | 126 | @error('logo') |
397 | <span class="text-xs text-red-600 dark:text-red-400"> | 127 | <span class="text-xs text-red-600 dark:text-red-400"> |
398 | {{ $message }} | 128 | {{ $message }} |
399 | </span> | 129 | </span> |
400 | @enderror | 130 | @enderror |
401 | </label><br> | 131 | </label><br> |
402 | 132 | ||
403 | <label class="block text-sm"> | 133 | <label class="block text-sm"> |
404 | <span class="text-gray-700 dark:text-gray-400">Картинка</span> | 134 | <span class="text-gray-700 dark:text-gray-400">Картинка</span> |
405 | <input name="image" id="image" type="file" | 135 | <input name="image" id="image" type="file" |
406 | 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" | 136 | 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" |
407 | placeholder="Картинка" | 137 | placeholder="Картинка" |
408 | /> | 138 | /> |
409 | 139 | ||
410 | @if (isset($config->image)) | 140 | @if (isset($config->image)) |
411 | <img src="<?=asset(Storage::url($config->image))?>" width="150"/> | 141 | <img src="<?=asset(Storage::url($config->image))?>" width="150"/> |
412 | @endif | 142 | @endif |
413 | 143 | ||
414 | 144 | ||
415 | @error('image') | 145 | @error('image') |
416 | <span class="text-xs text-red-600 dark:text-red-400"> | 146 | <span class="text-xs text-red-600 dark:text-red-400"> |
417 | {{ $message }} | 147 | {{ $message }} |
418 | </span> | 148 | </span> |
419 | @enderror | 149 | @enderror |
420 | </label><br> | 150 | </label><br> |
421 | 151 | ||
422 | <label class="block text-sm"> | 152 | <label class="block text-sm"> |
423 | <span class="text-gray-700 dark:text-gray-400">Карта</span> | 153 | <span class="text-gray-700 dark:text-gray-400">Карта</span> |
424 | <input name="map" id="map" | 154 | <input name="map" id="map" |
425 | 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" | 155 | 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" |
426 | placeholder="Карта" value="{{ old('map') ?? $config->map ?? '' }}" | 156 | placeholder="Карта" value="{{ old('map') ?? $config->map ?? '' }}" |
427 | /> | 157 | /> |
428 | @error('map') | 158 | @error('map') |
429 | <span class="text-xs text-red-600 dark:text-red-400"> | 159 | <span class="text-xs text-red-600 dark:text-red-400"> |
430 | {{ $message }} | 160 | {{ $message }} |
431 | </span> | 161 | </span> |
432 | @enderror | 162 | @enderror |
433 | </label><br> | 163 | </label><br> |
434 | 164 | ||
435 | <label class="block text-sm"> | 165 | <label class="block text-sm"> |
436 | <span class="text-gray-700 dark:text-gray-400">Описание</span> | 166 | <span class="text-gray-700 dark:text-gray-400">Описание</span> |
437 | <textarea id="text" name="text" | 167 | <textarea id="text" name="text" |
438 | 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" | 168 | 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" |
439 | rows="3" | 169 | rows="3" |
440 | placeholder="Описание" | 170 | placeholder="Описание" |
441 | >{{ old('text') ?? $config->text ?? '' }}</textarea> | 171 | >{{ old('text') ?? $config->text ?? '' }}</textarea> |
442 | 172 | ||
443 | @error('text') | 173 | @error('text') |
444 | <span class="text-xs text-red-600 dark:text-red-400"> | 174 | <span class="text-xs text-red-600 dark:text-red-400"> |
445 | {{ $message }} | 175 | {{ $message }} |
446 | </span> | 176 | </span> |
447 | @enderror | 177 | @enderror |
448 | </label><br> | 178 | </label><br> |
449 | 179 | ||
450 | <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> | 180 | <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> |
451 | <div> | 181 | <div> |
452 | <button 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"> | 182 | <button 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"> |
453 | Сохранить | 183 | Сохранить |
454 | </button> | 184 | </button> |
455 | </div> | 185 | </div> |
456 | </div> | 186 | </div> |
457 | </div> | 187 | </div> |
458 | </form> | 188 | </form> |
459 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
460 | @endsection | 189 | @endsection |
461 | 190 |
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 | <<<<<<< HEAD | ||
26 | console.log(data); | ||
27 | ======= | ||
28 | //console.log(data); | 25 | //console.log(data); |
29 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
30 | ajax_block.html(data); | 26 | ajax_block.html(data); |
31 | }, | 27 | }, |
32 | headers: { | 28 | headers: { |
33 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 29 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
34 | }, | 30 | }, |
35 | error: function (data) { | 31 | error: function (data) { |
36 | console.log('Error: ' + data); | 32 | console.log('Error: ' + data); |
37 | } | 33 | } |
38 | }); | 34 | }); |
39 | }); | 35 | }); |
40 | 36 | ||
41 | }); | 37 | }); |
42 | </script> | 38 | </script> |
43 | @endsection | 39 | @endsection |
44 | 40 | ||
45 | <<<<<<< HEAD | ||
46 | ======= | ||
47 | @section('search') | 41 | @section('search') |
48 | <div class="absolute inset-y-0 flex items-center pl-2"> | 42 | <div class="absolute inset-y-0 flex items-center pl-2"> |
49 | <svg | 43 | <svg |
50 | class="w-4 h-4" | 44 | class="w-4 h-4" |
51 | aria-hidden="true" | 45 | aria-hidden="true" |
52 | fill="currentColor" | 46 | fill="currentColor" |
53 | viewBox="0 0 20 20" | 47 | viewBox="0 0 20 20" |
54 | > | 48 | > |
55 | <path | 49 | <path |
56 | fill-rule="evenodd" | 50 | fill-rule="evenodd" |
57 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" | 51 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" |
58 | clip-rule="evenodd" | 52 | clip-rule="evenodd" |
59 | ></path> | 53 | ></path> |
60 | </svg> | 54 | </svg> |
61 | </div> | 55 | </div> |
62 | <form action="" method="POST"> | 56 | <form action="" method="POST"> |
63 | <div style="float:left;"><input | 57 | <div style="float:left;"><input |
64 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" | 58 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" |
65 | style="width: 400px" | 59 | style="width: 400px" |
66 | type="text" | 60 | type="text" |
67 | placeholder="Искать..." | 61 | placeholder="Искать..." |
68 | aria-label="Search" | 62 | aria-label="Search" |
69 | /></div> | 63 | /></div> |
70 | <div style="float: left"> | 64 | <div style="float: left"> |
71 | <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> | 65 | <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> |
72 | </div> | 66 | </div> |
73 | </form> | 67 | </form> |
74 | @endsection | 68 | @endsection |
75 | 69 | ||
76 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
77 | @section('content') | 70 | @section('content') |
78 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> | 71 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> |
79 | <div class="w-full overflow-x-auto"> | 72 | <div class="w-full overflow-x-auto"> |
80 | <table class="w-full whitespace-no-wrap"> | 73 | <table class="w-full whitespace-no-wrap"> |
81 | <thead> | 74 | <thead> |
82 | <tr | 75 | <tr |
83 | 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" | 76 | 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" |
84 | > | 77 | > |
85 | <th class="px-4 py-3">№</th> | 78 | <th class="px-4 py-3">№</th> |
86 | <th class="px-4 py-3">Название компании</th> | 79 | <th class="px-4 py-3">Название компании</th> |
87 | <th class="px-4 py-3">Email/Телефон</th> | 80 | <th class="px-4 py-3">Email/Телефон</th> |
88 | <th class="px-4 py-3">Имя</th> | 81 | <th class="px-4 py-3">Имя</th> |
89 | <th class="px-4 py-3">Дата регистрации</th> | 82 | <th class="px-4 py-3">Дата регистрации</th> |
90 | <th class="px-4 py-3">Изменить</th> | 83 | <th class="px-4 py-3">Изменить</th> |
91 | <<<<<<< HEAD | ||
92 | <th class="px-4 py-3">Блокировать</th> | ||
93 | ======= | ||
94 | <th class="px-4 py-3">Бан</th> | 84 | <th class="px-4 py-3">Бан</th> |
95 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
96 | </tr> | 85 | </tr> |
97 | </thead> | 86 | </thead> |
98 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 87 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
99 | @foreach($users as $user) | 88 | @foreach($users as $user) |
100 | <tr class="text-gray-700 dark:text-gray-400"> | 89 | <tr class="text-gray-700 dark:text-gray-400"> |
101 | <td class="px-4 py-3"> | 90 | <td class="px-4 py-3"> |
102 | {{$user->id}} | 91 | {{$user->id}} |
103 | </td> | 92 | </td> |
104 | <td class="px-4 py-3"> | 93 | <td class="px-4 py-3"> |
105 | {{$user->name}} | 94 | {{$user->name}} |
106 | </td> | 95 | </td> |
107 | <td class="px-4 py-3"> | 96 | <td class="px-4 py-3"> |
108 | <div class="flex items-center text-sm"> | 97 | <div class="flex items-center text-sm"> |
109 | <!--<div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 98 | <!--<div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
110 | <div | 99 | <div |
111 | class="absolute inset-0 rounded-full shadow-inner" | 100 | class="absolute inset-0 rounded-full shadow-inner" |
112 | aria-hidden="true" | 101 | aria-hidden="true" |
113 | ></div> | 102 | ></div> |
114 | </div>--> | 103 | </div>--> |
115 | <div> | 104 | <div> |
116 | <p class="font-semibold">{{ empty($user->employers->email) ? $user->email : $user->employers->email }}</p> | 105 | <p class="font-semibold">{{ empty($user->employers->email) ? $user->email : $user->employers->email }}</p> |
117 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 106 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
118 | {{ empty($user->employers->telephone) ? $user->telephone : $user->employers->telephone }} | 107 | {{ empty($user->employers->telephone) ? $user->telephone : $user->employers->telephone }} |
119 | </p> | 108 | </p> |
120 | </div> | 109 | </div> |
121 | </div> | 110 | </div> |
122 | 111 | ||
123 | </td> | 112 | </td> |
124 | <td class="px-4 py-3 text-sm"> | 113 | <td class="px-4 py-3 text-sm"> |
125 | {{ $user->name_man }} | 114 | {{ $user->name_man }} |
126 | </td> | 115 | </td> |
127 | <td class="px-4 py-3 text-sm"> | 116 | <td class="px-4 py-3 text-sm"> |
128 | {{ $user->created_at }} | 117 | {{ $user->created_at }} |
129 | </td> | 118 | </td> |
130 | <td class="px-4 py-3 text-sm"> | 119 | <td class="px-4 py-3 text-sm"> |
131 | <<<<<<< HEAD | ||
132 | <a href="">Изменить</a> | ||
133 | </td> | ||
134 | <td class="px-4 py-3 text-sm"> | ||
135 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | ||
136 | ======= | ||
137 | @if ($user->id > 1) | 120 | @if ($user->id > 1) |
138 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> | 121 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> |
139 | @endif | 122 | @endif |
140 | </td> | 123 | </td> |
141 | <td class="px-4 py-3 text-sm"> | 124 | <td class="px-4 py-3 text-sm"> |
142 | @if ($user->id > 1) | 125 | @if ($user->id > 1) |
143 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 126 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
144 | @endif | 127 | @endif |
145 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
146 | </td> | 128 | </td> |
147 | </tr> | 129 | </tr> |
148 | @endforeach | 130 | @endforeach |
149 | </tbody> | 131 | </tbody> |
150 | </table> | 132 | </table> |
151 | </div> | 133 | </div> |
152 | 134 | ||
153 | <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"> | 135 | <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"> |
154 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> | 136 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> |
155 | </div> | 137 | </div> |
156 | </div> | 138 | </div> |
157 | @endsection | 139 | @endsection |
158 | 140 |
resources/views/admin/employer/index_ajax.blade.php
1 | <div class="w-full overflow-x-auto"> | 1 | <div class="w-full overflow-x-auto"> |
2 | <table class="w-full whitespace-no-wrap"> | 2 | <table class="w-full whitespace-no-wrap"> |
3 | <thead> | 3 | <thead> |
4 | <tr | 4 | <tr |
5 | 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" | 5 | 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" |
6 | > | 6 | > |
7 | <th class="px-4 py-3">№</th> | 7 | <th class="px-4 py-3">№</th> |
8 | <th class="px-4 py-3">Название компании</th> | 8 | <th class="px-4 py-3">Название компании</th> |
9 | <th class="px-4 py-3">Email/Телефон</th> | 9 | <th class="px-4 py-3">Email/Телефон</th> |
10 | <th class="px-4 py-3">Имя</th> | 10 | <th class="px-4 py-3">Имя</th> |
11 | <th class="px-4 py-3">Дата регистрации</th> | 11 | <th class="px-4 py-3">Дата регистрации</th> |
12 | <th class="px-4 py-3">Изменить</th> | 12 | <th class="px-4 py-3">Изменить</th> |
13 | <<<<<<< HEAD | ||
14 | <th class="px-4 py-3">Блокировать</th> | ||
15 | ======= | ||
16 | <th class="px-4 py-3">Бан</th> | 13 | <th class="px-4 py-3">Бан</th> |
17 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
18 | </tr> | 14 | </tr> |
19 | </thead> | 15 | </thead> |
20 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 16 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
21 | @foreach($users as $user) | 17 | @foreach($users as $user) |
22 | <tr class="text-gray-700 dark:text-gray-400"> | 18 | <tr class="text-gray-700 dark:text-gray-400"> |
23 | <td class="px-4 py-3"> | 19 | <td class="px-4 py-3"> |
24 | {{$user->id}} | 20 | {{$user->id}} |
25 | </td> | 21 | </td> |
26 | <td class="px-4 py-3"> | 22 | <td class="px-4 py-3"> |
27 | {{$user->name}} | 23 | {{$user->name}} |
28 | </td> | 24 | </td> |
29 | <td class="px-4 py-3"> | 25 | <td class="px-4 py-3"> |
30 | <div class="flex items-center text-sm"> | 26 | <div class="flex items-center text-sm"> |
31 | <!--<div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 27 | <!--<div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
32 | <div | 28 | <div |
33 | class="absolute inset-0 rounded-full shadow-inner" | 29 | class="absolute inset-0 rounded-full shadow-inner" |
34 | aria-hidden="true" | 30 | aria-hidden="true" |
35 | ></div> | 31 | ></div> |
36 | </div>--> | 32 | </div>--> |
37 | <div> | 33 | <div> |
38 | <p class="font-semibold">{{ empty($user->employers->email) ? $user->email : $user->employers->email }}</p> | 34 | <p class="font-semibold">{{ empty($user->employers->email) ? $user->email : $user->employers->email }}</p> |
39 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 35 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
40 | {{ empty($user->employers->telephone) ? $user->telephone : $user->employers->telephone }} | 36 | {{ empty($user->employers->telephone) ? $user->telephone : $user->employers->telephone }} |
41 | </p> | 37 | </p> |
42 | </div> | 38 | </div> |
43 | </div> | 39 | </div> |
44 | 40 | ||
45 | </td> | 41 | </td> |
46 | <td class="px-4 py-3 text-sm"> | 42 | <td class="px-4 py-3 text-sm"> |
47 | {{ $user->name_man }} | 43 | {{ $user->name_man }} |
48 | </td> | 44 | </td> |
49 | <td class="px-4 py-3 text-sm"> | 45 | <td class="px-4 py-3 text-sm"> |
50 | {{ $user->created_at }} | 46 | {{ $user->created_at }} |
51 | </td> | 47 | </td> |
52 | <td class="px-4 py-3 text-sm"> | 48 | <td class="px-4 py-3 text-sm"> |
53 | <<<<<<< HEAD | ||
54 | <a href="">Изменить</a> | ||
55 | </td> | ||
56 | <td class="px-4 py-3 text-sm"> | ||
57 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | ||
58 | ======= | ||
59 | @if ($user->id > 1) | 49 | @if ($user->id > 1) |
60 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> | 50 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> |
61 | @endif | 51 | @endif |
62 | </td> | 52 | </td> |
63 | <td class="px-4 py-3 text-sm"> | 53 | <td class="px-4 py-3 text-sm"> |
64 | @if ($user->id > 1) | 54 | @if ($user->id > 1) |
65 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 55 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
66 | @endif | 56 | @endif |
67 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
68 | </td> | 57 | </td> |
69 | </tr> | 58 | </tr> |
70 | @endforeach | 59 | @endforeach |
71 | </tbody> | 60 | </tbody> |
72 | </table> | 61 | </table> |
73 | </div> | 62 | </div> |
74 | 63 | ||
75 | <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"> | 64 | <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"> |
76 | <?//=$users->appends($_GET)->links('admin.pagginate'); ?> | 65 | <?//=$users->appends($_GET)->links('admin.pagginate'); ?> |
77 | <?=$users->links('admin.pagginate'); ?> | 66 | <?=$users->links('admin.pagginate'); ?> |
78 | </div> | 67 | </div> |
79 | 68 | ||
80 | 69 |
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 | <<<<<<< HEAD | ||
218 | <p class="font-semibold"><a href="{{ route('admin.categories') }}">Категории</a></p> | ||
219 | ======= | ||
220 | <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> |
221 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
222 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 218 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
223 | Справочник категории (по умолчанию: река, море, река-море) | 219 | Справочник категории (по умолчанию: река, море, река-море) |
224 | </p> | 220 | </p> |
225 | </div> | 221 | </div> |
226 | </div> | 222 | </div> |
227 | </td> | 223 | </td> |
228 | <td class="px-4 py-3 text-sm"> | 224 | <td class="px-4 py-3 text-sm"> |
229 | category | 225 | category |
230 | </td> | 226 | </td> |
231 | <td class="px-4 py-3 text-xs"> | 227 | <td class="px-4 py-3 text-xs"> |
232 | <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"> |
233 | Доступно | 229 | Доступно |
234 | </span> | 230 | </span> |
235 | </td> | 231 | </td> |
236 | <td class="px-4 py-3 text-sm"> | 232 | <td class="px-4 py-3 text-sm"> |
237 | май 2023 | 233 | май 2023 |
238 | </td> | 234 | </td> |
239 | </tr> | 235 | </tr> |
240 | 236 | ||
241 | <tr class="text-gray-700 dark:text-gray-400"> | 237 | <tr class="text-gray-700 dark:text-gray-400"> |
242 | <td class="px-4 py-3"> | 238 | <td class="px-4 py-3"> |
243 | <div class="flex items-center text-sm"> | 239 | <div class="flex items-center text-sm"> |
244 | <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"> |
245 | <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> |
246 | </div> | 242 | </div> |
247 | <div> | 243 | <div> |
248 | <<<<<<< HEAD | ||
249 | <p class="font-semibold"><a href="{{ route('admin.job-titles') }}">Должности</a></p> | ||
250 | <p class="text-xs text-gray-600 dark:text-gray-400"> | ||
251 | Все должности | ||
252 | ======= | ||
253 | <p class="font-semibold"><a href="{{ route('admin.job-titles.index') }}">Должности</a></p> | 244 | <p class="font-semibold"><a href="{{ route('admin.job-titles.index') }}">Должности</a></p> |
254 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 245 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
255 | Справочник должности (все должности проекта) | 246 | Справочник должности (все должности проекта) |
256 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
257 | </p> | 247 | </p> |
258 | </div> | 248 | </div> |
259 | </div> | 249 | </div> |
260 | </td> | 250 | </td> |
261 | <td class="px-4 py-3 text-sm"> | 251 | <td class="px-4 py-3 text-sm"> |
262 | job_titles | 252 | job_titles |
263 | </td> | 253 | </td> |
264 | <td class="px-4 py-3 text-xs"> | 254 | <td class="px-4 py-3 text-xs"> |
265 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 255 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
266 | Доступно | 256 | Доступно |
267 | </span> | 257 | </span> |
268 | </td> | 258 | </td> |
269 | <td class="px-4 py-3 text-sm"> | 259 | <td class="px-4 py-3 text-sm"> |
270 | май 2023 | 260 | май 2023 |
271 | </td> | 261 | </td> |
272 | </tr> | 262 | </tr> |
273 | 263 | ||
274 | <tr class="text-gray-700 dark:text-gray-400"> | 264 | <tr class="text-gray-700 dark:text-gray-400"> |
275 | <td class="px-4 py-3"> | 265 | <td class="px-4 py-3"> |
276 | <div class="flex items-center text-sm"> | 266 | <div class="flex items-center text-sm"> |
277 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 267 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
278 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 268 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
279 | </div> | 269 | </div> |
280 | <div> | 270 | <div> |
281 | <<<<<<< HEAD | ||
282 | ======= | ||
283 | <p class="font-semibold"><a href="{{ route('admin.infobloks.index') }}">Документы-Дипломы</a></p> | 271 | <p class="font-semibold"><a href="{{ route('admin.infobloks.index') }}">Документы-Дипломы</a></p> |
284 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 272 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
285 | Справочник документы-дипломы (все блоки-документы необходимые соискателю) | 273 | Справочник документы-дипломы (все блоки-документы необходимые соискателю) |
286 | </p> | 274 | </p> |
287 | </div> | 275 | </div> |
288 | </div> | 276 | </div> |
289 | </td> | 277 | </td> |
290 | <td class="px-4 py-3 text-sm"> | 278 | <td class="px-4 py-3 text-sm"> |
291 | infobloks | 279 | infobloks |
292 | </td> | 280 | </td> |
293 | <td class="px-4 py-3 text-xs"> | 281 | <td class="px-4 py-3 text-xs"> |
294 | <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"> |
295 | Доступно | 283 | Доступно |
296 | </span> | 284 | </span> |
297 | </td> | 285 | </td> |
298 | <td class="px-4 py-3 text-sm"> | 286 | <td class="px-4 py-3 text-sm"> |
299 | сентябрь 2023 | 287 | сентябрь 2023 |
300 | </td> | 288 | </td> |
301 | </tr> | 289 | </tr> |
302 | 290 | ||
303 | <tr class="text-gray-700 dark:text-gray-400"> | 291 | <tr class="text-gray-700 dark:text-gray-400"> |
304 | <td class="px-4 py-3"> | 292 | <td class="px-4 py-3"> |
305 | <div class="flex items-center text-sm"> | 293 | <div class="flex items-center text-sm"> |
306 | <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"> |
307 | <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> |
308 | </div> | 296 | </div> |
309 | <div> | 297 | <div> |
310 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
311 | <p class="font-semibold"><a href="{{ route('admin.messages') }}">Сообщения</a></p> | 298 | <p class="font-semibold"><a href="{{ route('admin.messages') }}">Сообщения</a></p> |
312 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 299 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
313 | Все сообщения сайта | 300 | Все сообщения сайта |
314 | </p> | 301 | </p> |
315 | </div> | 302 | </div> |
316 | </div> | 303 | </div> |
317 | </td> | 304 | </td> |
318 | <td class="px-4 py-3 text-sm"> | 305 | <td class="px-4 py-3 text-sm"> |
319 | messages | 306 | messages |
320 | </td> | 307 | </td> |
321 | <td class="px-4 py-3 text-xs"> | 308 | <td class="px-4 py-3 text-xs"> |
322 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> | 309 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> |
323 | Недоступно | 310 | Недоступно |
324 | </span> | 311 | </span> |
325 | </td> | 312 | </td> |
326 | <td class="px-4 py-3 text-sm"> | 313 | <td class="px-4 py-3 text-sm"> |
327 | май 2023 | 314 | май 2023 |
328 | </td> | 315 | </td> |
329 | </tr> | 316 | </tr> |
330 | 317 | ||
331 | <tr class="text-gray-700 dark:text-gray-400"> | 318 | <tr class="text-gray-700 dark:text-gray-400"> |
332 | <td class="px-4 py-3"> | 319 | <td class="px-4 py-3"> |
333 | <div class="flex items-center text-sm"> | 320 | <div class="flex items-center text-sm"> |
334 | <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"> |
335 | <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> |
336 | </div> | 323 | </div> |
337 | <div> | 324 | <div> |
338 | <p class="font-semibold"><a href="{{ route('admin.groups') }}">Группы пользователей</a></p> | 325 | <p class="font-semibold"><a href="{{ route('admin.groups') }}">Группы пользователей</a></p> |
339 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 326 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
340 | Группировка людей в именованные группы | 327 | Группировка людей в именованные группы |
341 | </p> | 328 | </p> |
342 | </div> | 329 | </div> |
343 | </div> | 330 | </div> |
344 | </td> | 331 | </td> |
345 | <td class="px-4 py-3 text-sm"> | 332 | <td class="px-4 py-3 text-sm"> |
346 | group_users | 333 | group_users |
347 | </td> | 334 | </td> |
348 | <td class="px-4 py-3 text-xs"> | 335 | <td class="px-4 py-3 text-xs"> |
349 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 336 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
350 | Доступно | 337 | Доступно |
351 | </span> | 338 | </span> |
352 | </td> | 339 | </td> |
353 | <td class="px-4 py-3 text-sm"> | 340 | <td class="px-4 py-3 text-sm"> |
354 | май 2023 | 341 | май 2023 |
355 | </td> | 342 | </td> |
356 | </tr> | 343 | </tr> |
357 | 344 | ||
358 | <<<<<<< HEAD | ||
359 | |||
360 | ======= | ||
361 | <tr class="text-gray-700 dark:text-gray-400"> | 345 | <tr class="text-gray-700 dark:text-gray-400"> |
362 | <td class="px-4 py-3"> | 346 | <td class="px-4 py-3"> |
363 | <div class="flex items-center text-sm"> | 347 | <div class="flex items-center text-sm"> |
364 | <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"> |
365 | <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> |
366 | </div> | 350 | </div> |
367 | <div> | 351 | <div> |
368 | <p class="font-semibold"><a href="{{ route('admin.roles') }}">Роли пользователей</a></p> | 352 | <p class="font-semibold"><a href="{{ route('admin.roles') }}">Роли пользователей</a></p> |
369 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 353 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
370 | Роли людей (запреты и доступы) в системе | 354 | Роли людей (запреты и доступы) в системе |
371 | </p> | 355 | </p> |
372 | </div> | 356 | </div> |
373 | </div> | 357 | </div> |
374 | </td> | 358 | </td> |
375 | <td class="px-4 py-3 text-sm"> | 359 | <td class="px-4 py-3 text-sm"> |
376 | users | 360 | users |
377 | </td> | 361 | </td> |
378 | <td class="px-4 py-3 text-xs"> | 362 | <td class="px-4 py-3 text-xs"> |
379 | <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"> |
380 | Доступно | 364 | Доступно |
381 | </span> | 365 | </span> |
382 | </td> | 366 | </td> |
383 | <td class="px-4 py-3 text-sm"> | 367 | <td class="px-4 py-3 text-sm"> |
384 | сентябрь 2023 | 368 | сентябрь 2023 |
385 | </td> | 369 | </td> |
386 | </tr> | 370 | </tr> |
387 | 371 | ||
388 | <tr class="text-gray-700 dark:text-gray-400"> | 372 | <tr class="text-gray-700 dark:text-gray-400"> |
389 | <td class="px-4 py-3"> | 373 | <td class="px-4 py-3"> |
390 | <div class="flex items-center text-sm"> | 374 | <div class="flex items-center text-sm"> |
391 | <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"> |
392 | <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> |
393 | </div> | 377 | </div> |
394 | <div> | 378 | <div> |
395 | <p class="font-semibold"><a href="{{ route('admin.statics') }}">Статистика</a></p> | 379 | <p class="font-semibold"><a href="{{ route('admin.statics') }}">Статистика</a></p> |
396 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 380 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
397 | Статистика соискателей и работодателей | 381 | Статистика соискателей и работодателей |
398 | </p> | 382 | </p> |
399 | </div> | 383 | </div> |
400 | </div> | 384 | </div> |
401 | </td> | 385 | </td> |
402 | <td class="px-4 py-3 text-sm"> | 386 | <td class="px-4 py-3 text-sm"> |
403 | static_workers, static_ads | 387 | static_workers, static_ads |
404 | </td> | 388 | </td> |
405 | <td class="px-4 py-3 text-xs"> | 389 | <td class="px-4 py-3 text-xs"> |
406 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> | 390 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> |
407 | Недоступно | 391 | Недоступно |
408 | </span> | 392 | </span> |
409 | </td> | 393 | </td> |
410 | <td class="px-4 py-3 text-sm"> | 394 | <td class="px-4 py-3 text-sm"> |
411 | сентябрь 2023 | 395 | сентябрь 2023 |
412 | </td> | 396 | </td> |
413 | </tr> | 397 | </tr> |
414 | 398 | ||
415 | <tr class="text-gray-700 dark:text-gray-400"> | 399 | <tr class="text-gray-700 dark:text-gray-400"> |
416 | <td class="px-4 py-3"> | 400 | <td class="px-4 py-3"> |
417 | <div class="flex items-center text-sm"> | 401 | <div class="flex items-center text-sm"> |
418 | <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"> |
419 | <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> |
420 | </div> | 404 | </div> |
421 | <div> | 405 | <div> |
422 | <p class="font-semibold"><a href="{{ route('admin.editor-site') }}">Редактор сайта</a></p> | 406 | <p class="font-semibold"><a href="{{ route('admin.editor-site') }}">Редактор сайта</a></p> |
423 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 407 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
424 | Все редакторы системы | 408 | Все редакторы системы |
425 | </p> | 409 | </p> |
426 | </div> | 410 | </div> |
427 | </div> | 411 | </div> |
428 | </td> | 412 | </td> |
429 | <td class="px-4 py-3 text-sm"> | 413 | <td class="px-4 py-3 text-sm"> |
430 | header_footer, job_titles_mains, employers_mains,<br> pages, seo, reclames, companies | 414 | header_footer, job_titles_mains, employers_mains,<br> pages, seo, reclames, companies |
431 | </td> | 415 | </td> |
432 | <td class="px-4 py-3 text-xs"> | 416 | <td class="px-4 py-3 text-xs"> |
433 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 417 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
434 | Доступно | 418 | Доступно |
435 | </span> | 419 | </span> |
436 | </td> | 420 | </td> |
437 | <td class="px-4 py-3 text-sm"> | 421 | <td class="px-4 py-3 text-sm"> |
438 | сентябрь 2023 | 422 | сентябрь 2023 |
439 | </td> | 423 | </td> |
440 | </tr> | 424 | </tr> |
441 | <tr class="text-gray-700 dark:text-gray-400"> | 425 | <tr class="text-gray-700 dark:text-gray-400"> |
442 | <td class="px-4 py-3"> | 426 | <td class="px-4 py-3"> |
443 | <div class="flex items-center text-sm"> | 427 | <div class="flex items-center text-sm"> |
444 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 428 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
445 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 429 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
446 | </div> | 430 | </div> |
447 | <div> | 431 | <div> |
448 | <p class="font-semibold"><a href="{{ route('admin.answers') }}">Модерация</a></p> | 432 | <p class="font-semibold"><a href="{{ route('admin.answers') }}">Модерация</a></p> |
449 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 433 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
450 | Модерация отзывов о работодателе | 434 | Модерация отзывов о работодателе |
451 | </p> | 435 | </p> |
452 | </div> | 436 | </div> |
453 | </div> | 437 | </div> |
454 | </td> | 438 | </td> |
455 | <td class="px-4 py-3 text-sm"> | 439 | <td class="px-4 py-3 text-sm"> |
456 | answers | 440 | answers |
457 | </td> | 441 | </td> |
458 | <td class="px-4 py-3 text-xs"> | 442 | <td class="px-4 py-3 text-xs"> |
459 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 443 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
460 | Доступно | 444 | Доступно |
461 | </span> | 445 | </span> |
462 | </td> | 446 | </td> |
463 | <td class="px-4 py-3 text-sm"> | 447 | <td class="px-4 py-3 text-sm"> |
464 | сентябрь 2023 | 448 | сентябрь 2023 |
465 | </td> | 449 | </td> |
466 | </tr> | 450 | </tr> |
467 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
468 | 451 | ||
469 | <!--<tr class="text-gray-700 dark:text-gray-400"> | 452 | <!--<tr class="text-gray-700 dark:text-gray-400"> |
470 | <td class="px-4 py-3"> | 453 | <td class="px-4 py-3"> |
471 | <div class="flex items-center text-sm"> | 454 | <div class="flex items-center text-sm"> |
472 | 455 | ||
473 | <div | 456 | <div |
474 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 457 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
475 | > | 458 | > |
476 | <img | 459 | <img |
477 | class="object-cover w-full h-full rounded-full" | 460 | class="object-cover w-full h-full rounded-full" |
478 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 461 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
479 | alt="" | 462 | alt="" |
480 | loading="lazy" | 463 | loading="lazy" |
481 | /> | 464 | /> |
482 | <div | 465 | <div |
483 | class="absolute inset-0 rounded-full shadow-inner" | 466 | class="absolute inset-0 rounded-full shadow-inner" |
484 | aria-hidden="true" | 467 | aria-hidden="true" |
485 | ></div> | 468 | ></div> |
486 | </div> | 469 | </div> |
487 | <div> | 470 | <div> |
488 | <p class="font-semibold">Sarah Curry</p> | 471 | <p class="font-semibold">Sarah Curry</p> |
489 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 472 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
490 | Designer | 473 | Designer |
491 | </p> | 474 | </p> |
492 | </div> | 475 | </div> |
493 | </div> | 476 | </div> |
494 | </td> | 477 | </td> |
495 | <td class="px-4 py-3 text-sm"> | 478 | <td class="px-4 py-3 text-sm"> |
496 | $ 86.00 | 479 | $ 86.00 |
497 | </td> | 480 | </td> |
498 | <td class="px-4 py-3 text-xs"> | 481 | <td class="px-4 py-3 text-xs"> |
499 | <span | 482 | <span |
500 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" | 483 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" |
501 | > | 484 | > |
502 | Denied | 485 | Denied |
503 | </span> | 486 | </span> |
504 | </td> | 487 | </td> |
505 | <td class="px-4 py-3 text-sm"> | 488 | <td class="px-4 py-3 text-sm"> |
506 | 6/10/2020 | 489 | 6/10/2020 |
507 | </td> | 490 | </td> |
508 | </tr> | 491 | </tr> |
509 | 492 | ||
510 | <tr class="text-gray-700 dark:text-gray-400"> | 493 | <tr class="text-gray-700 dark:text-gray-400"> |
511 | <td class="px-4 py-3"> | 494 | <td class="px-4 py-3"> |
512 | <div class="flex items-center text-sm"> | 495 | <div class="flex items-center text-sm"> |
513 | 496 | ||
514 | <div | 497 | <div |
515 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 498 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
516 | > | 499 | > |
517 | <img | 500 | <img |
518 | class="object-cover w-full h-full rounded-full" | 501 | class="object-cover w-full h-full rounded-full" |
519 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 502 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
520 | alt="" | 503 | alt="" |
521 | loading="lazy" | 504 | loading="lazy" |
522 | /> | 505 | /> |
523 | <div | 506 | <div |
524 | class="absolute inset-0 rounded-full shadow-inner" | 507 | class="absolute inset-0 rounded-full shadow-inner" |
525 | aria-hidden="true" | 508 | aria-hidden="true" |
526 | ></div> | 509 | ></div> |
527 | </div> | 510 | </div> |
528 | <div> | 511 | <div> |
529 | <p class="font-semibold">Rulia Joberts</p> | 512 | <p class="font-semibold">Rulia Joberts</p> |
530 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 513 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
531 | Actress | 514 | Actress |
532 | </p> | 515 | </p> |
533 | </div> | 516 | </div> |
534 | </div> | 517 | </div> |
535 | </td> | 518 | </td> |
536 | <td class="px-4 py-3 text-sm"> | 519 | <td class="px-4 py-3 text-sm"> |
537 | $ 1276.45 | 520 | $ 1276.45 |
538 | </td> | 521 | </td> |
539 | <td class="px-4 py-3 text-xs"> | 522 | <td class="px-4 py-3 text-xs"> |
540 | <span | 523 | <span |
541 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 524 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
542 | > | 525 | > |
543 | Approved | 526 | Approved |
544 | </span> | 527 | </span> |
545 | </td> | 528 | </td> |
546 | <td class="px-4 py-3 text-sm"> | 529 | <td class="px-4 py-3 text-sm"> |
547 | 6/10/2020 | 530 | 6/10/2020 |
548 | </td> | 531 | </td> |
549 | </tr> | 532 | </tr> |
550 | 533 | ||
551 | <tr class="text-gray-700 dark:text-gray-400"> | 534 | <tr class="text-gray-700 dark:text-gray-400"> |
552 | <td class="px-4 py-3"> | 535 | <td class="px-4 py-3"> |
553 | <div class="flex items-center text-sm"> | 536 | <div class="flex items-center text-sm"> |
554 | 537 | ||
555 | <div | 538 | <div |
556 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 539 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
557 | > | 540 | > |
558 | <img | 541 | <img |
559 | class="object-cover w-full h-full rounded-full" | 542 | class="object-cover w-full h-full rounded-full" |
560 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 543 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
561 | alt="" | 544 | alt="" |
562 | loading="lazy" | 545 | loading="lazy" |
563 | /> | 546 | /> |
564 | <div | 547 | <div |
565 | class="absolute inset-0 rounded-full shadow-inner" | 548 | class="absolute inset-0 rounded-full shadow-inner" |
566 | aria-hidden="true" | 549 | aria-hidden="true" |
567 | ></div> | 550 | ></div> |
568 | </div> | 551 | </div> |
569 | <div> | 552 | <div> |
570 | <p class="font-semibold">Wenzel Dashington</p> | 553 | <p class="font-semibold">Wenzel Dashington</p> |
571 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 554 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
572 | Actor | 555 | Actor |
573 | </p> | 556 | </p> |
574 | </div> | 557 | </div> |
575 | </div> | 558 | </div> |
576 | </td> | 559 | </td> |
577 | <td class="px-4 py-3 text-sm"> | 560 | <td class="px-4 py-3 text-sm"> |
578 | $ 863.45 | 561 | $ 863.45 |
579 | </td> | 562 | </td> |
580 | <td class="px-4 py-3 text-xs"> | 563 | <td class="px-4 py-3 text-xs"> |
581 | <span | 564 | <span |
582 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" | 565 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" |
583 | > | 566 | > |
584 | Expired | 567 | Expired |
585 | </span> | 568 | </span> |
586 | </td> | 569 | </td> |
587 | <td class="px-4 py-3 text-sm"> | 570 | <td class="px-4 py-3 text-sm"> |
588 | 6/10/2020 | 571 | 6/10/2020 |
589 | </td> | 572 | </td> |
590 | </tr> | 573 | </tr> |
591 | 574 | ||
592 | <tr class="text-gray-700 dark:text-gray-400"> | 575 | <tr class="text-gray-700 dark:text-gray-400"> |
593 | <td class="px-4 py-3"> | 576 | <td class="px-4 py-3"> |
594 | <div class="flex items-center text-sm"> | 577 | <div class="flex items-center text-sm"> |
595 | 578 | ||
596 | <div | 579 | <div |
597 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 580 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
598 | > | 581 | > |
599 | <img | 582 | <img |
600 | class="object-cover w-full h-full rounded-full" | 583 | class="object-cover w-full h-full rounded-full" |
601 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" | 584 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" |
602 | alt="" | 585 | alt="" |
603 | loading="lazy" | 586 | loading="lazy" |
604 | /> | 587 | /> |
605 | <div | 588 | <div |
606 | class="absolute inset-0 rounded-full shadow-inner" | 589 | class="absolute inset-0 rounded-full shadow-inner" |
607 | aria-hidden="true" | 590 | aria-hidden="true" |
608 | ></div> | 591 | ></div> |
609 | </div> | 592 | </div> |
610 | <div> | 593 | <div> |
611 | <p class="font-semibold">Dave Li</p> | 594 | <p class="font-semibold">Dave Li</p> |
612 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 595 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
613 | Influencer | 596 | Influencer |
614 | </p> | 597 | </p> |
615 | </div> | 598 | </div> |
616 | </div> | 599 | </div> |
617 | </td> | 600 | </td> |
618 | <td class="px-4 py-3 text-sm"> | 601 | <td class="px-4 py-3 text-sm"> |
619 | $ 863.45 | 602 | $ 863.45 |
620 | </td> | 603 | </td> |
621 | <td class="px-4 py-3 text-xs"> | 604 | <td class="px-4 py-3 text-xs"> |
622 | <span | 605 | <span |
623 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 606 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
624 | > | 607 | > |
625 | Approved | 608 | Approved |
626 | </span> | 609 | </span> |
627 | </td> | 610 | </td> |
628 | <td class="px-4 py-3 text-sm"> | 611 | <td class="px-4 py-3 text-sm"> |
629 | 6/10/2020 | 612 | 6/10/2020 |
630 | </td> | 613 | </td> |
631 | </tr> | 614 | </tr> |
632 | 615 | ||
633 | <tr class="text-gray-700 dark:text-gray-400"> | 616 | <tr class="text-gray-700 dark:text-gray-400"> |
634 | <td class="px-4 py-3"> | 617 | <td class="px-4 py-3"> |
635 | <div class="flex items-center text-sm"> | 618 | <div class="flex items-center text-sm"> |
636 | 619 | ||
637 | <div | 620 | <div |
638 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 621 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
639 | > | 622 | > |
640 | <img | 623 | <img |
641 | class="object-cover w-full h-full rounded-full" | 624 | class="object-cover w-full h-full rounded-full" |
642 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 625 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
643 | alt="" | 626 | alt="" |
644 | loading="lazy" | 627 | loading="lazy" |
645 | /> | 628 | /> |
646 | <div | 629 | <div |
647 | class="absolute inset-0 rounded-full shadow-inner" | 630 | class="absolute inset-0 rounded-full shadow-inner" |
648 | aria-hidden="true" | 631 | aria-hidden="true" |
649 | ></div> | 632 | ></div> |
650 | </div> | 633 | </div> |
651 | <div> | 634 | <div> |
652 | <p class="font-semibold">Maria Ramovic</p> | 635 | <p class="font-semibold">Maria Ramovic</p> |
653 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 636 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
654 | Runner | 637 | Runner |
655 | </p> | 638 | </p> |
656 | </div> | 639 | </div> |
657 | </div> | 640 | </div> |
658 | </td> | 641 | </td> |
659 | <td class="px-4 py-3 text-sm"> | 642 | <td class="px-4 py-3 text-sm"> |
660 | $ 863.45 | 643 | $ 863.45 |
661 | </td> | 644 | </td> |
662 | <td class="px-4 py-3 text-xs"> | 645 | <td class="px-4 py-3 text-xs"> |
663 | <span | 646 | <span |
664 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 647 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
665 | > | 648 | > |
666 | Approved | 649 | Approved |
667 | </span> | 650 | </span> |
668 | </td> | 651 | </td> |
669 | <td class="px-4 py-3 text-sm"> | 652 | <td class="px-4 py-3 text-sm"> |
670 | 6/10/2020 | 653 | 6/10/2020 |
671 | </td> | 654 | </td> |
672 | </tr> | 655 | </tr> |
673 | 656 | ||
674 | <tr class="text-gray-700 dark:text-gray-400"> | 657 | <tr class="text-gray-700 dark:text-gray-400"> |
675 | <td class="px-4 py-3"> | 658 | <td class="px-4 py-3"> |
676 | <div class="flex items-center text-sm"> | 659 | <div class="flex items-center text-sm"> |
677 | 660 | ||
678 | <div | 661 | <div |
679 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 662 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
680 | > | 663 | > |
681 | <img | 664 | <img |
682 | class="object-cover w-full h-full rounded-full" | 665 | class="object-cover w-full h-full rounded-full" |
683 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 666 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
684 | alt="" | 667 | alt="" |
685 | loading="lazy" | 668 | loading="lazy" |
686 | /> | 669 | /> |
687 | <div | 670 | <div |
688 | class="absolute inset-0 rounded-full shadow-inner" | 671 | class="absolute inset-0 rounded-full shadow-inner" |
689 | aria-hidden="true" | 672 | aria-hidden="true" |
690 | ></div> | 673 | ></div> |
691 | </div> | 674 | </div> |
692 | <div> | 675 | <div> |
693 | <p class="font-semibold">Hitney Wouston</p> | 676 | <p class="font-semibold">Hitney Wouston</p> |
694 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 677 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
695 | Singer | 678 | Singer |
696 | </p> | 679 | </p> |
697 | </div> | 680 | </div> |
698 | </div> | 681 | </div> |
699 | </td> | 682 | </td> |
700 | <td class="px-4 py-3 text-sm"> | 683 | <td class="px-4 py-3 text-sm"> |
701 | $ 863.45 | 684 | $ 863.45 |
702 | </td> | 685 | </td> |
703 | <td class="px-4 py-3 text-xs"> | 686 | <td class="px-4 py-3 text-xs"> |
704 | <span | 687 | <span |
705 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 688 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
706 | > | 689 | > |
707 | Approved | 690 | Approved |
708 | </span> | 691 | </span> |
709 | </td> | 692 | </td> |
710 | <td class="px-4 py-3 text-sm"> | 693 | <td class="px-4 py-3 text-sm"> |
711 | 6/10/2020 | 694 | 6/10/2020 |
712 | </td> | 695 | </td> |
713 | </tr> | 696 | </tr> |
714 | 697 | ||
715 | <tr class="text-gray-700 dark:text-gray-400"> | 698 | <tr class="text-gray-700 dark:text-gray-400"> |
716 | <td class="px-4 py-3"> | 699 | <td class="px-4 py-3"> |
717 | <div class="flex items-center text-sm"> | 700 | <div class="flex items-center text-sm"> |
718 | 701 | ||
719 | <div | 702 | <div |
720 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 703 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
721 | > | 704 | > |
722 | <img | 705 | <img |
723 | class="object-cover w-full h-full rounded-full" | 706 | class="object-cover w-full h-full rounded-full" |
724 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 707 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
725 | alt="" | 708 | alt="" |
726 | loading="lazy" | 709 | loading="lazy" |
727 | /> | 710 | /> |
728 | <div | 711 | <div |
729 | class="absolute inset-0 rounded-full shadow-inner" | 712 | class="absolute inset-0 rounded-full shadow-inner" |
730 | aria-hidden="true" | 713 | aria-hidden="true" |
731 | ></div> | 714 | ></div> |
732 | </div> | 715 | </div> |
733 | <div> | 716 | <div> |
734 | <p class="font-semibold">Hans Burger</p> | 717 | <p class="font-semibold">Hans Burger</p> |
735 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 718 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
736 | 10x Developer | 719 | 10x Developer |
737 | </p> | 720 | </p> |
738 | </div> | 721 | </div> |
739 | </div> | 722 | </div> |
740 | </td> | 723 | </td> |
741 | <td class="px-4 py-3 text-sm"> | 724 | <td class="px-4 py-3 text-sm"> |
742 | $ 863.45 | 725 | $ 863.45 |
743 | </td> | 726 | </td> |
744 | <td class="px-4 py-3 text-xs"> | 727 | <td class="px-4 py-3 text-xs"> |
745 | <span | 728 | <span |
746 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 729 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
747 | > | 730 | > |
748 | Approved | 731 | Approved |
749 | </span> | 732 | </span> |
750 | </td> | 733 | </td> |
751 | <td class="px-4 py-3 text-sm"> | 734 | <td class="px-4 py-3 text-sm"> |
752 | 6/10/2020 | 735 | 6/10/2020 |
753 | </td> | 736 | </td> |
754 | </tr>--> | 737 | </tr>--> |
755 | </tbody> | 738 | </tbody> |
756 | </table> | 739 | </table> |
757 | </div> | 740 | </div> |
758 | </div> | 741 | </div> |
759 | 742 | ||
760 | 743 | ||
761 | <!-- Charts --> | 744 | <!-- Charts --> |
762 | 745 | ||
763 | <!--<h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> | 746 | <!--<h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> |
764 | Графики | 747 | Графики |
765 | </h2> | 748 | </h2> |
766 | <div class="grid gap-6 mb-8 md:grid-cols-2"> | 749 | <div class="grid gap-6 mb-8 md:grid-cols-2"> |
767 | <div | 750 | <div |
768 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 751 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
769 | > | 752 | > |
770 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 753 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
771 | Revenue | 754 | Revenue |
772 | </h4> | 755 | </h4> |
773 | <canvas id="pie"></canvas> | 756 | <canvas id="pie"></canvas> |
774 | <div | 757 | <div |
775 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 758 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
776 | > | 759 | > |
777 | 760 | ||
778 | <div class="flex items-center"> | 761 | <div class="flex items-center"> |
779 | <span | 762 | <span |
780 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" | 763 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" |
781 | ></span> | 764 | ></span> |
782 | <span>Shirts</span> | 765 | <span>Shirts</span> |
783 | </div> | 766 | </div> |
784 | <div class="flex items-center"> | 767 | <div class="flex items-center"> |
785 | <span | 768 | <span |
786 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 769 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
787 | ></span> | 770 | ></span> |
788 | <span>Shoes</span> | 771 | <span>Shoes</span> |
789 | </div> | 772 | </div> |
790 | <div class="flex items-center"> | 773 | <div class="flex items-center"> |
791 | <span | 774 | <span |
792 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 775 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
793 | ></span> | 776 | ></span> |
794 | <span>Bags</span> | 777 | <span>Bags</span> |
795 | </div> | 778 | </div> |
796 | </div> | 779 | </div> |
797 | </div> | 780 | </div> |
798 | <div | 781 | <div |
799 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 782 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
800 | > | 783 | > |
801 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 784 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
802 | Посещаемость сайта | 785 | Посещаемость сайта |
803 | </h4> | 786 | </h4> |
804 | <canvas id="line"></canvas> | 787 | <canvas id="line"></canvas> |
805 | <div | 788 | <div |
806 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 789 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
807 | > | 790 | > |
808 | 791 | ||
809 | <div class="flex items-center"> | 792 | <div class="flex items-center"> |
810 | <span | 793 | <span |
811 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 794 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
812 | ></span> | 795 | ></span> |
813 | <span>Organic</span> | 796 | <span>Organic</span> |
814 | </div> | 797 | </div> |
815 | <div class="flex items-center"> | 798 | <div class="flex items-center"> |
816 | <span | 799 | <span |
817 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 800 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
818 | ></span> | 801 | ></span> |
819 | <span>Paid</span> | 802 | <span>Paid</span> |
820 | </div> | 803 | </div> |
821 | </div> | 804 | </div> |
822 | </div> | 805 | </div> |
823 | </div>--> | 806 | </div>--> |
824 | 807 | ||
825 | @endsection | 808 | @endsection |
826 | 809 |
resources/views/admin/profile.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 | Личные данные | 5 | Личные данные |
6 | </h4> | 6 | </h4> |
7 | <<<<<<< HEAD | ||
8 | ======= | ||
9 | <form method="POST" action=""> | 7 | <form method="POST" action=""> |
10 | @csrf | 8 | @csrf |
11 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
12 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> | 9 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> |
13 | <label class="block text-sm"> | 10 | <label class="block text-sm"> |
14 | <span class="text-gray-700 dark:text-gray-400">Имя/Псевдоним/Имя компании</span> | 11 | <span class="text-gray-700 dark:text-gray-400">Имя/Псевдоним/Имя компании</span> |
15 | <input name="name" id="name" | 12 | <input name="name" id="name" |
16 | 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" | 13 | 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" |
17 | <<<<<<< HEAD | ||
18 | placeholder="Псевдоним для админки" | ||
19 | ======= | ||
20 | placeholder="Псевдоним для админки" value="{{ old('name') ?? $user->name ?? '' }}" | 14 | placeholder="Псевдоним для админки" value="{{ old('name') ?? $user->name ?? '' }}" |
21 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
22 | /> | 15 | /> |
23 | @error('name') | 16 | @error('name') |
24 | <span class="text-xs text-red-600 dark:text-red-400"> | 17 | <span class="text-xs text-red-600 dark:text-red-400"> |
25 | {{ $message }} | 18 | {{ $message }} |
26 | </span> | 19 | </span> |
27 | @enderror | 20 | @enderror |
28 | </label><br> | 21 | </label><br> |
29 | 22 | ||
30 | <label class="block text-sm"> | 23 | <label class="block text-sm"> |
31 | <span class="text-gray-700 dark:text-gray-400">Email</span> | 24 | <span class="text-gray-700 dark:text-gray-400">Email</span> |
32 | <input name="email" id="email" | 25 | <input name="email" id="email" |
33 | 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" | 26 | 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" |
34 | <<<<<<< HEAD | ||
35 | placeholder="Почта" | ||
36 | ======= | ||
37 | placeholder="Почта" value="{{ old('email') ?? $user->email ?? '' }}" | 27 | placeholder="Почта" value="{{ old('email') ?? $user->email ?? '' }}" |
38 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
39 | /> | 28 | /> |
40 | @error('email') | 29 | @error('email') |
41 | <span class="text-xs text-red-600 dark:text-red-400"> | 30 | <span class="text-xs text-red-600 dark:text-red-400"> |
42 | {{ $message }} | 31 | {{ $message }} |
43 | </span> | 32 | </span> |
44 | @enderror | 33 | @enderror |
45 | </label><br> | 34 | </label><br> |
46 | 35 | ||
47 | <label class="block text-sm"> | 36 | <label class="block text-sm"> |
48 | <span class="text-gray-700 dark:text-gray-400">Телефон</span> | 37 | <span class="text-gray-700 dark:text-gray-400">Телефон</span> |
49 | <input name="telephone" id="telephone" | 38 | <input name="telephone" id="telephone" |
50 | 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" | 39 | 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" |
51 | <<<<<<< HEAD | ||
52 | placeholder="Телефон" | ||
53 | ======= | ||
54 | placeholder="Телефон" value="{{ old('telephone') ?? $user->telephone ?? '' }}" | 40 | placeholder="Телефон" value="{{ old('telephone') ?? $user->telephone ?? '' }}" |
55 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
56 | /> | 41 | /> |
57 | @error('telephone') | 42 | @error('telephone') |
58 | <span class="text-xs text-red-600 dark:text-red-400"> | 43 | <span class="text-xs text-red-600 dark:text-red-400"> |
59 | {{ $message }} | 44 | {{ $message }} |
60 | </span> | 45 | </span> |
61 | @enderror | 46 | @enderror |
62 | </label><br> | 47 | </label><br> |
63 | 48 | ||
64 | <label class="block text-sm"> | 49 | <label class="block text-sm"> |
65 | <span class="text-gray-700 dark:text-gray-400">Фамилия</span> | 50 | <span class="text-gray-700 dark:text-gray-400">Фамилия</span> |
66 | <input name="surname" id="surname" | 51 | <input name="surname" id="surname" |
67 | 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" | 52 | 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" |
68 | <<<<<<< HEAD | ||
69 | placeholder="Фамилия" | ||
70 | ======= | ||
71 | placeholder="Фамилия" value="{{ old('surname') ?? $user->surname ?? '' }}" | 53 | placeholder="Фамилия" value="{{ old('surname') ?? $user->surname ?? '' }}" |
72 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
73 | /> | 54 | /> |
74 | @error('surname') | 55 | @error('surname') |
75 | <span class="text-xs text-red-600 dark:text-red-400"> | 56 | <span class="text-xs text-red-600 dark:text-red-400"> |
76 | {{ $message }} | 57 | {{ $message }} |
77 | </span> | 58 | </span> |
78 | @enderror | 59 | @enderror |
79 | </label><br> | 60 | </label><br> |
80 | 61 | ||
81 | <label class="block text-sm"> | 62 | <label class="block text-sm"> |
82 | <span class="text-gray-700 dark:text-gray-400">Имя человека</span> | 63 | <span class="text-gray-700 dark:text-gray-400">Имя человека</span> |
83 | <input name="name_man" id="name_man" | 64 | <input name="name_man" id="name_man" |
84 | 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" | 65 | 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" |
85 | <<<<<<< HEAD | ||
86 | placeholder="Имя человека" | ||
87 | ======= | ||
88 | placeholder="Имя человека" value="{{ old('name_man') ?? $user->name_man ?? '' }}" | 66 | placeholder="Имя человека" value="{{ old('name_man') ?? $user->name_man ?? '' }}" |
89 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
90 | /> | 67 | /> |
91 | @error('name_man') | 68 | @error('name_man') |
92 | <span class="text-xs text-red-600 dark:text-red-400"> | 69 | <span class="text-xs text-red-600 dark:text-red-400"> |
93 | {{ $message }} | 70 | {{ $message }} |
94 | </span> | 71 | </span> |
95 | @enderror | 72 | @enderror |
96 | </label><br> | 73 | </label><br> |
97 | 74 | ||
98 | <label class="block text-sm"> | 75 | <label class="block text-sm"> |
99 | <span class="text-gray-700 dark:text-gray-400">Отчество</span> | 76 | <span class="text-gray-700 dark:text-gray-400">Отчество</span> |
100 | <input name="surname2" id="surname2" | 77 | <input name="surname2" id="surname2" |
101 | 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" | 78 | 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" |
102 | <<<<<<< HEAD | ||
103 | placeholder="Отчество" | ||
104 | ======= | ||
105 | placeholder="Отчество" value="{{ old('surname2') ?? $user->surname2 ?? '' }}" | 79 | placeholder="Отчество" value="{{ old('surname2') ?? $user->surname2 ?? '' }}" |
106 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
107 | /> | 80 | /> |
108 | @error('surname2') | 81 | @error('surname2') |
109 | <span class="text-xs text-red-600 dark:text-red-400"> | 82 | <span class="text-xs text-red-600 dark:text-red-400"> |
110 | {{ $message }} | 83 | {{ $message }} |
111 | </span> | 84 | </span> |
112 | @enderror | 85 | @enderror |
113 | </label><br> | 86 | </label><br> |
114 | 87 | ||
115 | <div class="mt-4 text-sm"> | 88 | <div class="mt-4 text-sm"> |
116 | <span class="text-gray-700 dark:text-gray-400"> | 89 | <span class="text-gray-700 dark:text-gray-400"> |
117 | Тип пользователя | 90 | Тип пользователя |
118 | </span> | 91 | </span> |
119 | <div class="mt-2"> | 92 | <div class="mt-2"> |
120 | <label class="inline-flex items-center text-gray-600 dark:text-gray-400"> | 93 | <label class="inline-flex items-center text-gray-600 dark:text-gray-400"> |
121 | <input | 94 | <input |
122 | type="radio" | 95 | type="radio" |
123 | class="text-purple-600 form-radio focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" | 96 | class="text-purple-600 form-radio focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" |
124 | name="is_worker" | 97 | name="is_worker" |
125 | value="1" | 98 | value="1" |
126 | <<<<<<< HEAD | ||
127 | ======= | ||
128 | <? if ($user->is_worker == 1) echo "checked"; ?> | 99 | <? if ($user->is_worker == 1) echo "checked"; ?> |
129 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
130 | /> | 100 | /> |
131 | <span class="ml-2">Работник</span> | 101 | <span class="ml-2">Работник</span> |
132 | </label> | 102 | </label> |
133 | <label class="inline-flex items-center ml-6 text-gray-600 dark:text-gray-400"> | 103 | <label class="inline-flex items-center ml-6 text-gray-600 dark:text-gray-400"> |
134 | <input | 104 | <input |
135 | type="radio" | 105 | type="radio" |
136 | class="text-purple-600 form-radio focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" | 106 | class="text-purple-600 form-radio focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" |
137 | name="is_worker" | 107 | name="is_worker" |
138 | <<<<<<< HEAD | ||
139 | value="0" checked | ||
140 | ======= | ||
141 | value="0" | 108 | value="0" |
142 | <? if ($user->is_worker == 0) echo "checked"; ?> | 109 | <? if ($user->is_worker == 0) echo "checked"; ?> |
143 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
144 | /> | 110 | /> |
145 | <span class="ml-2">Работодатель</span> | 111 | <span class="ml-2">Работодатель</span> |
146 | </label> | 112 | </label> |
147 | </div> | 113 | </div> |
148 | </div><br> | 114 | </div><br> |
149 | 115 | ||
150 | <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> | 116 | <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> |
151 | <div> | 117 | <div> |
152 | <<<<<<< HEAD | ||
153 | <button 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"> | ||
154 | Сохранить | ||
155 | </button> | ||
156 | <button 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"> | ||
157 | Сменить пароль | ||
158 | </button> | ||
159 | </div> | ||
160 | </div> | ||
161 | ======= | ||
162 | <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"> | 118 | <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"> |
163 | Сохранить | 119 | Сохранить |
164 | </button> | 120 | </button> |
165 | <a href="{{ route('admin.password') }}" 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"> | 121 | <a href="{{ route('admin.password') }}" 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"> |
166 | Сменить пароль | 122 | Сменить пароль |
167 | </a> | 123 | </a> |
168 | </div> | 124 | </div> |
169 | </div> | 125 | </div> |
170 | </div> | 126 | </div> |
171 | </form> | 127 | </form> |
172 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
173 | <!-- | 128 | <!-- |
174 | <label class="block mt-4 text-sm"> | 129 | <label class="block mt-4 text-sm"> |
175 | <span class="text-gray-700 dark:text-gray-400"> | 130 | <span class="text-gray-700 dark:text-gray-400"> |
176 | Requested Limit | 131 | Requested Limit |
177 | </span> | 132 | </span> |
178 | <select | 133 | <select |
179 | 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" | 134 | 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" |
180 | > | 135 | > |
181 | <option>$1,000</option> | 136 | <option>$1,000</option> |
182 | <option>$5,000</option> | 137 | <option>$5,000</option> |
183 | <option>$10,000</option> | 138 | <option>$10,000</option> |
184 | <option>$25,000</option> | 139 | <option>$25,000</option> |
185 | </select> | 140 | </select> |
186 | </label> | 141 | </label> |
187 | 142 | ||
188 | <label class="block mt-4 text-sm"> | 143 | <label class="block mt-4 text-sm"> |
189 | <span class="text-gray-700 dark:text-gray-400"> | 144 | <span class="text-gray-700 dark:text-gray-400"> |
190 | Multiselect | 145 | Multiselect |
191 | </span> | 146 | </span> |
192 | <select | 147 | <select |
193 | 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" | 148 | 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" |
194 | multiple | 149 | multiple |
195 | > | 150 | > |
196 | <option>Option 1</option> | 151 | <option>Option 1</option> |
197 | <option>Option 2</option> | 152 | <option>Option 2</option> |
198 | <option>Option 3</option> | 153 | <option>Option 3</option> |
199 | <option>Option 4</option> | 154 | <option>Option 4</option> |
200 | <option>Option 5</option> | 155 | <option>Option 5</option> |
201 | </select> | 156 | </select> |
202 | </label> | 157 | </label> |
203 | 158 | ||
204 | <label class="block mt-4 text-sm"> | 159 | <label class="block mt-4 text-sm"> |
205 | <span class="text-gray-700 dark:text-gray-400">Message</span> | 160 | <span class="text-gray-700 dark:text-gray-400">Message</span> |
206 | <textarea | 161 | <textarea |
207 | 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" | 162 | 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" |
208 | rows="3" | 163 | rows="3" |
209 | placeholder="Enter some long form content." | 164 | placeholder="Enter some long form content." |
210 | ></textarea> | 165 | ></textarea> |
211 | </label> | 166 | </label> |
212 | 167 | ||
213 | <div class="flex mt-6 text-sm"> | 168 | <div class="flex mt-6 text-sm"> |
214 | <label class="flex items-center dark:text-gray-400"> | 169 | <label class="flex items-center dark:text-gray-400"> |
215 | <input | 170 | <input |
216 | type="checkbox" | 171 | type="checkbox" |
217 | class="text-purple-600 form-checkbox focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" | 172 | class="text-purple-600 form-checkbox focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:focus:shadow-outline-gray" |
218 | /> | 173 | /> |
219 | <span class="ml-2"> | 174 | <span class="ml-2"> |
220 | I agree to the | 175 | I agree to the |
221 | <span class="underline">privacy policy</span> | 176 | <span class="underline">privacy policy</span> |
222 | </span> | 177 | </span> |
223 | </label> | 178 | </label> |
224 | </div> | 179 | </div> |
225 | </div> | 180 | </div> |
226 | 181 | ||
227 | <!-- Validation inputs --> | 182 | <!-- Validation inputs --> |
228 | <!--<h4 | 183 | <!--<h4 |
229 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | 184 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" |
230 | > | 185 | > |
231 | Validation | 186 | Validation |
232 | </h4> | 187 | </h4> |
233 | <div | 188 | <div |
234 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | 189 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" |
235 | > | 190 | > |
236 | <!-- Invalid input --> | 191 | <!-- Invalid input --> |
237 | <!--<label class="block text-sm"> | 192 | <!--<label class="block text-sm"> |
238 | <span class="text-gray-700 dark:text-gray-400"> | 193 | <span class="text-gray-700 dark:text-gray-400"> |
239 | Invalid input | 194 | Invalid input |
240 | </span> | 195 | </span> |
241 | <input | 196 | <input |
242 | 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" | 197 | 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" |
243 | placeholder="Jane Doe" | 198 | placeholder="Jane Doe" |
244 | /> | 199 | /> |
245 | <span class="text-xs text-red-600 dark:text-red-400"> | 200 | <span class="text-xs text-red-600 dark:text-red-400"> |
246 | Your password is too short. | 201 | Your password is too short. |
247 | </span> | 202 | </span> |
248 | </label> | 203 | </label> |
249 | 204 | ||
250 | <!-- Valid input --> | 205 | <!-- Valid input --> |
251 | <!--<label class="block mt-4 text-sm"> | 206 | <!--<label class="block mt-4 text-sm"> |
252 | <span class="text-gray-700 dark:text-gray-400"> | 207 | <span class="text-gray-700 dark:text-gray-400"> |
253 | Valid input | 208 | Valid input |
254 | </span> | 209 | </span> |
255 | <input | 210 | <input |
256 | 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" | 211 | 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" |
257 | placeholder="Jane Doe" | 212 | placeholder="Jane Doe" |
258 | /> | 213 | /> |
259 | <span class="text-xs text-green-600 dark:text-green-400"> | 214 | <span class="text-xs text-green-600 dark:text-green-400"> |
260 | Your password is strong. | 215 | Your password is strong. |
261 | </span> | 216 | </span> |
262 | </label> | 217 | </label> |
263 | 218 | ||
264 | <!-- Helper text --> | 219 | <!-- Helper text --> |
265 | <!--<label class="block mt-4 text-sm"> | 220 | <!--<label class="block mt-4 text-sm"> |
266 | <span class="text-gray-700 dark:text-gray-400"> | 221 | <span class="text-gray-700 dark:text-gray-400"> |
267 | Helper text | 222 | Helper text |
268 | </span> | 223 | </span> |
269 | <input | 224 | <input |
270 | 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" | 225 | 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" |
271 | placeholder="Jane Doe" | 226 | placeholder="Jane Doe" |
272 | /> | 227 | /> |
273 | <span class="text-xs text-gray-600 dark:text-gray-400"> | 228 | <span class="text-xs text-gray-600 dark:text-gray-400"> |
274 | Your password must be at least 6 characters long. | 229 | Your password must be at least 6 characters long. |
275 | </span> | 230 | </span> |
276 | </label> | 231 | </label> |
277 | </div> | 232 | </div> |
278 | 233 | ||
279 | <!-- Inputs with icons --> | 234 | <!-- Inputs with icons --> |
280 | <!--<h4 | 235 | <!--<h4 |
281 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | 236 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" |
282 | > | 237 | > |
283 | Icons | 238 | Icons |
284 | </h4> | 239 | </h4> |
285 | <div | 240 | <div |
286 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | 241 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" |
287 | > | 242 | > |
288 | <label class="block text-sm"> | 243 | <label class="block text-sm"> |
289 | <span class="text-gray-700 dark:text-gray-400">Icon left</span> | 244 | <span class="text-gray-700 dark:text-gray-400">Icon left</span> |
290 | <!-- focus-within sets the color for the icon when input is focused --> | 245 | <!-- focus-within sets the color for the icon when input is focused --> |
291 | <!--<div | 246 | <!--<div |
292 | class="relative text-gray-500 focus-within:text-purple-600 dark:focus-within:text-purple-400" | 247 | class="relative text-gray-500 focus-within:text-purple-600 dark:focus-within:text-purple-400" |
293 | > | 248 | > |
294 | <input | 249 | <input |
295 | 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" | 250 | 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" |
296 | placeholder="Jane Doe" | 251 | placeholder="Jane Doe" |
297 | /> | 252 | /> |
298 | <div | 253 | <div |
299 | class="absolute inset-y-0 flex items-center ml-3 pointer-events-none" | 254 | class="absolute inset-y-0 flex items-center ml-3 pointer-events-none" |
300 | > | 255 | > |
301 | <svg | 256 | <svg |
302 | class="w-5 h-5" | 257 | class="w-5 h-5" |
303 | aria-hidden="true" | 258 | aria-hidden="true" |
304 | fill="none" | 259 | fill="none" |
305 | stroke-linecap="round" | 260 | stroke-linecap="round" |
306 | stroke-linejoin="round" | 261 | stroke-linejoin="round" |
307 | stroke-width="2" | 262 | stroke-width="2" |
308 | viewBox="0 0 24 24" | 263 | viewBox="0 0 24 24" |
309 | stroke="currentColor" | 264 | stroke="currentColor" |
310 | > | 265 | > |
311 | <path | 266 | <path |
312 | 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" | 267 | 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" |
313 | ></path> | 268 | ></path> |
314 | </svg> | 269 | </svg> |
315 | </div> | 270 | </div> |
316 | </div> | 271 | </div> |
317 | </label> | 272 | </label> |
318 | 273 | ||
319 | <label class="block mt-4 text-sm"> | 274 | <label class="block mt-4 text-sm"> |
320 | <span class="text-gray-700 dark:text-gray-400">Icon right</span> | 275 | <span class="text-gray-700 dark:text-gray-400">Icon right</span> |
321 | <!-- focus-within sets the color for the icon when input is focused --> | 276 | <!-- focus-within sets the color for the icon when input is focused --> |
322 | <!--<div | 277 | <!--<div |
323 | class="relative text-gray-500 focus-within:text-purple-600 dark:focus-within:text-purple-400" | 278 | class="relative text-gray-500 focus-within:text-purple-600 dark:focus-within:text-purple-400" |
324 | > | 279 | > |
325 | <input | 280 | <input |
326 | 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" | 281 | 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" |
327 | placeholder="Jane Doe" | 282 | placeholder="Jane Doe" |
328 | /> | 283 | /> |
329 | <div | 284 | <div |
330 | class="absolute inset-y-0 right-0 flex items-center mr-3 pointer-events-none" | 285 | class="absolute inset-y-0 right-0 flex items-center mr-3 pointer-events-none" |
331 | > | 286 | > |
332 | <svg | 287 | <svg |
333 | class="w-5 h-5" | 288 | class="w-5 h-5" |
334 | aria-hidden="true" | 289 | aria-hidden="true" |
335 | fill="none" | 290 | fill="none" |
336 | stroke-linecap="round" | 291 | stroke-linecap="round" |
337 | stroke-linejoin="round" | 292 | stroke-linejoin="round" |
338 | stroke-width="2" | 293 | stroke-width="2" |
339 | viewBox="0 0 24 24" | 294 | viewBox="0 0 24 24" |
340 | stroke="currentColor" | 295 | stroke="currentColor" |
341 | > | 296 | > |
342 | <path | 297 | <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" | 298 | 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> | 299 | ></path> |
345 | </svg> | 300 | </svg> |
346 | </div> | 301 | </div> |
347 | </div> | 302 | </div> |
348 | </label> | 303 | </label> |
349 | </div> | 304 | </div> |
350 | 305 | ||
351 | <!-- Inputs with buttons --> | 306 | <!-- Inputs with buttons --> |
352 | <!--<h4 | 307 | <!--<h4 |
353 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" | 308 | class="mb-4 text-lg font-semibold text-gray-600 dark:text-gray-300" |
354 | > | 309 | > |
355 | Buttons | 310 | Buttons |
356 | </h4> | 311 | </h4> |
357 | <div | 312 | <div |
358 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" | 313 | class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800" |
359 | > | 314 | > |
360 | <label class="block text-sm"> | 315 | <label class="block text-sm"> |
361 | <span class="text-gray-700 dark:text-gray-400"> | 316 | <span class="text-gray-700 dark:text-gray-400"> |
362 | Button left | 317 | Button left |
363 | </span> | 318 | </span> |
364 | <div class="relative"> | 319 | <div class="relative"> |
365 | <input | 320 | <input |
366 | 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" | 321 | 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" |
367 | placeholder="Jane Doe" | 322 | placeholder="Jane Doe" |
368 | /> | 323 | /> |
369 | <button | 324 | <button |
370 | 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" | 325 | 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" |
371 | > | 326 | > |
372 | Click | 327 | Click |
373 | </button> | 328 | </button> |
374 | </div> | 329 | </div> |
375 | </label> | 330 | </label> |
376 | 331 | ||
377 | <label class="block mt-4 text-sm"> | 332 | <label class="block mt-4 text-sm"> |
378 | <span class="text-gray-700 dark:text-gray-400"> | 333 | <span class="text-gray-700 dark:text-gray-400"> |
379 | Button right | 334 | Button right |
380 | </span> | 335 | </span> |
381 | <div | 336 | <div |
382 | class="relative text-gray-500 focus-within:text-purple-600" | 337 | class="relative text-gray-500 focus-within:text-purple-600" |
383 | > | 338 | > |
384 | <input | 339 | <input |
385 | 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" | 340 | 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" |
386 | placeholder="Jane Doe" | 341 | placeholder="Jane Doe" |
387 | /> | 342 | /> |
388 | <button | 343 | <button |
389 | 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" | 344 | 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" |
390 | > | 345 | > |
391 | Click | 346 | Click |
392 | </button> | 347 | </button> |
393 | </div> | 348 | </div> |
394 | </label> | 349 | </label> |
395 | </div>--> | 350 | </div>--> |
396 | @endsection | 351 | @endsection |
397 | 352 |
resources/views/admin/users/index.blade.php
1 | <<<<<<< HEAD | ||
2 | @extends('layout.admin', ['title' => 'Админка - Пользователи системы']) | ||
3 | ======= | ||
4 | @extends('layout.admin', ['title' => $title]) | 1 | @extends('layout.admin', ['title' => $title]) |
5 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
6 | 2 | ||
7 | @section('script') | 3 | @section('script') |
8 | <script> | 4 | <script> |
9 | $(document).ready(function() { | 5 | $(document).ready(function() { |
10 | <<<<<<< HEAD | ||
11 | $(document).on('click', '.checkban', function () { | ||
12 | var this_ = $(this); | ||
13 | var value = this_.val(); | ||
14 | var ajax_block = $('#ajax_block'); | ||
15 | var bool = 0; | ||
16 | ======= | ||
17 | $(document).on('click', '.check_click', function () { | 6 | $(document).on('click', '.check_click', function () { |
18 | var this_ = $(this); | 7 | var this_ = $(this); |
19 | var value = this_.val(); | 8 | var value = this_.val(); |
20 | var field = this_.attr('data-field'); | 9 | var field = this_.attr('data-field'); |
21 | var ajax_block = $('#ajax_block'); | 10 | var ajax_block = $('#ajax_block'); |
22 | var bool = 0; | 11 | var bool = 0; |
23 | var str_get = ''; | 12 | var str_get = ''; |
24 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
25 | 13 | ||
26 | if(this.checked){ | 14 | if(this.checked){ |
27 | bool = 1; | 15 | bool = 1; |
28 | } else { | 16 | } else { |
29 | bool = 0; | 17 | bool = 0; |
30 | } | 18 | } |
31 | <<<<<<< HEAD | ||
32 | ======= | ||
33 | console.log(field); | 19 | console.log(field); |
34 | str_get = "id=" + value + "&" + field + "=" + bool; | 20 | str_get = "id=" + value + "&" + field + "=" + bool; |
35 | console.log(str_get); | 21 | console.log(str_get); |
36 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
37 | 22 | ||
38 | $.ajax({ | 23 | $.ajax({ |
39 | type: "GET", | 24 | type: "GET", |
40 | url: "{{ url()->full()}}", | 25 | url: "{{ url()->full()}}", |
41 | <<<<<<< HEAD | ||
42 | data: "id=" + value + "&is_ban=" + bool, | ||
43 | success: function (data) { | ||
44 | console.log('Обновление таблицы пользователей '); | ||
45 | //data = JSON.parse(data); | ||
46 | console.log(data); | ||
47 | ajax_block.html(data); | ||
48 | }, | ||
49 | headers: { | ||
50 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | ||
51 | }, | ||
52 | error: function (data) { | ||
53 | console.log('Error: ' + data); | ||
54 | } | ||
55 | }); | ||
56 | }); | ||
57 | |||
58 | $(document).on('click', '.checknew', function () { | ||
59 | var this_ = $(this); | ||
60 | var value = this_.val(); | ||
61 | var ajax_block = $('#ajax_block'); | ||
62 | var bool = 0; | ||
63 | |||
64 | if(this.checked){ | ||
65 | bool = 1; | ||
66 | } else { | ||
67 | bool = 0; | ||
68 | } | ||
69 | |||
70 | $.ajax({ | ||
71 | type: "GET", | ||
72 | url: "{{ url()->full()}}", | ||
73 | data: "id=" + value + "&is_new=" + bool, | ||
74 | success: function (data) { | ||
75 | console.log('Обновление таблицы пользователей '); | ||
76 | //data = JSON.parse(data); | ||
77 | console.log(data); | ||
78 | ======= | ||
79 | data: str_get, | 26 | data: str_get, |
80 | success: function (data) { | 27 | success: function (data) { |
81 | console.log('Обновление таблицы пользователей '); | 28 | console.log('Обновление таблицы пользователей '); |
82 | //data = JSON.parse(data); | 29 | //data = JSON.parse(data); |
83 | //console.log(data); | 30 | //console.log(data); |
84 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
85 | ajax_block.html(data); | 31 | ajax_block.html(data); |
86 | }, | 32 | }, |
87 | headers: { | 33 | headers: { |
88 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 34 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
89 | }, | 35 | }, |
90 | error: function (data) { | 36 | error: function (data) { |
91 | console.log('Error: ' + data); | 37 | console.log('Error: ' + data); |
92 | } | 38 | } |
93 | }); | 39 | }); |
94 | }); | 40 | }); |
95 | }); | 41 | }); |
96 | </script> | 42 | </script> |
97 | @endsection | 43 | @endsection |
98 | 44 | ||
99 | <<<<<<< HEAD | ||
100 | ======= | ||
101 | @section('search') | 45 | @section('search') |
102 | <div class="absolute inset-y-0 flex items-center pl-2"> | 46 | <div class="absolute inset-y-0 flex items-center pl-2"> |
103 | <svg | 47 | <svg |
104 | class="w-4 h-4" | 48 | class="w-4 h-4" |
105 | aria-hidden="true" | 49 | aria-hidden="true" |
106 | fill="currentColor" | 50 | fill="currentColor" |
107 | viewBox="0 0 20 20" | 51 | viewBox="0 0 20 20" |
108 | > | 52 | > |
109 | <path | 53 | <path |
110 | fill-rule="evenodd" | 54 | fill-rule="evenodd" |
111 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" | 55 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" |
112 | clip-rule="evenodd" | 56 | clip-rule="evenodd" |
113 | ></path> | 57 | ></path> |
114 | </svg> | 58 | </svg> |
115 | </div> | 59 | </div> |
116 | <form action="" method="POST"> | 60 | <form action="" method="POST"> |
117 | <div style="float:left;"><input | 61 | <div style="float:left;"><input |
118 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" | 62 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" |
119 | style="width: 400px" | 63 | style="width: 400px" |
120 | type="text" | 64 | type="text" |
121 | placeholder="Искать..." | 65 | placeholder="Искать..." |
122 | aria-label="Search" | 66 | aria-label="Search" |
123 | /></div> | 67 | /></div> |
124 | <div style="float: left"> | 68 | <div style="float: left"> |
125 | <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> | 69 | <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> |
126 | </div> | 70 | </div> |
127 | </form> | 71 | </form> |
128 | @endsection | 72 | @endsection |
129 | 73 | ||
130 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
131 | @section('content') | 74 | @section('content') |
132 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> | 75 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> |
133 | <div class="w-full overflow-x-auto"> | 76 | <div class="w-full overflow-x-auto"> |
134 | <table class="w-full whitespace-no-wrap"> | 77 | <table class="w-full whitespace-no-wrap"> |
135 | <thead> | 78 | <thead> |
136 | <tr | 79 | <tr |
137 | 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" | 80 | 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" |
138 | > | 81 | > |
139 | <th class="px-4 py-3">№</th> | 82 | <th class="px-4 py-3">№</th> |
140 | <th class="px-4 py-3">Имя</th> | 83 | <th class="px-4 py-3">Имя</th> |
141 | <th class="px-4 py-3">Email/логин</th> | 84 | <th class="px-4 py-3">Email/логин</th> |
142 | <th class="px-4 py-3">Работодатель/работник/администратор</th> | 85 | <th class="px-4 py-3">Работодатель/работник/администратор</th> |
143 | <<<<<<< HEAD | ||
144 | <th class="px-4 py-3">Заблокированный</th> | ||
145 | <th class="px-4 py-3">Новый</th> | ||
146 | ======= | ||
147 | <th class="px-4 py-3">Бан</th> | 86 | <th class="px-4 py-3">Бан</th> |
148 | <th class="px-4 py-3">Новый</th> | 87 | <th class="px-4 py-3">Новый</th> |
149 | @if ($id_admin == 1) | 88 | @if ($id_admin == 1) |
150 | <th class="px-4 py-3">Админ</th> | 89 | <th class="px-4 py-3">Админ</th> |
151 | @endif | 90 | @endif |
152 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
153 | <th class="px-4 py-3">Дата регистрации</th> | 91 | <th class="px-4 py-3">Дата регистрации</th> |
154 | </tr> | 92 | </tr> |
155 | </thead> | 93 | </thead> |
156 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 94 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
157 | @foreach($users as $user) | 95 | @foreach($users as $user) |
158 | <tr class="text-gray-700 dark:text-gray-400"> | 96 | <tr class="text-gray-700 dark:text-gray-400"> |
159 | <td class="px-4 py-3"> | 97 | <td class="px-4 py-3"> |
160 | {{$user->id}} | 98 | {{$user->id}} |
161 | </td> | 99 | </td> |
162 | <td class="px-4 py-3"> | 100 | <td class="px-4 py-3"> |
163 | <!--<div class="flex items-center text-sm"> | 101 | <!--<div class="flex items-center text-sm"> |
164 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 102 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
165 | <div | 103 | <div |
166 | class="absolute inset-0 rounded-full shadow-inner" | 104 | class="absolute inset-0 rounded-full shadow-inner" |
167 | aria-hidden="true" | 105 | aria-hidden="true" |
168 | ></div> | 106 | ></div> |
169 | </div> | 107 | </div> |
170 | <div> | 108 | <div> |
171 | <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p> | 109 | <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p> |
172 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 110 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
173 | Все пользователи сайта | 111 | Все пользователи сайта |
174 | </p> | 112 | </p> |
175 | </div> | 113 | </div> |
176 | </div> | 114 | </div> |
177 | --> | 115 | --> |
178 | {{ $user->name }} | 116 | {{ $user->name }} |
179 | </td> | 117 | </td> |
180 | <td class="px-4 py-3 text-sm"> | 118 | <td class="px-4 py-3 text-sm"> |
181 | {{ $user->email }} | 119 | {{ $user->email }} |
182 | </td> | 120 | </td> |
183 | <td class="px-4 py-3 text-xs"> | 121 | <td class="px-4 py-3 text-xs"> |
184 | <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"> | 122 | <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"> |
185 | @if ($user->is_worker) | 123 | @if ($user->is_worker) |
186 | Работник | 124 | Работник |
187 | @else | 125 | @else |
188 | Работодатель | 126 | Работодатель |
189 | @endif | 127 | @endif |
190 | </span> | 128 | </span> |
191 | @if ($user->admin) | 129 | @if ($user->admin) |
192 | <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"> | 130 | <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"> |
193 | Администратор | 131 | Администратор |
194 | </span> | 132 | </span> |
195 | @endif | 133 | @endif |
196 | </td> | 134 | </td> |
197 | <td class="px-4 py-3 text-sm"> | 135 | <td class="px-4 py-3 text-sm"> |
198 | <<<<<<< HEAD | ||
199 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | ||
200 | </td> | ||
201 | <td class="px-4 py-3 text-sm"> | ||
202 | <input type="checkbox" class="checknew" value="{{$user->id}}" name="new_{{$user->id}}" {{ ($user->is_new) ? "checked" : "" }}/> | ||
203 | </td> | ||
204 | ======= | ||
205 | @if ($user->id > 1) | 136 | @if ($user->id > 1) |
206 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_ban" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 137 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_ban" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
207 | @endif | 138 | @endif |
208 | </td> | 139 | </td> |
209 | 140 | ||
210 | <td class="px-4 py-3 text-sm"> | 141 | <td class="px-4 py-3 text-sm"> |
211 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_new" name="new_{{$user->id}}" {{ ($user->is_new) ? "checked" : "" }}/> | 142 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_new" name="new_{{$user->id}}" {{ ($user->is_new) ? "checked" : "" }}/> |
212 | </td> | 143 | </td> |
213 | 144 | ||
214 | @if ($id_admin == 1) | 145 | @if ($id_admin == 1) |
215 | <td class="px-4 py-3 text-sm"> | 146 | <td class="px-4 py-3 text-sm"> |
216 | @if ($user->id > 1) | 147 | @if ($user->id > 1) |
217 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="admin" name="admin_{{$user->id}}" {{ ($user->admin) ? "checked" : "" }}/> | 148 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="admin" name="admin_{{$user->id}}" {{ ($user->admin) ? "checked" : "" }}/> |
218 | @endif | 149 | @endif |
219 | </td> | 150 | </td> |
220 | @endif | 151 | @endif |
221 | 152 | ||
222 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
223 | <td class="px-4 py-3 text-sm"> | 153 | <td class="px-4 py-3 text-sm"> |
224 | {{ $user->created_at }} | 154 | {{ $user->created_at }} |
225 | </td> | 155 | </td> |
226 | </tr> | 156 | </tr> |
227 | @endforeach | 157 | @endforeach |
228 | </tbody> | 158 | </tbody> |
229 | </table> | 159 | </table> |
230 | </div> | 160 | </div> |
231 | 161 | ||
232 | <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"> | 162 | <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"> |
233 | <?//=$users->appends($_GET)->links('admin.pagginate'); ?> | 163 | <?//=$users->appends($_GET)->links('admin.pagginate'); ?> |
234 | <?=$users->links('admin.pagginate'); ?> | 164 | <?=$users->links('admin.pagginate'); ?> |
235 | </div> | 165 | </div> |
236 | 166 | ||
237 | 167 | ||
238 | <!--<div | 168 | <!--<div |
239 | 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" | 169 | 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" |
240 | > | 170 | > |
241 | <span class="flex items-center col-span-3"> | 171 | <span class="flex items-center col-span-3"> |
242 | Showing 21-30 of 100 | 172 | Showing 21-30 of 100 |
243 | </span> | 173 | </span> |
244 | <span class="col-span-2"></span> | 174 | <span class="col-span-2"></span> |
245 | 175 | ||
246 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 176 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
247 | <nav aria-label="Table navigation"> | 177 | <nav aria-label="Table navigation"> |
248 | <ul class="inline-flex items-center"> | 178 | <ul class="inline-flex items-center"> |
249 | <li> | 179 | <li> |
250 | <button | 180 | <button |
251 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 181 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
252 | aria-label="Previous" | 182 | aria-label="Previous" |
253 | > | 183 | > |
254 | <svg | 184 | <svg |
255 | aria-hidden="true" | 185 | aria-hidden="true" |
256 | class="w-4 h-4 fill-current" | 186 | class="w-4 h-4 fill-current" |
257 | viewBox="0 0 20 20" | 187 | viewBox="0 0 20 20" |
258 | > | 188 | > |
259 | <path | 189 | <path |
260 | 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" | 190 | 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" |
261 | clip-rule="evenodd" | 191 | clip-rule="evenodd" |
262 | fill-rule="evenodd" | 192 | fill-rule="evenodd" |
263 | ></path> | 193 | ></path> |
264 | </svg> | 194 | </svg> |
265 | </button> | 195 | </button> |
266 | </li> | 196 | </li> |
267 | <li> | 197 | <li> |
268 | <button | 198 | <button |
269 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 199 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
270 | > | 200 | > |
271 | 1 | 201 | 1 |
272 | </button> | 202 | </button> |
273 | </li> | 203 | </li> |
274 | <li> | 204 | <li> |
275 | <button | 205 | <button |
276 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 206 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
277 | > | 207 | > |
278 | 2 | 208 | 2 |
279 | </button> | 209 | </button> |
280 | </li> | 210 | </li> |
281 | <li> | 211 | <li> |
282 | <button | 212 | <button |
283 | 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" | 213 | 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" |
284 | > | 214 | > |
285 | 3 | 215 | 3 |
286 | </button> | 216 | </button> |
287 | </li> | 217 | </li> |
288 | <li> | 218 | <li> |
289 | <button | 219 | <button |
290 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 220 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
291 | > | 221 | > |
292 | 4 | 222 | 4 |
293 | </button> | 223 | </button> |
294 | </li> | 224 | </li> |
295 | <li> | 225 | <li> |
296 | <span class="px-3 py-1">...</span> | 226 | <span class="px-3 py-1">...</span> |
297 | </li> | 227 | </li> |
298 | <li> | 228 | <li> |
299 | <button | 229 | <button |
300 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 230 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
301 | > | 231 | > |
302 | 8 | 232 | 8 |
303 | </button> | 233 | </button> |
304 | </li> | 234 | </li> |
305 | <li> | 235 | <li> |
306 | <button | 236 | <button |
307 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 237 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
308 | > | 238 | > |
309 | 9 | 239 | 9 |
310 | </button> | 240 | </button> |
311 | </li> | 241 | </li> |
312 | <li> | 242 | <li> |
313 | <button | 243 | <button |
314 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 244 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
315 | aria-label="Next" | 245 | aria-label="Next" |
316 | > | 246 | > |
317 | <svg | 247 | <svg |
318 | class="w-4 h-4 fill-current" | 248 | class="w-4 h-4 fill-current" |
319 | aria-hidden="true" | 249 | aria-hidden="true" |
320 | viewBox="0 0 20 20" | 250 | viewBox="0 0 20 20" |
321 | > | 251 | > |
322 | <path | 252 | <path |
323 | 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" | 253 | 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" |
324 | clip-rule="evenodd" | 254 | clip-rule="evenodd" |
325 | fill-rule="evenodd" | 255 | fill-rule="evenodd" |
326 | ></path> | 256 | ></path> |
327 | </svg> | 257 | </svg> |
328 | </button> | 258 | </button> |
329 | </li> | 259 | </li> |
330 | </ul> | 260 | </ul> |
331 | </nav> | 261 | </nav> |
332 | </span> | 262 | </span> |
333 | </div>--> | 263 | </div>--> |
334 | </div> | 264 | </div> |
335 | 265 | ||
336 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> | 266 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> |
337 | 267 | ||
338 | 268 | ||
339 | @endsection | 269 | @endsection |
340 | 270 |
resources/views/admin/users/index_ajax.blade.php
1 | <div class="w-full overflow-x-auto"> | 1 | <div class="w-full overflow-x-auto"> |
2 | <table class="w-full whitespace-no-wrap"> | 2 | <table class="w-full whitespace-no-wrap"> |
3 | <thead> | 3 | <thead> |
4 | <tr | 4 | <tr |
5 | 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" | 5 | 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" |
6 | > | 6 | > |
7 | <th class="px-4 py-3">№</th> | 7 | <th class="px-4 py-3">№</th> |
8 | <th class="px-4 py-3">Имя</th> | 8 | <th class="px-4 py-3">Имя</th> |
9 | <th class="px-4 py-3">Email/логин</th> | 9 | <th class="px-4 py-3">Email/логин</th> |
10 | <th class="px-4 py-3">Работодатель/работник/администратор</th> | 10 | <th class="px-4 py-3">Работодатель/работник/администратор</th> |
11 | <<<<<<< HEAD | ||
12 | <th class="px-4 py-3">Заблокированный</th> | ||
13 | <th class="px-4 py-3">Новый</th> | ||
14 | ======= | ||
15 | <th class="px-4 py-3">Бан</th> | 11 | <th class="px-4 py-3">Бан</th> |
16 | <th class="px-4 py-3">Новый</th> | 12 | <th class="px-4 py-3">Новый</th> |
17 | @if ($id_admin == 1) | 13 | @if ($id_admin == 1) |
18 | <th class="px-4 py-3">Админ</th> | 14 | <th class="px-4 py-3">Админ</th> |
19 | @endif | 15 | @endif |
20 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
21 | <th class="px-4 py-3">Дата регистрации</th> | 16 | <th class="px-4 py-3">Дата регистрации</th> |
22 | </tr> | 17 | </tr> |
23 | </thead> | 18 | </thead> |
24 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 19 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
25 | @foreach($users as $user) | 20 | @foreach($users as $user) |
26 | <tr class="text-gray-700 dark:text-gray-400"> | 21 | <tr class="text-gray-700 dark:text-gray-400"> |
27 | <td class="px-4 py-3"> | 22 | <td class="px-4 py-3"> |
28 | {{$user->id}} | 23 | {{$user->id}} |
29 | </td> | 24 | </td> |
30 | <td class="px-4 py-3"> | 25 | <td class="px-4 py-3"> |
31 | {{ $user->name }} | 26 | {{ $user->name }} |
32 | </td> | 27 | </td> |
33 | <td class="px-4 py-3 text-sm"> | 28 | <td class="px-4 py-3 text-sm"> |
34 | {{ $user->email }} | 29 | {{ $user->email }} |
35 | </td> | 30 | </td> |
36 | <td class="px-4 py-3 text-xs"> | 31 | <td class="px-4 py-3 text-xs"> |
37 | <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"> | 32 | <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"> |
38 | @if ($user->is_worker) | 33 | @if ($user->is_worker) |
39 | Работник | 34 | Работник |
40 | @else | 35 | @else |
41 | Работодатель | 36 | Работодатель |
42 | @endif | 37 | @endif |
43 | </span> | 38 | </span> |
44 | @if ($user->admin) | 39 | @if ($user->admin) |
45 | <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"> | 40 | <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"> |
46 | Администратор | 41 | Администратор |
47 | </span> | 42 | </span> |
48 | @endif | 43 | @endif |
49 | </td> | 44 | </td> |
50 | <td class="px-4 py-3 text-sm"> | 45 | <td class="px-4 py-3 text-sm"> |
51 | <<<<<<< HEAD | ||
52 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | ||
53 | </td> | ||
54 | <td class="px-4 py-3 text-sm"> | ||
55 | <input type="checkbox" class="checknew" value="{{$user->id}}" name="new_{{$user->id}}" {{ ($user->is_new) ? "checked" : "" }}/> | ||
56 | </td> | ||
57 | ======= | ||
58 | @if ($user->id > 1) | 46 | @if ($user->id > 1) |
59 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_ban" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 47 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_ban" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
60 | @endif | 48 | @endif |
61 | </td> | 49 | </td> |
62 | <td class="px-4 py-3 text-sm"> | 50 | <td class="px-4 py-3 text-sm"> |
63 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_new" name="new_{{$user->id}}" {{ ($user->is_new) ? "checked" : "" }}/> | 51 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="is_new" name="new_{{$user->id}}" {{ ($user->is_new) ? "checked" : "" }}/> |
64 | </td> | 52 | </td> |
65 | 53 | ||
66 | @if ($id_admin == 1) | 54 | @if ($id_admin == 1) |
67 | <td class="px-4 py-3 text-sm"> | 55 | <td class="px-4 py-3 text-sm"> |
68 | @if ($user->id > 1) | 56 | @if ($user->id > 1) |
69 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="admin" name="admin_{{$user->id}}" {{ ($user->admin) ? "checked" : "" }}/> | 57 | <input type="checkbox" class="check_click" value="{{$user->id}}" data-field="admin" name="admin_{{$user->id}}" {{ ($user->admin) ? "checked" : "" }}/> |
70 | @endif | 58 | @endif |
71 | </td> | 59 | </td> |
72 | @endif | 60 | @endif |
73 | 61 | ||
74 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
75 | <td class="px-4 py-3 text-sm"> | 62 | <td class="px-4 py-3 text-sm"> |
76 | {{ $user->created_at }} | 63 | {{ $user->created_at }} |
77 | </td> | 64 | </td> |
78 | </tr> | 65 | </tr> |
79 | @endforeach | 66 | @endforeach |
80 | </tbody> | 67 | </tbody> |
81 | </table> | 68 | </table> |
82 | </div> | 69 | </div> |
83 | 70 | ||
84 | <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"> | 71 | <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"> |
85 | <?//=$users->appends($_GET)->links('admin.pagginate'); ?> | 72 | <?//=$users->appends($_GET)->links('admin.pagginate'); ?> |
86 | <?=$users->links('admin.pagginate'); ?> | 73 | <?=$users->links('admin.pagginate'); ?> |
87 | </div> | 74 | </div> |
88 | 75 |
resources/views/admin/worker/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 | <<<<<<< HEAD | ||
24 | console.log('Обновление таблицы пользователей '); | ||
25 | ======= | ||
26 | console.log('Обновление таблицы работников '); | 23 | console.log('Обновление таблицы работников '); |
27 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
28 | //data = JSON.parse(data); | 24 | //data = JSON.parse(data); |
29 | console.log(data); | 25 | console.log(data); |
30 | ajax_block.html(data); | 26 | ajax_block.html(data); |
31 | }, | 27 | }, |
32 | headers: { | 28 | headers: { |
33 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 29 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
34 | }, | 30 | }, |
35 | error: function (data) { | 31 | error: function (data) { |
36 | console.log('Error: ' + data); | 32 | console.log('Error: ' + data); |
37 | } | 33 | } |
38 | }); | 34 | }); |
39 | }); | 35 | }); |
40 | 36 | ||
41 | }); | 37 | }); |
42 | </script> | 38 | </script> |
43 | @endsection | 39 | @endsection |
44 | 40 | ||
45 | <<<<<<< HEAD | ||
46 | @section('content') | ||
47 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | ||
48 | ======= | ||
49 | @section('search') | 41 | @section('search') |
50 | <div class="absolute inset-y-0 flex items-center pl-2"> | 42 | <div class="absolute inset-y-0 flex items-center pl-2"> |
51 | <svg | 43 | <svg |
52 | class="w-4 h-4" | 44 | class="w-4 h-4" |
53 | aria-hidden="true" | 45 | aria-hidden="true" |
54 | fill="currentColor" | 46 | fill="currentColor" |
55 | viewBox="0 0 20 20" | 47 | viewBox="0 0 20 20" |
56 | > | 48 | > |
57 | <path | 49 | <path |
58 | fill-rule="evenodd" | 50 | fill-rule="evenodd" |
59 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" | 51 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" |
60 | clip-rule="evenodd" | 52 | clip-rule="evenodd" |
61 | ></path> | 53 | ></path> |
62 | </svg> | 54 | </svg> |
63 | </div> | 55 | </div> |
64 | <form action="" method="POST"> | 56 | <form action="" method="POST"> |
65 | <div style="float:left;"><input | 57 | <div style="float:left;"><input |
66 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" | 58 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" |
67 | style="width: 400px" | 59 | style="width: 400px" |
68 | type="text" | 60 | type="text" |
69 | placeholder="Искать..." | 61 | placeholder="Искать..." |
70 | aria-label="Search" | 62 | aria-label="Search" |
71 | /></div> | 63 | /></div> |
72 | <div style="float: left"> | 64 | <div style="float: left"> |
73 | <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> | 65 | <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button> |
74 | </div> | 66 | </div> |
75 | </form> | 67 | </form> |
76 | @endsection | 68 | @endsection |
77 | 69 | ||
78 | @section('content') | 70 | @section('content') |
79 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> | 71 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> |
80 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
81 | <div class="w-full overflow-x-auto"> | 72 | <div class="w-full overflow-x-auto"> |
82 | <table class="w-full whitespace-no-wrap"> | 73 | <table class="w-full whitespace-no-wrap"> |
83 | <thead> | 74 | <thead> |
84 | <tr | 75 | <tr |
85 | 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" | 76 | 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" |
86 | > | 77 | > |
87 | <th class="px-4 py-3">№</th> | 78 | <th class="px-4 py-3">№</th> |
88 | <th class="px-4 py-3">Имя</th> | 79 | <th class="px-4 py-3">Имя</th> |
89 | <th class="px-4 py-3">Email/Телефон</th> | 80 | <th class="px-4 py-3">Email/Телефон</th> |
90 | <th class="px-4 py-3">% заполнения анкеты</th> | 81 | <th class="px-4 py-3">% заполнения анкеты</th> |
91 | <th class="px-4 py-3">Дата регистрации</th> | 82 | <th class="px-4 py-3">Дата регистрации</th> |
92 | <th class="px-4 py-3">Изменить</th> | 83 | <th class="px-4 py-3">Изменить</th> |
93 | <<<<<<< HEAD | ||
94 | <th class="px-4 py-3">Блокировать</th> | ||
95 | ======= | ||
96 | <th class="px-4 py-3">Бан</th> | 84 | <th class="px-4 py-3">Бан</th> |
97 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
98 | </tr> | 85 | </tr> |
99 | </thead> | 86 | </thead> |
100 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 87 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
101 | @foreach($users as $user) | 88 | @foreach($users as $user) |
102 | <tr class="text-gray-700 dark:text-gray-400"> | 89 | <tr class="text-gray-700 dark:text-gray-400"> |
103 | <td class="px-4 py-3"> | 90 | <td class="px-4 py-3"> |
104 | {{$user->id}} | 91 | {{$user->id}} |
105 | </td> | 92 | </td> |
106 | <td class="px-4 py-3"> | 93 | <td class="px-4 py-3"> |
107 | {{ !empty($user->name_man) ? $user->name_man : $user->name }} | 94 | {{ !empty($user->name_man) ? $user->name_man : $user->name }} |
108 | </td> | 95 | </td> |
109 | <td class="px-4 py-3 text-sm"> | 96 | <td class="px-4 py-3 text-sm"> |
110 | <div class="flex items-center text-sm"> | 97 | <div class="flex items-center text-sm"> |
111 | <div> | 98 | <div> |
112 | <p class="font-semibold">{{ empty($user->workers->email) ? $user->email : $user->workers->email }}</p> | 99 | <p class="font-semibold">{{ empty($user->workers->email) ? $user->email : $user->workers->email }}</p> |
113 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 100 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
114 | {{ empty($user->workers->telephone) ? $user->telephone : $user->workers->telephone }} | 101 | {{ empty($user->workers->telephone) ? $user->telephone : $user->workers->telephone }} |
115 | </p> | 102 | </p> |
116 | </div> | 103 | </div> |
117 | </div> | 104 | </div> |
118 | </td> | 105 | </td> |
119 | <td class="px-4 py-3 text-xs"> | 106 | <td class="px-4 py-3 text-xs"> |
120 | @if (!empty($user->workers->persent_anketa)) | 107 | @if (!empty($user->workers->persent_anketa)) |
121 | @if ($user->workers->persent_anketa > 40) | 108 | @if ($user->workers->persent_anketa > 40) |
122 | <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"> | 109 | <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"> |
123 | {{$user->workers->persent_anketa}}% | 110 | {{$user->workers->persent_anketa}}% |
124 | </span> | 111 | </span> |
125 | @else | 112 | @else |
126 | <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"> | 113 | <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"> |
127 | {{$user->workers->persent_anketa}}% | 114 | {{$user->workers->persent_anketa}}% |
128 | </span> | 115 | </span> |
129 | @endif | 116 | @endif |
130 | @else | 117 | @else |
131 | <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"> | 118 | <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"> |
132 | 10% | 119 | 10% |
133 | </span> | 120 | </span> |
134 | @endif | 121 | @endif |
135 | </td> | 122 | </td> |
136 | <td class="px-4 py-3 text-sm"> | 123 | <td class="px-4 py-3 text-sm"> |
137 | {{ $user->created_at }} | 124 | {{ $user->created_at }} |
138 | </td> | 125 | </td> |
139 | <td class="px-4 py-3 text-sm"> | 126 | <td class="px-4 py-3 text-sm"> |
140 | <<<<<<< HEAD | ||
141 | <a href="">Изменить</a> | ||
142 | </td> | ||
143 | <td class="px-4 py-3 text-sm"> | ||
144 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | ||
145 | ======= | ||
146 | @if ($user->id > 1) | 127 | @if ($user->id > 1) |
147 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> | 128 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> |
148 | @endif | 129 | @endif |
149 | </td> | 130 | </td> |
150 | <td class="px-4 py-3 text-sm"> | 131 | <td class="px-4 py-3 text-sm"> |
151 | @if ($user->id > 1) | 132 | @if ($user->id > 1) |
152 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 133 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
153 | @endif | 134 | @endif |
154 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
155 | </td> | 135 | </td> |
156 | </tr> | 136 | </tr> |
157 | @endforeach | 137 | @endforeach |
158 | </tbody> | 138 | </tbody> |
159 | </table> | 139 | </table> |
160 | </div> | 140 | </div> |
161 | 141 | ||
162 | <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"> | 142 | <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"> |
163 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> | 143 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> |
164 | </div> | 144 | </div> |
165 | 145 | ||
166 | 146 | ||
167 | <!--<div | 147 | <!--<div |
168 | 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" | 148 | 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" |
169 | > | 149 | > |
170 | <span class="flex items-center col-span-3"> | 150 | <span class="flex items-center col-span-3"> |
171 | Showing 21-30 of 100 | 151 | Showing 21-30 of 100 |
172 | </span> | 152 | </span> |
173 | <span class="col-span-2"></span> | 153 | <span class="col-span-2"></span> |
174 | 154 | ||
175 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 155 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
176 | <nav aria-label="Table navigation"> | 156 | <nav aria-label="Table navigation"> |
177 | <ul class="inline-flex items-center"> | 157 | <ul class="inline-flex items-center"> |
178 | <li> | 158 | <li> |
179 | <button | 159 | <button |
180 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 160 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
181 | aria-label="Previous" | 161 | aria-label="Previous" |
182 | > | 162 | > |
183 | <svg | 163 | <svg |
184 | aria-hidden="true" | 164 | aria-hidden="true" |
185 | class="w-4 h-4 fill-current" | 165 | class="w-4 h-4 fill-current" |
186 | viewBox="0 0 20 20" | 166 | viewBox="0 0 20 20" |
187 | > | 167 | > |
188 | <path | 168 | <path |
189 | 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" | 169 | 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" |
190 | clip-rule="evenodd" | 170 | clip-rule="evenodd" |
191 | fill-rule="evenodd" | 171 | fill-rule="evenodd" |
192 | ></path> | 172 | ></path> |
193 | </svg> | 173 | </svg> |
194 | </button> | 174 | </button> |
195 | </li> | 175 | </li> |
196 | <li> | 176 | <li> |
197 | <button | 177 | <button |
198 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 178 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
199 | > | 179 | > |
200 | 1 | 180 | 1 |
201 | </button> | 181 | </button> |
202 | </li> | 182 | </li> |
203 | <li> | 183 | <li> |
204 | <button | 184 | <button |
205 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 185 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
206 | > | 186 | > |
207 | 2 | 187 | 2 |
208 | </button> | 188 | </button> |
209 | </li> | 189 | </li> |
210 | <li> | 190 | <li> |
211 | <button | 191 | <button |
212 | 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" | 192 | 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" |
213 | > | 193 | > |
214 | 3 | 194 | 3 |
215 | </button> | 195 | </button> |
216 | </li> | 196 | </li> |
217 | <li> | 197 | <li> |
218 | <button | 198 | <button |
219 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 199 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
220 | > | 200 | > |
221 | 4 | 201 | 4 |
222 | </button> | 202 | </button> |
223 | </li> | 203 | </li> |
224 | <li> | 204 | <li> |
225 | <span class="px-3 py-1">...</span> | 205 | <span class="px-3 py-1">...</span> |
226 | </li> | 206 | </li> |
227 | <li> | 207 | <li> |
228 | <button | 208 | <button |
229 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 209 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
230 | > | 210 | > |
231 | 8 | 211 | 8 |
232 | </button> | 212 | </button> |
233 | </li> | 213 | </li> |
234 | <li> | 214 | <li> |
235 | <button | 215 | <button |
236 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 216 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
237 | > | 217 | > |
238 | 9 | 218 | 9 |
239 | </button> | 219 | </button> |
240 | </li> | 220 | </li> |
241 | <li> | 221 | <li> |
242 | <button | 222 | <button |
243 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 223 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
244 | aria-label="Next" | 224 | aria-label="Next" |
245 | > | 225 | > |
246 | <svg | 226 | <svg |
247 | class="w-4 h-4 fill-current" | 227 | class="w-4 h-4 fill-current" |
248 | aria-hidden="true" | 228 | aria-hidden="true" |
249 | viewBox="0 0 20 20" | 229 | viewBox="0 0 20 20" |
250 | > | 230 | > |
251 | <path | 231 | <path |
252 | 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" | 232 | 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" |
253 | clip-rule="evenodd" | 233 | clip-rule="evenodd" |
254 | fill-rule="evenodd" | 234 | fill-rule="evenodd" |
255 | ></path> | 235 | ></path> |
256 | </svg> | 236 | </svg> |
257 | </button> | 237 | </button> |
258 | </li> | 238 | </li> |
259 | </ul> | 239 | </ul> |
260 | </nav> | 240 | </nav> |
261 | </span> | 241 | </span> |
262 | </div>--> | 242 | </div>--> |
263 | </div> | 243 | </div> |
264 | 244 | ||
265 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> | 245 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> |
266 | 246 | ||
267 | 247 | ||
268 | @endsection | 248 | @endsection |
269 | 249 |
resources/views/admin/worker/index_ajax.blade.php
1 | <<<<<<< HEAD | ||
2 | @extends('layout.admin', ['title' => 'Админка - Работники']) | ||
3 | |||
4 | @section('content') | ||
5 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | ||
6 | <div class="w-full overflow-x-auto"> | ||
7 | <table class="w-full whitespace-no-wrap"> | ||
8 | <thead> | ||
9 | <tr | ||
10 | 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" | ||
11 | > | ||
12 | <th class="px-4 py-3">№</th> | ||
13 | <th class="px-4 py-3">Имя</th> | ||
14 | <th class="px-4 py-3">Email/логин</th> | ||
15 | <th class="px-4 py-3">Работодатель/работник</th> | ||
16 | <th class="px-4 py-3">Дата регистрации</th> | ||
17 | </tr> | ||
18 | </thead> | ||
19 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | ||
20 | @foreach($users as $user) | ||
21 | <tr class="text-gray-700 dark:text-gray-400"> | ||
22 | <td class="px-4 py-3"> | ||
23 | {{$user->id}} | ||
24 | </td> | ||
25 | <td class="px-4 py-3"> | ||
26 | <!--<div class="flex items-center text-sm"> | ||
27 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | ||
28 | <div | ||
29 | class="absolute inset-0 rounded-full shadow-inner" | ||
30 | aria-hidden="true" | ||
31 | ></div> | ||
32 | </div> | ||
33 | <div> | ||
34 | <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p> | ||
35 | <p class="text-xs text-gray-600 dark:text-gray-400"> | ||
36 | Все пользователи сайта | ||
37 | </p> | ||
38 | </div> | ||
39 | </div> | ||
40 | --> | ||
41 | {{ $user->name }} | ||
42 | </td> | ||
43 | <td class="px-4 py-3 text-sm"> | ||
44 | {{ $user->email }} | ||
45 | </td> | ||
46 | <td class="px-4 py-3 text-xs"> | ||
47 | <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"> | ||
48 | @if ($user->is_worker) | ||
49 | Работник | ||
50 | @else | ||
51 | Работодатель | ||
52 | @endif | ||
53 | </span> | ||
54 | @if ($user->admin) | ||
55 | <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"> | ||
56 | Администратор | ||
57 | </span> | ||
58 | @endif | ||
59 | </td> | ||
60 | <td class="px-4 py-3 text-sm"> | ||
61 | {{ $user->created_at }} | ||
62 | </td> | ||
63 | </tr> | ||
64 | @endforeach | ||
65 | </tbody> | ||
66 | </table> | ||
67 | </div> | ||
68 | |||
69 | <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"> | ||
70 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> | ||
71 | </div> | ||
72 | |||
73 | |||
74 | <!--<div | ||
75 | 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" | ||
76 | > | ||
77 | <span class="flex items-center col-span-3"> | ||
78 | Showing 21-30 of 100 | ||
79 | </span> | ||
80 | <span class="col-span-2"></span> | ||
81 | |||
82 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | ||
83 | <nav aria-label="Table navigation"> | ||
84 | <ul class="inline-flex items-center"> | ||
85 | <li> | ||
86 | <button | ||
87 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | ||
88 | aria-label="Previous" | ||
89 | > | ||
90 | <svg | ||
91 | aria-hidden="true" | ||
92 | class="w-4 h-4 fill-current" | ||
93 | viewBox="0 0 20 20" | ||
94 | > | ||
95 | <path | ||
96 | 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" | ||
97 | clip-rule="evenodd" | ||
98 | fill-rule="evenodd" | ||
99 | ></path> | ||
100 | </svg> | ||
101 | </button> | ||
102 | </li> | ||
103 | <li> | ||
104 | <button | ||
105 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | ||
106 | > | ||
107 | 1 | ||
108 | </button> | ||
109 | </li> | ||
110 | <li> | ||
111 | <button | ||
112 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | ||
113 | > | ||
114 | 2 | ||
115 | </button> | ||
116 | </li> | ||
117 | <li> | ||
118 | <button | ||
119 | 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" | ||
120 | > | ||
121 | 3 | ||
122 | </button> | ||
123 | </li> | ||
124 | <li> | ||
125 | <button | ||
126 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | ||
127 | > | ||
128 | 4 | ||
129 | </button> | ||
130 | </li> | ||
131 | <li> | ||
132 | <span class="px-3 py-1">...</span> | ||
133 | </li> | ||
134 | <li> | ||
135 | <button | ||
136 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | ||
137 | > | ||
138 | 8 | ||
139 | </button> | ||
140 | </li> | ||
141 | <li> | ||
142 | <button | ||
143 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | ||
144 | > | ||
145 | 9 | ||
146 | </button> | ||
147 | </li> | ||
148 | <li> | ||
149 | <button | ||
150 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | ||
151 | aria-label="Next" | ||
152 | > | ||
153 | <svg | ||
154 | class="w-4 h-4 fill-current" | ||
155 | aria-hidden="true" | ||
156 | viewBox="0 0 20 20" | ||
157 | > | ||
158 | <path | ||
159 | 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" | ||
160 | clip-rule="evenodd" | ||
161 | fill-rule="evenodd" | ||
162 | ></path> | ||
163 | </svg> | ||
164 | </button> | ||
165 | </li> | ||
166 | </ul> | ||
167 | </nav> | ||
168 | </span> | ||
169 | </div>--> | ||
170 | </div> | ||
171 | |||
172 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> | ||
173 | |||
174 | |||
175 | @endsection | ||
176 | ======= | ||
177 | <div class="w-full overflow-x-auto"> | 1 | <div class="w-full overflow-x-auto"> |
178 | <table class="w-full whitespace-no-wrap"> | 2 | <table class="w-full whitespace-no-wrap"> |
179 | <thead> | 3 | <thead> |
180 | <tr | 4 | <tr |
181 | 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" | 5 | 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" |
182 | > | 6 | > |
183 | <th class="px-4 py-3">№</th> | 7 | <th class="px-4 py-3">№</th> |
184 | <th class="px-4 py-3">Имя</th> | 8 | <th class="px-4 py-3">Имя</th> |
185 | <th class="px-4 py-3">Email/Телефон</th> | 9 | <th class="px-4 py-3">Email/Телефон</th> |
186 | <th class="px-4 py-3">% заполнения анкеты</th> | 10 | <th class="px-4 py-3">% заполнения анкеты</th> |
187 | <th class="px-4 py-3">Дата регистрации</th> | 11 | <th class="px-4 py-3">Дата регистрации</th> |
188 | <th class="px-4 py-3">Изменить</th> | 12 | <th class="px-4 py-3">Изменить</th> |
189 | <th class="px-4 py-3">Бан</th> | 13 | <th class="px-4 py-3">Бан</th> |
190 | </tr> | 14 | </tr> |
191 | </thead> | 15 | </thead> |
192 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 16 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
193 | @foreach($users as $user) | 17 | @foreach($users as $user) |
194 | <tr class="text-gray-700 dark:text-gray-400"> | 18 | <tr class="text-gray-700 dark:text-gray-400"> |
195 | <td class="px-4 py-3"> | 19 | <td class="px-4 py-3"> |
196 | {{$user->id}} | 20 | {{$user->id}} |
197 | </td> | 21 | </td> |
198 | <td class="px-4 py-3"> | 22 | <td class="px-4 py-3"> |
199 | {{ !empty($user->name_man) ? $user->name_man : $user->name }} | 23 | {{ !empty($user->name_man) ? $user->name_man : $user->name }} |
200 | </td> | 24 | </td> |
201 | <td class="px-4 py-3 text-sm"> | 25 | <td class="px-4 py-3 text-sm"> |
202 | <div class="flex items-center text-sm"> | 26 | <div class="flex items-center text-sm"> |
203 | <div> | 27 | <div> |
204 | <p class="font-semibold">{{ empty($user->workers->email) ? $user->email : $user->workers->email }}</p> | 28 | <p class="font-semibold">{{ empty($user->workers->email) ? $user->email : $user->workers->email }}</p> |
205 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 29 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
206 | {{ empty($user->workers->telephone) ? $user->telephone : $user->workers->telephone }} | 30 | {{ empty($user->workers->telephone) ? $user->telephone : $user->workers->telephone }} |
207 | </p> | 31 | </p> |
208 | </div> | 32 | </div> |
209 | </div> | 33 | </div> |
210 | </td> | 34 | </td> |
211 | <td class="px-4 py-3 text-xs"> | 35 | <td class="px-4 py-3 text-xs"> |
212 | @if (!empty($user->workers->persent_anketa)) | 36 | @if (!empty($user->workers->persent_anketa)) |
213 | @if ($user->workers->persent_anketa > 40) | 37 | @if ($user->workers->persent_anketa > 40) |
214 | <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"> | 38 | <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"> |
215 | {{$user->workers->persent_anketa}}% | 39 | {{$user->workers->persent_anketa}}% |
216 | </span> | 40 | </span> |
217 | @else | 41 | @else |
218 | <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"> | 42 | <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"> |
219 | {{$user->workers->persent_anketa}}% | 43 | {{$user->workers->persent_anketa}}% |
220 | </span> | 44 | </span> |
221 | @endif | 45 | @endif |
222 | @else | 46 | @else |
223 | <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"> | 47 | <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"> |
224 | 10% | 48 | 10% |
225 | </span> | 49 | </span> |
226 | @endif | 50 | @endif |
227 | </td> | 51 | </td> |
228 | <td class="px-4 py-3 text-sm"> | 52 | <td class="px-4 py-3 text-sm"> |
229 | {{ $user->created_at }} | 53 | {{ $user->created_at }} |
230 | </td> | 54 | </td> |
231 | <td class="px-4 py-3 text-sm"> | 55 | <td class="px-4 py-3 text-sm"> |
232 | @if ($user->id > 1) | 56 | @if ($user->id > 1) |
233 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> | 57 | <a href="{{ route('admin.user-profile', ['user' => $user->id]) }}">Изменить</a> |
234 | @endif | 58 | @endif |
235 | </td> | 59 | </td> |
236 | <td class="px-4 py-3 text-sm"> | 60 | <td class="px-4 py-3 text-sm"> |
237 | @if ($user->id > 1) | 61 | @if ($user->id > 1) |
238 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 62 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
239 | @endif | 63 | @endif |
240 | </td> | 64 | </td> |
241 | </tr> | 65 | </tr> |
242 | @endforeach | 66 | @endforeach |
243 | </tbody> | 67 | </tbody> |
244 | </table> | 68 | </table> |
245 | </div> | 69 | </div> |
246 | 70 | ||
247 | <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"> | 71 | <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"> |
248 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> | 72 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> |
249 | </div> | 73 | </div> |
250 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
251 | 74 |
resources/views/layout/admin.blade.php
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html :class="{ 'theme-dark': dark }" x-data="data()" lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | 2 | <html :class="{ 'theme-dark': dark }" x-data="data()" lang="{{ str_replace('_', '-', app()->getLocale()) }}"> |
3 | <head> | 3 | <head> |
4 | <meta charset="UTF-8" /> | 4 | <meta charset="UTF-8" /> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | <title>{{$title}}</title> | 6 | <title>{{$title}}</title> |
7 | <link | 7 | <link |
8 | href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" | 8 | href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" |
9 | rel="stylesheet" | 9 | rel="stylesheet" |
10 | /> | 10 | /> |
11 | <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output.css')}}" /> | 11 | <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output.css')}}" /> |
12 | <script | 12 | <script |
13 | src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" | 13 | src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" |
14 | defer | 14 | defer |
15 | ></script> | 15 | ></script> |
16 | <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> | 16 | <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> |
17 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> | 17 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> |
18 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> | 18 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> |
19 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | 19 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> |
20 | <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> | 20 | <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> |
21 | <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> | 21 | <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> |
22 | </head> | 22 | </head> |
23 | <body> | 23 | <body> |
24 | <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> | 24 | <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> |
25 | <!-- Desktop sidebar --> | 25 | <!-- Desktop sidebar --> |
26 | <aside | 26 | <aside |
27 | class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" | 27 | class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" |
28 | > | 28 | > |
29 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 29 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
30 | <<<<<<< HEAD | ||
31 | <a | ||
32 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | ||
33 | href="{{ route('admin.index') }}" | ||
34 | > | ||
35 | ======= | ||
36 | <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 30 | <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
37 | href="{{ route('admin.index') }}"> | 31 | href="{{ route('admin.index') }}"> |
38 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
39 | Админка | 32 | Админка |
40 | </a> | 33 | </a> |
41 | <ul class="mt-6"> | 34 | <ul class="mt-6"> |
42 | <li class="relative px-6 py-3"> | 35 | <li class="relative px-6 py-3"> |
43 | <span | 36 | <span |
44 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 37 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
45 | aria-hidden="true" | 38 | aria-hidden="true" |
46 | ></span> | 39 | ></span> |
47 | <a | 40 | <a |
48 | class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" | 41 | class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" |
49 | href="{{ route('admin.index') }}" | 42 | href="{{ route('admin.index') }}" |
50 | > | 43 | > |
51 | <svg | 44 | <svg |
52 | class="w-5 h-5" | 45 | class="w-5 h-5" |
53 | aria-hidden="true" | 46 | aria-hidden="true" |
54 | fill="none" | 47 | fill="none" |
55 | stroke-linecap="round" | 48 | stroke-linecap="round" |
56 | stroke-linejoin="round" | 49 | stroke-linejoin="round" |
57 | stroke-width="2" | 50 | stroke-width="2" |
58 | viewBox="0 0 24 24" | 51 | viewBox="0 0 24 24" |
59 | stroke="currentColor" | 52 | stroke="currentColor" |
60 | > | 53 | > |
61 | <path | 54 | <path |
62 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" | 55 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" |
63 | ></path> | 56 | ></path> |
64 | </svg> | 57 | </svg> |
65 | <span class="ml-4">Главная страница</span> | 58 | <span class="ml-4">Главная страница</span> |
66 | </a> | 59 | </a> |
67 | </li> | 60 | </li> |
68 | </ul> | 61 | </ul> |
69 | <ul> | 62 | <ul> |
70 | <li class="relative px-6 py-3"> | 63 | <li class="relative px-6 py-3"> |
71 | <a | 64 | <a |
72 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 65 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
73 | href="{{ route('admin.users') }}" | 66 | href="{{ route('admin.users') }}" |
74 | > | 67 | > |
75 | <svg | 68 | <svg |
76 | class="w-5 h-5" | 69 | class="w-5 h-5" |
77 | aria-hidden="true" | 70 | aria-hidden="true" |
78 | fill="none" | 71 | fill="none" |
79 | stroke-linecap="round" | 72 | stroke-linecap="round" |
80 | stroke-linejoin="round" | 73 | stroke-linejoin="round" |
81 | stroke-width="2" | 74 | stroke-width="2" |
82 | viewBox="0 0 24 24" | 75 | viewBox="0 0 24 24" |
83 | stroke="currentColor" | 76 | stroke="currentColor" |
84 | > | 77 | > |
85 | <path | 78 | <path |
86 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 79 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
87 | ></path> | 80 | ></path> |
88 | </svg> | 81 | </svg> |
89 | <span class="ml-4">Пользователи</span> | 82 | <span class="ml-4">Пользователи</span> |
90 | </a> | 83 | </a> |
91 | </li> | 84 | </li> |
92 | <li class="relative px-6 py-3"> | 85 | <li class="relative px-6 py-3"> |
93 | <a | 86 | <a |
94 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 87 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
95 | href="{{ route('admin.employers') }}" | 88 | href="{{ route('admin.employers') }}" |
96 | > | 89 | > |
97 | <svg | 90 | <svg |
98 | class="w-5 h-5" | 91 | class="w-5 h-5" |
99 | aria-hidden="true" | 92 | aria-hidden="true" |
100 | fill="none" | 93 | fill="none" |
101 | stroke-linecap="round" | 94 | stroke-linecap="round" |
102 | stroke-linejoin="round" | 95 | stroke-linejoin="round" |
103 | stroke-width="2" | 96 | stroke-width="2" |
104 | viewBox="0 0 24 24" | 97 | viewBox="0 0 24 24" |
105 | stroke="currentColor" | 98 | stroke="currentColor" |
106 | > | 99 | > |
107 | <path | 100 | <path |
108 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" | 101 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" |
109 | ></path> | 102 | ></path> |
110 | </svg> | 103 | </svg> |
111 | <span class="ml-4">Работодатели</span> | 104 | <span class="ml-4">Работодатели</span> |
112 | </a> | 105 | </a> |
113 | </li> | 106 | </li> |
114 | <li class="relative px-6 py-3"> | 107 | <li class="relative px-6 py-3"> |
115 | <a | 108 | <a |
116 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 109 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
117 | href="{{ route('admin.workers') }}" | 110 | href="{{ route('admin.workers') }}" |
118 | > | 111 | > |
119 | <svg | 112 | <svg |
120 | class="w-5 h-5" | 113 | class="w-5 h-5" |
121 | aria-hidden="true" | 114 | aria-hidden="true" |
122 | fill="none" | 115 | fill="none" |
123 | stroke-linecap="round" | 116 | stroke-linecap="round" |
124 | stroke-linejoin="round" | 117 | stroke-linejoin="round" |
125 | stroke-width="2" | 118 | stroke-width="2" |
126 | viewBox="0 0 24 24" | 119 | viewBox="0 0 24 24" |
127 | stroke="currentColor" | 120 | stroke="currentColor" |
128 | > | 121 | > |
129 | <path | 122 | <path |
130 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 123 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
131 | ></path> | 124 | ></path> |
132 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 125 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
133 | </svg> | 126 | </svg> |
134 | <span class="ml-4">Соискатели</span> | 127 | <span class="ml-4">Соискатели</span> |
135 | </a> | 128 | </a> |
136 | </li> | 129 | </li> |
137 | <li class="relative px-6 py-3"> | 130 | <li class="relative px-6 py-3"> |
138 | <a | 131 | <a |
139 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 132 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
140 | href="{{ route('admin.ad-employers') }}" | 133 | href="{{ route('admin.ad-employers') }}" |
141 | > | 134 | > |
142 | <svg | 135 | <svg |
143 | class="w-5 h-5" | 136 | class="w-5 h-5" |
144 | aria-hidden="true" | 137 | aria-hidden="true" |
145 | fill="none" | 138 | fill="none" |
146 | stroke-linecap="round" | 139 | stroke-linecap="round" |
147 | stroke-linejoin="round" | 140 | stroke-linejoin="round" |
148 | stroke-width="2" | 141 | stroke-width="2" |
149 | viewBox="0 0 24 24" | 142 | viewBox="0 0 24 24" |
150 | stroke="currentColor" | 143 | stroke="currentColor" |
151 | > | 144 | > |
152 | <path | 145 | <path |
153 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 146 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
154 | ></path> | 147 | ></path> |
155 | </svg> | 148 | </svg> |
156 | <span class="ml-4">Вакансии</span> | 149 | <span class="ml-4">Вакансии</span> |
157 | </a> | 150 | </a> |
158 | </li> | 151 | </li> |
159 | <<<<<<< HEAD | ||
160 | <li class="relative px-6 py-3"> | ||
161 | <a | ||
162 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
163 | href="{{ route('admin.categories') }}" | ||
164 | ======= | ||
165 | 152 | ||
166 | <li class="relative px-6 py-3"> | 153 | <li class="relative px-6 py-3"> |
167 | <a | 154 | <a |
168 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 155 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
169 | href="{{ route('admin.messages') }}" | 156 | href="{{ route('admin.messages') }}" |
170 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
171 | > | 157 | > |
172 | <svg | 158 | <svg |
173 | class="w-5 h-5" | 159 | class="w-5 h-5" |
174 | aria-hidden="true" | 160 | aria-hidden="true" |
175 | fill="none" | 161 | fill="none" |
176 | stroke-linecap="round" | 162 | stroke-linecap="round" |
177 | stroke-linejoin="round" | 163 | stroke-linejoin="round" |
178 | stroke-width="2" | 164 | stroke-width="2" |
179 | viewBox="0 0 24 24" | 165 | viewBox="0 0 24 24" |
180 | stroke="currentColor" | 166 | stroke="currentColor" |
181 | > | 167 | > |
182 | <<<<<<< HEAD | ||
183 | <path | ||
184 | d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" | ||
185 | ></path> | ||
186 | </svg> | ||
187 | <span class="ml-4">Категории</span> | ||
188 | ======= | ||
189 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 168 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
190 | </svg> | 169 | </svg> |
191 | <span class="ml-4">Сообщения</span> | 170 | <span class="ml-4">Сообщения</span> |
192 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
193 | </a> | 171 | </a> |
194 | </li> | 172 | </li> |
195 | <li class="relative px-6 py-3"> | 173 | <li class="relative px-6 py-3"> |
196 | <a | 174 | <a |
197 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 175 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
198 | <<<<<<< HEAD | ||
199 | href="{{ route('admin.job-titles') }}" | ||
200 | ======= | ||
201 | href="{{ route('admin.groups') }}" | 176 | href="{{ route('admin.groups') }}" |
202 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
203 | > | 177 | > |
204 | <svg | 178 | <svg |
205 | class="w-5 h-5" | 179 | class="w-5 h-5" |
206 | aria-hidden="true" | 180 | aria-hidden="true" |
207 | fill="none" | 181 | fill="none" |
208 | stroke-linecap="round" | 182 | stroke-linecap="round" |
209 | stroke-linejoin="round" | 183 | stroke-linejoin="round" |
210 | stroke-width="2" | 184 | stroke-width="2" |
211 | viewBox="0 0 24 24" | 185 | viewBox="0 0 24 24" |
212 | stroke="currentColor" | 186 | stroke="currentColor" |
213 | > | 187 | > |
214 | <<<<<<< HEAD | ||
215 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | ||
216 | </svg> | ||
217 | <span class="ml-4">Должности</span> | ||
218 | ======= | ||
219 | <path | 188 | <path |
220 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 189 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
221 | ></path> | 190 | ></path> |
222 | </svg> | 191 | </svg> |
223 | <span class="ml-4">Группы пользователей</span> | 192 | <span class="ml-4">Группы пользователей</span> |
224 | </a> | 193 | </a> |
225 | </li> | 194 | </li> |
226 | <li class="relative px-6 py-3"> | 195 | <li class="relative px-6 py-3"> |
227 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 196 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
228 | href="{{ route('admin.roles') }}"> | 197 | href="{{ route('admin.roles') }}"> |
229 | <svg | 198 | <svg |
230 | class="w-5 h-5" | 199 | class="w-5 h-5" |
231 | aria-hidden="true" | 200 | aria-hidden="true" |
232 | fill="none" | 201 | fill="none" |
233 | stroke-linecap="round" | 202 | stroke-linecap="round" |
234 | stroke-linejoin="round" | 203 | stroke-linejoin="round" |
235 | stroke-width="2" | 204 | stroke-width="2" |
236 | viewBox="0 0 24 24" | 205 | viewBox="0 0 24 24" |
237 | stroke="currentColor" | 206 | stroke="currentColor" |
238 | > | 207 | > |
239 | <path | 208 | <path |
240 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 209 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
241 | ></path> | 210 | ></path> |
242 | </svg> | 211 | </svg> |
243 | <span class="ml-4">Роли пользователей</span> | 212 | <span class="ml-4">Роли пользователей</span> |
244 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
245 | </a> | 213 | </a> |
246 | </li> | 214 | </li> |
247 | <li class="relative px-6 py-3"> | 215 | <li class="relative px-6 py-3"> |
248 | <a | 216 | <a |
249 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 217 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
250 | <<<<<<< HEAD | ||
251 | href="{{ route('admin.messages') }}" | ||
252 | ======= | ||
253 | href="{{ route('admin.statics') }}" | 218 | href="{{ route('admin.statics') }}" |
254 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
255 | > | 219 | > |
256 | <svg | 220 | <svg |
257 | class="w-5 h-5" | 221 | class="w-5 h-5" |
258 | aria-hidden="true" | 222 | aria-hidden="true" |
259 | fill="none" | 223 | fill="none" |
260 | stroke-linecap="round" | 224 | stroke-linecap="round" |
261 | stroke-linejoin="round" | 225 | stroke-linejoin="round" |
262 | stroke-width="2" | 226 | stroke-width="2" |
263 | viewBox="0 0 24 24" | 227 | viewBox="0 0 24 24" |
264 | stroke="currentColor" | 228 | stroke="currentColor" |
265 | > | 229 | > |
266 | <<<<<<< HEAD | ||
267 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | ||
268 | </svg> | ||
269 | <span class="ml-4">Сообщения</span> | ||
270 | ======= | ||
271 | <path | 230 | <path |
272 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 231 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
273 | ></path> | 232 | ></path> |
274 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 233 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
275 | </svg> | 234 | </svg> |
276 | <span class="ml-4">Статистика</span> | 235 | <span class="ml-4">Статистика</span> |
277 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
278 | </a> | 236 | </a> |
279 | </li> | 237 | </li> |
280 | <li class="relative px-6 py-3"> | 238 | <li class="relative px-6 py-3"> |
281 | <a | 239 | <a |
282 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 240 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
283 | <<<<<<< HEAD | ||
284 | href="{{ route('admin.groups') }}" | ||
285 | ======= | ||
286 | href="{{ route('admin.answers') }}" | 241 | href="{{ route('admin.answers') }}" |
287 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
288 | > | 242 | > |
289 | <svg | 243 | <svg |
290 | class="w-5 h-5" | 244 | class="w-5 h-5" |
291 | aria-hidden="true" | 245 | aria-hidden="true" |
292 | fill="none" | 246 | fill="none" |
293 | stroke-linecap="round" | 247 | stroke-linecap="round" |
294 | stroke-linejoin="round" | 248 | stroke-linejoin="round" |
295 | stroke-width="2" | 249 | stroke-width="2" |
296 | viewBox="0 0 24 24" | 250 | viewBox="0 0 24 24" |
297 | stroke="currentColor" | 251 | stroke="currentColor" |
298 | > | 252 | > |
299 | <<<<<<< HEAD | ||
300 | <path | ||
301 | 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" | ||
302 | ></path> | ||
303 | </svg> | ||
304 | <span class="ml-4">Группы пользователей</span> | ||
305 | </a> | ||
306 | </li> | ||
307 | ======= | ||
308 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 253 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
309 | </svg> | 254 | </svg> |
310 | <span class="ml-4">Модерация</span> | 255 | <span class="ml-4">Модерация</span> |
311 | </a> | 256 | </a> |
312 | </li> | 257 | </li> |
313 | <!-- Справочники --> | 258 | <!-- Справочники --> |
314 | <li class="relative px-6 py-3" x-data="{ open1: false }"> | 259 | <li class="relative px-6 py-3" x-data="{ open1: false }"> |
315 | <button | 260 | <button |
316 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 261 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
317 | @click="open1=!open1" | 262 | @click="open1=!open1" |
318 | aria-haspopup="true"> | 263 | aria-haspopup="true"> |
319 | <span class="inline-flex items-center"> | 264 | <span class="inline-flex items-center"> |
320 | <svg | 265 | <svg |
321 | class="w-5 h-5" | 266 | class="w-5 h-5" |
322 | aria-hidden="true" | 267 | aria-hidden="true" |
323 | fill="none" | 268 | fill="none" |
324 | stroke-linecap="round" | 269 | stroke-linecap="round" |
325 | stroke-linejoin="round" | 270 | stroke-linejoin="round" |
326 | stroke-width="2" | 271 | stroke-width="2" |
327 | viewBox="0 0 24 24" | 272 | viewBox="0 0 24 24" |
328 | stroke="currentColor"> | 273 | stroke="currentColor"> |
329 | <path | 274 | <path |
330 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 275 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
331 | ></path> | 276 | ></path> |
332 | </svg> | 277 | </svg> |
333 | <span class="ml-4">Справочники</span> | 278 | <span class="ml-4">Справочники</span> |
334 | </span> | 279 | </span> |
335 | <svg | 280 | <svg |
336 | class="w-4 h-4" | 281 | class="w-4 h-4" |
337 | aria-hidden="true" | 282 | aria-hidden="true" |
338 | fill="currentColor" | 283 | fill="currentColor" |
339 | viewBox="0 0 20 20" | 284 | viewBox="0 0 20 20" |
340 | > | 285 | > |
341 | <path | 286 | <path |
342 | fill-rule="evenodd" | 287 | fill-rule="evenodd" |
343 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 288 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
344 | clip-rule="evenodd" | 289 | clip-rule="evenodd" |
345 | ></path> | 290 | ></path> |
346 | </svg> | 291 | </svg> |
347 | </button> | 292 | </button> |
348 | <template x-if="open1"> | 293 | <template x-if="open1"> |
349 | <ul | 294 | <ul |
350 | x-transition:enter="transition-all ease-in-out duration-300" | 295 | x-transition:enter="transition-all ease-in-out duration-300" |
351 | x-transition:enter-start="opacity-25 max-h-0" | 296 | x-transition:enter-start="opacity-25 max-h-0" |
352 | x-transition:enter-end="opacity-100 max-h-xl" | 297 | x-transition:enter-end="opacity-100 max-h-xl" |
353 | x-transition:leave="transition-all ease-in-out duration-300" | 298 | x-transition:leave="transition-all ease-in-out duration-300" |
354 | x-transition:leave-start="opacity-100 max-h-xl" | 299 | x-transition:leave-start="opacity-100 max-h-xl" |
355 | x-transition:leave-end="opacity-0 max-h-0" | 300 | x-transition:leave-end="opacity-0 max-h-0" |
356 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 301 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
357 | aria-label="submenu" | 302 | aria-label="submenu" |
358 | > | 303 | > |
359 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 304 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
360 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 305 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
361 | </li> | 306 | </li> |
362 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 307 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
363 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a> | 308 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a> |
364 | </li> | 309 | </li> |
365 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 310 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
366 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 311 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
367 | </li> | 312 | </li> |
368 | 313 | ||
369 | </ul> | 314 | </ul> |
370 | </template> | 315 | </template> |
371 | </li> | 316 | </li> |
372 | 317 | ||
373 | 318 | ||
374 | <!-- Редактор --> | 319 | <!-- Редактор --> |
375 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
376 | <li class="relative px-6 py-3"> | 320 | <li class="relative px-6 py-3"> |
377 | <button | 321 | <button |
378 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 322 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
379 | @click="togglePagesMenu" | 323 | @click="togglePagesMenu" |
380 | <<<<<<< HEAD | ||
381 | aria-haspopup="true" | ||
382 | > | ||
383 | ======= | ||
384 | aria-haspopup="true"> | 324 | aria-haspopup="true"> |
385 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
386 | <span class="inline-flex items-center"> | 325 | <span class="inline-flex items-center"> |
387 | <svg | 326 | <svg |
388 | class="w-5 h-5" | 327 | class="w-5 h-5" |
389 | aria-hidden="true" | 328 | aria-hidden="true" |
390 | fill="none" | 329 | fill="none" |
391 | stroke-linecap="round" | 330 | stroke-linecap="round" |
392 | stroke-linejoin="round" | 331 | stroke-linejoin="round" |
393 | stroke-width="2" | 332 | stroke-width="2" |
394 | viewBox="0 0 24 24" | 333 | viewBox="0 0 24 24" |
395 | <<<<<<< HEAD | ||
396 | stroke="currentColor" | ||
397 | > | ||
398 | ======= | ||
399 | stroke="currentColor"> | 334 | stroke="currentColor"> |
400 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
401 | <path | 335 | <path |
402 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 336 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
403 | ></path> | 337 | ></path> |
404 | </svg> | 338 | </svg> |
405 | <<<<<<< HEAD | ||
406 | <span class="ml-4">Страницы</span> | ||
407 | ======= | ||
408 | <span class="ml-4">Редактор</span> | 339 | <span class="ml-4">Редактор</span> |
409 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
410 | </span> | 340 | </span> |
411 | <svg | 341 | <svg |
412 | class="w-4 h-4" | 342 | class="w-4 h-4" |
413 | aria-hidden="true" | 343 | aria-hidden="true" |
414 | fill="currentColor" | 344 | fill="currentColor" |
415 | viewBox="0 0 20 20" | 345 | viewBox="0 0 20 20" |
416 | > | 346 | > |
417 | <path | 347 | <path |
418 | fill-rule="evenodd" | 348 | fill-rule="evenodd" |
419 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 349 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
420 | clip-rule="evenodd" | 350 | clip-rule="evenodd" |
421 | ></path> | 351 | ></path> |
422 | </svg> | 352 | </svg> |
423 | </button> | 353 | </button> |
424 | <template x-if="isPagesMenuOpen"> | 354 | <template x-if="isPagesMenuOpen"> |
425 | <ul | 355 | <ul |
426 | x-transition:enter="transition-all ease-in-out duration-300" | 356 | x-transition:enter="transition-all ease-in-out duration-300" |
427 | x-transition:enter-start="opacity-25 max-h-0" | 357 | x-transition:enter-start="opacity-25 max-h-0" |
428 | x-transition:enter-end="opacity-100 max-h-xl" | 358 | x-transition:enter-end="opacity-100 max-h-xl" |
429 | x-transition:leave="transition-all ease-in-out duration-300" | 359 | x-transition:leave="transition-all ease-in-out duration-300" |
430 | x-transition:leave-start="opacity-100 max-h-xl" | 360 | x-transition:leave-start="opacity-100 max-h-xl" |
431 | x-transition:leave-end="opacity-0 max-h-0" | 361 | x-transition:leave-end="opacity-0 max-h-0" |
432 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 362 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
433 | aria-label="submenu" | 363 | aria-label="submenu" |
434 | > | 364 | > |
435 | <<<<<<< HEAD | ||
436 | <li | ||
437 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
438 | > | ||
439 | <a class="w-full" href="pages/login.html">Login</a> | ||
440 | </li> | ||
441 | <li | ||
442 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
443 | > | ||
444 | <a class="w-full" href="pages/create-account.html"> | ||
445 | Create account | ||
446 | </a> | ||
447 | </li> | ||
448 | <li | ||
449 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
450 | > | ||
451 | <a class="w-full" href="pages/forgot-password.html"> | ||
452 | Forgot password | ||
453 | </a> | ||
454 | </li> | ||
455 | <li | ||
456 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
457 | > | ||
458 | <a class="w-full" href="pages/404.html">404</a> | ||
459 | </li> | ||
460 | <li | ||
461 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
462 | > | ||
463 | <a class="w-full" href="pages/blank.html">Blank</a> | ||
464 | ======= | ||
465 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 365 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
466 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 366 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
467 | </li> | 367 | </li> |
468 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 368 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
469 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 369 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
470 | </li> | 370 | </li> |
471 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 371 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
472 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> | 372 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> |
473 | </li> | 373 | </li> |
474 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 374 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
475 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 375 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
476 | </li> | 376 | </li> |
477 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 377 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
478 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 378 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
479 | </li> | 379 | </li> |
480 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 380 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
481 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 381 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
482 | </li> | 382 | </li> |
483 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 383 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
484 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 384 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
485 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
486 | </li> | 385 | </li> |
487 | </ul> | 386 | </ul> |
488 | </template> | 387 | </template> |
489 | </li> | 388 | </li> |
490 | <<<<<<< HEAD | ||
491 | ======= | ||
492 | 389 | ||
493 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
494 | </ul> | 390 | </ul> |
495 | <!--<div class="px-6 my-6"> | 391 | <!--<div class="px-6 my-6"> |
496 | <button | 392 | <button |
497 | class="flex items-center justify-between w-full px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" | 393 | class="flex items-center justify-between w-full px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" |
498 | > | 394 | > |
499 | Create account | 395 | Create account |
500 | <span class="ml-2" aria-hidden="true">+</span> | 396 | <span class="ml-2" aria-hidden="true">+</span> |
501 | </button> | 397 | </button> |
502 | </div>--> | 398 | </div>--> |
503 | </div> | 399 | </div> |
504 | </aside> | 400 | </aside> |
505 | <!-- Mobile sidebar --> | 401 | <!-- Mobile sidebar --> |
506 | <!-- Backdrop --> | 402 | <!-- Backdrop --> |
507 | <div | 403 | <div |
508 | x-show="isSideMenuOpen" | 404 | x-show="isSideMenuOpen" |
509 | x-transition:enter="transition ease-in-out duration-150" | 405 | x-transition:enter="transition ease-in-out duration-150" |
510 | x-transition:enter-start="opacity-0" | 406 | x-transition:enter-start="opacity-0" |
511 | x-transition:enter-end="opacity-100" | 407 | x-transition:enter-end="opacity-100" |
512 | x-transition:leave="transition ease-in-out duration-150" | 408 | x-transition:leave="transition ease-in-out duration-150" |
513 | x-transition:leave-start="opacity-100" | 409 | x-transition:leave-start="opacity-100" |
514 | x-transition:leave-end="opacity-0" | 410 | x-transition:leave-end="opacity-0" |
515 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" | 411 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" |
516 | ></div> | 412 | ></div> |
517 | <aside | 413 | <aside |
518 | class="fixed inset-y-0 z-20 flex-shrink-0 w-64 mt-16 overflow-y-auto bg-white dark:bg-gray-800 md:hidden" | 414 | class="fixed inset-y-0 z-20 flex-shrink-0 w-64 mt-16 overflow-y-auto bg-white dark:bg-gray-800 md:hidden" |
519 | x-show="isSideMenuOpen" | 415 | x-show="isSideMenuOpen" |
520 | x-transition:enter="transition ease-in-out duration-150" | 416 | x-transition:enter="transition ease-in-out duration-150" |
521 | x-transition:enter-start="opacity-0 transform -translate-x-20" | 417 | x-transition:enter-start="opacity-0 transform -translate-x-20" |
522 | x-transition:enter-end="opacity-100" | 418 | x-transition:enter-end="opacity-100" |
523 | x-transition:leave="transition ease-in-out duration-150" | 419 | x-transition:leave="transition ease-in-out duration-150" |
524 | x-transition:leave-start="opacity-100" | 420 | x-transition:leave-start="opacity-100" |
525 | x-transition:leave-end="opacity-0 transform -translate-x-20" | 421 | x-transition:leave-end="opacity-0 transform -translate-x-20" |
526 | @click.away="closeSideMenu" | 422 | @click.away="closeSideMenu" |
527 | @keydown.escape="closeSideMenu" | 423 | @keydown.escape="closeSideMenu" |
528 | > | 424 | > |
529 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 425 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
530 | <a | 426 | <a |
531 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 427 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
532 | href="{{ route('admin.index') }}" | 428 | href="{{ route('admin.index') }}" |
533 | > | 429 | > |
534 | Админка | 430 | Админка |
535 | </a> | 431 | </a> |
536 | <ul class="mt-6"> | 432 | <ul class="mt-6"> |
537 | <li class="relative px-6 py-3"> | 433 | <li class="relative px-6 py-3"> |
538 | <span | 434 | <span |
539 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 435 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
540 | aria-hidden="true" | 436 | aria-hidden="true" |
541 | ></span> | 437 | ></span> |
542 | <a | 438 | <a |
543 | class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" | 439 | class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" |
544 | href="{{ route('admin.index') }}" | 440 | href="{{ route('admin.index') }}" |
545 | > | 441 | > |
546 | <svg | 442 | <svg |
547 | class="w-5 h-5" | 443 | class="w-5 h-5" |
548 | aria-hidden="true" | 444 | aria-hidden="true" |
549 | fill="none" | 445 | fill="none" |
550 | stroke-linecap="round" | 446 | stroke-linecap="round" |
551 | stroke-linejoin="round" | 447 | stroke-linejoin="round" |
552 | stroke-width="2" | 448 | stroke-width="2" |
553 | viewBox="0 0 24 24" | 449 | viewBox="0 0 24 24" |
554 | stroke="currentColor" | 450 | stroke="currentColor" |
555 | > | 451 | > |
556 | <path | 452 | <path |
557 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" | 453 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" |
558 | ></path> | 454 | ></path> |
559 | </svg> | 455 | </svg> |
560 | <span class="ml-4">Главная страница</span> | 456 | <span class="ml-4">Главная страница</span> |
561 | </a> | 457 | </a> |
562 | </li> | 458 | </li> |
563 | </ul> | 459 | </ul> |
564 | <ul> | 460 | <ul> |
565 | <li class="relative px-6 py-3"> | 461 | <li class="relative px-6 py-3"> |
566 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 462 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
567 | href="{{ route('admin.users') }}"> | 463 | href="{{ route('admin.users') }}"> |
568 | <svg | 464 | <svg |
569 | class="w-5 h-5" | 465 | class="w-5 h-5" |
570 | aria-hidden="true" | 466 | aria-hidden="true" |
571 | fill="none" | 467 | fill="none" |
572 | stroke-linecap="round" | 468 | stroke-linecap="round" |
573 | stroke-linejoin="round" | 469 | stroke-linejoin="round" |
574 | stroke-width="2" | 470 | stroke-width="2" |
575 | viewBox="0 0 24 24" | 471 | viewBox="0 0 24 24" |
576 | stroke="currentColor" | 472 | stroke="currentColor" |
577 | > | 473 | > |
578 | <path | 474 | <path |
579 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 475 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
580 | ></path> | 476 | ></path> |
581 | </svg> | 477 | </svg> |
582 | <span class="ml-4">Пользователи</span> | 478 | <span class="ml-4">Пользователи</span> |
583 | </a> | 479 | </a> |
584 | </li> | 480 | </li> |
585 | <li class="relative px-6 py-3"> | 481 | <li class="relative px-6 py-3"> |
586 | <a | 482 | <a |
587 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 483 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
588 | href="{{ route('admin.employers') }}" | 484 | href="{{ route('admin.employers') }}" |
589 | > | 485 | > |
590 | <svg | 486 | <svg |
591 | class="w-5 h-5" | 487 | class="w-5 h-5" |
592 | aria-hidden="true" | 488 | aria-hidden="true" |
593 | fill="none" | 489 | fill="none" |
594 | stroke-linecap="round" | 490 | stroke-linecap="round" |
595 | stroke-linejoin="round" | 491 | stroke-linejoin="round" |
596 | stroke-width="2" | 492 | stroke-width="2" |
597 | viewBox="0 0 24 24" | 493 | viewBox="0 0 24 24" |
598 | stroke="currentColor" | 494 | stroke="currentColor" |
599 | > | 495 | > |
600 | <path | 496 | <path |
601 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" | 497 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" |
602 | ></path> | 498 | ></path> |
603 | </svg> | 499 | </svg> |
604 | <span class="ml-4">Работодатели</span> | 500 | <span class="ml-4">Работодатели</span> |
605 | </a> | 501 | </a> |
606 | </li> | 502 | </li> |
607 | <li class="relative px-6 py-3"> | 503 | <li class="relative px-6 py-3"> |
608 | <a | 504 | <a |
609 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 505 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
610 | href="{{ route('admin.workers') }}" | 506 | href="{{ route('admin.workers') }}" |
611 | > | 507 | > |
612 | <svg | 508 | <svg |
613 | class="w-5 h-5" | 509 | class="w-5 h-5" |
614 | aria-hidden="true" | 510 | aria-hidden="true" |
615 | fill="none" | 511 | fill="none" |
616 | stroke-linecap="round" | 512 | stroke-linecap="round" |
617 | stroke-linejoin="round" | 513 | stroke-linejoin="round" |
618 | stroke-width="2" | 514 | stroke-width="2" |
619 | viewBox="0 0 24 24" | 515 | viewBox="0 0 24 24" |
620 | stroke="currentColor" | 516 | stroke="currentColor" |
621 | > | 517 | > |
622 | <path | 518 | <path |
623 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 519 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
624 | ></path> | 520 | ></path> |
625 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 521 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
626 | </svg> | 522 | </svg> |
627 | <span class="ml-4">Соискатели</span> | 523 | <span class="ml-4">Соискатели</span> |
628 | </a> | 524 | </a> |
629 | </li> | 525 | </li> |
630 | <li class="relative px-6 py-3"> | 526 | <li class="relative px-6 py-3"> |
631 | <a | 527 | <a |
632 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 528 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
633 | href="{{ route('admin.ad-employers') }}" | 529 | href="{{ route('admin.ad-employers') }}" |
634 | > | 530 | > |
635 | <svg | 531 | <svg |
636 | class="w-5 h-5" | 532 | class="w-5 h-5" |
637 | aria-hidden="true" | 533 | aria-hidden="true" |
638 | fill="none" | 534 | fill="none" |
639 | stroke-linecap="round" | 535 | stroke-linecap="round" |
640 | stroke-linejoin="round" | 536 | stroke-linejoin="round" |
641 | stroke-width="2" | 537 | stroke-width="2" |
642 | viewBox="0 0 24 24" | 538 | viewBox="0 0 24 24" |
643 | stroke="currentColor" | 539 | stroke="currentColor" |
644 | > | 540 | > |
645 | <path | 541 | <path |
646 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 542 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
647 | ></path> | 543 | ></path> |
648 | </svg> | 544 | </svg> |
649 | <span class="ml-4">Вакансии</span> | 545 | <span class="ml-4">Вакансии</span> |
650 | </a> | 546 | </a> |
651 | </li> | 547 | </li> |
652 | <li class="relative px-6 py-3"> | 548 | <li class="relative px-6 py-3"> |
653 | <a | 549 | <a |
654 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 550 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
655 | <<<<<<< HEAD | ||
656 | href="{{ route('admin.categories') }}" | ||
657 | ======= | ||
658 | href="{{ route('admin.messages') }}" | 551 | href="{{ route('admin.messages') }}" |
659 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
660 | > | 552 | > |
661 | <svg | 553 | <svg |
662 | class="w-5 h-5" | 554 | class="w-5 h-5" |
663 | aria-hidden="true" | 555 | aria-hidden="true" |
664 | fill="none" | 556 | fill="none" |
665 | stroke-linecap="round" | 557 | stroke-linecap="round" |
666 | stroke-linejoin="round" | 558 | stroke-linejoin="round" |
667 | stroke-width="2" | 559 | stroke-width="2" |
668 | viewBox="0 0 24 24" | 560 | viewBox="0 0 24 24" |
669 | stroke="currentColor" | 561 | stroke="currentColor" |
670 | > | 562 | > |
671 | <<<<<<< HEAD | ||
672 | <path | ||
673 | d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" | ||
674 | ></path> | ||
675 | </svg> | ||
676 | <span class="ml-4">Категории</span> | ||
677 | </a> | ||
678 | </li> | ||
679 | <li class="relative px-6 py-3"> | ||
680 | <a | ||
681 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
682 | href="{{ route('admin.job-titles') }}" | ||
683 | > | ||
684 | ======= | ||
685 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 563 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
686 | </svg> | 564 | </svg> |
687 | <span class="ml-4">Сообщения</span> | 565 | <span class="ml-4">Сообщения</span> |
688 | </a> | 566 | </a> |
689 | </li> | 567 | </li> |
690 | <li class="relative px-6 py-3"> | 568 | <li class="relative px-6 py-3"> |
691 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 569 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
692 | href="{{ route('admin.groups') }}"> | 570 | href="{{ route('admin.groups') }}"> |
693 | <svg | 571 | <svg |
694 | class="w-5 h-5" | 572 | class="w-5 h-5" |
695 | aria-hidden="true" | 573 | aria-hidden="true" |
696 | fill="none" | 574 | fill="none" |
697 | stroke-linecap="round" | 575 | stroke-linecap="round" |
698 | stroke-linejoin="round" | 576 | stroke-linejoin="round" |
699 | stroke-width="2" | 577 | stroke-width="2" |
700 | viewBox="0 0 24 24" | 578 | viewBox="0 0 24 24" |
701 | stroke="currentColor" | 579 | stroke="currentColor" |
702 | > | 580 | > |
703 | <path | 581 | <path |
704 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 582 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
705 | ></path> | 583 | ></path> |
706 | </svg> | 584 | </svg> |
707 | <span class="ml-4">Группы пользователей</span> | 585 | <span class="ml-4">Группы пользователей</span> |
708 | </a> | 586 | </a> |
709 | </li> | 587 | </li> |
710 | <li class="relative px-6 py-3"> | 588 | <li class="relative px-6 py-3"> |
711 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 589 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
712 | href="{{ route('admin.roles') }}"> | 590 | href="{{ route('admin.roles') }}"> |
713 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
714 | <svg | 591 | <svg |
715 | class="w-5 h-5" | 592 | class="w-5 h-5" |
716 | aria-hidden="true" | 593 | aria-hidden="true" |
717 | fill="none" | 594 | fill="none" |
718 | stroke-linecap="round" | 595 | stroke-linecap="round" |
719 | stroke-linejoin="round" | 596 | stroke-linejoin="round" |
720 | stroke-width="2" | 597 | stroke-width="2" |
721 | viewBox="0 0 24 24" | 598 | viewBox="0 0 24 24" |
722 | stroke="currentColor" | 599 | stroke="currentColor" |
723 | > | 600 | > |
724 | <<<<<<< HEAD | ||
725 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | ||
726 | </svg> | ||
727 | <span class="ml-4">Должности</span> | ||
728 | ======= | ||
729 | <path | 601 | <path |
730 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 602 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
731 | ></path> | 603 | ></path> |
732 | </svg> | 604 | </svg> |
733 | <span class="ml-4">Роли пользователей</span> | 605 | <span class="ml-4">Роли пользователей</span> |
734 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
735 | </a> | 606 | </a> |
736 | </li> | 607 | </li> |
737 | <li class="relative px-6 py-3"> | 608 | <li class="relative px-6 py-3"> |
738 | <a | 609 | <a |
739 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 610 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
740 | <<<<<<< HEAD | ||
741 | href="{{ route('admin.messages') }}" | ||
742 | ======= | ||
743 | href="{{ route('admin.statics') }}" | 611 | href="{{ route('admin.statics') }}" |
744 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
745 | > | 612 | > |
746 | <svg | 613 | <svg |
747 | class="w-5 h-5" | 614 | class="w-5 h-5" |
748 | aria-hidden="true" | 615 | aria-hidden="true" |
749 | fill="none" | 616 | fill="none" |
750 | stroke-linecap="round" | 617 | stroke-linecap="round" |
751 | stroke-linejoin="round" | 618 | stroke-linejoin="round" |
752 | stroke-width="2" | 619 | stroke-width="2" |
753 | viewBox="0 0 24 24" | 620 | viewBox="0 0 24 24" |
754 | stroke="currentColor" | 621 | stroke="currentColor" |
755 | > | 622 | > |
756 | <<<<<<< HEAD | ||
757 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | ||
758 | </svg> | ||
759 | <span class="ml-4">Сообщения</span> | ||
760 | </a> | ||
761 | </li> | ||
762 | <li class="relative px-6 py-3"> | ||
763 | <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" | ||
764 | href="{{ route('admin.groups') }}"> | ||
765 | ======= | ||
766 | <path | 623 | <path |
767 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 624 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
768 | ></path> | 625 | ></path> |
769 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 626 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
770 | </svg> | 627 | </svg> |
771 | <span class="ml-4">Статистика</span> | 628 | <span class="ml-4">Статистика</span> |
772 | </a> | 629 | </a> |
773 | </li> | 630 | </li> |
774 | <li class="relative px-6 py-3"> | 631 | <li class="relative px-6 py-3"> |
775 | <a | 632 | <a |
776 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 633 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
777 | href="{{ route('admin.messages') }}" | 634 | href="{{ route('admin.messages') }}" |
778 | > | 635 | > |
779 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
780 | <svg | 636 | <svg |
781 | class="w-5 h-5" | 637 | class="w-5 h-5" |
782 | aria-hidden="true" | 638 | aria-hidden="true" |
783 | fill="none" | 639 | fill="none" |
784 | stroke-linecap="round" | 640 | stroke-linecap="round" |
785 | stroke-linejoin="round" | 641 | stroke-linejoin="round" |
786 | stroke-width="2" | 642 | stroke-width="2" |
787 | viewBox="0 0 24 24" | 643 | viewBox="0 0 24 24" |
788 | stroke="currentColor" | 644 | stroke="currentColor" |
789 | > | 645 | > |
790 | <<<<<<< HEAD | ||
791 | <path | ||
792 | 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" | ||
793 | ></path> | ||
794 | </svg> | ||
795 | <span class="ml-4">Группы пользователей</span> | ||
796 | </a> | ||
797 | </li> | ||
798 | ======= | ||
799 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 646 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
800 | </svg> | 647 | </svg> |
801 | <span class="ml-4">Сообщения</span> | 648 | <span class="ml-4">Сообщения</span> |
802 | </a> | 649 | </a> |
803 | </li> | 650 | </li> |
804 | <!-- Справочники --> | 651 | <!-- Справочники --> |
805 | <li class="relative px-6 py-3" x-data="{ open2: false }"> | 652 | <li class="relative px-6 py-3" x-data="{ open2: false }"> |
806 | <button | 653 | <button |
807 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 654 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
808 | @click="open2=!open2" | 655 | @click="open2=!open2" |
809 | aria-haspopup="true"> | 656 | aria-haspopup="true"> |
810 | <span class="inline-flex items-center"> | 657 | <span class="inline-flex items-center"> |
811 | <svg | 658 | <svg |
812 | class="w-5 h-5" | 659 | class="w-5 h-5" |
813 | aria-hidden="true" | 660 | aria-hidden="true" |
814 | fill="none" | 661 | fill="none" |
815 | stroke-linecap="round" | 662 | stroke-linecap="round" |
816 | stroke-linejoin="round" | 663 | stroke-linejoin="round" |
817 | stroke-width="2" | 664 | stroke-width="2" |
818 | viewBox="0 0 24 24" | 665 | viewBox="0 0 24 24" |
819 | stroke="currentColor"> | 666 | stroke="currentColor"> |
820 | <path | 667 | <path |
821 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 668 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
822 | ></path> | 669 | ></path> |
823 | </svg> | 670 | </svg> |
824 | <span class="ml-4">Справочники</span> | 671 | <span class="ml-4">Справочники</span> |
825 | </span> | 672 | </span> |
826 | <svg | 673 | <svg |
827 | class="w-4 h-4" | 674 | class="w-4 h-4" |
828 | aria-hidden="true" | 675 | aria-hidden="true" |
829 | fill="currentColor" | 676 | fill="currentColor" |
830 | viewBox="0 0 20 20" | 677 | viewBox="0 0 20 20" |
831 | > | 678 | > |
832 | <path | 679 | <path |
833 | fill-rule="evenodd" | 680 | fill-rule="evenodd" |
834 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 681 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
835 | clip-rule="evenodd" | 682 | clip-rule="evenodd" |
836 | ></path> | 683 | ></path> |
837 | </svg> | 684 | </svg> |
838 | </button> | 685 | </button> |
839 | <template x-if="open2"> | 686 | <template x-if="open2"> |
840 | <ul | 687 | <ul |
841 | x-transition:enter="transition-all ease-in-out duration-300" | 688 | x-transition:enter="transition-all ease-in-out duration-300" |
842 | x-transition:enter-start="opacity-25 max-h-0" | 689 | x-transition:enter-start="opacity-25 max-h-0" |
843 | x-transition:enter-end="opacity-100 max-h-xl" | 690 | x-transition:enter-end="opacity-100 max-h-xl" |
844 | x-transition:leave="transition-all ease-in-out duration-300" | 691 | x-transition:leave="transition-all ease-in-out duration-300" |
845 | x-transition:leave-start="opacity-100 max-h-xl" | 692 | x-transition:leave-start="opacity-100 max-h-xl" |
846 | x-transition:leave-end="opacity-0 max-h-0" | 693 | x-transition:leave-end="opacity-0 max-h-0" |
847 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 694 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
848 | aria-label="submenu" | 695 | aria-label="submenu" |
849 | > | 696 | > |
850 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 697 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
851 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 698 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
852 | </li> | 699 | </li> |
853 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 700 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
854 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a> | 701 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории</a> |
855 | </li> | 702 | </li> |
856 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 703 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
857 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 704 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
858 | </li> | 705 | </li> |
859 | 706 | ||
860 | </ul> | 707 | </ul> |
861 | </template> | 708 | </template> |
862 | </li> | 709 | </li> |
863 | 710 | ||
864 | 711 | ||
865 | <!-- Редактор --> | 712 | <!-- Редактор --> |
866 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
867 | <li class="relative px-6 py-3"> | 713 | <li class="relative px-6 py-3"> |
868 | <button | 714 | <button |
869 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 715 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
870 | @click="togglePagesMenu" | 716 | @click="togglePagesMenu" |
871 | aria-haspopup="true" | 717 | aria-haspopup="true" |
872 | > | 718 | > |
873 | <span class="inline-flex items-center"> | 719 | <span class="inline-flex items-center"> |
874 | <svg | 720 | <svg |
875 | class="w-5 h-5" | 721 | class="w-5 h-5" |
876 | aria-hidden="true" | 722 | aria-hidden="true" |
877 | fill="none" | 723 | fill="none" |
878 | stroke-linecap="round" | 724 | stroke-linecap="round" |
879 | stroke-linejoin="round" | 725 | stroke-linejoin="round" |
880 | stroke-width="2" | 726 | stroke-width="2" |
881 | viewBox="0 0 24 24" | 727 | viewBox="0 0 24 24" |
882 | stroke="currentColor" | 728 | stroke="currentColor" |
883 | > | 729 | > |
884 | <path | 730 | <path |
885 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 731 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
886 | ></path> | 732 | ></path> |
887 | </svg> | 733 | </svg> |
888 | <<<<<<< HEAD | ||
889 | <span class="ml-4">Страницы</span> | ||
890 | ======= | ||
891 | <span class="ml-4">Редактор</span> | 734 | <span class="ml-4">Редактор</span> |
892 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
893 | </span> | 735 | </span> |
894 | <svg | 736 | <svg |
895 | class="w-4 h-4" | 737 | class="w-4 h-4" |
896 | aria-hidden="true" | 738 | aria-hidden="true" |
897 | fill="currentColor" | 739 | fill="currentColor" |
898 | viewBox="0 0 20 20" | 740 | viewBox="0 0 20 20" |
899 | > | 741 | > |
900 | <path | 742 | <path |
901 | fill-rule="evenodd" | 743 | fill-rule="evenodd" |
902 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 744 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
903 | clip-rule="evenodd" | 745 | clip-rule="evenodd" |
904 | ></path> | 746 | ></path> |
905 | </svg> | 747 | </svg> |
906 | </button> | 748 | </button> |
907 | <template x-if="isPagesMenuOpen"> | 749 | <template x-if="isPagesMenuOpen"> |
908 | <ul | 750 | <ul |
909 | x-transition:enter="transition-all ease-in-out duration-300" | 751 | x-transition:enter="transition-all ease-in-out duration-300" |
910 | x-transition:enter-start="opacity-25 max-h-0" | 752 | x-transition:enter-start="opacity-25 max-h-0" |
911 | x-transition:enter-end="opacity-100 max-h-xl" | 753 | x-transition:enter-end="opacity-100 max-h-xl" |
912 | x-transition:leave="transition-all ease-in-out duration-300" | 754 | x-transition:leave="transition-all ease-in-out duration-300" |
913 | x-transition:leave-start="opacity-100 max-h-xl" | 755 | x-transition:leave-start="opacity-100 max-h-xl" |
914 | x-transition:leave-end="opacity-0 max-h-0" | 756 | x-transition:leave-end="opacity-0 max-h-0" |
915 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 757 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
916 | aria-label="submenu" | 758 | aria-label="submenu" |
917 | > | 759 | > |
918 | <<<<<<< HEAD | ||
919 | <li | ||
920 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
921 | > | ||
922 | <a class="w-full" href="pages/login.html">Login</a> | ||
923 | </li> | ||
924 | <li | ||
925 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
926 | > | ||
927 | <a class="w-full" href="pages/create-account.html"> | ||
928 | Create account | ||
929 | </a> | ||
930 | </li> | ||
931 | <li | ||
932 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
933 | > | ||
934 | <a class="w-full" href="pages/forgot-password.html"> | ||
935 | Forgot password | ||
936 | </a> | ||
937 | </li> | ||
938 | <li | ||
939 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
940 | > | ||
941 | <a class="w-full" href="pages/404.html">404</a> | ||
942 | </li> | ||
943 | <li | ||
944 | class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | ||
945 | > | ||
946 | <a class="w-full" href="pages/blank.html">Blank</a> | ||
947 | </li> | ||
948 | ======= | ||
949 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 760 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
950 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 761 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
951 | </li> | 762 | </li> |
952 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 763 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
953 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 764 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
954 | </li> | 765 | </li> |
955 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 766 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
956 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> | 767 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> |
957 | </li> | 768 | </li> |
958 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 769 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
959 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 770 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
960 | </li> | 771 | </li> |
961 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 772 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
962 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 773 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
963 | </li> | 774 | </li> |
964 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 775 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
965 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 776 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
966 | </li> | 777 | </li> |
967 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | 778 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> |
968 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 779 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
969 | </li> | 780 | </li> |
970 | 781 | ||
971 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
972 | </ul> | 782 | </ul> |
973 | </template> | 783 | </template> |
974 | </li> | 784 | </li> |
975 | </ul> | 785 | </ul> |
976 | <!--<div class="px-6 my-6"> | 786 | <!--<div class="px-6 my-6"> |
977 | <button class="flex items-center justify-between px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"> | 787 | <button class="flex items-center justify-between px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"> |
978 | Create account | 788 | Create account |
979 | <span class="ml-2" aria-hidden="true">+</span> | 789 | <span class="ml-2" aria-hidden="true">+</span> |
980 | </button> | 790 | </button> |
981 | </div>--> | 791 | </div>--> |
982 | </div> | 792 | </div> |
983 | </aside> | 793 | </aside> |
984 | <div class="flex flex-col flex-1 w-full"> | 794 | <div class="flex flex-col flex-1 w-full"> |
985 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> | 795 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> |
986 | <div | 796 | <div |
987 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" | 797 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" |
988 | > | 798 | > |
989 | <!-- Mobile hamburger --> | 799 | <!-- Mobile hamburger --> |
990 | <button | 800 | <button |
991 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" | 801 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" |
992 | @click="toggleSideMenu" | 802 | @click="toggleSideMenu" |
993 | aria-label="Menu" | 803 | aria-label="Menu" |
994 | > | 804 | > |
995 | <svg | 805 | <svg |
996 | class="w-6 h-6" | 806 | class="w-6 h-6" |
997 | aria-hidden="true" | 807 | aria-hidden="true" |
998 | fill="currentColor" | 808 | fill="currentColor" |
999 | viewBox="0 0 20 20" | 809 | viewBox="0 0 20 20" |
1000 | > | 810 | > |
1001 | <path | 811 | <path |
1002 | fill-rule="evenodd" | 812 | fill-rule="evenodd" |
1003 | d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" | 813 | d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" |
1004 | clip-rule="evenodd" | 814 | clip-rule="evenodd" |
1005 | ></path> | 815 | ></path> |
1006 | </svg> | 816 | </svg> |
1007 | </button> | 817 | </button> |
1008 | <!-- Search input --> | 818 | <!-- Search input --> |
1009 | <div class="flex justify-center flex-1 lg:mr-32"> | 819 | <div class="flex justify-center flex-1 lg:mr-32"> |
1010 | <div | 820 | <div |
1011 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" | 821 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" |
1012 | > | 822 | > |
1013 | <<<<<<< HEAD | ||
1014 | <div class="absolute inset-y-0 flex items-center pl-2"> | ||
1015 | <svg | ||
1016 | class="w-4 h-4" | ||
1017 | aria-hidden="true" | ||
1018 | fill="currentColor" | ||
1019 | viewBox="0 0 20 20" | ||
1020 | > | ||
1021 | <path | ||
1022 | fill-rule="evenodd" | ||
1023 | d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" | ||
1024 | clip-rule="evenodd" | ||
1025 | ></path> | ||
1026 | </svg> | ||
1027 | </div> | ||
1028 | <input | ||
1029 | class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input" | ||
1030 | type="text" | ||
1031 | placeholder="Искать..." | ||
1032 | aria-label="Search" | ||
1033 | /> | ||
1034 | ======= | ||
1035 | 823 | ||
1036 | @yield('search') | 824 | @yield('search') |
1037 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
1038 | </div> | 825 | </div> |
1039 | </div> | 826 | </div> |
1040 | <ul class="flex items-center flex-shrink-0 space-x-6"> | 827 | <ul class="flex items-center flex-shrink-0 space-x-6"> |
1041 | <!-- Theme toggler --> | 828 | <!-- Theme toggler --> |
1042 | <li class="flex"> | 829 | <li class="flex"> |
1043 | <button | 830 | <button |
1044 | class="rounded-md focus:outline-none focus:shadow-outline-purple" | 831 | class="rounded-md focus:outline-none focus:shadow-outline-purple" |
1045 | @click="toggleTheme" | 832 | @click="toggleTheme" |
1046 | aria-label="Toggle color mode" | 833 | aria-label="Toggle color mode" |
1047 | > | 834 | > |
1048 | <template x-if="!dark"> | 835 | <template x-if="!dark"> |
1049 | <svg | 836 | <svg |
1050 | class="w-5 h-5" | 837 | class="w-5 h-5" |
1051 | aria-hidden="true" | 838 | aria-hidden="true" |
1052 | fill="currentColor" | 839 | fill="currentColor" |
1053 | viewBox="0 0 20 20" | 840 | viewBox="0 0 20 20" |
1054 | > | 841 | > |
1055 | <path | 842 | <path |
1056 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" | 843 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" |
1057 | ></path> | 844 | ></path> |
1058 | </svg> | 845 | </svg> |
1059 | </template> | 846 | </template> |
1060 | <template x-if="dark"> | 847 | <template x-if="dark"> |
1061 | <svg | 848 | <svg |
1062 | class="w-5 h-5" | 849 | class="w-5 h-5" |
1063 | aria-hidden="true" | 850 | aria-hidden="true" |
1064 | fill="currentColor" | 851 | fill="currentColor" |
1065 | viewBox="0 0 20 20" | 852 | viewBox="0 0 20 20" |
1066 | > | 853 | > |
1067 | <path | 854 | <path |
1068 | fill-rule="evenodd" | 855 | fill-rule="evenodd" |
1069 | d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" | 856 | d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" |
1070 | clip-rule="evenodd" | 857 | clip-rule="evenodd" |
1071 | ></path> | 858 | ></path> |
1072 | </svg> | 859 | </svg> |
1073 | </template> | 860 | </template> |
1074 | </button> | 861 | </button> |
1075 | </li> | 862 | </li> |
1076 | <!-- Notifications menu --> | 863 | <!-- Notifications menu --> |
1077 | <li class="relative"> | 864 | <li class="relative"> |
1078 | <button | 865 | <button |
1079 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" | 866 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" |
1080 | @click="toggleNotificationsMenu" | 867 | @click="toggleNotificationsMenu" |
1081 | @keydown.escape="closeNotificationsMenu" | 868 | @keydown.escape="closeNotificationsMenu" |
1082 | aria-label="Notifications" | 869 | aria-label="Notifications" |
1083 | aria-haspopup="true" | 870 | aria-haspopup="true" |
1084 | > | 871 | > |
1085 | <svg | 872 | <svg |
1086 | class="w-5 h-5" | 873 | class="w-5 h-5" |
1087 | aria-hidden="true" | 874 | aria-hidden="true" |
1088 | fill="currentColor" | 875 | fill="currentColor" |
1089 | viewBox="0 0 20 20" | 876 | viewBox="0 0 20 20" |
1090 | > | 877 | > |
1091 | <path | 878 | <path |
1092 | d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z" | 879 | d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z" |
1093 | ></path> | 880 | ></path> |
1094 | </svg> | 881 | </svg> |
1095 | <!-- Notification badge --> | 882 | <!-- Notification badge --> |
1096 | <span | 883 | <span |
1097 | aria-hidden="true" | 884 | aria-hidden="true" |
1098 | class="absolute top-0 right-0 inline-block w-3 h-3 transform translate-x-1 -translate-y-1 bg-red-600 border-2 border-white rounded-full dark:border-gray-800" | 885 | class="absolute top-0 right-0 inline-block w-3 h-3 transform translate-x-1 -translate-y-1 bg-red-600 border-2 border-white rounded-full dark:border-gray-800" |
1099 | ></span> | 886 | ></span> |
1100 | </button> | 887 | </button> |
1101 | <template x-if="isNotificationsMenuOpen"> | 888 | <template x-if="isNotificationsMenuOpen"> |
1102 | <ul | 889 | <ul |
1103 | x-transition:leave="transition ease-in duration-150" | 890 | x-transition:leave="transition ease-in duration-150" |
1104 | x-transition:leave-start="opacity-100" | 891 | x-transition:leave-start="opacity-100" |
1105 | x-transition:leave-end="opacity-0" | 892 | x-transition:leave-end="opacity-0" |
1106 | @click.away="closeNotificationsMenu" | 893 | @click.away="closeNotificationsMenu" |
1107 | @keydown.escape="closeNotificationsMenu" | 894 | @keydown.escape="closeNotificationsMenu" |
1108 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:text-gray-300 dark:border-gray-700 dark:bg-gray-700" | 895 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:text-gray-300 dark:border-gray-700 dark:bg-gray-700" |
1109 | > | 896 | > |
1110 | <li class="flex"> | 897 | <li class="flex"> |
1111 | <a | 898 | <a |
1112 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 899 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1113 | href="#" | 900 | href="#" |
1114 | > | 901 | > |
1115 | <span>Сообщения</span> | 902 | <span>Сообщения</span> |
1116 | <span | 903 | <span |
1117 | class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-600 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-600" | 904 | class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-600 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-600" |
1118 | > | 905 | > |
1119 | 13 | 906 | 13 |
1120 | </span> | 907 | </span> |
1121 | </a> | 908 | </a> |
1122 | </li> | 909 | </li> |
1123 | <li class="flex"> | 910 | <li class="flex"> |
1124 | <a | 911 | <a |
1125 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 912 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1126 | href="#" | 913 | href="#" |
1127 | > | 914 | > |
1128 | <span>Логи</span> | 915 | <span>Логи</span> |
1129 | </a> | 916 | </a> |
1130 | </li> | 917 | </li> |
1131 | </ul> | 918 | </ul> |
1132 | </template> | 919 | </template> |
1133 | </li> | 920 | </li> |
1134 | <!-- Profile menu --> | 921 | <!-- Profile menu --> |
1135 | <li class="relative"> | 922 | <li class="relative"> |
1136 | <button | 923 | <button |
1137 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" | 924 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" |
1138 | @click="toggleProfileMenu" | 925 | @click="toggleProfileMenu" |
1139 | @keydown.escape="closeProfileMenu" | 926 | @keydown.escape="closeProfileMenu" |
1140 | aria-label="Account" | 927 | aria-label="Account" |
1141 | aria-haspopup="true" | 928 | aria-haspopup="true" |
1142 | > | 929 | > |
1143 | <img | 930 | <img |
1144 | class="object-cover w-8 h-8 rounded-full" | 931 | class="object-cover w-8 h-8 rounded-full" |
1145 | src="{{ asset('assets/img/profile.jpg') }}" | 932 | src="{{ asset('assets/img/profile.jpg') }}" |
1146 | alt="" | 933 | alt="" |
1147 | aria-hidden="true" | 934 | aria-hidden="true" |
1148 | /> | 935 | /> |
1149 | </button> | 936 | </button> |
1150 | <template x-if="isProfileMenuOpen"> | 937 | <template x-if="isProfileMenuOpen"> |
1151 | <ul | 938 | <ul |
1152 | x-transition:leave="transition ease-in duration-150" | 939 | x-transition:leave="transition ease-in duration-150" |
1153 | x-transition:leave-start="opacity-100" | 940 | x-transition:leave-start="opacity-100" |
1154 | x-transition:leave-end="opacity-0" | 941 | x-transition:leave-end="opacity-0" |
1155 | @click.away="closeProfileMenu" | 942 | @click.away="closeProfileMenu" |
1156 | @keydown.escape="closeProfileMenu" | 943 | @keydown.escape="closeProfileMenu" |
1157 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:border-gray-700 dark:text-gray-300 dark:bg-gray-700" | 944 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:border-gray-700 dark:text-gray-300 dark:bg-gray-700" |
1158 | aria-label="submenu" | 945 | aria-label="submenu" |
1159 | > | 946 | > |
1160 | <li class="flex"> | 947 | <li class="flex"> |
1161 | <a | 948 | <a |
1162 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 949 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1163 | href="{{ route('admin.profile') }}" | 950 | href="{{ route('admin.profile') }}" |
1164 | > | 951 | > |
1165 | <svg | 952 | <svg |
1166 | class="w-4 h-4 mr-3" | 953 | class="w-4 h-4 mr-3" |
1167 | aria-hidden="true" | 954 | aria-hidden="true" |
1168 | fill="none" | 955 | fill="none" |
1169 | stroke-linecap="round" | 956 | stroke-linecap="round" |
1170 | stroke-linejoin="round" | 957 | stroke-linejoin="round" |
1171 | stroke-width="2" | 958 | stroke-width="2" |
1172 | viewBox="0 0 24 24" | 959 | viewBox="0 0 24 24" |
1173 | stroke="currentColor" | 960 | stroke="currentColor" |
1174 | > | 961 | > |
1175 | <path | 962 | <path |
1176 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" | 963 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" |
1177 | ></path> | 964 | ></path> |
1178 | </svg> | 965 | </svg> |
1179 | <span>Профиль</span> | 966 | <span>Профиль</span> |
1180 | </a> | 967 | </a> |
1181 | </li> | 968 | </li> |
1182 | <li class="flex"> | 969 | <li class="flex"> |
1183 | <a | 970 | <a |
1184 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 971 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1185 | href="{{ route('admin.config') }}" | 972 | href="{{ route('admin.config') }}" |
1186 | > | 973 | > |
1187 | <svg | 974 | <svg |
1188 | class="w-4 h-4 mr-3" | 975 | class="w-4 h-4 mr-3" |
1189 | aria-hidden="true" | 976 | aria-hidden="true" |
1190 | fill="none" | 977 | fill="none" |
1191 | stroke-linecap="round" | 978 | stroke-linecap="round" |
1192 | stroke-linejoin="round" | 979 | stroke-linejoin="round" |
1193 | stroke-width="2" | 980 | stroke-width="2" |
1194 | viewBox="0 0 24 24" | 981 | viewBox="0 0 24 24" |
1195 | stroke="currentColor" | 982 | stroke="currentColor" |
1196 | > | 983 | > |
1197 | <path | 984 | <path |
1198 | d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" | 985 | d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" |
1199 | ></path> | 986 | ></path> |
1200 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> | 987 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> |
1201 | </svg> | 988 | </svg> |
1202 | <span>Настройки</span> | 989 | <span>Настройки</span> |
1203 | </a> | 990 | </a> |
1204 | </li> | 991 | </li> |
1205 | <li class="flex"> | 992 | <li class="flex"> |
1206 | <a | 993 | <a |
1207 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 994 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1208 | href="{{ route('admin.logout') }}" | 995 | href="{{ route('admin.logout') }}" |
1209 | > | 996 | > |
1210 | <svg | 997 | <svg |
1211 | class="w-4 h-4 mr-3" | 998 | class="w-4 h-4 mr-3" |
1212 | aria-hidden="true" | 999 | aria-hidden="true" |
1213 | fill="none" | 1000 | fill="none" |
1214 | stroke-linecap="round" | 1001 | stroke-linecap="round" |
1215 | stroke-linejoin="round" | 1002 | stroke-linejoin="round" |
1216 | stroke-width="2" | 1003 | stroke-width="2" |
1217 | viewBox="0 0 24 24" | 1004 | viewBox="0 0 24 24" |
1218 | stroke="currentColor" | 1005 | stroke="currentColor" |
1219 | > | 1006 | > |
1220 | <path | 1007 | <path |
1221 | d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1" | 1008 | d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1" |
1222 | ></path> | 1009 | ></path> |
1223 | </svg> | 1010 | </svg> |
1224 | <span>Выход</span> | 1011 | <span>Выход</span> |
1225 | </a> | 1012 | </a> |
1226 | </li> | 1013 | </li> |
1227 | </ul> | 1014 | </ul> |
1228 | </template> | 1015 | </template> |
1229 | </li> | 1016 | </li> |
1230 | </ul> | 1017 | </ul> |
1231 | </div> | 1018 | </div> |
1232 | </header> | 1019 | </header> |
1233 | <main class="h-full overflow-y-auto"> | 1020 | <main class="h-full overflow-y-auto"> |
1234 | <div class="container px-6 mx-auto grid"> | 1021 | <div class="container px-6 mx-auto grid"> |
1235 | <h2 | 1022 | <h2 |
1236 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" | 1023 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" |
1237 | > | 1024 | > |
1238 | {{$title}} | 1025 | {{$title}} |
1239 | </h2> | 1026 | </h2> |
1240 | <!-- CTA --> | 1027 | <!-- CTA --> |
1241 | <a | 1028 | <a |
1242 | class="flex items-center justify-between p-4 mb-8 text-sm font-semibold text-purple-100 bg-purple-600 rounded-lg shadow-md focus:outline-none focus:shadow-outline-purple" | 1029 | class="flex items-center justify-between p-4 mb-8 text-sm font-semibold text-purple-100 bg-purple-600 rounded-lg shadow-md focus:outline-none focus:shadow-outline-purple" |
1243 | href="{{ route('admin.admin-users') }}" | 1030 | href="{{ route('admin.admin-users') }}" |
1244 | > | 1031 | > |
1245 | <div class="flex items-center"> | 1032 | <div class="flex items-center"> |
1246 | <svg | 1033 | <svg |
1247 | class="w-5 h-5 mr-2" | 1034 | class="w-5 h-5 mr-2" |
1248 | fill="currentColor" | 1035 | fill="currentColor" |
1249 | viewBox="0 0 20 20" | 1036 | viewBox="0 0 20 20" |
1250 | > | 1037 | > |
1251 | <path | 1038 | <path |
1252 | d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" | 1039 | d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" |
1253 | ></path> | 1040 | ></path> |
1254 | </svg> | 1041 | </svg> |
1255 | <span>Вход в админку только для пользователей-админов</span> | 1042 | <span>Вход в админку только для пользователей-админов</span> |
1256 | </div> | 1043 | </div> |
1257 | <span>Список админов →</span> | 1044 | <span>Список админов →</span> |
1258 | </a> | 1045 | </a> |
1259 | 1046 | ||
1260 | <<<<<<< HEAD | ||
1261 | ======= | ||
1262 | @if ($message = Session::get('success')) | 1047 | @if ($message = Session::get('success')) |
1263 | <section> | 1048 | <section> |
1264 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> | 1049 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> |
1265 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1050 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1266 | <span aria-hidden="true">×</span> | 1051 | <span aria-hidden="true">×</span> |
1267 | </button> | 1052 | </button> |
1268 | {{ $message }} | 1053 | {{ $message }} |
1269 | </div> | 1054 | </div> |
1270 | </section> | 1055 | </section> |
1271 | @endif | 1056 | @endif |
1272 | 1057 | ||
1273 | @if ($errors->any()) | 1058 | @if ($errors->any()) |
1274 | <section> | 1059 | <section> |
1275 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> | 1060 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> |
1276 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1061 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1277 | <span aria-hidden="true">×</span> | 1062 | <span aria-hidden="true">×</span> |
1278 | </button> | 1063 | </button> |
1279 | <ul class="mb-0"> | 1064 | <ul class="mb-0"> |
1280 | @foreach ($errors->all() as $error) | 1065 | @foreach ($errors->all() as $error) |
1281 | <li>{{ $error }}</li> | 1066 | <li>{{ $error }}</li> |
1282 | @endforeach | 1067 | @endforeach |
1283 | </ul> | 1068 | </ul> |
1284 | </div> | 1069 | </div> |
1285 | </section> | 1070 | </section> |
1286 | @endif | 1071 | @endif |
1287 | 1072 | ||
1288 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
1289 | @yield('content') | 1073 | @yield('content') |
1290 | 1074 | ||
1291 | <!-- Cards | 1075 | <!-- Cards |
1292 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> | 1076 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> |
1293 | 1077 | ||
1294 | <div | 1078 | <div |
1295 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1079 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1296 | > | 1080 | > |
1297 | <div | 1081 | <div |
1298 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" | 1082 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" |
1299 | > | 1083 | > |
1300 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1084 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1301 | <path | 1085 | <path |
1302 | d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z" | 1086 | d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z" |
1303 | ></path> | 1087 | ></path> |
1304 | </svg> | 1088 | </svg> |
1305 | </div> | 1089 | </div> |
1306 | <div> | 1090 | <div> |
1307 | <p | 1091 | <p |
1308 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1092 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1309 | > | 1093 | > |
1310 | Total clients | 1094 | Total clients |
1311 | </p> | 1095 | </p> |
1312 | <p | 1096 | <p |
1313 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1097 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1314 | > | 1098 | > |
1315 | 6389 | 1099 | 6389 |
1316 | </p> | 1100 | </p> |
1317 | </div> | 1101 | </div> |
1318 | </div> | 1102 | </div> |
1319 | 1103 | ||
1320 | <div | 1104 | <div |
1321 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1105 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1322 | > | 1106 | > |
1323 | <div | 1107 | <div |
1324 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" | 1108 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" |
1325 | > | 1109 | > |
1326 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1110 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1327 | <path | 1111 | <path |
1328 | fill-rule="evenodd" | 1112 | fill-rule="evenodd" |
1329 | d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" | 1113 | d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" |
1330 | clip-rule="evenodd" | 1114 | clip-rule="evenodd" |
1331 | ></path> | 1115 | ></path> |
1332 | </svg> | 1116 | </svg> |
1333 | </div> | 1117 | </div> |
1334 | <div> | 1118 | <div> |
1335 | <p | 1119 | <p |
1336 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1120 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1337 | > | 1121 | > |
1338 | Account balance | 1122 | Account balance |
1339 | </p> | 1123 | </p> |
1340 | <p | 1124 | <p |
1341 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1125 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1342 | > | 1126 | > |
1343 | $ 46,760.89 | 1127 | $ 46,760.89 |
1344 | </p> | 1128 | </p> |
1345 | </div> | 1129 | </div> |
1346 | </div> | 1130 | </div> |
1347 | 1131 | ||
1348 | <div | 1132 | <div |
1349 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1133 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1350 | > | 1134 | > |
1351 | <div | 1135 | <div |
1352 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" | 1136 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" |
1353 | > | 1137 | > |
1354 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1138 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1355 | <path | 1139 | <path |
1356 | d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z" | 1140 | d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z" |
1357 | ></path> | 1141 | ></path> |
1358 | </svg> | 1142 | </svg> |
1359 | </div> | 1143 | </div> |
1360 | <div> | 1144 | <div> |
1361 | <p | 1145 | <p |
1362 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1146 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1363 | > | 1147 | > |
1364 | New sales | 1148 | New sales |
1365 | </p> | 1149 | </p> |
1366 | <p | 1150 | <p |
1367 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1151 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1368 | > | 1152 | > |
1369 | 376 | 1153 | 376 |
1370 | </p> | 1154 | </p> |
1371 | </div> | 1155 | </div> |
1372 | </div> | 1156 | </div> |
1373 | 1157 | ||
1374 | <div | 1158 | <div |
1375 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1159 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1376 | > | 1160 | > |
1377 | <div | 1161 | <div |
1378 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" | 1162 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" |
1379 | > | 1163 | > |
1380 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1164 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1381 | <path | 1165 | <path |
1382 | fill-rule="evenodd" | 1166 | fill-rule="evenodd" |
1383 | d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" | 1167 | d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" |
1384 | clip-rule="evenodd" | 1168 | clip-rule="evenodd" |
1385 | ></path> | 1169 | ></path> |
1386 | </svg> | 1170 | </svg> |
1387 | </div> | 1171 | </div> |
1388 | <div> | 1172 | <div> |
1389 | <p | 1173 | <p |
1390 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1174 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1391 | > | 1175 | > |
1392 | Pending contacts | 1176 | Pending contacts |
1393 | </p> | 1177 | </p> |
1394 | <p | 1178 | <p |
1395 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1179 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1396 | > | 1180 | > |
1397 | 35 | 1181 | 35 |
1398 | </p> | 1182 | </p> |
1399 | </div> | 1183 | </div> |
1400 | </div> | 1184 | </div> |
1401 | </div> | 1185 | </div> |
1402 | --> | 1186 | --> |
1403 | <!-- New Table | 1187 | <!-- New Table |
1404 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | 1188 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> |
1405 | <div class="w-full overflow-x-auto"> | 1189 | <div class="w-full overflow-x-auto"> |
1406 | <table class="w-full whitespace-no-wrap"> | 1190 | <table class="w-full whitespace-no-wrap"> |
1407 | <thead> | 1191 | <thead> |
1408 | <tr | 1192 | <tr |
1409 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" | 1193 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" |
1410 | > | 1194 | > |
1411 | <th class="px-4 py-3">Client</th> | 1195 | <th class="px-4 py-3">Client</th> |
1412 | <th class="px-4 py-3">Amount</th> | 1196 | <th class="px-4 py-3">Amount</th> |
1413 | <th class="px-4 py-3">Status</th> | 1197 | <th class="px-4 py-3">Status</th> |
1414 | <th class="px-4 py-3">Date</th> | 1198 | <th class="px-4 py-3">Date</th> |
1415 | </tr> | 1199 | </tr> |
1416 | </thead> | 1200 | </thead> |
1417 | <tbody | 1201 | <tbody |
1418 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" | 1202 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" |
1419 | > | 1203 | > |
1420 | <tr class="text-gray-700 dark:text-gray-400"> | 1204 | <tr class="text-gray-700 dark:text-gray-400"> |
1421 | <td class="px-4 py-3"> | 1205 | <td class="px-4 py-3"> |
1422 | <div class="flex items-center text-sm"> | 1206 | <div class="flex items-center text-sm"> |
1423 | 1207 | ||
1424 | <div | 1208 | <div |
1425 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1209 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1426 | > | 1210 | > |
1427 | <img | 1211 | <img |
1428 | class="object-cover w-full h-full rounded-full" | 1212 | class="object-cover w-full h-full rounded-full" |
1429 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1213 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1430 | alt="" | 1214 | alt="" |
1431 | loading="lazy" | 1215 | loading="lazy" |
1432 | /> | 1216 | /> |
1433 | <div | 1217 | <div |
1434 | class="absolute inset-0 rounded-full shadow-inner" | 1218 | class="absolute inset-0 rounded-full shadow-inner" |
1435 | aria-hidden="true" | 1219 | aria-hidden="true" |
1436 | ></div> | 1220 | ></div> |
1437 | </div> | 1221 | </div> |
1438 | <div> | 1222 | <div> |
1439 | <p class="font-semibold">Hans Burger</p> | 1223 | <p class="font-semibold">Hans Burger</p> |
1440 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1224 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1441 | 10x Developer | 1225 | 10x Developer |
1442 | </p> | 1226 | </p> |
1443 | </div> | 1227 | </div> |
1444 | </div> | 1228 | </div> |
1445 | </td> | 1229 | </td> |
1446 | <td class="px-4 py-3 text-sm"> | 1230 | <td class="px-4 py-3 text-sm"> |
1447 | $ 863.45 | 1231 | $ 863.45 |
1448 | </td> | 1232 | </td> |
1449 | <td class="px-4 py-3 text-xs"> | 1233 | <td class="px-4 py-3 text-xs"> |
1450 | <span | 1234 | <span |
1451 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1235 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1452 | > | 1236 | > |
1453 | Approved | 1237 | Approved |
1454 | </span> | 1238 | </span> |
1455 | </td> | 1239 | </td> |
1456 | <td class="px-4 py-3 text-sm"> | 1240 | <td class="px-4 py-3 text-sm"> |
1457 | 6/10/2020 | 1241 | 6/10/2020 |
1458 | </td> | 1242 | </td> |
1459 | </tr> | 1243 | </tr> |
1460 | 1244 | ||
1461 | <tr class="text-gray-700 dark:text-gray-400"> | 1245 | <tr class="text-gray-700 dark:text-gray-400"> |
1462 | <td class="px-4 py-3"> | 1246 | <td class="px-4 py-3"> |
1463 | <div class="flex items-center text-sm"> | 1247 | <div class="flex items-center text-sm"> |
1464 | 1248 | ||
1465 | <div | 1249 | <div |
1466 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1250 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1467 | > | 1251 | > |
1468 | <img | 1252 | <img |
1469 | class="object-cover w-full h-full rounded-full" | 1253 | class="object-cover w-full h-full rounded-full" |
1470 | src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&facepad=3&fit=facearea&s=707b9c33066bf8808c934c8ab394dff6" | 1254 | src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&facepad=3&fit=facearea&s=707b9c33066bf8808c934c8ab394dff6" |
1471 | alt="" | 1255 | alt="" |
1472 | loading="lazy" | 1256 | loading="lazy" |
1473 | /> | 1257 | /> |
1474 | <div | 1258 | <div |
1475 | class="absolute inset-0 rounded-full shadow-inner" | 1259 | class="absolute inset-0 rounded-full shadow-inner" |
1476 | aria-hidden="true" | 1260 | aria-hidden="true" |
1477 | ></div> | 1261 | ></div> |
1478 | </div> | 1262 | </div> |
1479 | <div> | 1263 | <div> |
1480 | <p class="font-semibold">Jolina Angelie</p> | 1264 | <p class="font-semibold">Jolina Angelie</p> |
1481 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1265 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1482 | Unemployed | 1266 | Unemployed |
1483 | </p> | 1267 | </p> |
1484 | </div> | 1268 | </div> |
1485 | </div> | 1269 | </div> |
1486 | </td> | 1270 | </td> |
1487 | <td class="px-4 py-3 text-sm"> | 1271 | <td class="px-4 py-3 text-sm"> |
1488 | $ 369.95 | 1272 | $ 369.95 |
1489 | </td> | 1273 | </td> |
1490 | <td class="px-4 py-3 text-xs"> | 1274 | <td class="px-4 py-3 text-xs"> |
1491 | <span | 1275 | <span |
1492 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" | 1276 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" |
1493 | > | 1277 | > |
1494 | Pending | 1278 | Pending |
1495 | </span> | 1279 | </span> |
1496 | </td> | 1280 | </td> |
1497 | <td class="px-4 py-3 text-sm"> | 1281 | <td class="px-4 py-3 text-sm"> |
1498 | 6/10/2020 | 1282 | 6/10/2020 |
1499 | </td> | 1283 | </td> |
1500 | </tr> | 1284 | </tr> |
1501 | 1285 | ||
1502 | <tr class="text-gray-700 dark:text-gray-400"> | 1286 | <tr class="text-gray-700 dark:text-gray-400"> |
1503 | <td class="px-4 py-3"> | 1287 | <td class="px-4 py-3"> |
1504 | <div class="flex items-center text-sm"> | 1288 | <div class="flex items-center text-sm"> |
1505 | 1289 | ||
1506 | <div | 1290 | <div |
1507 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1291 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1508 | > | 1292 | > |
1509 | <img | 1293 | <img |
1510 | class="object-cover w-full h-full rounded-full" | 1294 | class="object-cover w-full h-full rounded-full" |
1511 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1295 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1512 | alt="" | 1296 | alt="" |
1513 | loading="lazy" | 1297 | loading="lazy" |
1514 | /> | 1298 | /> |
1515 | <div | 1299 | <div |
1516 | class="absolute inset-0 rounded-full shadow-inner" | 1300 | class="absolute inset-0 rounded-full shadow-inner" |
1517 | aria-hidden="true" | 1301 | aria-hidden="true" |
1518 | ></div> | 1302 | ></div> |
1519 | </div> | 1303 | </div> |
1520 | <div> | 1304 | <div> |
1521 | <p class="font-semibold">Sarah Curry</p> | 1305 | <p class="font-semibold">Sarah Curry</p> |
1522 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1306 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1523 | Designer | 1307 | Designer |
1524 | </p> | 1308 | </p> |
1525 | </div> | 1309 | </div> |
1526 | </div> | 1310 | </div> |
1527 | </td> | 1311 | </td> |
1528 | <td class="px-4 py-3 text-sm"> | 1312 | <td class="px-4 py-3 text-sm"> |
1529 | $ 86.00 | 1313 | $ 86.00 |
1530 | </td> | 1314 | </td> |
1531 | <td class="px-4 py-3 text-xs"> | 1315 | <td class="px-4 py-3 text-xs"> |
1532 | <span | 1316 | <span |
1533 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" | 1317 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" |
1534 | > | 1318 | > |
1535 | Denied | 1319 | Denied |
1536 | </span> | 1320 | </span> |
1537 | </td> | 1321 | </td> |
1538 | <td class="px-4 py-3 text-sm"> | 1322 | <td class="px-4 py-3 text-sm"> |
1539 | 6/10/2020 | 1323 | 6/10/2020 |
1540 | </td> | 1324 | </td> |
1541 | </tr> | 1325 | </tr> |
1542 | 1326 | ||
1543 | <tr class="text-gray-700 dark:text-gray-400"> | 1327 | <tr class="text-gray-700 dark:text-gray-400"> |
1544 | <td class="px-4 py-3"> | 1328 | <td class="px-4 py-3"> |
1545 | <div class="flex items-center text-sm"> | 1329 | <div class="flex items-center text-sm"> |
1546 | 1330 | ||
1547 | <div | 1331 | <div |
1548 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1332 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1549 | > | 1333 | > |
1550 | <img | 1334 | <img |
1551 | class="object-cover w-full h-full rounded-full" | 1335 | class="object-cover w-full h-full rounded-full" |
1552 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1336 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1553 | alt="" | 1337 | alt="" |
1554 | loading="lazy" | 1338 | loading="lazy" |
1555 | /> | 1339 | /> |
1556 | <div | 1340 | <div |
1557 | class="absolute inset-0 rounded-full shadow-inner" | 1341 | class="absolute inset-0 rounded-full shadow-inner" |
1558 | aria-hidden="true" | 1342 | aria-hidden="true" |
1559 | ></div> | 1343 | ></div> |
1560 | </div> | 1344 | </div> |
1561 | <div> | 1345 | <div> |
1562 | <p class="font-semibold">Rulia Joberts</p> | 1346 | <p class="font-semibold">Rulia Joberts</p> |
1563 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1347 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1564 | Actress | 1348 | Actress |
1565 | </p> | 1349 | </p> |
1566 | </div> | 1350 | </div> |
1567 | </div> | 1351 | </div> |
1568 | </td> | 1352 | </td> |
1569 | <td class="px-4 py-3 text-sm"> | 1353 | <td class="px-4 py-3 text-sm"> |
1570 | $ 1276.45 | 1354 | $ 1276.45 |
1571 | </td> | 1355 | </td> |
1572 | <td class="px-4 py-3 text-xs"> | 1356 | <td class="px-4 py-3 text-xs"> |
1573 | <span | 1357 | <span |
1574 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1358 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1575 | > | 1359 | > |
1576 | Approved | 1360 | Approved |
1577 | </span> | 1361 | </span> |
1578 | </td> | 1362 | </td> |
1579 | <td class="px-4 py-3 text-sm"> | 1363 | <td class="px-4 py-3 text-sm"> |
1580 | 6/10/2020 | 1364 | 6/10/2020 |
1581 | </td> | 1365 | </td> |
1582 | </tr> | 1366 | </tr> |
1583 | 1367 | ||
1584 | <tr class="text-gray-700 dark:text-gray-400"> | 1368 | <tr class="text-gray-700 dark:text-gray-400"> |
1585 | <td class="px-4 py-3"> | 1369 | <td class="px-4 py-3"> |
1586 | <div class="flex items-center text-sm"> | 1370 | <div class="flex items-center text-sm"> |
1587 | 1371 | ||
1588 | <div | 1372 | <div |
1589 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1373 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1590 | > | 1374 | > |
1591 | <img | 1375 | <img |
1592 | class="object-cover w-full h-full rounded-full" | 1376 | class="object-cover w-full h-full rounded-full" |
1593 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1377 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1594 | alt="" | 1378 | alt="" |
1595 | loading="lazy" | 1379 | loading="lazy" |
1596 | /> | 1380 | /> |
1597 | <div | 1381 | <div |
1598 | class="absolute inset-0 rounded-full shadow-inner" | 1382 | class="absolute inset-0 rounded-full shadow-inner" |
1599 | aria-hidden="true" | 1383 | aria-hidden="true" |
1600 | ></div> | 1384 | ></div> |
1601 | </div> | 1385 | </div> |
1602 | <div> | 1386 | <div> |
1603 | <p class="font-semibold">Wenzel Dashington</p> | 1387 | <p class="font-semibold">Wenzel Dashington</p> |
1604 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1388 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1605 | Actor | 1389 | Actor |
1606 | </p> | 1390 | </p> |
1607 | </div> | 1391 | </div> |
1608 | </div> | 1392 | </div> |
1609 | </td> | 1393 | </td> |
1610 | <td class="px-4 py-3 text-sm"> | 1394 | <td class="px-4 py-3 text-sm"> |
1611 | $ 863.45 | 1395 | $ 863.45 |
1612 | </td> | 1396 | </td> |
1613 | <td class="px-4 py-3 text-xs"> | 1397 | <td class="px-4 py-3 text-xs"> |
1614 | <span | 1398 | <span |
1615 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" | 1399 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" |
1616 | > | 1400 | > |
1617 | Expired | 1401 | Expired |
1618 | </span> | 1402 | </span> |
1619 | </td> | 1403 | </td> |
1620 | <td class="px-4 py-3 text-sm"> | 1404 | <td class="px-4 py-3 text-sm"> |
1621 | 6/10/2020 | 1405 | 6/10/2020 |
1622 | </td> | 1406 | </td> |
1623 | </tr> | 1407 | </tr> |
1624 | 1408 | ||
1625 | <tr class="text-gray-700 dark:text-gray-400"> | 1409 | <tr class="text-gray-700 dark:text-gray-400"> |
1626 | <td class="px-4 py-3"> | 1410 | <td class="px-4 py-3"> |
1627 | <div class="flex items-center text-sm"> | 1411 | <div class="flex items-center text-sm"> |
1628 | 1412 | ||
1629 | <div | 1413 | <div |
1630 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1414 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1631 | > | 1415 | > |
1632 | <img | 1416 | <img |
1633 | class="object-cover w-full h-full rounded-full" | 1417 | class="object-cover w-full h-full rounded-full" |
1634 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" | 1418 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" |
1635 | alt="" | 1419 | alt="" |
1636 | loading="lazy" | 1420 | loading="lazy" |
1637 | /> | 1421 | /> |
1638 | <div | 1422 | <div |
1639 | class="absolute inset-0 rounded-full shadow-inner" | 1423 | class="absolute inset-0 rounded-full shadow-inner" |
1640 | aria-hidden="true" | 1424 | aria-hidden="true" |
1641 | ></div> | 1425 | ></div> |
1642 | </div> | 1426 | </div> |
1643 | <div> | 1427 | <div> |
1644 | <p class="font-semibold">Dave Li</p> | 1428 | <p class="font-semibold">Dave Li</p> |
1645 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1429 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1646 | Influencer | 1430 | Influencer |
1647 | </p> | 1431 | </p> |
1648 | </div> | 1432 | </div> |
1649 | </div> | 1433 | </div> |
1650 | </td> | 1434 | </td> |
1651 | <td class="px-4 py-3 text-sm"> | 1435 | <td class="px-4 py-3 text-sm"> |
1652 | $ 863.45 | 1436 | $ 863.45 |
1653 | </td> | 1437 | </td> |
1654 | <td class="px-4 py-3 text-xs"> | 1438 | <td class="px-4 py-3 text-xs"> |
1655 | <span | 1439 | <span |
1656 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1440 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1657 | > | 1441 | > |
1658 | Approved | 1442 | Approved |
1659 | </span> | 1443 | </span> |
1660 | </td> | 1444 | </td> |
1661 | <td class="px-4 py-3 text-sm"> | 1445 | <td class="px-4 py-3 text-sm"> |
1662 | 6/10/2020 | 1446 | 6/10/2020 |
1663 | </td> | 1447 | </td> |
1664 | </tr> | 1448 | </tr> |
1665 | 1449 | ||
1666 | <tr class="text-gray-700 dark:text-gray-400"> | 1450 | <tr class="text-gray-700 dark:text-gray-400"> |
1667 | <td class="px-4 py-3"> | 1451 | <td class="px-4 py-3"> |
1668 | <div class="flex items-center text-sm"> | 1452 | <div class="flex items-center text-sm"> |
1669 | 1453 | ||
1670 | <div | 1454 | <div |
1671 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1455 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1672 | > | 1456 | > |
1673 | <img | 1457 | <img |
1674 | class="object-cover w-full h-full rounded-full" | 1458 | class="object-cover w-full h-full rounded-full" |
1675 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1459 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1676 | alt="" | 1460 | alt="" |
1677 | loading="lazy" | 1461 | loading="lazy" |
1678 | /> | 1462 | /> |
1679 | <div | 1463 | <div |
1680 | class="absolute inset-0 rounded-full shadow-inner" | 1464 | class="absolute inset-0 rounded-full shadow-inner" |
1681 | aria-hidden="true" | 1465 | aria-hidden="true" |
1682 | ></div> | 1466 | ></div> |
1683 | </div> | 1467 | </div> |
1684 | <div> | 1468 | <div> |
1685 | <p class="font-semibold">Maria Ramovic</p> | 1469 | <p class="font-semibold">Maria Ramovic</p> |
1686 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1470 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1687 | Runner | 1471 | Runner |
1688 | </p> | 1472 | </p> |
1689 | </div> | 1473 | </div> |
1690 | </div> | 1474 | </div> |
1691 | </td> | 1475 | </td> |
1692 | <td class="px-4 py-3 text-sm"> | 1476 | <td class="px-4 py-3 text-sm"> |
1693 | $ 863.45 | 1477 | $ 863.45 |
1694 | </td> | 1478 | </td> |
1695 | <td class="px-4 py-3 text-xs"> | 1479 | <td class="px-4 py-3 text-xs"> |
1696 | <span | 1480 | <span |
1697 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1481 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1698 | > | 1482 | > |
1699 | Approved | 1483 | Approved |
1700 | </span> | 1484 | </span> |
1701 | </td> | 1485 | </td> |
1702 | <td class="px-4 py-3 text-sm"> | 1486 | <td class="px-4 py-3 text-sm"> |
1703 | 6/10/2020 | 1487 | 6/10/2020 |
1704 | </td> | 1488 | </td> |
1705 | </tr> | 1489 | </tr> |
1706 | 1490 | ||
1707 | <tr class="text-gray-700 dark:text-gray-400"> | 1491 | <tr class="text-gray-700 dark:text-gray-400"> |
1708 | <td class="px-4 py-3"> | 1492 | <td class="px-4 py-3"> |
1709 | <div class="flex items-center text-sm"> | 1493 | <div class="flex items-center text-sm"> |
1710 | 1494 | ||
1711 | <div | 1495 | <div |
1712 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1496 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1713 | > | 1497 | > |
1714 | <img | 1498 | <img |
1715 | class="object-cover w-full h-full rounded-full" | 1499 | class="object-cover w-full h-full rounded-full" |
1716 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1500 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1717 | alt="" | 1501 | alt="" |
1718 | loading="lazy" | 1502 | loading="lazy" |
1719 | /> | 1503 | /> |
1720 | <div | 1504 | <div |
1721 | class="absolute inset-0 rounded-full shadow-inner" | 1505 | class="absolute inset-0 rounded-full shadow-inner" |
1722 | aria-hidden="true" | 1506 | aria-hidden="true" |
1723 | ></div> | 1507 | ></div> |
1724 | </div> | 1508 | </div> |
1725 | <div> | 1509 | <div> |
1726 | <p class="font-semibold">Hitney Wouston</p> | 1510 | <p class="font-semibold">Hitney Wouston</p> |
1727 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1511 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1728 | Singer | 1512 | Singer |
1729 | </p> | 1513 | </p> |
1730 | </div> | 1514 | </div> |
1731 | </div> | 1515 | </div> |
1732 | </td> | 1516 | </td> |
1733 | <td class="px-4 py-3 text-sm"> | 1517 | <td class="px-4 py-3 text-sm"> |
1734 | $ 863.45 | 1518 | $ 863.45 |
1735 | </td> | 1519 | </td> |
1736 | <td class="px-4 py-3 text-xs"> | 1520 | <td class="px-4 py-3 text-xs"> |
1737 | <span | 1521 | <span |
1738 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1522 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1739 | > | 1523 | > |
1740 | Approved | 1524 | Approved |
1741 | </span> | 1525 | </span> |
1742 | </td> | 1526 | </td> |
1743 | <td class="px-4 py-3 text-sm"> | 1527 | <td class="px-4 py-3 text-sm"> |
1744 | 6/10/2020 | 1528 | 6/10/2020 |
1745 | </td> | 1529 | </td> |
1746 | </tr> | 1530 | </tr> |
1747 | 1531 | ||
1748 | <tr class="text-gray-700 dark:text-gray-400"> | 1532 | <tr class="text-gray-700 dark:text-gray-400"> |
1749 | <td class="px-4 py-3"> | 1533 | <td class="px-4 py-3"> |
1750 | <div class="flex items-center text-sm"> | 1534 | <div class="flex items-center text-sm"> |
1751 | 1535 | ||
1752 | <div | 1536 | <div |
1753 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1537 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1754 | > | 1538 | > |
1755 | <img | 1539 | <img |
1756 | class="object-cover w-full h-full rounded-full" | 1540 | class="object-cover w-full h-full rounded-full" |
1757 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1541 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1758 | alt="" | 1542 | alt="" |
1759 | loading="lazy" | 1543 | loading="lazy" |
1760 | /> | 1544 | /> |
1761 | <div | 1545 | <div |
1762 | class="absolute inset-0 rounded-full shadow-inner" | 1546 | class="absolute inset-0 rounded-full shadow-inner" |
1763 | aria-hidden="true" | 1547 | aria-hidden="true" |
1764 | ></div> | 1548 | ></div> |
1765 | </div> | 1549 | </div> |
1766 | <div> | 1550 | <div> |
1767 | <p class="font-semibold">Hans Burger</p> | 1551 | <p class="font-semibold">Hans Burger</p> |
1768 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1552 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1769 | 10x Developer | 1553 | 10x Developer |
1770 | </p> | 1554 | </p> |
1771 | </div> | 1555 | </div> |
1772 | </div> | 1556 | </div> |
1773 | </td> | 1557 | </td> |
1774 | <td class="px-4 py-3 text-sm"> | 1558 | <td class="px-4 py-3 text-sm"> |
1775 | $ 863.45 | 1559 | $ 863.45 |
1776 | </td> | 1560 | </td> |
1777 | <td class="px-4 py-3 text-xs"> | 1561 | <td class="px-4 py-3 text-xs"> |
1778 | <span | 1562 | <span |
1779 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1563 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1780 | > | 1564 | > |
1781 | Approved | 1565 | Approved |
1782 | </span> | 1566 | </span> |
1783 | </td> | 1567 | </td> |
1784 | <td class="px-4 py-3 text-sm"> | 1568 | <td class="px-4 py-3 text-sm"> |
1785 | 6/10/2020 | 1569 | 6/10/2020 |
1786 | </td> | 1570 | </td> |
1787 | </tr> | 1571 | </tr> |
1788 | </tbody> | 1572 | </tbody> |
1789 | </table> | 1573 | </table> |
1790 | </div> | 1574 | </div> |
1791 | <div | 1575 | <div |
1792 | class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" | 1576 | class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" |
1793 | > | 1577 | > |
1794 | <span class="flex items-center col-span-3"> | 1578 | <span class="flex items-center col-span-3"> |
1795 | Showing 21-30 of 100 | 1579 | Showing 21-30 of 100 |
1796 | </span> | 1580 | </span> |
1797 | <span class="col-span-2"></span> | 1581 | <span class="col-span-2"></span> |
1798 | 1582 | ||
1799 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 1583 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
1800 | <nav aria-label="Table navigation"> | 1584 | <nav aria-label="Table navigation"> |
1801 | <ul class="inline-flex items-center"> | 1585 | <ul class="inline-flex items-center"> |
1802 | <li> | 1586 | <li> |
1803 | <button | 1587 | <button |
1804 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 1588 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
1805 | aria-label="Previous" | 1589 | aria-label="Previous" |
1806 | > | 1590 | > |
1807 | <svg | 1591 | <svg |
1808 | aria-hidden="true" | 1592 | aria-hidden="true" |
1809 | class="w-4 h-4 fill-current" | 1593 | class="w-4 h-4 fill-current" |
1810 | viewBox="0 0 20 20" | 1594 | viewBox="0 0 20 20" |
1811 | > | 1595 | > |
1812 | <path | 1596 | <path |
1813 | d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" | 1597 | d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" |
1814 | clip-rule="evenodd" | 1598 | clip-rule="evenodd" |
1815 | fill-rule="evenodd" | 1599 | fill-rule="evenodd" |
1816 | ></path> | 1600 | ></path> |
1817 | </svg> | 1601 | </svg> |
1818 | </button> | 1602 | </button> |
1819 | </li> | 1603 | </li> |
1820 | <li> | 1604 | <li> |
1821 | <button | 1605 | <button |
1822 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1606 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1823 | > | 1607 | > |
1824 | 1 | 1608 | 1 |
1825 | </button> | 1609 | </button> |
1826 | </li> | 1610 | </li> |
1827 | <li> | 1611 | <li> |
1828 | <button | 1612 | <button |
1829 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1613 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1830 | > | 1614 | > |
1831 | 2 | 1615 | 2 |
1832 | </button> | 1616 | </button> |
1833 | </li> | 1617 | </li> |
1834 | <li> | 1618 | <li> |
1835 | <button | 1619 | <button |
1836 | class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" | 1620 | class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" |
1837 | > | 1621 | > |
1838 | 3 | 1622 | 3 |
1839 | </button> | 1623 | </button> |
1840 | </li> | 1624 | </li> |
1841 | <li> | 1625 | <li> |
1842 | <button | 1626 | <button |
1843 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1627 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1844 | > | 1628 | > |
1845 | 4 | 1629 | 4 |
1846 | </button> | 1630 | </button> |
1847 | </li> | 1631 | </li> |
1848 | <li> | 1632 | <li> |
1849 | <span class="px-3 py-1">...</span> | 1633 | <span class="px-3 py-1">...</span> |
1850 | </li> | 1634 | </li> |
1851 | <li> | 1635 | <li> |
1852 | <button | 1636 | <button |
1853 | 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" |
1854 | > | 1638 | > |
1855 | 8 | 1639 | 8 |
1856 | </button> | 1640 | </button> |
1857 | </li> | 1641 | </li> |
1858 | <li> | 1642 | <li> |
1859 | <button | 1643 | <button |
1860 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1644 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1861 | > | 1645 | > |
1862 | 9 | 1646 | 9 |
1863 | </button> | 1647 | </button> |
1864 | </li> | 1648 | </li> |
1865 | <li> | 1649 | <li> |
1866 | <button | 1650 | <button |
1867 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 1651 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
1868 | aria-label="Next" | 1652 | aria-label="Next" |
1869 | > | 1653 | > |
1870 | <svg | 1654 | <svg |
1871 | class="w-4 h-4 fill-current" | 1655 | class="w-4 h-4 fill-current" |
1872 | aria-hidden="true" | 1656 | aria-hidden="true" |
1873 | viewBox="0 0 20 20" | 1657 | viewBox="0 0 20 20" |
1874 | > | 1658 | > |
1875 | <path | 1659 | <path |
1876 | d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" | 1660 | d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" |
1877 | clip-rule="evenodd" | 1661 | clip-rule="evenodd" |
1878 | fill-rule="evenodd" | 1662 | fill-rule="evenodd" |
1879 | ></path> | 1663 | ></path> |
1880 | </svg> | 1664 | </svg> |
1881 | </button> | 1665 | </button> |
1882 | </li> | 1666 | </li> |
1883 | </ul> | 1667 | </ul> |
1884 | </nav> | 1668 | </nav> |
1885 | </span> | 1669 | </span> |
1886 | </div> | 1670 | </div> |
1887 | </div> | 1671 | </div> |
1888 | --> | 1672 | --> |
1889 | <!-- Charts --> | 1673 | <!-- Charts --> |
1890 | <!-- | 1674 | <!-- |
1891 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> | 1675 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> |
1892 | Графики | 1676 | Графики |
1893 | </h2> | 1677 | </h2> |
1894 | <div class="grid gap-6 mb-8 md:grid-cols-2"> | 1678 | <div class="grid gap-6 mb-8 md:grid-cols-2"> |
1895 | <div | 1679 | <div |
1896 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1680 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1897 | > | 1681 | > |
1898 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 1682 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
1899 | Revenue | 1683 | Revenue |
1900 | </h4> | 1684 | </h4> |
1901 | <canvas id="pie"></canvas> | 1685 | <canvas id="pie"></canvas> |
1902 | <div | 1686 | <div |
1903 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 1687 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
1904 | > | 1688 | > |
1905 | 1689 | ||
1906 | <div class="flex items-center"> | 1690 | <div class="flex items-center"> |
1907 | <span | 1691 | <span |
1908 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" | 1692 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" |
1909 | ></span> | 1693 | ></span> |
1910 | <span>Shirts</span> | 1694 | <span>Shirts</span> |
1911 | </div> | 1695 | </div> |
1912 | <div class="flex items-center"> | 1696 | <div class="flex items-center"> |
1913 | <span | 1697 | <span |
1914 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 1698 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
1915 | ></span> | 1699 | ></span> |
1916 | <span>Shoes</span> | 1700 | <span>Shoes</span> |
1917 | </div> | 1701 | </div> |
1918 | <div class="flex items-center"> | 1702 | <div class="flex items-center"> |
1919 | <span | 1703 | <span |
1920 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 1704 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
1921 | ></span> | 1705 | ></span> |
1922 | <span>Bags</span> | 1706 | <span>Bags</span> |
1923 | </div> | 1707 | </div> |
1924 | </div> | 1708 | </div> |
1925 | </div> | 1709 | </div> |
1926 | <div | 1710 | <div |
1927 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1711 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1928 | > | 1712 | > |
1929 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 1713 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
1930 | Traffic | 1714 | Traffic |
1931 | </h4> | 1715 | </h4> |
1932 | <canvas id="line"></canvas> | 1716 | <canvas id="line"></canvas> |
1933 | <div | 1717 | <div |
1934 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 1718 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
1935 | > | 1719 | > |
1936 | 1720 | ||
1937 | <div class="flex items-center"> | 1721 | <div class="flex items-center"> |
1938 | <span | 1722 | <span |
1939 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 1723 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
1940 | ></span> | 1724 | ></span> |
1941 | <span>Organic</span> | 1725 | <span>Organic</span> |
1942 | </div> | 1726 | </div> |
1943 | <div class="flex items-center"> | 1727 | <div class="flex items-center"> |
1944 | <span | 1728 | <span |
1945 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 1729 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
1946 | ></span> | 1730 | ></span> |
1947 | <span>Paid</span> | 1731 | <span>Paid</span> |
1948 | </div> | 1732 | </div> |
1949 | </div> | 1733 | </div> |
1950 | </div> | 1734 | </div> |
1951 | </div> | 1735 | </div> |
1952 | --> | 1736 | --> |
1953 | </div> | 1737 | </div> |
1954 | </main> | 1738 | </main> |
1955 | </div> | 1739 | </div> |
1956 | </div> | 1740 | </div> |
1957 | </body> | 1741 | </body> |
1958 | @yield('script') | 1742 | @yield('script') |
1959 | </html> | 1743 | </html> |
1960 | 1744 |
routes/web.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use App\Http\Controllers\Admin\AdminController; | 3 | use App\Http\Controllers\Admin\AdminController; |
4 | <<<<<<< HEAD | ||
5 | use App\Http\Controllers\Admin\EmployersController; | ||
6 | ======= | ||
7 | use App\Http\Controllers\Admin\CategoryController; | 4 | use App\Http\Controllers\Admin\CategoryController; |
8 | use App\Http\Controllers\Admin\EmployersController; | 5 | use App\Http\Controllers\Admin\EmployersController; |
9 | use App\Http\Controllers\Admin\InfoBloksController; | 6 | use App\Http\Controllers\Admin\InfoBloksController; |
10 | use App\Http\Controllers\Admin\JobTitlesController; | 7 | use App\Http\Controllers\Admin\JobTitlesController; |
11 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
12 | use App\Http\Controllers\Admin\UsersController; | 8 | use App\Http\Controllers\Admin\UsersController; |
13 | use App\Http\Controllers\Admin\WorkersController; | 9 | use App\Http\Controllers\Admin\WorkersController; |
14 | use App\Http\Controllers\Auth\LoginController; | 10 | use App\Http\Controllers\Auth\LoginController; |
15 | use App\Http\Controllers\Auth\RegisterController; | 11 | use App\Http\Controllers\Auth\RegisterController; |
16 | <<<<<<< HEAD | ||
17 | ======= | ||
18 | use App\Http\Controllers\CKEditorController; | 12 | use App\Http\Controllers\CKEditorController; |
19 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
20 | use App\Models\User; | 13 | use App\Models\User; |
21 | use App\Http\Controllers\MainController; | 14 | use App\Http\Controllers\MainController; |
22 | use App\Http\Controllers\HomeController; | 15 | use App\Http\Controllers\HomeController; |
23 | use Illuminate\Support\Facades\Route; | 16 | use Illuminate\Support\Facades\Route; |
24 | <<<<<<< HEAD | ||
25 | ======= | ||
26 | use App\Http\Controllers\Admin\CompanyController; | 17 | use App\Http\Controllers\Admin\CompanyController; |
27 | use App\Http\Controllers\Admin\Ad_EmployersController; | 18 | use App\Http\Controllers\Admin\Ad_EmployersController; |
28 | use App\Http\Controllers\Admin\MsgAnswersController; | 19 | use App\Http\Controllers\Admin\MsgAnswersController; |
29 | use App\Http\Controllers\Admin\GroupsController; | 20 | use App\Http\Controllers\Admin\GroupsController; |
30 | use App\Http\Controllers\PagesController; | 21 | use App\Http\Controllers\PagesController; |
31 | 22 | ||
32 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
33 | 23 | ||
34 | /* | 24 | /* |
35 | |-------------------------------------------------------------------------- | 25 | |-------------------------------------------------------------------------- |
36 | | Web Routes | 26 | | Web Routes |
37 | |-------------------------------------------------------------------------- | 27 | |-------------------------------------------------------------------------- |
38 | | | 28 | | |
39 | | Here is where you can register web routes for your application. These | 29 | | Here is where you can register web routes for your application. These |
40 | | routes are loaded by the RouteServiceProvider within a group which | 30 | | routes are loaded by the RouteServiceProvider within a group which |
41 | | contains the "web" middleware group. Now create something great! | 31 | | contains the "web" middleware group. Now create something great! |
42 | | | 32 | | |
43 | */ | 33 | */ |
44 | /* | 34 | /* |
45 | Route::get('/', function () { | 35 | Route::get('/', function () { |
46 | return view('welcome'); | 36 | return view('welcome'); |
47 | })->name('index'); | 37 | })->name('index'); |
48 | */ | 38 | */ |
49 | Route::get('/', [MainController::class, 'index'])->name('index'); | 39 | Route::get('/', [MainController::class, 'index'])->name('index'); |
50 | 40 | ||
51 | //Роуты авторизации, регистрации, восстановления, аутентификации | 41 | //Роуты авторизации, регистрации, восстановления, аутентификации |
52 | Auth::routes(['verify' => true]); | 42 | Auth::routes(['verify' => true]); |
53 | //Личный кабинет пользователя | 43 | //Личный кабинет пользователя |
54 | Route::get('/home', [HomeController::class, 'index'])->name('home'); | 44 | Route::get('/home', [HomeController::class, 'index'])->name('home'); |
55 | 45 | ||
56 | /* | 46 | /* |
57 | Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) { | 47 | Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) { |
58 | $user = User::where('email',$request->input('email'))->first(); | 48 | $user = User::where('email',$request->input('email'))->first(); |
59 | 49 | ||
60 | $user->sendEmailVerificationNotification(); | 50 | $user->sendEmailVerificationNotification(); |
61 | 51 | ||
62 | return 'your response'; | 52 | return 'your response'; |
63 | })->middleware('throttle:6,1')->name('verification.resend'); | 53 | })->middleware('throttle:6,1')->name('verification.resend'); |
64 | */ | 54 | */ |
65 | 55 | ||
66 | // Авторизация, регистрация в админку | 56 | // Авторизация, регистрация в админку |
67 | Route::group([ | 57 | Route::group([ |
68 | 'as' => 'admin.', // имя маршрута, например auth.index | 58 | 'as' => 'admin.', // имя маршрута, например auth.index |
69 | 'prefix' => 'admin', // префикс маршрута, например auth/index | 59 | 'prefix' => 'admin', // префикс маршрута, например auth/index |
70 | 'middleware' => ['guest'], | 60 | 'middleware' => ['guest'], |
71 | ], function () { | 61 | ], function () { |
72 | // Форма регистрации | 62 | // Форма регистрации |
73 | Route::get('register', [AdminController::class, 'register'])->name('register'); | 63 | Route::get('register', [AdminController::class, 'register'])->name('register'); |
74 | 64 | ||
75 | // Создание пользователя | 65 | // Создание пользователя |
76 | Route::post('register', [AdminController::class, 'create'])->name('create'); | 66 | Route::post('register', [AdminController::class, 'create'])->name('create'); |
77 | //Форма входа | 67 | //Форма входа |
78 | Route::get('login', [AdminController::class, 'login'])->name('login'); | 68 | Route::get('login', [AdminController::class, 'login'])->name('login'); |
79 | 69 | ||
80 | // аутентификация | 70 | // аутентификация |
81 | Route::post('login', [AdminController::class, 'autenticate'])->name('auth'); | 71 | Route::post('login', [AdminController::class, 'autenticate'])->name('auth'); |
82 | 72 | ||
83 | }); | 73 | }); |
84 | 74 | ||
85 | // Личный кабинет админки | 75 | // Личный кабинет админки |
86 | Route::group([ | 76 | Route::group([ |
87 | 'as' => 'admin.', // имя маршрута, например auth.index | 77 | 'as' => 'admin.', // имя маршрута, например auth.index |
88 | 'prefix' => 'admin', // префикс маршрута, например auth/index | 78 | 'prefix' => 'admin', // префикс маршрута, например auth/index |
89 | 'middleware' => ['auth'], ['admin'], | 79 | 'middleware' => ['auth'], ['admin'], |
90 | ], function() { | 80 | ], function() { |
91 | 81 | ||
92 | // выход | 82 | // выход |
93 | Route::get('logout', [AdminController::class, 'logout'])->name('logout'); | 83 | Route::get('logout', [AdminController::class, 'logout'])->name('logout'); |
94 | 84 | ||
95 | // кабинет главная страница | 85 | // кабинет главная страница |
96 | Route::get('cabinet', [AdminController::class, 'index'])->name('index'); | 86 | Route::get('cabinet', [AdminController::class, 'index'])->name('index'); |
97 | <<<<<<< HEAD | ||
98 | // кабинет профиль | ||
99 | Route::get('profile', [AdminController::class, 'profile'])->name('profile'); | ||
100 | // кабинет настройки | ||
101 | Route::get('config', [AdminController::class, 'config'])->name('config'); | ||
102 | |||
103 | ======= | ||
104 | 87 | ||
105 | // кабинет профиль админа - форма | 88 | // кабинет профиль админа - форма |
106 | Route::get('profile', [AdminController::class, 'profile'])->name('profile'); | 89 | Route::get('profile', [AdminController::class, 'profile'])->name('profile'); |
107 | // кабинет профиль админа - сохранение формы | 90 | // кабинет профиль админа - сохранение формы |
108 | Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile'); | 91 | Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile'); |
109 | 92 | ||
110 | // кабинет профиль - форма пароли | 93 | // кабинет профиль - форма пароли |
111 | Route::get('password', [AdminController::class, 'profile_password'])->name('password'); | 94 | Route::get('password', [AdminController::class, 'profile_password'])->name('password'); |
112 | // кабинет профиль - сохранение формы пароля | 95 | // кабинет профиль - сохранение формы пароля |
113 | Route::post('password', [AdminController::class, 'profile_password_new'])->name('password'); | 96 | Route::post('password', [AdminController::class, 'profile_password_new'])->name('password'); |
114 | 97 | ||
115 | 98 | ||
116 | // кабинет профиль пользователя - форма | 99 | // кабинет профиль пользователя - форма |
117 | Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile'); | 100 | Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile'); |
118 | // кабинет профиль пользователя - сохранение формы | 101 | // кабинет профиль пользователя - сохранение формы |
119 | Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile'); | 102 | Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile'); |
120 | 103 | ||
121 | // кабинет профиль работодатель - форма | 104 | // кабинет профиль работодатель - форма |
122 | Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile'); | 105 | Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile'); |
123 | // кабинет профиль работодатель - сохранение формы | 106 | // кабинет профиль работодатель - сохранение формы |
124 | Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile'); | 107 | Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile'); |
125 | 108 | ||
126 | // кабинет профиль работник - форма | 109 | // кабинет профиль работник - форма |
127 | Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile'); | 110 | Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile'); |
128 | 111 | ||
129 | // кабинет настройки сайта - форма | 112 | // кабинет настройки сайта - форма |
130 | Route::get('config', [AdminController::class, 'config_form'])->name('config'); | 113 | Route::get('config', [AdminController::class, 'config_form'])->name('config'); |
131 | // кабинет настройки сайта сохранение формы | 114 | // кабинет настройки сайта сохранение формы |
132 | Route::post('config', [AdminController::class, 'store_config'])->name('store_config'); | 115 | Route::post('config', [AdminController::class, 'store_config'])->name('store_config'); |
133 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
134 | 116 | ||
135 | // кабинет - пользователи | 117 | // кабинет - пользователи |
136 | Route::get('users', [UsersController::class, 'index'])->name('users'); | 118 | Route::get('users', [UsersController::class, 'index'])->name('users'); |
137 | 119 | ||
138 | // кабинет - пользователи | 120 | // кабинет - пользователи |
139 | Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users'); | 121 | Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users'); |
140 | 122 | ||
141 | // кабинет - работодатели | 123 | // кабинет - работодатели |
142 | Route::get('employers', [EmployersController::class, 'index'])->name('employers'); | 124 | Route::get('employers', [EmployersController::class, 'index'])->name('employers'); |
143 | 125 | ||
144 | // кабинет - соискатели | 126 | // кабинет - соискатели |
145 | Route::get('workers', [WorkersController::class, 'index'])->name('workers'); | 127 | Route::get('workers', [WorkersController::class, 'index'])->name('workers'); |
146 | 128 | ||
147 | // кабинет - вакансии | 129 | // кабинет - вакансии |
148 | <<<<<<< HEAD | ||
149 | Route::get('ad-employers', [AdminController::class, 'index'])->name('ad-employers'); | ||
150 | |||
151 | // кабинет - категории | ||
152 | Route::get('categories', [AdminController::class, 'index'])->name('categories'); | ||
153 | |||
154 | // кабинет - должности | ||
155 | Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); | ||
156 | |||
157 | // кабинет - сообщения | ||
158 | Route::get('messages', [AdminController::class, 'index'])->name('messages'); | ||
159 | |||
160 | // кабинет - группы пользователей | ||
161 | Route::get('groups', [AdminController::class, 'index'])->name('groups'); | ||
162 | |||
163 | // кабинет - список админов | ||
164 | Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); | ||
165 | }); | ||
166 | ======= | ||
167 | Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers'); | 130 | Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers'); |
168 | 131 | ||
169 | // кабинет - категории | 132 | // кабинет - категории |
170 | //Route::get('categories', [AdminController::class, 'index'])->name('categories'); | 133 | //Route::get('categories', [AdminController::class, 'index'])->name('categories'); |
171 | /* | 134 | /* |
172 | * CRUD-операции над Справочником Категории | 135 | * CRUD-операции над Справочником Категории |
173 | */ | 136 | */ |
174 | Route::resource('categories', CategoryController::class, ['except' => ['show']]); | 137 | Route::resource('categories', CategoryController::class, ['except' => ['show']]); |
175 | 138 | ||
176 | 139 | ||
177 | //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); | 140 | //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); |
178 | /* | 141 | /* |
179 | * кабинет - CRUD-операции по справочнику должности | 142 | * кабинет - CRUD-операции по справочнику должности |
180 | * | 143 | * |
181 | */ | 144 | */ |
182 | Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]); | 145 | Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]); |
183 | 146 | ||
184 | // кабинет - сообщения | 147 | // кабинет - сообщения |
185 | Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages'); | 148 | Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages'); |
186 | 149 | ||
187 | /* | 150 | /* |
188 | * Расписанный подход в описании каждой директорий групп пользователей. | 151 | * Расписанный подход в описании каждой директорий групп пользователей. |
189 | */ | 152 | */ |
190 | // кабинет - группы пользователей | 153 | // кабинет - группы пользователей |
191 | Route::get('groups', [GroupsController::class, 'index'])->name('groups'); | 154 | Route::get('groups', [GroupsController::class, 'index'])->name('groups'); |
192 | // кабинет - добавление форма группы пользователей | 155 | // кабинет - добавление форма группы пользователей |
193 | Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group'); | 156 | Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group'); |
194 | // кабинет - сохранение формы группы пользователей | 157 | // кабинет - сохранение формы группы пользователей |
195 | Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store'); | 158 | Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store'); |
196 | // кабинет - редактирование форма группы пользователей | 159 | // кабинет - редактирование форма группы пользователей |
197 | Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group'); | 160 | Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group'); |
198 | // кабинет - сохранение редактированной формы группы пользователей | 161 | // кабинет - сохранение редактированной формы группы пользователей |
199 | Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group'); | 162 | Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group'); |
200 | // кабинет - удаление группы пользователей | 163 | // кабинет - удаление группы пользователей |
201 | Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group'); | 164 | Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group'); |
202 | 165 | ||
203 | // кабинет - список админов | 166 | // кабинет - список админов |
204 | Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); | 167 | Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); |
205 | 168 | ||
206 | /////редактор////// кабинет - редактор сайта//////////////////////// | 169 | /////редактор////// кабинет - редактор сайта//////////////////////// |
207 | Route::get('editor-site', function() { | 170 | Route::get('editor-site', function() { |
208 | return view('admin.editor.index'); | 171 | return view('admin.editor.index'); |
209 | })->name('editor-site'); | 172 | })->name('editor-site'); |
210 | 173 | ||
211 | // кабинет - редактор шапки-футера сайта | 174 | // кабинет - редактор шапки-футера сайта |
212 | Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks'); | 175 | Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks'); |
213 | 176 | ||
214 | // кабинет - редактор должности на главной | 177 | // кабинет - редактор должности на главной |
215 | Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main'); | 178 | Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main'); |
216 | 179 | ||
217 | // кабинет - редактор работодатели на главной | 180 | // кабинет - редактор работодатели на главной |
218 | Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main'); | 181 | Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main'); |
219 | 182 | ||
220 | // кабинет - редактор seo-сайта | 183 | // кабинет - редактор seo-сайта |
221 | Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); | 184 | Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); |
222 | Route::get('editor-seo/add', [CompanyController::class, 'editor_seo_add'])->name('add-seo'); | 185 | Route::get('editor-seo/add', [CompanyController::class, 'editor_seo_add'])->name('add-seo'); |
223 | Route::post('editor-seo/add', [CompanyController::class, 'editor_seo_store'])->name('add-seo-store'); | 186 | Route::post('editor-seo/add', [CompanyController::class, 'editor_seo_store'])->name('add-seo-store'); |
224 | Route::get('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_edit'])->name('edit-seo'); | 187 | Route::get('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_edit'])->name('edit-seo'); |
225 | Route::put('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_update'])->name('update-seo'); | 188 | Route::put('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_update'])->name('update-seo'); |
226 | Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo'); | 189 | Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo'); |
227 | 190 | ||
228 | 191 | ||
229 | // кабинет - редактор страниц | 192 | // кабинет - редактор страниц |
230 | Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); | 193 | Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); |
231 | // кабинет - добавление страницы | 194 | // кабинет - добавление страницы |
232 | Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); | 195 | Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); |
233 | // кабинет - сохранение формы страницы | 196 | // кабинет - сохранение формы страницы |
234 | Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); | 197 | Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); |
235 | // кабинет - редактирование форма страницы | 198 | // кабинет - редактирование форма страницы |
236 | Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); | 199 | Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); |
237 | // кабинет - сохранение редактированной формы страницы | 200 | // кабинет - сохранение редактированной формы страницы |
238 | Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); | 201 | Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); |
239 | // кабинет - удаление страницы | 202 | // кабинет - удаление страницы |
240 | Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); | 203 | Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); |
241 | 204 | ||
242 | 205 | ||
243 | // кабинет - реклама сайта | 206 | // кабинет - реклама сайта |
244 | Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); | 207 | Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); |
245 | //////////////////////////////////////////////////////////////////////// | 208 | //////////////////////////////////////////////////////////////////////// |
246 | 209 | ||
247 | // кабинет - отзывы о работодателе для модерации | 210 | // кабинет - отзывы о работодателе для модерации |
248 | Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); | 211 | Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); |
249 | 212 | ||
250 | // Общая страница статистики | 213 | // Общая страница статистики |
251 | Route::get('statics', function () { | 214 | Route::get('statics', function () { |
252 | return view('admin.static.index'); | 215 | return view('admin.static.index'); |
253 | })->name('statics'); | 216 | })->name('statics'); |
254 | 217 | ||
255 | // кабинет - статистика работников | 218 | // кабинет - статистика работников |
256 | Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); | 219 | Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); |
257 | 220 | ||
258 | // кабинет - статистика вакансий работодателя | 221 | // кабинет - статистика вакансий работодателя |
259 | Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); | 222 | Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); |
260 | 223 | ||
261 | // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника | 224 | // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника |
262 | /* | 225 | /* |
263 | * CRUD-операции над справочником дипломы и документы | 226 | * CRUD-операции над справочником дипломы и документы |
264 | */ | 227 | */ |
265 | //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); | 228 | //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); |
266 | Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); | 229 | Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); |
267 | 230 | ||
268 | // кабинет - роли пользователя | 231 | // кабинет - роли пользователя |
269 | Route::get('roles', [UsersController::class, 'roles'])->name('roles'); | 232 | Route::get('roles', [UsersController::class, 'roles'])->name('roles'); |
270 | 233 | ||
271 | }); | 234 | }); |
272 | 235 | ||
273 | Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); | 236 | Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); |
274 | 237 | ||
275 | Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); | 238 | Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); |
276 | >>>>>>> 5b2dcf44bcbc4104982dafd29e39da7190924e3b | ||
277 | 239 |
1 | * | 1 | * |
2 | !public/ | 2 | !public/ |
3 | !.gitignore | 3 | !.gitignore |
4 | 4 |
1 | * | 1 | * |
2 | !.gitignore | 2 | !.gitignore |
3 | 3 |
1 | compiled.php | 1 | compiled.php |
2 | config.php | 2 | config.php |
3 | down | 3 | down |
4 | events.scanned.php | 4 | events.scanned.php |
5 | maintenance.php | 5 | maintenance.php |
6 | routes.php | 6 | routes.php |
7 | routes.scanned.php | 7 | routes.scanned.php |
8 | schedule-* | 8 | schedule-* |
9 | services.json | 9 | services.json |
10 | 10 |
1 | * | 1 | * |
2 | !data/ | 2 | !data/ |
3 | !.gitignore | 3 | !.gitignore |
4 | 4 |
1 | * | 1 | * |
2 | !.gitignore | 2 | !.gitignore |
3 | 3 |
1 | * | 1 | * |
2 | !.gitignore | 2 | !.gitignore |
3 | 3 |
1 | * | 1 | * |
2 | !.gitignore | 2 | !.gitignore |
3 | 3 |
1 | * | 1 | * |
2 | !.gitignore | 2 | !.gitignore |
3 | 3 |
1 | * | 1 | * |
2 | !.gitignore | 2 | !.gitignore |
3 | 3 |