Commit d76ea6dbb8025f93a3f5244c0a4700227ea35c5a
1 parent
6ff65f10a7
Exists in
master
Обновление2
Showing 8 changed files with 47 additions and 66 deletions Inline Diff
- app/Http/Controllers/Ad_jobsController.php
- app/Http/Controllers/Admin/JobTitlesController.php
- app/Models/Ad_jobs.php
- resources/views/admin/job_titles/form.blade.php
- resources/views/employers/add_ad_jobs.blade.php
- resources/views/employers/edit_ad_jobs.blade.php
- resources/views/employers/list_vacancy.blade.php
- resources/views/layout/admin.blade.php
app/Http/Controllers/Ad_jobsController.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Http\Controllers; | 3 | namespace App\Http\Controllers; |
4 | 4 | ||
5 | use App\Classes\RusDate; | 5 | use App\Classes\RusDate; |
6 | use App\Classes\Tools; | 6 | use App\Classes\Tools; |
7 | use App\Http\Requests\FlotRequest; | 7 | use App\Http\Requests\FlotRequest; |
8 | use App\Http\Requests\MessagesRequiest; | 8 | use App\Http\Requests\MessagesRequiest; |
9 | use App\Http\Requests\VacancyRequestEdit; | 9 | use App\Http\Requests\VacancyRequestEdit; |
10 | use App\Http\Requests\VacansiaRequiest; | 10 | use App\Http\Requests\VacansiaRequiest; |
11 | use App\Mail\MailSotrudnichestvo; | 11 | use App\Mail\MailSotrudnichestvo; |
12 | use App\Mail\SendAllMessages; | 12 | use App\Mail\SendAllMessages; |
13 | use App\Models\Ad_employer; | 13 | use App\Models\Ad_employer; |
14 | use App\Models\Ad_jobs; | 14 | use App\Models\Ad_jobs; |
15 | use App\Models\ad_response; | 15 | use App\Models\ad_response; |
16 | use App\Models\Category; | 16 | use App\Models\Category; |
17 | use App\Models\Education; | 17 | use App\Models\Education; |
18 | use App\Models\Employer; | 18 | use App\Models\Employer; |
19 | use App\Models\employers_main; | 19 | use App\Models\employers_main; |
20 | use App\Models\Flot; | 20 | use App\Models\Flot; |
21 | use App\Models\Job_title; | 21 | use App\Models\Job_title; |
22 | use App\Models\Like_vacancy; | 22 | use App\Models\Like_vacancy; |
23 | use App\Models\Like_worker; | 23 | use App\Models\Like_worker; |
24 | use App\Models\Message; | 24 | use App\Models\Message; |
25 | use App\Models\Positions; | 25 | use App\Models\Positions; |
26 | use App\Models\Worker; | 26 | use App\Models\Worker; |
27 | use Carbon\Carbon; | 27 | use Carbon\Carbon; |
28 | use Illuminate\Auth\Events\Registered; | 28 | use Illuminate\Auth\Events\Registered; |
29 | use Illuminate\Database\Eloquent\Builder; | 29 | use Illuminate\Database\Eloquent\Builder; |
30 | use Illuminate\Database\Eloquent\Model; | 30 | use Illuminate\Database\Eloquent\Model; |
31 | use Illuminate\Foundation\Auth\User; | 31 | use Illuminate\Foundation\Auth\User; |
32 | use Illuminate\Http\Request; | 32 | use Illuminate\Http\Request; |
33 | use Illuminate\Support\Facades\Auth; | 33 | use Illuminate\Support\Facades\Auth; |
34 | use Illuminate\Support\Facades\Hash; | 34 | use Illuminate\Support\Facades\Hash; |
35 | use Illuminate\Support\Facades\Mail; | 35 | use Illuminate\Support\Facades\Mail; |
36 | use Illuminate\Support\Facades\Storage; | 36 | use Illuminate\Support\Facades\Storage; |
37 | use App\Models\User as User_Model; | 37 | use App\Models\User as User_Model; |
38 | use Illuminate\Support\Facades\Validator; | 38 | use Illuminate\Support\Facades\Validator; |
39 | 39 | ||
40 | class Ad_jobsController extends Controller | 40 | class Ad_jobsController extends Controller |
41 | { | 41 | { |
42 | 42 | ||
43 | public function add_job_in_vac(Request $request, Ad_employer $ad_employer) { | 43 | public function add_job_in_vac(Request $request, Ad_employer $ad_employer) { |
44 | $id = Auth()->user()->id; | 44 | $id = Auth()->user()->id; |
45 | 45 | ||
46 | $Positions = Positions::query()->get(); | 46 | $Positions = Category::query()->get(); |
47 | if ($Positions->count()) { | 47 | if ($Positions->count()) { |
48 | $jobs = Job_title::query()->OrderBy('name')->where('position_id', $Positions[0]->id)->get(); | 48 | $jobs = Job_title::query()->OrderBy('name')->where('position_id', $Positions[0]->id)->get(); |
49 | } else { | 49 | } else { |
50 | $jobs = Job_title::query()->OrderBy('name')->where('position_id', 0)->get(); | 50 | $jobs = Job_title::query()->OrderBy('name')->where('position_id', 0)->get(); |
51 | } | 51 | } |
52 | $categories = Category::query()->get(); | 52 | $categories = Category::query()->get(); |
53 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 53 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
54 | where('user_id', $id)->first(); | 54 | where('user_id', $id)->first(); |
55 | 55 | ||
56 | return view('employers.add_ad_jobs', compact('ad_employer', | 56 | return view('employers.add_ad_jobs', compact('ad_employer', |
57 | 'Positions', 'categories', 'jobs', | 57 | 'Positions', 'categories', 'jobs', |
58 | 'Employer')); | 58 | 'Employer')); |
59 | } | 59 | } |
60 | 60 | ||
61 | public function add_job_in_vac_save(Request $request) { | 61 | public function add_job_in_vac_save(Request $request) { |
62 | $params = $request->all(); | 62 | $params = $request->all(); |
63 | 63 | ||
64 | Ad_jobs::create($params); | 64 | Ad_jobs::create($params); |
65 | return redirect()->route('employer.vacancy_list'); | 65 | return redirect()->route('employer.vacancy_list'); |
66 | } | 66 | } |
67 | 67 | ||
68 | public function edit_job_in_vac(Ad_jobs $ad_job, Ad_employer $ad_employer) { | 68 | public function edit_job_in_vac(Ad_jobs $ad_job, Ad_employer $ad_employer, Request $request) { |
69 | $id = Auth()->user()->id; | 69 | $id = Auth()->user()->id; |
70 | if ($request->has('job_title_id')) | ||
71 | $job_title_id= $request->get('job_title_id'); | ||
72 | else | ||
73 | $job_title_id = ''; | ||
70 | 74 | ||
71 | $Positions = Positions::query()->get(); | 75 | $Positions = Category::query()->get(); |
72 | if ($Positions->count()) { | 76 | if ($Positions->count()) { |
73 | $jobs = Job_title::query()->OrderBy('name')->where('position_id', $Positions[0]->id)->get(); | 77 | $jobs123 = Job_title::query()->OrderBy('name')->where('position_id', $ad_job->job_title->position_id )->get(); |
74 | } else { | 78 | } else { |
75 | $jobs = Job_title::query()->OrderBy('name')->where('position_id', 0)->get(); | 79 | $jobs123 = Job_title::query()->OrderBy('name')->where('position_id', 0)->get(); |
76 | } | 80 | } |
77 | $categories = Category::query()->get(); | 81 | |
78 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 82 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
79 | where('user_id', $id)->first(); | 83 | where('user_id', $id)->first(); |
80 | |||
81 | return view('employers.edit_ad_jobs', compact('ad_job', | 84 | return view('employers.edit_ad_jobs', compact('ad_job', |
82 | 'Positions', 'categories', | 85 | 'Positions', |
83 | 'Employer','jobs', 'ad_employer')); | 86 | 'Employer','jobs123', 'ad_employer', 'job_title_id')); |
84 | } | 87 | } |
85 | 88 | ||
86 | public function edit_job_in_vac_save(Request $request, Ad_jobs $ad_job) { | 89 | public function edit_job_in_vac_save(Request $request, Ad_jobs $ad_job) { |
87 | $params = $request->all(); | 90 | $params = $request->all(); |
88 | 91 | ||
89 | $ad_job->update($params); | 92 | $ad_job->update($params); |
90 | 93 | ||
91 | return redirect()->route('employer.vacancy_list'); | 94 | return redirect()->route('employer.vacancy_list'); |
92 | } | 95 | } |
93 | 96 | ||
94 | public function delete_job_in_vac(Ad_jobs $ad_job) { | 97 | public function delete_job_in_vac(Ad_jobs $ad_job) { |
95 | $ad_job->delete(); | 98 | $ad_job->delete(); |
96 | return redirect()->route('employer.vacancy_list'); | 99 | return redirect()->route('employer.vacancy_list'); |
97 | } | 100 | } |
98 | } | 101 | } |
app/Http/Controllers/Admin/JobTitlesController.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\Http\Requests\JobTitlesRequest; | 6 | use App\Http\Requests\JobTitlesRequest; |
7 | use App\Models\Category; | ||
7 | use App\Models\Job_title; | 8 | use App\Models\Job_title; |
8 | use App\Models\Positions; | 9 | use App\Models\Positions; |
9 | use Illuminate\Http\Request; | 10 | use Illuminate\Http\Request; |
10 | 11 | ||
11 | class JobTitlesController extends Controller | 12 | class JobTitlesController extends Controller |
12 | { | 13 | { |
13 | /** | 14 | /** |
14 | * Display a listing of the resource. | 15 | * Display a listing of the resource. |
15 | * | 16 | * |
16 | * @return \Illuminate\Http\Response | 17 | * @return \Illuminate\Http\Response |
17 | */ | 18 | */ |
18 | public function index() | 19 | public function index() |
19 | { | 20 | { |
20 | $Jobs = Job_title::query()->orderBy('name')->active()->paginate(15); | 21 | $Jobs = Job_title::query()->orderBy('name')->active()->paginate(15); |
21 | return view('admin.job_titles.index', compact('Jobs')); | 22 | return view('admin.job_titles.index', compact('Jobs')); |
22 | } | 23 | } |
23 | 24 | ||
24 | /** | 25 | /** |
25 | * Show the form for creating a new resource. | 26 | * Show the form for creating a new resource. |
26 | * | 27 | * |
27 | * @return \Illuminate\Http\Response | 28 | * @return \Illuminate\Http\Response |
28 | */ | 29 | */ |
29 | public function create() | 30 | public function create() |
30 | { | 31 | { |
31 | /*$items = Job_title::query()-> | 32 | /*$items = Job_title::query()-> |
32 | orderByDesc('sort')-> | 33 | orderByDesc('sort')-> |
33 | orderBy('name')-> | 34 | orderBy('name')-> |
34 | active()-> | 35 | active()-> |
35 | get();*/ | 36 | get();*/ |
36 | $position = Positions::query()->get(); | 37 | $category = Category::query()->get(); |
37 | 38 | ||
38 | return view('admin.job_titles.add', compact('position')); | 39 | return view('admin.job_titles.add', compact('category')); |
39 | } | 40 | } |
40 | 41 | ||
41 | /** | 42 | /** |
42 | * Store a newly created resource in storage. | 43 | * Store a newly created resource in storage. |
43 | * | 44 | * |
44 | * @param \Illuminate\Http\Request $request | 45 | * @param \Illuminate\Http\Request $request |
45 | * @return \Illuminate\Http\Response | 46 | * @return \Illuminate\Http\Response |
46 | */ | 47 | */ |
47 | public function store(JobTitlesRequest $request) | 48 | public function store(JobTitlesRequest $request) |
48 | { | 49 | { |
49 | Job_title::create($request->all()); | 50 | Job_title::create($request->all()); |
50 | return redirect()->route('admin.job-titles.index'); | 51 | return redirect()->route('admin.job-titles.index'); |
51 | } | 52 | } |
52 | 53 | ||
53 | /** | 54 | /** |
54 | * Display the specified resource. | 55 | * Display the specified resource. |
55 | * | 56 | * |
56 | * @param \App\Models\Job_title $job_title | 57 | * @param \App\Models\Job_title $job_title |
57 | * @return \Illuminate\Http\Response | 58 | * @return \Illuminate\Http\Response |
58 | */ | 59 | */ |
59 | public function show(Job_title $job_title) | 60 | public function show(Job_title $job_title) |
60 | { | 61 | { |
61 | // | 62 | // |
62 | } | 63 | } |
63 | 64 | ||
64 | /** | 65 | /** |
65 | * Show the form for editing the specified resource. | 66 | * Show the form for editing the specified resource. |
66 | * | 67 | * |
67 | * @param \App\Models\Job_title $job_title | 68 | * @param \App\Models\Job_title $job_title |
68 | * @return \Illuminate\Http\Response | 69 | * @return \Illuminate\Http\Response |
69 | */ | 70 | */ |
70 | public function edit(Job_title $job_title) | 71 | public function edit(Job_title $job_title) |
71 | { | 72 | { |
72 | $position = Positions::query()->get(); | 73 | $category = Category::query()->get(); |
73 | return view('admin.job_titles.edit', compact('job_title', 'position')); | 74 | return view('admin.job_titles.edit', compact('job_title', 'category')); |
74 | } | 75 | } |
75 | 76 | ||
76 | /** | 77 | /** |
77 | * Update the specified resource in storage. | 78 | * Update the specified resource in storage. |
78 | * | 79 | * |
79 | * @param \Illuminate\Http\Request $request | 80 | * @param \Illuminate\Http\Request $request |
80 | * @param \App\Models\Job_title $job_title | 81 | * @param \App\Models\Job_title $job_title |
81 | * @return \Illuminate\Http\Response | 82 | * @return \Illuminate\Http\Response |
82 | */ | 83 | */ |
83 | public function update(JobTitlesRequest $request, Job_title $job_title) | 84 | public function update(JobTitlesRequest $request, Job_title $job_title) |
84 | { | 85 | { |
85 | $job_title->update($request->all()); | 86 | $job_title->update($request->all()); |
86 | return redirect()->route('admin.job-titles.index'); | 87 | return redirect()->route('admin.job-titles.index'); |
87 | } | 88 | } |
88 | 89 | ||
89 | /** | 90 | /** |
90 | * Remove the specified resource from storage. | 91 | * Remove the specified resource from storage. |
91 | * | 92 | * |
92 | * @param \App\Models\Job_title $job_title | 93 | * @param \App\Models\Job_title $job_title |
93 | * @return \Illuminate\Http\Response | 94 | * @return \Illuminate\Http\Response |
94 | */ | 95 | */ |
95 | public function destroy(Job_title $job_title) | 96 | public function destroy(Job_title $job_title) |
96 | { | 97 | { |
97 | $job_title->update(['is_remove' => 1]); | 98 | $job_title->update(['is_remove' => 1]); |
98 | return redirect()->route('admin.job-titles.index'); | 99 | return redirect()->route('admin.job-titles.index'); |
99 | } | 100 | } |
100 | } | 101 | } |
101 | 102 |
app/Models/Ad_jobs.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Filament\Tables\Actions\Position; | 5 | use Filament\Tables\Actions\Position; |
6 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 6 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
7 | use Illuminate\Database\Eloquent\Model; | 7 | use Illuminate\Database\Eloquent\Model; |
8 | 8 | ||
9 | class Ad_jobs extends Model | 9 | class Ad_jobs extends Model |
10 | { | 10 | { |
11 | use HasFactory; | 11 | use HasFactory; |
12 | 12 | ||
13 | protected $table = 'ad_jobs'; | 13 | protected $table = 'ad_jobs'; |
14 | 14 | ||
15 | public $fillable = [ | 15 | public $fillable = [ |
16 | 'ad_employer_id', | 16 | 'ad_employer_id', |
17 | 'job_title_id', | 17 | 'job_title_id', |
18 | 'flot', | 18 | 'flot', |
19 | 'min_salary', | 19 | 'min_salary', |
20 | 'max_salary', | 20 | 'max_salary', |
21 | 'region', | 21 | 'region', |
22 | 'sytki', | 22 | 'sytki', |
23 | 'start', | 23 | 'start', |
24 | 'description', | 24 | 'description', |
25 | 'position_ship' | 25 | 'position_ship', |
26 | 'power' | ||
26 | ]; | 27 | ]; |
27 | 28 | ||
28 | public function job_title() { | 29 | public function job_title() { |
29 | return $this->belongsTo(Job_title::class, 'job_title_id'); | 30 | return $this->belongsTo(Job_title::class, 'job_title_id'); |
30 | } | 31 | } |
31 | 32 | ||
32 | public function positions() { | 33 | public function positions() { |
33 | return $this->belongsToMany(Positions::class, 'job_titles'); | 34 | return $this->belongsToMany(Positions::class, 'job_titles'); |
34 | } | 35 | } |
36 | |||
37 | public function categoria() { | ||
38 | return $this->belongsToMany(Category::class, 'job_titles', 'id', 'position_id'); | ||
39 | } | ||
35 | } | 40 | } |
36 | 41 |
resources/views/admin/job_titles/form.blade.php
1 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> | 1 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> |
2 | <label class="block text-sm"> | 2 | <label class="block text-sm"> |
3 | <span class="text-gray-700 dark:text-gray-400">Название должности</span> | 3 | <span class="text-gray-700 dark:text-gray-400">Название должности</span> |
4 | <input name="name" id="name" | 4 | <input name="name" id="name" |
5 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" | 5 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" |
6 | placeholder="Название должности" value="{{ old('name') ?? $job_title->name ?? '' }}" | 6 | placeholder="Название должности" value="{{ old('name') ?? $job_title->name ?? '' }}" |
7 | /> | 7 | /> |
8 | @error('name') | 8 | @error('name') |
9 | <span class="text-xs text-red-600 dark:text-red-400"> | 9 | <span class="text-xs text-red-600 dark:text-red-400"> |
10 | {{ $message }} | 10 | {{ $message }} |
11 | </span> | 11 | </span> |
12 | @enderror | 12 | @enderror |
13 | </label><br> | 13 | </label><br> |
14 | 14 | ||
15 | <label class="block text-sm"> | 15 | <label class="block text-sm"> |
16 | <span class="text-gray-700 dark:text-gray-400">Родитель</span> | 16 | <span class="text-gray-700 dark:text-gray-400">Родитель</span> |
17 | 17 | ||
18 | @php | 18 | @php |
19 | $parent_id = old('parent_id') ?? $job_title->parent_id ?? 0; | 19 | $parent_id = old('parent_id') ?? $job_title->parent_id ?? 0; |
20 | @endphp | 20 | @endphp |
21 | <select name="parent_id" 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" | 21 | <select name="parent_id" 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" |
22 | title="Родитель"> | 22 | title="Родитель"> |
23 | <option value="0">Без родителя</option> | 23 | <option value="0">Без родителя</option> |
24 | @include('admin.job_titles.parent_id', ['level' => -1, 'parent' => 0]) | 24 | @include('admin.job_titles.parent_id', ['level' => -1, 'parent' => 0]) |
25 | </select> | 25 | </select> |
26 | </label><br> | 26 | </label><br> |
27 | 27 | ||
28 | <label class="block text-sm"> | 28 | <label class="block text-sm"> |
29 | <span class="text-gray-700 dark:text-gray-400">Папка</span> | 29 | <span class="text-gray-700 dark:text-gray-400">Категория должности</span> |
30 | 30 | ||
31 | @php | 31 | @php |
32 | $position_id = old('position_id') ?? $job_title->position_id ?? 0; | 32 | $category_id = old('position_id') ?? $job_title->position_id ?? 0; |
33 | @endphp | 33 | @endphp |
34 | <select name="position_id" 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" | 34 | <select name="position_id" 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" |
35 | title="Родитель"> | 35 | title="Родитель"> |
36 | <option value="">Без родителя</option> | 36 | <option value="">Без родителя</option> |
37 | @foreach ($position as $it) | 37 | @foreach ($category as $it) |
38 | <option value="{{ $it->id }}" @if ($it->id == $position_id) selected @endif>{{ $it->name }}</option> | 38 | <option value="{{ $it->id }}" @if ($it->id == $category_id) selected @endif>{{ $it->name }}</option> |
39 | @endforeach | 39 | @endforeach |
40 | </select> | 40 | </select> |
41 | </label><br> | 41 | </label><br> |
42 | 42 | ||
43 | <label class="block text-sm"> | 43 | <label class="block text-sm"> |
44 | <span class="text-gray-700 dark:text-gray-400">Сортировка</span> | 44 | <span class="text-gray-700 dark:text-gray-400">Сортировка</span> |
45 | @php | 45 | @php |
46 | $sort_num = 100; | 46 | $sort_num = 100; |
47 | @endphp | 47 | @endphp |
48 | <select name="sort" 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" | 48 | <select name="sort" 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" |
49 | title="Сортировка"> | 49 | title="Сортировка"> |
50 | @for($i = 1; $i <= 10; $i++) | 50 | @for($i = 1; $i <= 10; $i++) |
51 | <option value="{{ $sort_num }}" @if (isset($job_title)) @if ($sort_num == $job_title->sort) selected @else @endif @endif>{{ $sort_num }}</option> | 51 | <option value="{{ $sort_num }}" @if (isset($job_title)) @if ($sort_num == $job_title->sort) selected @else @endif @endif>{{ $sort_num }}</option> |
52 | @php $sort_num = $sort_num + 10; @endphp | 52 | @php $sort_num = $sort_num + 10; @endphp |
53 | @endfor | 53 | @endfor |
54 | </select> | 54 | </select> |
55 | </label><br> | 55 | </label><br> |
56 | 56 | ||
57 | <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> | 57 | <div class="flex flex-col flex-wrap mb-4 space-y-4 md:flex-row md:items-end md:space-x-4"> |
58 | <div> | 58 | <div> |
59 | <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"> | 59 | <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"> |
60 | Сохранить | 60 | Сохранить |
61 | </button> | 61 | </button> |
62 | 62 | ||
63 | <a href="{{ route('admin.job-titles.index') }}" | 63 | <a href="{{ route('admin.job-titles.index') }}" |
64 | 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" | 64 | 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" |
65 | style="display: -webkit-inline-box; height: 30px!important;" | 65 | style="display: -webkit-inline-box; height: 30px!important;" |
66 | >Назад</a> | 66 | >Назад</a> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | 70 |
resources/views/employers/add_ad_jobs.blade.php
1 | @extends('layout.frontend', ['title' => 'Добавление вакансии РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Добавление вакансии РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | console.log('Приближаемся к системе, нас рой тут...'); | 5 | console.log('Приближаемся к системе, нас рой тут...'); |
6 | $(document).on('change', '#position_id', function() { | 6 | $(document).on('change', '#position_id', function() { |
7 | var this_ = $(this); | 7 | var this_ = $(this); |
8 | var val_ = this_.val(); | 8 | var val_ = this_.val(); |
9 | var ajax_ = $('#job_title_id'); | 9 | var ajax_ = $('#job_title_id'); |
10 | 10 | ||
11 | console.log('Создания списка людей, которые поднимутся на корабль...'); | 11 | console.log('Создания списка людей, которые поднимутся на корабль...'); |
12 | 12 | ||
13 | $.ajax({ | 13 | $.ajax({ |
14 | type: "GET", | 14 | type: "GET", |
15 | url: "{{ route('employer.selected_people') }}", | 15 | url: "{{ route('employer.selected_people') }}", |
16 | data: "id="+val_, | 16 | data: "id="+val_, |
17 | success: function (data) { | 17 | success: function (data) { |
18 | console.log('Ответка пришла'); | 18 | console.log('Ответка пришла'); |
19 | console.log('Список избранных людей создан'); | 19 | console.log('Список избранных людей создан'); |
20 | ajax_.html(data); | 20 | ajax_.html(data); |
21 | }, | 21 | }, |
22 | headers: { | 22 | headers: { |
23 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 23 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
24 | }, | 24 | }, |
25 | error: function (data) { | 25 | error: function (data) { |
26 | console.log('Обрыв связи'); | 26 | console.log('Обрыв связи'); |
27 | console.log('Error: ' + data); | 27 | console.log('Error: ' + data); |
28 | } | 28 | } |
29 | }); | 29 | }); |
30 | }); | 30 | }); |
31 | </script> | 31 | </script> |
32 | @endsection | 32 | @endsection |
33 | @section('content') | 33 | @section('content') |
34 | <section class="cabinet"> | 34 | <section class="cabinet"> |
35 | <div class="container"> | 35 | <div class="container"> |
36 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 36 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
37 | <li><a href="{{ route('index') }}">Главная</a></li> | 37 | <li><a href="{{ route('index') }}">Главная</a></li> |
38 | <li><b>Личный кабинет</b></li> | 38 | <li><b>Личный кабинет</b></li> |
39 | </ul> | 39 | </ul> |
40 | <div class="cabinet__wrapper"> | 40 | <div class="cabinet__wrapper"> |
41 | <div class="cabinet__side"> | 41 | <div class="cabinet__side"> |
42 | <div class="cabinet__side-toper"> | 42 | <div class="cabinet__side-toper"> |
43 | 43 | ||
44 | @include('employers.emblema') | 44 | @include('employers.emblema') |
45 | 45 | ||
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | @include('employers.menu', ['item' => 2]) | 48 | @include('employers.menu', ['item' => 2]) |
49 | 49 | ||
50 | </div> | 50 | </div> |
51 | 51 | ||
52 | <form class="cabinet__body" action="{{ route('employer.add_job_in_vac_save') }}" method="POST"> | 52 | <form class="cabinet__body" action="{{ route('employer.add_job_in_vac_save') }}" method="POST"> |
53 | @csrf | 53 | @csrf |
54 | <input type="hidden" name="ad_employer_id" value="{{ $ad_employer->id }}"/> | 54 | <input type="hidden" name="ad_employer_id" value="{{ $ad_employer->id }}"/> |
55 | <div class="cabinet__body-item"> | 55 | <div class="cabinet__body-item"> |
56 | <div class="cabinet__descr"> | 56 | <div class="cabinet__descr"> |
57 | <h2 class="title cabinet__title">Разместить должность в вакансии</h2> | 57 | <h2 class="title cabinet__title">Разместить должность в вакансии</h2> |
58 | <p class="cabinet__text"><b>Вакансия {{ $ad_employer->name }}</b></p> | 58 | <p class="cabinet__text"><b>Вакансия {{ $ad_employer->name }}</b></p> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | 61 | ||
62 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 62 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
63 | <label class="form-group__label">Позиция на корабле</label> | 63 | <label class="form-group__label">Категория вакансии</label> |
64 | <div class="form-group__item"> | 64 | <div class="form-group__item"> |
65 | <div class="select"> | 65 | <div class="select"> |
66 | <select class="js-select2" name="position_id" id="position_id"> | 66 | <select class="js-select2" name="position_id" id="position_id"> |
67 | @foreach ($Positions as $it) | 67 | @foreach ($Positions as $it) |
68 | <option value="{{ $it->id }}">{{ $it->name }}</option> | 68 | <option value="{{ $it->id }}">{{ $it->name }}</option> |
69 | @endforeach | 69 | @endforeach |
70 | </select> | 70 | </select> |
71 | @error('postion_id') | 71 | @error('postion_id') |
72 | <span class="text-xs text-red-600 dark:text-red-400"> | 72 | <span class="text-xs text-red-600 dark:text-red-400"> |
73 | {{ $message }} | 73 | {{ $message }} |
74 | </span> | 74 | </span> |
75 | @enderror | 75 | @enderror |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |
78 | </div> | 78 | </div> |
79 | 79 | ||
80 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 80 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
81 | <label class="form-group__label">Должность соискателя</label> | 81 | <label class="form-group__label">Должность соискателя</label> |
82 | <div class="form-group__item"> | 82 | <div class="form-group__item"> |
83 | <div class="select"> | 83 | <div class="select"> |
84 | <select class="js-select2" name="job_title_id" id="job_title_id"> | 84 | <select class="js-select2" name="job_title_id" id="job_title_id"> |
85 | @php $i = 1 @endphp | 85 | @php $i = 1 @endphp |
86 | @if ($jobs->count()) | 86 | @if ($jobs->count()) |
87 | @foreach($jobs as $j) | 87 | @foreach($jobs as $j) |
88 | @if ($i == 1) <option selected> Выберите должность из списка</option> | 88 | @if ($i == 1) <option selected> Выберите должность из списка</option> |
89 | @else | 89 | @else |
90 | <option value="{{ $j->id }}">{{ $j->name }}</option> | 90 | <option value="{{ $j->id }}">{{ $j->name }}</option> |
91 | @endif | 91 | @endif |
92 | @php $i++ @endphp | 92 | @php $i++ @endphp |
93 | @endforeach | 93 | @endforeach |
94 | @endif | 94 | @endif |
95 | </select> | 95 | </select> |
96 | @error('job_title_id') | 96 | @error('job_title_id') |
97 | <span class="text-xs text-red-600 dark:text-red-400"> | 97 | <span class="text-xs text-red-600 dark:text-red-400"> |
98 | {{ $message }} | 98 | {{ $message }} |
99 | </span> | 99 | </span> |
100 | @enderror | 100 | @enderror |
101 | </div> | 101 | </div> |
102 | </div> | 102 | </div> |
103 | </div> | 103 | </div> |
104 | 104 | ||
105 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 105 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
106 | <label class="form-group__label">Категория (локация)</label> | ||
107 | <div class="form-group__item"> | ||
108 | <div class="select"> | ||
109 | <select class="js-select2" name="category_id" id="category_id"> | ||
110 | @php $i = 1 @endphp | ||
111 | @if ($categories->count()) | ||
112 | @foreach($categories as $j) | ||
113 | @if ($i == 1) <option selected> Выберите категорию из списка</option> | ||
114 | @else | ||
115 | <option value="{{ $j->id }}">{{ $j->name }}</option> | ||
116 | @endif | ||
117 | @php $i++ @endphp | ||
118 | @endforeach | ||
119 | @endif | ||
120 | </select> | ||
121 | @error('category_id') | ||
122 | <span class="text-xs text-red-600 dark:text-red-400"> | ||
123 | {{ $message }} | ||
124 | </span> | ||
125 | @enderror | ||
126 | </div> | ||
127 | </div> | ||
128 | </div> | ||
129 | |||
130 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | ||
131 | <label class="form-group__label">Минимальная зарплата</label> | 106 | <label class="form-group__label">Минимальная зарплата</label> |
132 | <div class="form-group__item"> | 107 | <div class="form-group__item"> |
133 | <input type="text" class="input" name="min_salary" id="min_salary" value="{{ old('min_salary') ?? '' }}" placeholder="Минимальная зарплата"> | 108 | <input type="text" class="input" name="min_salary" id="min_salary" value="{{ old('min_salary') ?? '' }}" placeholder="Минимальная зарплата"> |
134 | @error('min_salary') | 109 | @error('min_salary') |
135 | <span class="text-xs text-red-600"> | 110 | <span class="text-xs text-red-600"> |
136 | {{ $message }} | 111 | {{ $message }} |
137 | </span> | 112 | </span> |
138 | @enderror | 113 | @enderror |
139 | </div> | 114 | </div> |
140 | </div> | 115 | </div> |
141 | 116 | ||
142 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 117 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
143 | <label class="form-group__label">Максимальная зарплата</label> | 118 | <label class="form-group__label">Максимальная зарплата</label> |
144 | <div class="form-group__item"> | 119 | <div class="form-group__item"> |
145 | <input type="text" class="input" name="max_salary" id="max_salary" value="{{ old('max_salary') ?? '' }}" placeholder="Максимальная зарплата"> | 120 | <input type="text" class="input" name="max_salary" id="max_salary" value="{{ old('max_salary') ?? '' }}" placeholder="Максимальная зарплата"> |
146 | @error('salary') | 121 | @error('salary') |
147 | <span class="text-xs text-red-600 dark:text-red-400"> | 122 | <span class="text-xs text-red-600 dark:text-red-400"> |
148 | {{ $message }} | 123 | {{ $message }} |
149 | </span> | 124 | </span> |
150 | @enderror | 125 | @enderror |
151 | </div> | 126 | </div> |
152 | </div> | 127 | </div> |
153 | 128 | ||
154 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 129 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
155 | <label class="form-group__label">Регион отплытия</label> | 130 | <label class="form-group__label">Регион отплытия</label> |
156 | <div class="form-group__item"> | 131 | <div class="form-group__item"> |
157 | <input type="text" class="input" name="region" id="region" value="{{ old('region') ?? $Employer->city ?? '' }}" placeholder="Севастополь"> | 132 | <input type="text" class="input" name="region" id="region" value="{{ old('region') ?? $Employer->city ?? '' }}" placeholder="Севастополь"> |
158 | @error('region') | 133 | @error('region') |
159 | <span class="text-xs text-red-600"> | 134 | <span class="text-xs text-red-600"> |
160 | {{ $message }} | 135 | {{ $message }} |
161 | </span> | 136 | </span> |
162 | @enderror | 137 | @enderror |
163 | </div> | 138 | </div> |
164 | </div> | 139 | </div> |
165 | 140 | ||
166 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 141 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
167 | <label class="form-group__label">Мощность</label> | 142 | <label class="form-group__label">Мощность</label> |
168 | <div class="form-group__item"> | 143 | <div class="form-group__item"> |
169 | <input type="text" class="input" name="power" id="power" value="{{ old('power') ?? '' }}" placeholder="POWER-45"> | 144 | <input type="text" class="input" name="power" id="power" value="{{ old('power') ?? '' }}" placeholder="POWER-45"> |
170 | @error('power') | 145 | @error('power') |
171 | <span class="text-xs text-red-600"> | 146 | <span class="text-xs text-red-600"> |
172 | {{ $message }} | 147 | {{ $message }} |
173 | </span> | 148 | </span> |
174 | @enderror | 149 | @enderror |
175 | </div> | 150 | </div> |
176 | </div> | 151 | </div> |
177 | 152 | ||
178 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 153 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
179 | <label class="form-group__label">Суточные выплаты</label> | 154 | <label class="form-group__label">Суточные выплаты</label> |
180 | <div class="form-group__item"> | 155 | <div class="form-group__item"> |
181 | <input type="text" class="input" name="sytki" id="sytki" value="{{ old('sytki') ?? '' }}" placeholder="2000"> | 156 | <input type="text" class="input" name="sytki" id="sytki" value="{{ old('sytki') ?? '' }}" placeholder="2000"> |
182 | @error('power') | 157 | @error('power') |
183 | <span class="text-xs text-red-600"> | 158 | <span class="text-xs text-red-600"> |
184 | {{ $message }} | 159 | {{ $message }} |
185 | </span> | 160 | </span> |
186 | @enderror | 161 | @enderror |
187 | </div> | 162 | </div> |
188 | </div> | 163 | </div> |
189 | 164 | ||
190 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 165 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
191 | <label class="form-group__label">Начало отплытия</label> | 166 | <label class="form-group__label">Начало отплытия</label> |
192 | <div class="form-group__item"> | 167 | <div class="form-group__item"> |
193 | <input type="text" class="input" name="start" id="start" value="{{ old('start') ?? '' }}" placeholder="20 сентября 2024"> | 168 | <input type="text" class="input" name="start" id="start" value="{{ old('start') ?? '' }}" placeholder="20 сентября 2024"> |
194 | @error('power') | 169 | @error('power') |
195 | <span class="text-xs text-red-600"> | 170 | <span class="text-xs text-red-600"> |
196 | {{ $message }} | 171 | {{ $message }} |
197 | </span> | 172 | </span> |
198 | @enderror | 173 | @enderror |
199 | </div> | 174 | </div> |
200 | </div> | 175 | </div> |
201 | 176 | ||
202 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 177 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
203 | <label class="form-group__label">Корабль для посадки</label> | 178 | <label class="form-group__label">Корабль для посадки</label> |
204 | <div class="form-group__item"> | 179 | <div class="form-group__item"> |
205 | <div class="select"> | 180 | <div class="select"> |
206 | <select class="js-select2" name="flot" id="flot"> | 181 | <select class="js-select2" name="flot" id="flot"> |
207 | <option value="" selected> Не указан корабль</option> | 182 | <option value="" selected> Не указан корабль</option> |
208 | @if ($Employer->flots->count()) | 183 | @if ($Employer->flots->count()) |
209 | @foreach($Employer->flots as $j) | 184 | @foreach($Employer->flots as $j) |
210 | <option value="{{ $j->name }}">{{ $j->name }} ({{ $j->id }})</option> | 185 | <option value="{{ $j->name }}">{{ $j->name }} ({{ $j->id }})</option> |
211 | @endforeach | 186 | @endforeach |
212 | @endif | 187 | @endif |
213 | </select> | 188 | </select> |
214 | @error('flot') | 189 | @error('flot') |
215 | <span class="text-xs text-red-600"> | 190 | <span class="text-xs text-red-600"> |
216 | {{ $message }} | 191 | {{ $message }} |
217 | </span> | 192 | </span> |
218 | @enderror | 193 | @enderror |
219 | </div> | 194 | </div> |
220 | </div> | 195 | </div> |
221 | </div> | 196 | </div> |
222 | 197 | ||
223 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 198 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
224 | <label class="form-group__label">Дополнительная информация</label> | 199 | <label class="form-group__label">Дополнительная информация</label> |
225 | <div class="form-group__item"> | 200 | <div class="form-group__item"> |
226 | <textarea class="textarea" name="description" id="description">{{ old('description') ?? '' }}</textarea> | 201 | <textarea class="textarea" name="description" id="description">{{ old('description') ?? '' }}</textarea> |
227 | @error('description') | 202 | @error('description') |
228 | <span class="text-xs text-red-600"> | 203 | <span class="text-xs text-red-600"> |
229 | {{ $message }} | 204 | {{ $message }} |
230 | </span> | 205 | </span> |
231 | @enderror | 206 | @enderror |
232 | </div> | 207 | </div> |
233 | </div> | 208 | </div> |
234 | 209 | ||
235 | <button type="submit" class="button cabinet__submit">Опубликовать</button> | 210 | <button type="submit" class="button cabinet__submit">Опубликовать</button> |
236 | </form> | 211 | </form> |
237 | </div> | 212 | </div> |
238 | </div> | 213 | </div> |
239 | </section> | 214 | </section> |
240 | </div> | 215 | </div> |
241 | @endsection | 216 | @endsection |
242 | 217 |
resources/views/employers/edit_ad_jobs.blade.php
1 | @extends('layout.frontend', ['title' => 'Добавление вакансии РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Добавление вакансии РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | console.log('Приближаемся к системе, нас рой тут...'); | 5 | console.log('Приближаемся к системе, нас рой тут...'); |
6 | $(document).on('change', '#position_id', function() { | 6 | $(document).on('change', '#position_id', function() { |
7 | var this_ = $(this); | 7 | var this_ = $(this); |
8 | var val_ = this_.val(); | 8 | var val_ = this_.val(); |
9 | var ajax_ = $('#job_title_id'); | 9 | var ajax_ = $('#job_title_id'); |
10 | 10 | ||
11 | console.log('Создания списка людей, которые поднимутся на корабль...'); | 11 | console.log('Создания списка людей, которые поднимутся на корабль...'); |
12 | 12 | ||
13 | $.ajax({ | 13 | $.ajax({ |
14 | type: "GET", | 14 | type: "GET", |
15 | url: "{{ route('employer.selected_people') }}", | 15 | url: "{{ route('employer.selected_people') }}", |
16 | data: "id="+val_, | 16 | data: "id="+val_, |
17 | success: function (data) { | 17 | success: function (data) { |
18 | console.log('Ответка пришла'); | 18 | console.log('Ответка пришла'); |
19 | console.log('Список избранных людей создан'); | 19 | console.log('Список избранных людей создан'); |
20 | ajax_.html(data); | 20 | ajax_.html(data); |
21 | }, | 21 | }, |
22 | headers: { | 22 | headers: { |
23 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 23 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
24 | }, | 24 | }, |
25 | error: function (data) { | 25 | error: function (data) { |
26 | console.log('Обрыв связи'); | 26 | console.log('Обрыв связи'); |
27 | console.log('Error: ' + data); | 27 | console.log('Error: ' + data); |
28 | } | 28 | } |
29 | }); | 29 | }); |
30 | }); | 30 | }); |
31 | </script> | 31 | </script> |
32 | @endsection | 32 | @endsection |
33 | @section('content') | 33 | @section('content') |
34 | <section class="cabinet"> | 34 | <section class="cabinet"> |
35 | <div class="container"> | 35 | <div class="container"> |
36 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 36 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
37 | <li><a href="{{ route('index') }}">Главная</a></li> | 37 | <li><a href="{{ route('index') }}">Главная</a></li> |
38 | <li><b>Личный кабинет</b></li> | 38 | <li><b>Личный кабинет</b></li> |
39 | </ul> | 39 | </ul> |
40 | <div class="cabinet__wrapper"> | 40 | <div class="cabinet__wrapper"> |
41 | <div class="cabinet__side"> | 41 | <div class="cabinet__side"> |
42 | <div class="cabinet__side-toper"> | 42 | <div class="cabinet__side-toper"> |
43 | 43 | ||
44 | @include('employers.emblema') | 44 | @include('employers.emblema') |
45 | 45 | ||
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | @include('employers.menu', ['item' => 2]) | 48 | @include('employers.menu', ['item' => 2]) |
49 | 49 | ||
50 | </div> | 50 | </div> |
51 | 51 | ||
52 | <form class="cabinet__body" action="{{ route('employer.edit_job_in_vac_save', ['ad_job' => $ad_job->id]) }}" method="POST"> | 52 | <form class="cabinet__body" action="{{ route('employer.edit_job_in_vac_save', ['ad_job' => $ad_job->id]) }}" method="POST"> |
53 | @csrf | 53 | @csrf |
54 | <input type="hidden" name="ad_employer_id" value="{{ $ad_employer->id }}"/> | 54 | <input type="hidden" name="ad_employer_id" value="{{ $ad_employer->id }}"/> |
55 | <div class="cabinet__body-item"> | 55 | <div class="cabinet__body-item"> |
56 | <div class="cabinet__descr"> | 56 | <div class="cabinet__descr"> |
57 | <h2 class="title cabinet__title">Редактировать должность в вакансии</h2> | 57 | <h2 class="title cabinet__title">Редактировать должность в вакансии</h2> |
58 | <p class="cabinet__text"><b>Вакансия {{ $ad_employer->name }}</b></p> | 58 | <p class="cabinet__text"><b>Вакансия {{ $ad_employer->name }}</b></p> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | 61 | ||
62 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 62 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
63 | <label class="form-group__label">Позиция на корабле</label> | 63 | <label class="form-group__label">Категория должности</label> |
64 | <div class="form-group__item"> | 64 | <div class="form-group__item"> |
65 | <div class="select"> | 65 | <div class="select"> |
66 | <select class="js-select2" name="position_id" id="position_id"> | 66 | <select class="js-select2" name="position_id" id="position_id"> |
67 | @foreach ($Positions as $it) | 67 | @foreach ($Positions as $it) |
68 | <option value="{{ $it->id }}">{{ $it->name }}</option> | 68 | <option value="{{ $it->id }}" @if (isset($ad_job->job_title)) @if($ad_job->job_title->position_id == $it->id) selected @endif @endif>{{ $it->name }}</option> |
69 | @endforeach | 69 | @endforeach |
70 | </select> | 70 | </select> |
71 | @error('postion_id') | 71 | @error('postion_id') |
72 | <span class="text-xs text-red-600 dark:text-red-400"> | 72 | <span class="text-xs text-red-600 dark:text-red-400"> |
73 | {{ $message }} | 73 | {{ $message }} |
74 | </span> | 74 | </span> |
75 | @enderror | 75 | @enderror |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |
78 | </div> | 78 | </div> |
79 | 79 | ||
80 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 80 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
81 | <label class="form-group__label">Должность соискателя</label> | 81 | <label class="form-group__label">Должность соискателя</label> |
82 | <div class="form-group__item"> | 82 | <div class="form-group__item"> |
83 | <div class="select"> | 83 | <div class="select"> |
84 | <select class="js-select2" name="job_title_id" id="job_title_id"> | 84 | <select class="js-select2" name="job_title_id" id="job_title_id"> |
85 | @php $i = 1 @endphp | 85 | @php $i = 1; |
86 | @if ($jobs->count()) | 86 | @endphp |
87 | @foreach($jobs as $j) | 87 | <option value="0"> Выберите должность из списка</option> |
88 | @if ($i == 1) <option selected> Выберите должность из списка</option> | 88 | @foreach($jobs123 as $j) |
89 | @else | 89 | <option value="{{ $j->id }}" @if ($job_title_id == $j->id) selected @endif>{{ $j->name }}</option> |
90 | <option value="{{ $j->id }}">{{ $j->name }}</option> | 90 | @php $i++ @endphp |
91 | @endif | ||
92 | @php $i++ @endphp | ||
93 | @endforeach | 91 | @endforeach |
94 | @endif | ||
95 | </select> | 92 | </select> |
96 | @error('job_title_id') | 93 | @error('job_title_id') |
97 | <span class="text-xs text-red-600 dark:text-red-400"> | 94 | <span class="text-xs text-red-600 dark:text-red-400"> |
98 | {{ $message }} | 95 | {{ $message }} |
99 | </span> | 96 | </span> |
100 | @enderror | 97 | @enderror |
101 | </div> | 98 | </div> |
102 | </div> | 99 | </div> |
103 | </div> | 100 | </div> |
104 | 101 | ||
105 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 102 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
106 | <label class="form-group__label">Минимальная зарплата</label> | 103 | <label class="form-group__label">Минимальная зарплата</label> |
107 | <div class="form-group__item"> | 104 | <div class="form-group__item"> |
108 | <input type="text" class="input" name="min_salary" id="min_salary" value="{{ old('min_salary') ?? $ad_job->min_salary ?? '' }}" placeholder="Минимальная зарплата"> | 105 | <input type="text" class="input" name="min_salary" id="min_salary" value="{{ old('min_salary') ?? $ad_job->min_salary ?? '' }}" placeholder="Минимальная зарплата"> |
109 | @error('min_salary') | 106 | @error('min_salary') |
110 | <span class="text-xs text-red-600"> | 107 | <span class="text-xs text-red-600"> |
111 | {{ $message }} | 108 | {{ $message }} |
112 | </span> | 109 | </span> |
113 | @enderror | 110 | @enderror |
114 | </div> | 111 | </div> |
115 | </div> | 112 | </div> |
116 | 113 | ||
117 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 114 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
118 | <label class="form-group__label">Максимальная зарплата</label> | 115 | <label class="form-group__label">Максимальная зарплата</label> |
119 | <div class="form-group__item"> | 116 | <div class="form-group__item"> |
120 | <input type="text" class="input" name="max_salary" id="max_salary" value="{{ old('max_salary') ?? $ad_job->max_salary ?? '' }}" placeholder="Максимальная зарплата"> | 117 | <input type="text" class="input" name="max_salary" id="max_salary" value="{{ old('max_salary') ?? $ad_job->max_salary ?? '' }}" placeholder="Максимальная зарплата"> |
121 | @error('salary') | 118 | @error('salary') |
122 | <span class="text-xs text-red-600 dark:text-red-400"> | 119 | <span class="text-xs text-red-600 dark:text-red-400"> |
123 | {{ $message }} | 120 | {{ $message }} |
124 | </span> | 121 | </span> |
125 | @enderror | 122 | @enderror |
126 | </div> | 123 | </div> |
127 | </div> | 124 | </div> |
128 | 125 | ||
129 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 126 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
130 | <label class="form-group__label">Регион отплытия</label> | 127 | <label class="form-group__label">Регион отплытия</label> |
131 | <div class="form-group__item"> | 128 | <div class="form-group__item"> |
132 | <input type="text" class="input" name="region" id="region" value="{{ old('region') ?? $ad_job->region ?? '' }}" placeholder="Севастополь"> | 129 | <input type="text" class="input" name="region" id="region" value="{{ old('region') ?? $ad_job->region ?? '' }}" placeholder="Севастополь"> |
133 | @error('region') | 130 | @error('region') |
134 | <span class="text-xs text-red-600"> | 131 | <span class="text-xs text-red-600"> |
135 | {{ $message }} | 132 | {{ $message }} |
136 | </span> | 133 | </span> |
137 | @enderror | 134 | @enderror |
138 | </div> | 135 | </div> |
139 | </div> | 136 | </div> |
140 | 137 | ||
141 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 138 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
142 | <label class="form-group__label">Мощность</label> | 139 | <label class="form-group__label">Мощность</label> |
143 | <div class="form-group__item"> | 140 | <div class="form-group__item"> |
144 | <input type="text" class="input" name="power" id="power" value="{{ old('power') ?? $ad_job->power ?? '' }}" placeholder="POWER-45"> | 141 | <input type="text" class="input" name="power" id="power" value="{{ old('power') ?? $ad_job->power ?? '' }}" placeholder="POWER-45"> |
145 | @error('power') | 142 | @error('power') |
146 | <span class="text-xs text-red-600"> | 143 | <span class="text-xs text-red-600"> |
147 | {{ $message }} | 144 | {{ $message }} |
148 | </span> | 145 | </span> |
149 | @enderror | 146 | @enderror |
150 | </div> | 147 | </div> |
151 | </div> | 148 | </div> |
152 | 149 | ||
153 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 150 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
154 | <label class="form-group__label">Суточные выплаты</label> | 151 | <label class="form-group__label">Суточные выплаты</label> |
155 | <div class="form-group__item"> | 152 | <div class="form-group__item"> |
156 | <input type="text" class="input" name="sytki" id="sytki" value="{{ old('sytki') ?? $ad_job->sytki ??'' }}" placeholder="2000"> | 153 | <input type="text" class="input" name="sytki" id="sytki" value="{{ old('sytki') ?? $ad_job->sytki ??'' }}" placeholder="2000"> |
157 | @error('power') | 154 | @error('power') |
158 | <span class="text-xs text-red-600"> | 155 | <span class="text-xs text-red-600"> |
159 | {{ $message }} | 156 | {{ $message }} |
160 | </span> | 157 | </span> |
161 | @enderror | 158 | @enderror |
162 | </div> | 159 | </div> |
163 | </div> | 160 | </div> |
164 | 161 | ||
165 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 162 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
166 | <label class="form-group__label">Начало отплытия</label> | 163 | <label class="form-group__label">Начало отплытия</label> |
167 | <div class="form-group__item"> | 164 | <div class="form-group__item"> |
168 | <input type="text" class="input" name="start" id="start" value="{{ old('start') ?? $ad_job->start ??'' }}" placeholder="20 сентября 2024"> | 165 | <input type="text" class="input" name="start" id="start" value="{{ old('start') ?? $ad_job->start ??'' }}" placeholder="20 сентября 2024"> |
169 | @error('power') | 166 | @error('power') |
170 | <span class="text-xs text-red-600"> | 167 | <span class="text-xs text-red-600"> |
171 | {{ $message }} | 168 | {{ $message }} |
172 | </span> | 169 | </span> |
173 | @enderror | 170 | @enderror |
174 | </div> | 171 | </div> |
175 | </div> | 172 | </div> |
176 | 173 | ||
177 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 174 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
178 | <label class="form-group__label">Корабль для посадки</label> | 175 | <label class="form-group__label">Корабль для посадки</label> |
179 | <div class="form-group__item"> | 176 | <div class="form-group__item"> |
180 | <div class="select"> | 177 | <div class="select"> |
181 | <select class="js-select2" name="flot" id="flot"> | 178 | <select class="js-select2" name="flot" id="flot"> |
182 | <option value=""> Не указан корабль</option> | 179 | <option value=""> Не указан корабль</option> |
183 | @if ($Employer->flots->count()) | 180 | @if ($Employer->flots->count()) |
184 | @foreach($Employer->flots as $j) | 181 | @foreach($Employer->flots as $j) |
185 | <option value="{{ $j->name }}" @if ($ad_job->flot == $j->name) selected @endif>{{ $j->name }} ({{ $j->id }})</option> | 182 | <option value="{{ $j->name }}" @if ($ad_job->flot == $j->name) selected @endif>{{ $j->name }} ({{ $j->id }})</option> |
186 | @endforeach | 183 | @endforeach |
187 | @endif | 184 | @endif |
188 | </select> | 185 | </select> |
189 | @error('flot') | 186 | @error('flot') |
190 | <span class="text-xs text-red-600"> | 187 | <span class="text-xs text-red-600"> |
191 | {{ $message }} | 188 | {{ $message }} |
192 | </span> | 189 | </span> |
193 | @enderror | 190 | @enderror |
194 | </div> | 191 | </div> |
195 | </div> | 192 | </div> |
196 | </div> | 193 | </div> |
197 | 194 | ||
198 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 195 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
199 | <label class="form-group__label">Дополнительная информация</label> | 196 | <label class="form-group__label">Дополнительная информация</label> |
200 | <div class="form-group__item"> | 197 | <div class="form-group__item"> |
201 | <textarea class="textarea" name="description" id="description">{{ old('description') ??$ad_job->description ?? '' }}</textarea> | 198 | <textarea class="textarea" name="description" id="description">{{ old('description') ??$ad_job->description ?? '' }}</textarea> |
202 | @error('description') | 199 | @error('description') |
203 | <span class="text-xs text-red-600"> | 200 | <span class="text-xs text-red-600"> |
204 | {{ $message }} | 201 | {{ $message }} |
205 | </span> | 202 | </span> |
206 | @enderror | 203 | @enderror |
207 | </div> | 204 | </div> |
208 | </div> | 205 | </div> |
209 | 206 | ||
210 | <button type="submit" class="button cabinet__submit">Опубликовать</button> | 207 | <button type="submit" class="button cabinet__submit">Опубликовать</button> |
211 | </form> | 208 | </form> |
212 | </div> | 209 | </div> |
213 | </div> | 210 | </div> |
214 | </section> | 211 | </section> |
215 | </div> | 212 | </div> |
216 | @endsection | 213 | @endsection |
217 | 214 |
resources/views/employers/list_vacancy.blade.php
1 | @extends('layout.frontend', ['title' => 'Список вакансий - РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Список вакансий - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | console.log('Test system'); | 5 | console.log('Test system'); |
6 | $(document).on('change', '#sort_ajax', function() { | 6 | $(document).on('change', '#sort_ajax', function() { |
7 | var this_ = $(this); | 7 | var this_ = $(this); |
8 | var val_ = this_.val(); | 8 | var val_ = this_.val(); |
9 | console.log('sort items '+val_); | 9 | console.log('sort items '+val_); |
10 | 10 | ||
11 | $.ajax({ | 11 | $.ajax({ |
12 | type: "GET", | 12 | type: "GET", |
13 | url: "{{ route('employer.vacancy_list') }}", | 13 | url: "{{ route('employer.vacancy_list') }}", |
14 | data: "sort="+val_, | 14 | data: "sort="+val_, |
15 | success: function (data) { | 15 | success: function (data) { |
16 | console.log('Выбор сортировки'); | 16 | console.log('Выбор сортировки'); |
17 | console.log(data); | 17 | console.log(data); |
18 | history.pushState({}, '', "{{ route('employer.vacancy_list') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 18 | history.pushState({}, '', "{{ route('employer.vacancy_list') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
19 | $('#main_ockar').html(data); | 19 | $('#main_ockar').html(data); |
20 | }, | 20 | }, |
21 | headers: { | 21 | headers: { |
22 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 22 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
23 | }, | 23 | }, |
24 | error: function (data) { | 24 | error: function (data) { |
25 | data = JSON.stringify(data); | 25 | data = JSON.stringify(data); |
26 | console.log('Error: ' + data); | 26 | console.log('Error: ' + data); |
27 | } | 27 | } |
28 | }); | 28 | }); |
29 | }); | 29 | }); |
30 | </script> | 30 | </script> |
31 | @endsection | 31 | @endsection |
32 | 32 | ||
33 | @section('content') | 33 | @section('content') |
34 | <section class="cabinet"> | 34 | <section class="cabinet"> |
35 | <div class="container"> | 35 | <div class="container"> |
36 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 36 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
37 | <li><a href="{{ route('index') }}">Главная</a></li> | 37 | <li><a href="{{ route('index') }}">Главная</a></li> |
38 | <li><b>Личный кабинет</b></li> | 38 | <li><b>Личный кабинет</b></li> |
39 | </ul> | 39 | </ul> |
40 | <div class="cabinet__wrapper"> | 40 | <div class="cabinet__wrapper"> |
41 | <div class="cabinet__side"> | 41 | <div class="cabinet__side"> |
42 | <div class="cabinet__side-toper"> | 42 | <div class="cabinet__side-toper"> |
43 | 43 | ||
44 | @include('employers.emblema') | 44 | @include('employers.emblema') |
45 | 45 | ||
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | @include('employers.menu', ['item' => 3]) | 48 | @include('employers.menu', ['item' => 3]) |
49 | </div> | 49 | </div> |
50 | <div class="cabinet__body"> | 50 | <div class="cabinet__body"> |
51 | <div class="cabinet__body-item"> | 51 | <div class="cabinet__body-item"> |
52 | <h2 class="title cabinet__title">Мои вакансии</h2> | 52 | <h2 class="title cabinet__title">Мои вакансии</h2> |
53 | </div> | 53 | </div> |
54 | <div class="cabinet__body-item"> | 54 | <div class="cabinet__body-item"> |
55 | <div class="cabinet__filters"> | 55 | <div class="cabinet__filters"> |
56 | <div class="cabinet__filters-item"> | 56 | <div class="cabinet__filters-item"> |
57 | <form class="search"> | 57 | <form class="search"> |
58 | <input type="search" class="input" placeholder="Поиск…" required> | 58 | <input type="search" class="input" placeholder="Поиск…" required> |
59 | <button type="submit" class="button">Найти</button> | 59 | <button type="submit" class="button">Найти</button> |
60 | <span> | 60 | <span> |
61 | <svg> | 61 | <svg> |
62 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 62 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
63 | </svg> | 63 | </svg> |
64 | </span> | 64 | </span> |
65 | </form> | 65 | </form> |
66 | </div> | 66 | </div> |
67 | <div class="cabinet__filters-item"> | 67 | <div class="cabinet__filters-item"> |
68 | <div class="select"> | 68 | <div class="select"> |
69 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> | 69 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> |
70 | <option value="default">Сортировка (по умолчанию)</option> | 70 | <option value="default">Сортировка (по умолчанию)</option> |
71 | <option value="name_up">По имени (возрастание)</option> | 71 | <option value="name_up">По имени (возрастание)</option> |
72 | <option value="name_down">По имени (убывание)</option> | 72 | <option value="name_down">По имени (убывание)</option> |
73 | <option value="created_at_up">По дате (возрастание)</option> | 73 | <option value="created_at_up">По дате (возрастание)</option> |
74 | <option value="created_at_down">По дате (убывание)</option> | 74 | <option value="created_at_down">По дате (убывание)</option> |
75 | </select> | 75 | </select> |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |
78 | </div> | 78 | </div> |
79 | 79 | ||
80 | <div class="table table_spoiler" id="main_ockar" name="main_oskar"> | 80 | <div class="table table_spoiler" id="main_ockar" name="main_oskar"> |
81 | @if ($vacancy_list->count()) | 81 | @if ($vacancy_list->count()) |
82 | <div class="table__scroll"> | 82 | <div class="table__scroll"> |
83 | <div class="table__body table__body_min-width"> | 83 | <div class="table__body table__body_min-width"> |
84 | <table> | 84 | <table> |
85 | <thead> | 85 | <thead> |
86 | <tr> | 86 | <tr> |
87 | <th>№</th> | 87 | <th>№</th> |
88 | <th>Название</th> | 88 | <th>Название</th> |
89 | <th>Дата добавления<br>/ обновления</th> | 89 | <th>Дата добавления<br>/ обновления</th> |
90 | <th>Должности</th> | 90 | <th>Должности</th> |
91 | <th>Статус</th> | 91 | <th>Статус</th> |
92 | <th>Действия</th> | 92 | <th>Действия</th> |
93 | </tr> | 93 | </tr> |
94 | </thead> | 94 | </thead> |
95 | <tbody> | 95 | <tbody> |
96 | @foreach($vacancy_list as $it) | 96 | @foreach($vacancy_list as $it) |
97 | <tr> | 97 | <tr> |
98 | <td>{{ $it->id }}</td> | 98 | <td>{{ $it->id }}</td> |
99 | <td>{{ $it->name }}</td> | 99 | <td>{{ $it->name }}</td> |
100 | <td>{{ date('d.m.Y H:i:s', strtotime($it->created_at)) }} <br>/ {{ date('d.m.Y H:i:s', strtotime($it->updated_at)) }}</td> | 100 | <td>{{ date('d.m.Y H:i:s', strtotime($it->created_at)) }} <br>/ {{ date('d.m.Y H:i:s', strtotime($it->updated_at)) }}</td> |
101 | <td> <a href="{{ route('employer.add_job_in_vac', ['ad_employer' => $it->id]) }}" class="button">Добавить</a> | 101 | <td> <a href="{{ route('employer.add_job_in_vac', ['ad_employer' => $it->id]) }}" class="button">Добавить</a> |
102 | @if ($it->jobs->count()) | ||
103 | 102 | ||
103 | @if ($it->jobs->count()) | ||
104 | @foreach ($it->jobs as $key => $it_um) | 104 | @foreach ($it->jobs as $key => $it_um) |
105 | <p><a href="{{ route('employer.edit_job_in_vac', ['ad_job' => $it_um->id, 'ad_employer' => $it->id]) }}" style="text-decoration: underline">{{$it_um->name}}</a> | 105 | <p>@if (isset($it->jobs_code[$key])) |
106 | @if (isset($it->jobs_code[$key])) | 106 | <a href="{{ route('employer.edit_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id, 'ad_employer' => $it->id, 'job_title_id' => $it_um->id]) }}" style="text-decoration: underline">{{$it_um->name}}</a> |
107 | <a href="{{ route('employer.delete_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id]) }}" style="text-decoration: underline">(Del)</a> | 107 | <a href="{{ route('employer.delete_job_in_vac', ['ad_job' => $it->jobs_code[$key]->id]) }}" style="text-decoration: underline">(Del)</a> |
108 | @endif | 108 | @endif |
109 | </p> | 109 | </p> |
110 | @endforeach | 110 | @endforeach |
111 | @else | 111 | @else |
112 | Нет связанных <br> с вакансией должностей | 112 | Нет связанных <br> с вакансией должностей |
113 | @endif | 113 | @endif |
114 | </td> | 114 | </td> |
115 | <td> | 115 | <td> |
116 | @if ($it->active_is) | 116 | @if ($it->active_is) |
117 | <span class="table__status green"><i></i>Опубликовано</span> | 117 | <span class="table__status green"><i></i>Опубликовано</span> |
118 | @else | 118 | @else |
119 | <span class="table__status"><i></i>Не опубликовано</span> | 119 | <span class="table__status"><i></i>Не опубликовано</span> |
120 | @endif | 120 | @endif |
121 | </td> | 121 | </td> |
122 | <td> | 122 | <td> |
123 | <span class="table__controls"> | 123 | <span class="table__controls"> |
124 | <a class="table__controls-item up-it" href="{{ route('employer.vacancy_up', ['ad_employer' => $it->id]) }}"> | 124 | <a class="table__controls-item up-it" href="{{ route('employer.vacancy_up', ['ad_employer' => $it->id]) }}"> |
125 | <svg> | 125 | <svg> |
126 | <use xlink:href="{{ asset('images/sprite.svg#arrow-radius') }}"></use> | 126 | <use xlink:href="{{ asset('images/sprite.svg#arrow-radius') }}"></use> |
127 | </svg> | 127 | </svg> |
128 | </a> | 128 | </a> |
129 | <a href="{{ route('employer.vacancy_edit', ['ad_employer' => $it->id]) }}" class="table__controls-item"> | 129 | <a href="{{ route('employer.vacancy_edit', ['ad_employer' => $it->id]) }}" class="table__controls-item"> |
130 | <svg> | 130 | <svg> |
131 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | 131 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> |
132 | </svg> | 132 | </svg> |
133 | </a> | 133 | </a> |
134 | <a class="table__controls-item" href="{{ route('employer.vacancy_delete', ['ad_employer' => $it->id]) }}"> | 134 | <a class="table__controls-item" href="{{ route('employer.vacancy_delete', ['ad_employer' => $it->id]) }}"> |
135 | <svg> | 135 | <svg> |
136 | <use xlink:href="{{ asset('images/sprite.svg#cross') }}"></use> | 136 | <use xlink:href="{{ asset('images/sprite.svg#cross') }}"></use> |
137 | </svg> | 137 | </svg> |
138 | </a> | 138 | </a> |
139 | @if ($it->active_is) | 139 | @if ($it->active_is) |
140 | <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 0]) }}" class="table__controls-item"> | 140 | <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 0]) }}" class="table__controls-item"> |
141 | <svg> | 141 | <svg> |
142 | <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use> | 142 | <use xlink:href="{{ asset('images/sprite.svg#eye') }}"></use> |
143 | </svg> | 143 | </svg> |
144 | </a> | 144 | </a> |
145 | @else | 145 | @else |
146 | <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 1]) }}" class="table__controls-item"> | 146 | <a href="{{ route('employer.vacancy_eye', ['ad_employer' => $it->id, 'status' => 1]) }}" class="table__controls-item"> |
147 | <svg> | 147 | <svg> |
148 | <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> | 148 | <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> |
149 | </svg> | 149 | </svg> |
150 | </a> | 150 | </a> |
151 | @endif | 151 | @endif |
152 | 152 | ||
153 | <!--<button type="button" class="table__controls-item"> | 153 | <!--<button type="button" class="table__controls-item"> |
154 | <svg> | 154 | <svg> |
155 | <use xlink:href=" asset('images/sprite.svg#tg') }}"></use> | 155 | <use xlink:href=" asset('images/sprite.svg#tg') }}"></use> |
156 | </svg> | 156 | </svg> |
157 | </button> | 157 | </button> |
158 | --> | 158 | --> |
159 | </span> | 159 | </span> |
160 | </td> | 160 | </td> |
161 | </tr> | 161 | </tr> |
162 | @endforeach | 162 | @endforeach |
163 | </tbody> | 163 | </tbody> |
164 | </table> | 164 | </table> |
165 | </div><br> | 165 | </div><br> |
166 | {{ $vacancy_list->appends($_GET)->links('paginate') }} | 166 | {{ $vacancy_list->appends($_GET)->links('paginate') }} |
167 | </div> | 167 | </div> |
168 | 168 | ||
169 | 169 | ||
170 | @else | 170 | @else |
171 | 171 | ||
172 | <div class="notify"> | 172 | <div class="notify"> |
173 | <svg> | 173 | <svg> |
174 | <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> | 174 | <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> |
175 | </svg> | 175 | </svg> |
176 | <span>Вы ещё не разместили ни одной вакансии</span> | 176 | <span>Вы ещё не разместили ни одной вакансии</span> |
177 | </div> | 177 | </div> |
178 | @endif | 178 | @endif |
179 | </div> | 179 | </div> |
180 | </div> | 180 | </div> |
181 | </div> | 181 | </div> |
182 | </div> | 182 | </div> |
183 | </div> | 183 | </div> |
184 | </section> | 184 | </section> |
185 | </div> | 185 | </div> |
186 | @endsection | 186 | @endsection |
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_new.css')}}" /> | 11 | <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output_new.css')}}" /> |
12 | <link rel="stylesheet" href="{{ asset('./assets/css/tabs.css')}}" /> | 12 | <link rel="stylesheet" href="{{ asset('./assets/css/tabs.css')}}" /> |
13 | <script | 13 | <script |
14 | src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" | 14 | src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" |
15 | defer | 15 | defer |
16 | ></script> | 16 | ></script> |
17 | <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> | 17 | <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> |
18 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> | 18 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> |
19 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> | 19 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> |
20 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | 20 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> |
21 | <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> | 21 | <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> |
22 | <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> | 22 | <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> |
23 | </head> | 23 | </head> |
24 | <body> | 24 | <body> |
25 | <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> | 25 | <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> |
26 | <!-- Desktop sidebar --> | 26 | <!-- Desktop sidebar --> |
27 | <aside | 27 | <aside |
28 | class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" | 28 | class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" |
29 | > | 29 | > |
30 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 30 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
31 | <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 31 | <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
32 | href="{{ route('admin.index') }}"> | 32 | href="{{ route('admin.index') }}"> |
33 | Админка | 33 | Админка |
34 | </a> | 34 | </a> |
35 | <ul class="mt-6"> | 35 | <ul class="mt-6"> |
36 | <li class="relative px-6 py-3"> | 36 | <li class="relative px-6 py-3"> |
37 | <span | 37 | <span |
38 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 38 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
39 | aria-hidden="true" | 39 | aria-hidden="true" |
40 | ></span> | 40 | ></span> |
41 | <a | 41 | <a |
42 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" | 42 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" |
43 | href="{{ route('admin.index') }}" | 43 | href="{{ route('admin.index') }}" |
44 | > | 44 | > |
45 | <svg | 45 | <svg |
46 | class="w-5 h-5" | 46 | class="w-5 h-5" |
47 | aria-hidden="true" | 47 | aria-hidden="true" |
48 | fill="none" | 48 | fill="none" |
49 | stroke-linecap="round" | 49 | stroke-linecap="round" |
50 | stroke-linejoin="round" | 50 | stroke-linejoin="round" |
51 | stroke-width="2" | 51 | stroke-width="2" |
52 | viewBox="0 0 24 24" | 52 | viewBox="0 0 24 24" |
53 | stroke="currentColor" | 53 | stroke="currentColor" |
54 | > | 54 | > |
55 | <path | 55 | <path |
56 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" | 56 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" |
57 | ></path> | 57 | ></path> |
58 | </svg> | 58 | </svg> |
59 | <span class="ml-4">Главная страница</span> | 59 | <span class="ml-4">Главная страница</span> |
60 | </a> | 60 | </a> |
61 | </li> | 61 | </li> |
62 | </ul> | 62 | </ul> |
63 | 63 | ||
64 | <ul> | 64 | <ul> |
65 | @foreach ($contents as $cont) | 65 | @foreach ($contents as $cont) |
66 | @if ($cont->url_page == "admin/users") | 66 | @if ($cont->url_page == "admin/users") |
67 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 67 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
68 | (($cont->is_manager == 1) && ($is_manager == 1))) | 68 | (($cont->is_manager == 1) && ($is_manager == 1))) |
69 | <li class="relative px-6 py-3"> | 69 | <li class="relative px-6 py-3"> |
70 | <a | 70 | <a |
71 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" | 71 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" |
72 | href="{{ route('admin.users') }}" | 72 | href="{{ route('admin.users') }}" |
73 | > | 73 | > |
74 | <svg | 74 | <svg |
75 | class="w-5 h-5" | 75 | class="w-5 h-5" |
76 | aria-hidden="true" | 76 | aria-hidden="true" |
77 | fill="none" | 77 | fill="none" |
78 | stroke-linecap="round" | 78 | stroke-linecap="round" |
79 | stroke-linejoin="round" | 79 | stroke-linejoin="round" |
80 | stroke-width="2" | 80 | stroke-width="2" |
81 | viewBox="0 0 24 24" | 81 | viewBox="0 0 24 24" |
82 | stroke="currentColor" | 82 | stroke="currentColor" |
83 | > | 83 | > |
84 | <path | 84 | <path |
85 | 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" | 85 | 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" |
86 | ></path> | 86 | ></path> |
87 | </svg> | 87 | </svg> |
88 | <span class="ml-4">Пользователи</span> | 88 | <span class="ml-4">Пользователи</span> |
89 | </a> | 89 | </a> |
90 | </li> | 90 | </li> |
91 | @endif | 91 | @endif |
92 | @endif | 92 | @endif |
93 | 93 | ||
94 | @if ($cont->url_page == "admin/admin_roles") | 94 | @if ($cont->url_page == "admin/admin_roles") |
95 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 95 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
96 | (($cont->is_manager == 1) && ($is_manager == 1))) | 96 | (($cont->is_manager == 1) && ($is_manager == 1))) |
97 | <li class="relative px-6 py-3"> | 97 | <li class="relative px-6 py-3"> |
98 | <a | 98 | <a |
99 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" | 99 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" |
100 | href="{{ route('admin.admin_roles') }}" | 100 | href="{{ route('admin.admin_roles') }}" |
101 | > | 101 | > |
102 | <svg | 102 | <svg |
103 | class="w-5 h-5" | 103 | class="w-5 h-5" |
104 | aria-hidden="true" | 104 | aria-hidden="true" |
105 | fill="none" | 105 | fill="none" |
106 | stroke-linecap="round" | 106 | stroke-linecap="round" |
107 | stroke-linejoin="round" | 107 | stroke-linejoin="round" |
108 | stroke-width="2" | 108 | stroke-width="2" |
109 | viewBox="0 0 24 24" | 109 | viewBox="0 0 24 24" |
110 | stroke="currentColor" | 110 | stroke="currentColor" |
111 | > | 111 | > |
112 | <path | 112 | <path |
113 | 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" | 113 | 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" |
114 | ></path> | 114 | ></path> |
115 | </svg> | 115 | </svg> |
116 | <span class="ml-4">Роли администраторов</span> | 116 | <span class="ml-4">Роли администраторов</span> |
117 | </a> | 117 | </a> |
118 | </li> | 118 | </li> |
119 | @endif | 119 | @endif |
120 | @endif | 120 | @endif |
121 | 121 | ||
122 | @if ($cont->url_page == "admin/admin-users") | 122 | @if ($cont->url_page == "admin/admin-users") |
123 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 123 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
124 | (($cont->is_manager == 1) && ($is_manager == 1))) | 124 | (($cont->is_manager == 1) && ($is_manager == 1))) |
125 | <li class="relative px-6 py-3"> | 125 | <li class="relative px-6 py-3"> |
126 | <a | 126 | <a |
127 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" | 127 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" |
128 | > | 128 | > |
129 | <svg | 129 | <svg |
130 | class="w-5 h-5" | 130 | class="w-5 h-5" |
131 | aria-hidden="true" | 131 | aria-hidden="true" |
132 | fill="none" | 132 | fill="none" |
133 | stroke-linecap="round" | 133 | stroke-linecap="round" |
134 | stroke-linejoin="round" | 134 | stroke-linejoin="round" |
135 | stroke-width="2" | 135 | stroke-width="2" |
136 | viewBox="0 0 24 24" | 136 | viewBox="0 0 24 24" |
137 | stroke="currentColor" | 137 | stroke="currentColor" |
138 | > | 138 | > |
139 | <path | 139 | <path |
140 | 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" | 140 | 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" |
141 | ></path> | 141 | ></path> |
142 | </svg> | 142 | </svg> |
143 | <span class="ml-4">Администраторы</span> | 143 | <span class="ml-4">Администраторы</span> |
144 | </a> | 144 | </a> |
145 | </li> | 145 | </li> |
146 | @endif | 146 | @endif |
147 | @endif | 147 | @endif |
148 | 148 | ||
149 | @if ($cont->url_page == "admin/employers") | 149 | @if ($cont->url_page == "admin/employers") |
150 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 150 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
151 | (($cont->is_manager == 1) && ($is_manager == 1))) | 151 | (($cont->is_manager == 1) && ($is_manager == 1))) |
152 | <li class="relative px-6 py-3"> | 152 | <li class="relative px-6 py-3"> |
153 | <a | 153 | <a |
154 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" | 154 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" |
155 | > | 155 | > |
156 | <svg | 156 | <svg |
157 | class="w-5 h-5" | 157 | class="w-5 h-5" |
158 | aria-hidden="true" | 158 | aria-hidden="true" |
159 | fill="none" | 159 | fill="none" |
160 | stroke-linecap="round" | 160 | stroke-linecap="round" |
161 | stroke-linejoin="round" | 161 | stroke-linejoin="round" |
162 | stroke-width="2" | 162 | stroke-width="2" |
163 | viewBox="0 0 24 24" | 163 | viewBox="0 0 24 24" |
164 | stroke="currentColor" | 164 | stroke="currentColor" |
165 | > | 165 | > |
166 | <path | 166 | <path |
167 | 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" | 167 | 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" |
168 | ></path> | 168 | ></path> |
169 | </svg> | 169 | </svg> |
170 | <span class="ml-4">Работодатели</span> | 170 | <span class="ml-4">Работодатели</span> |
171 | </a> | 171 | </a> |
172 | </li> | 172 | </li> |
173 | @endif | 173 | @endif |
174 | @endif | 174 | @endif |
175 | 175 | ||
176 | @if ($cont->url_page == "admin/workers") | 176 | @if ($cont->url_page == "admin/workers") |
177 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 177 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
178 | (($cont->is_manager == 1) && ($is_manager == 1))) | 178 | (($cont->is_manager == 1) && ($is_manager == 1))) |
179 | <li class="relative px-6 py-3"> | 179 | <li class="relative px-6 py-3"> |
180 | <a | 180 | <a |
181 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" | 181 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" |
182 | > | 182 | > |
183 | <svg | 183 | <svg |
184 | class="w-5 h-5" | 184 | class="w-5 h-5" |
185 | aria-hidden="true" | 185 | aria-hidden="true" |
186 | fill="none" | 186 | fill="none" |
187 | stroke-linecap="round" | 187 | stroke-linecap="round" |
188 | stroke-linejoin="round" | 188 | stroke-linejoin="round" |
189 | stroke-width="2" | 189 | stroke-width="2" |
190 | viewBox="0 0 24 24" | 190 | viewBox="0 0 24 24" |
191 | stroke="currentColor" | 191 | stroke="currentColor" |
192 | > | 192 | > |
193 | <path | 193 | <path |
194 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 194 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
195 | ></path> | 195 | ></path> |
196 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 196 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
197 | </svg> | 197 | </svg> |
198 | <span class="ml-4">Соискатели</span> | 198 | <span class="ml-4">Соискатели</span> |
199 | </a> | 199 | </a> |
200 | </li> | 200 | </li> |
201 | @endif | 201 | @endif |
202 | @endif | 202 | @endif |
203 | 203 | ||
204 | @if ($cont->url_page == "admin/ad-employers") | 204 | @if ($cont->url_page == "admin/ad-employers") |
205 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 205 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
206 | (($cont->is_manager == 1) && ($is_manager == 1))) | 206 | (($cont->is_manager == 1) && ($is_manager == 1))) |
207 | <li class="relative px-6 py-3"> | 207 | <li class="relative px-6 py-3"> |
208 | <a | 208 | <a |
209 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" | 209 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" |
210 | > | 210 | > |
211 | <svg | 211 | <svg |
212 | class="w-5 h-5" | 212 | class="w-5 h-5" |
213 | aria-hidden="true" | 213 | aria-hidden="true" |
214 | fill="none" | 214 | fill="none" |
215 | stroke-linecap="round" | 215 | stroke-linecap="round" |
216 | stroke-linejoin="round" | 216 | stroke-linejoin="round" |
217 | stroke-width="2" | 217 | stroke-width="2" |
218 | viewBox="0 0 24 24" | 218 | viewBox="0 0 24 24" |
219 | stroke="currentColor" | 219 | stroke="currentColor" |
220 | > | 220 | > |
221 | <path | 221 | <path |
222 | 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" | 222 | 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" |
223 | ></path> | 223 | ></path> |
224 | </svg> | 224 | </svg> |
225 | <span class="ml-4">Вакансии</span> | 225 | <span class="ml-4">Вакансии</span> |
226 | </a> | 226 | </a> |
227 | </li> | 227 | </li> |
228 | @endif | 228 | @endif |
229 | @endif | 229 | @endif |
230 | 230 | ||
231 | @if ($cont->url_page == "admin/messages") | 231 | @if ($cont->url_page == "admin/messages") |
232 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 232 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
233 | (($cont->is_manager == 1) && ($is_manager == 1))) | 233 | (($cont->is_manager == 1) && ($is_manager == 1))) |
234 | <li class="relative px-6 py-3"> | 234 | <li class="relative px-6 py-3"> |
235 | <a | 235 | <a |
236 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | 236 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" |
237 | > | 237 | > |
238 | <svg | 238 | <svg |
239 | class="w-5 h-5" | 239 | class="w-5 h-5" |
240 | aria-hidden="true" | 240 | aria-hidden="true" |
241 | fill="none" | 241 | fill="none" |
242 | stroke-linecap="round" | 242 | stroke-linecap="round" |
243 | stroke-linejoin="round" | 243 | stroke-linejoin="round" |
244 | stroke-width="2" | 244 | stroke-width="2" |
245 | viewBox="0 0 24 24" | 245 | viewBox="0 0 24 24" |
246 | stroke="currentColor" | 246 | stroke="currentColor" |
247 | > | 247 | > |
248 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 248 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
249 | </svg> | 249 | </svg> |
250 | <span class="ml-4">Сообщения все</span> | 250 | <span class="ml-4">Сообщения все</span> |
251 | </a> | 251 | </a> |
252 | </li> | 252 | </li> |
253 | @endif | 253 | @endif |
254 | @endif | 254 | @endif |
255 | 255 | ||
256 | @if ($cont->url_page == "admin/admin-messages") | 256 | @if ($cont->url_page == "admin/admin-messages") |
257 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 257 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
258 | (($cont->is_manager == 1) && ($is_manager == 1))) | 258 | (($cont->is_manager == 1) && ($is_manager == 1))) |
259 | <li class="relative px-6 py-3"> | 259 | <li class="relative px-6 py-3"> |
260 | <a | 260 | <a |
261 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" | 261 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" |
262 | > | 262 | > |
263 | <svg | 263 | <svg |
264 | class="w-5 h-5" | 264 | class="w-5 h-5" |
265 | aria-hidden="true" | 265 | aria-hidden="true" |
266 | fill="none" | 266 | fill="none" |
267 | stroke-linecap="round" | 267 | stroke-linecap="round" |
268 | stroke-linejoin="round" | 268 | stroke-linejoin="round" |
269 | stroke-width="2" | 269 | stroke-width="2" |
270 | viewBox="0 0 24 24" | 270 | viewBox="0 0 24 24" |
271 | stroke="currentColor" | 271 | stroke="currentColor" |
272 | > | 272 | > |
273 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 273 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
274 | </svg> | 274 | </svg> |
275 | <span class="ml-4">Заявки на рассылку</span> | 275 | <span class="ml-4">Заявки на рассылку</span> |
276 | </a> | 276 | </a> |
277 | </li> | 277 | </li> |
278 | @endif | 278 | @endif |
279 | @endif | 279 | @endif |
280 | 280 | ||
281 | @if ($cont->url_page == "admin/groups") | 281 | @if ($cont->url_page == "admin/groups") |
282 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 282 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
283 | (($cont->is_manager == 1) && ($is_manager == 1))) | 283 | (($cont->is_manager == 1) && ($is_manager == 1))) |
284 | <li class="relative px-6 py-3"> | 284 | <li class="relative px-6 py-3"> |
285 | <a | 285 | <a |
286 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}" | 286 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}" |
287 | > | 287 | > |
288 | <svg | 288 | <svg |
289 | class="w-5 h-5" | 289 | class="w-5 h-5" |
290 | aria-hidden="true" | 290 | aria-hidden="true" |
291 | fill="none" | 291 | fill="none" |
292 | stroke-linecap="round" | 292 | stroke-linecap="round" |
293 | stroke-linejoin="round" | 293 | stroke-linejoin="round" |
294 | stroke-width="2" | 294 | stroke-width="2" |
295 | viewBox="0 0 24 24" | 295 | viewBox="0 0 24 24" |
296 | stroke="currentColor" | 296 | stroke="currentColor" |
297 | > | 297 | > |
298 | <path | 298 | <path |
299 | 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" | 299 | 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" |
300 | ></path> | 300 | ></path> |
301 | </svg> | 301 | </svg> |
302 | <span class="ml-4">Группы пользователей</span> | 302 | <span class="ml-4">Группы пользователей</span> |
303 | </a> | 303 | </a> |
304 | </li> | 304 | </li> |
305 | @endif | 305 | @endif |
306 | @endif | 306 | @endif |
307 | 307 | ||
308 | @if ($cont->url_page == "admin/media") | 308 | @if ($cont->url_page == "admin/media") |
309 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 309 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
310 | (($cont->is_manager == 1) && ($is_manager == 1))) | 310 | (($cont->is_manager == 1) && ($is_manager == 1))) |
311 | <li class="relative px-6 py-3"> | 311 | <li class="relative px-6 py-3"> |
312 | <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 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> | 312 | <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 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> |
313 | <svg | 313 | <svg |
314 | class="w-5 h-5" | 314 | class="w-5 h-5" |
315 | aria-hidden="true" | 315 | aria-hidden="true" |
316 | fill="none" | 316 | fill="none" |
317 | stroke-linecap="round" | 317 | stroke-linecap="round" |
318 | stroke-linejoin="round" | 318 | stroke-linejoin="round" |
319 | stroke-width="2" | 319 | stroke-width="2" |
320 | viewBox="0 0 24 24" | 320 | viewBox="0 0 24 24" |
321 | stroke="currentColor" | 321 | stroke="currentColor" |
322 | > | 322 | > |
323 | <path | 323 | <path |
324 | 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" | 324 | 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" |
325 | ></path> | 325 | ></path> |
326 | </svg> | 326 | </svg> |
327 | <span class="ml-4">Медиа</span> | 327 | <span class="ml-4">Медиа</span> |
328 | </a> | 328 | </a> |
329 | </li> | 329 | </li> |
330 | @endif | 330 | @endif |
331 | @endif | 331 | @endif |
332 | 332 | ||
333 | @if ($cont->url_page == "admin/roles") | 333 | @if ($cont->url_page == "admin/roles") |
334 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 334 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
335 | (($cont->is_manager == 1) && ($is_manager == 1))) | 335 | (($cont->is_manager == 1) && ($is_manager == 1))) |
336 | <li class="relative px-6 py-3"> | 336 | <li class="relative px-6 py-3"> |
337 | <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 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> | 337 | <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 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> |
338 | <svg | 338 | <svg |
339 | class="w-5 h-5" | 339 | class="w-5 h-5" |
340 | aria-hidden="true" | 340 | aria-hidden="true" |
341 | fill="none" | 341 | fill="none" |
342 | stroke-linecap="round" | 342 | stroke-linecap="round" |
343 | stroke-linejoin="round" | 343 | stroke-linejoin="round" |
344 | stroke-width="2" | 344 | stroke-width="2" |
345 | viewBox="0 0 24 24" | 345 | viewBox="0 0 24 24" |
346 | stroke="currentColor" | 346 | stroke="currentColor" |
347 | > | 347 | > |
348 | <path | 348 | <path |
349 | 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" | 349 | 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" |
350 | ></path> | 350 | ></path> |
351 | </svg> | 351 | </svg> |
352 | <span class="ml-4">Роли пользователей</span> | 352 | <span class="ml-4">Роли пользователей</span> |
353 | </a> | 353 | </a> |
354 | </li> | 354 | </li> |
355 | @endif | 355 | @endif |
356 | @endif | 356 | @endif |
357 | 357 | ||
358 | @if ($cont->url_page == "admin/basedata") | 358 | @if ($cont->url_page == "admin/basedata") |
359 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 359 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
360 | (($cont->is_manager == 1) && ($is_manager == 1))) | 360 | (($cont->is_manager == 1) && ($is_manager == 1))) |
361 | <li class="relative px-6 py-3"> | 361 | <li class="relative px-6 py-3"> |
362 | <a | 362 | <a |
363 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" | 363 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" |
364 | > | 364 | > |
365 | <svg | 365 | <svg |
366 | class="w-5 h-5" | 366 | class="w-5 h-5" |
367 | aria-hidden="true" | 367 | aria-hidden="true" |
368 | fill="none" | 368 | fill="none" |
369 | stroke-linecap="round" | 369 | stroke-linecap="round" |
370 | stroke-linejoin="round" | 370 | stroke-linejoin="round" |
371 | stroke-width="2" | 371 | stroke-width="2" |
372 | viewBox="0 0 24 24" | 372 | viewBox="0 0 24 24" |
373 | stroke="currentColor" | 373 | stroke="currentColor" |
374 | > | 374 | > |
375 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 375 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
376 | </svg> | 376 | </svg> |
377 | <span class="ml-4">Базы данных</span> | 377 | <span class="ml-4">Базы данных</span> |
378 | </a> | 378 | </a> |
379 | </li> | 379 | </li> |
380 | @endif | 380 | @endif |
381 | @endif | 381 | @endif |
382 | 382 | ||
383 | @if ($cont->url_page == "admin/education") | 383 | @if ($cont->url_page == "admin/education") |
384 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 384 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
385 | (($cont->is_manager == 1) && ($is_manager == 1))) | 385 | (($cont->is_manager == 1) && ($is_manager == 1))) |
386 | <li class="relative px-6 py-3"> | 386 | <li class="relative px-6 py-3"> |
387 | <a | 387 | <a |
388 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" | 388 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" |
389 | > | 389 | > |
390 | <svg | 390 | <svg |
391 | class="w-5 h-5" | 391 | class="w-5 h-5" |
392 | aria-hidden="true" | 392 | aria-hidden="true" |
393 | fill="none" | 393 | fill="none" |
394 | stroke-linecap="round" | 394 | stroke-linecap="round" |
395 | stroke-linejoin="round" | 395 | stroke-linejoin="round" |
396 | stroke-width="2" | 396 | stroke-width="2" |
397 | viewBox="0 0 24 24" | 397 | viewBox="0 0 24 24" |
398 | stroke="currentColor" | 398 | stroke="currentColor" |
399 | > | 399 | > |
400 | <path | 400 | <path |
401 | 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" | 401 | 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" |
402 | ></path> | 402 | ></path> |
403 | </svg> | 403 | </svg> |
404 | <span class="ml-4">Учебн.заведения</span> | 404 | <span class="ml-4">Учебн.заведения</span> |
405 | </a> | 405 | </a> |
406 | </li> | 406 | </li> |
407 | @endif | 407 | @endif |
408 | @endif | 408 | @endif |
409 | 409 | ||
410 | @if ($cont->url_page == "admin/statics") | 410 | @if ($cont->url_page == "admin/statics") |
411 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 411 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
412 | (($cont->is_manager == 1) && ($is_manager == 1))) | 412 | (($cont->is_manager == 1) && ($is_manager == 1))) |
413 | <li class="relative px-6 py-3"> | 413 | <li class="relative px-6 py-3"> |
414 | <a | 414 | <a |
415 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" | 415 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" |
416 | > | 416 | > |
417 | <svg | 417 | <svg |
418 | class="w-5 h-5" | 418 | class="w-5 h-5" |
419 | aria-hidden="true" | 419 | aria-hidden="true" |
420 | fill="none" | 420 | fill="none" |
421 | stroke-linecap="round" | 421 | stroke-linecap="round" |
422 | stroke-linejoin="round" | 422 | stroke-linejoin="round" |
423 | stroke-width="2" | 423 | stroke-width="2" |
424 | viewBox="0 0 24 24" | 424 | viewBox="0 0 24 24" |
425 | stroke="currentColor" | 425 | stroke="currentColor" |
426 | > | 426 | > |
427 | <path | 427 | <path |
428 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 428 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
429 | ></path> | 429 | ></path> |
430 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 430 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
431 | </svg> | 431 | </svg> |
432 | <span class="ml-4">Статистика</span> | 432 | <span class="ml-4">Статистика</span> |
433 | </a> | 433 | </a> |
434 | </li> | 434 | </li> |
435 | @endif | 435 | @endif |
436 | @endif | 436 | @endif |
437 | 437 | ||
438 | @if ($cont->url_page == "admin/answers") | 438 | @if ($cont->url_page == "admin/answers") |
439 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 439 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
440 | (($cont->is_manager == 1) && ($is_manager == 1))) | 440 | (($cont->is_manager == 1) && ($is_manager == 1))) |
441 | <li class="relative px-6 py-3"> | 441 | <li class="relative px-6 py-3"> |
442 | <a | 442 | <a |
443 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.answers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.answers') }}" | 443 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.answers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.answers') }}" |
444 | > | 444 | > |
445 | <svg | 445 | <svg |
446 | class="w-5 h-5" | 446 | class="w-5 h-5" |
447 | aria-hidden="true" | 447 | aria-hidden="true" |
448 | fill="none" | 448 | fill="none" |
449 | stroke-linecap="round" | 449 | stroke-linecap="round" |
450 | stroke-linejoin="round" | 450 | stroke-linejoin="round" |
451 | stroke-width="2" | 451 | stroke-width="2" |
452 | viewBox="0 0 24 24" | 452 | viewBox="0 0 24 24" |
453 | stroke="currentColor" | 453 | stroke="currentColor" |
454 | > | 454 | > |
455 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 455 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
456 | </svg> | 456 | </svg> |
457 | <span class="ml-4">Модерация</span> | 457 | <span class="ml-4">Модерация</span> |
458 | </a> | 458 | </a> |
459 | </li> | 459 | </li> |
460 | @endif | 460 | @endif |
461 | @endif | 461 | @endif |
462 | 462 | ||
463 | @if ($cont->url_page == "admin/reclames") | 463 | @if ($cont->url_page == "admin/reclames") |
464 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 464 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
465 | (($cont->is_manager == 1) && ($is_manager == 1))) | 465 | (($cont->is_manager == 1) && ($is_manager == 1))) |
466 | <li class="relative px-6 py-3"> | 466 | <li class="relative px-6 py-3"> |
467 | <a | 467 | <a |
468 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" | 468 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" |
469 | > | 469 | > |
470 | <svg | 470 | <svg |
471 | class="w-5 h-5" | 471 | class="w-5 h-5" |
472 | aria-hidden="true" | 472 | aria-hidden="true" |
473 | fill="none" | 473 | fill="none" |
474 | stroke-linecap="round" | 474 | stroke-linecap="round" |
475 | stroke-linejoin="round" | 475 | stroke-linejoin="round" |
476 | stroke-width="2" | 476 | stroke-width="2" |
477 | viewBox="0 0 24 24" | 477 | viewBox="0 0 24 24" |
478 | stroke="currentColor" | 478 | stroke="currentColor" |
479 | > | 479 | > |
480 | <path | 480 | <path |
481 | 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" | 481 | 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" |
482 | ></path> | 482 | ></path> |
483 | </svg> | 483 | </svg> |
484 | <span class="ml-4">Реклама</span> | 484 | <span class="ml-4">Реклама</span> |
485 | </a> | 485 | </a> |
486 | </li> | 486 | </li> |
487 | @endif | 487 | @endif |
488 | @endif | 488 | @endif |
489 | @endforeach | 489 | @endforeach |
490 | <!-- Справочники --> | 490 | <!-- Справочники --> |
491 | 491 | ||
492 | <li class="relative px-6 py-3" x-data="{ open1: false }"> | 492 | <li class="relative px-6 py-3" x-data="{ open1: false }"> |
493 | <button | 493 | <button |
494 | 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" | 494 | 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" |
495 | @click="open1=!open1" | 495 | @click="open1=!open1" |
496 | aria-haspopup="true"> | 496 | aria-haspopup="true"> |
497 | <span class="inline-flex items-center"> | 497 | <span class="inline-flex items-center"> |
498 | <svg | 498 | <svg |
499 | class="w-5 h-5" | 499 | class="w-5 h-5" |
500 | aria-hidden="true" | 500 | aria-hidden="true" |
501 | fill="none" | 501 | fill="none" |
502 | stroke-linecap="round" | 502 | stroke-linecap="round" |
503 | stroke-linejoin="round" | 503 | stroke-linejoin="round" |
504 | stroke-width="2" | 504 | stroke-width="2" |
505 | viewBox="0 0 24 24" | 505 | viewBox="0 0 24 24" |
506 | stroke="currentColor"> | 506 | stroke="currentColor"> |
507 | <path | 507 | <path |
508 | 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" | 508 | 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" |
509 | ></path> | 509 | ></path> |
510 | </svg> | 510 | </svg> |
511 | <span class="ml-4">Справочники</span> | 511 | <span class="ml-4">Справочники</span> |
512 | </span> | 512 | </span> |
513 | <svg | 513 | <svg |
514 | class="w-4 h-4" | 514 | class="w-4 h-4" |
515 | aria-hidden="true" | 515 | aria-hidden="true" |
516 | fill="currentColor" | 516 | fill="currentColor" |
517 | viewBox="0 0 20 20" | 517 | viewBox="0 0 20 20" |
518 | > | 518 | > |
519 | <path | 519 | <path |
520 | fill-rule="evenodd" | 520 | fill-rule="evenodd" |
521 | 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" | 521 | 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" |
522 | clip-rule="evenodd" | 522 | clip-rule="evenodd" |
523 | ></path> | 523 | ></path> |
524 | </svg> | 524 | </svg> |
525 | </button> | 525 | </button> |
526 | <template x-if="open1"> | 526 | <template x-if="open1"> |
527 | <ul | 527 | <ul |
528 | x-transition:enter="transition-all ease-in-out duration-300" | 528 | x-transition:enter="transition-all ease-in-out duration-300" |
529 | x-transition:enter-start="opacity-25 max-h-0" | 529 | x-transition:enter-start="opacity-25 max-h-0" |
530 | x-transition:enter-end="opacity-100 max-h-xl" | 530 | x-transition:enter-end="opacity-100 max-h-xl" |
531 | x-transition:leave="transition-all ease-in-out duration-300" | 531 | x-transition:leave="transition-all ease-in-out duration-300" |
532 | x-transition:leave-start="opacity-100 max-h-xl" | 532 | x-transition:leave-start="opacity-100 max-h-xl" |
533 | x-transition:leave-end="opacity-0 max-h-0" | 533 | x-transition:leave-end="opacity-0 max-h-0" |
534 | 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" | 534 | 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" |
535 | aria-label="submenu" | 535 | aria-label="submenu" |
536 | > | 536 | > |
537 | @foreach ($contents as $cont) | 537 | @foreach ($contents as $cont) |
538 | @if ($cont->url_page == "admin/job-titles") | 538 | @if ($cont->url_page == "admin/job-titles") |
539 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 539 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
540 | (($cont->is_manager == 1) && ($is_manager == 1))) | 540 | (($cont->is_manager == 1) && ($is_manager == 1))) |
541 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> | 541 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> |
542 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 542 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
543 | </li> | 543 | </li> |
544 | @endif | 544 | @endif |
545 | @endif | 545 | @endif |
546 | 546 | ||
547 | @if ($cont->url_page == "admin/categories") | 547 | @if ($cont->url_page == "admin/categories") |
548 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 548 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
549 | (($cont->is_manager == 1) && ($is_manager == 1))) | 549 | (($cont->is_manager == 1) && ($is_manager == 1))) |
550 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> | 550 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> |
551 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> | 551 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
552 | </li> | 552 | </li> |
553 | @endif | 553 | @endif |
554 | @endif | 554 | @endif |
555 | 555 | ||
556 | @if ($cont->url_page == "admin/category-emp") | 556 | @if ($cont->url_page == "admin/category-emp") |
557 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 557 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
558 | (($cont->is_manager == 1) && ($is_manager == 1))) | 558 | (($cont->is_manager == 1) && ($is_manager == 1))) |
559 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> | 559 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> |
560 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> | 560 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
561 | </li> | 561 | </li> |
562 | @endif | 562 | @endif |
563 | @endif | 563 | @endif |
564 | 564 | ||
565 | @if ($cont->url_page == "admin/infobloks") | 565 | @if ($cont->url_page == "admin/infobloks") |
566 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 566 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
567 | (($cont->is_manager == 1) && ($is_manager == 1))) | 567 | (($cont->is_manager == 1) && ($is_manager == 1))) |
568 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> | 568 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> |
569 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 569 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
570 | </li> | 570 | </li> |
571 | @endif | 571 | @endif |
572 | @endif | 572 | @endif |
573 | @endforeach | 573 | @endforeach |
574 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.position') ? 'dark:text-gray-100' : null }}"> | 574 | <!--<li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.position') ? 'dark:text-gray-100' : null }}"> |
575 | <a class="w-full" href="{{ route('admin.position') }}">Позиция</a> | 575 | <a class="w-full" href=" route('admin.position') }}">Позиция</a> |
576 | </li> | 576 | </li>--> |
577 | </ul> | 577 | </ul> |
578 | </template> | 578 | </template> |
579 | </li> | 579 | </li> |
580 | 580 | ||
581 | <!-- Редактор --> | 581 | <!-- Редактор --> |
582 | <li class="relative px-6 py-3"> | 582 | <li class="relative px-6 py-3"> |
583 | <button | 583 | <button |
584 | 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" | 584 | 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" |
585 | @click="togglePagesMenu" | 585 | @click="togglePagesMenu" |
586 | aria-haspopup="true"> | 586 | aria-haspopup="true"> |
587 | <span class="inline-flex items-center"> | 587 | <span class="inline-flex items-center"> |
588 | <svg | 588 | <svg |
589 | class="w-5 h-5" | 589 | class="w-5 h-5" |
590 | aria-hidden="true" | 590 | aria-hidden="true" |
591 | fill="none" | 591 | fill="none" |
592 | stroke-linecap="round" | 592 | stroke-linecap="round" |
593 | stroke-linejoin="round" | 593 | stroke-linejoin="round" |
594 | stroke-width="2" | 594 | stroke-width="2" |
595 | viewBox="0 0 24 24" | 595 | viewBox="0 0 24 24" |
596 | stroke="currentColor"> | 596 | stroke="currentColor"> |
597 | <path | 597 | <path |
598 | 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" | 598 | 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" |
599 | ></path> | 599 | ></path> |
600 | </svg> | 600 | </svg> |
601 | <span class="ml-4">Редактор</span> | 601 | <span class="ml-4">Редактор</span> |
602 | </span> | 602 | </span> |
603 | <svg | 603 | <svg |
604 | class="w-4 h-4" | 604 | class="w-4 h-4" |
605 | aria-hidden="true" | 605 | aria-hidden="true" |
606 | fill="currentColor" | 606 | fill="currentColor" |
607 | viewBox="0 0 20 20" | 607 | viewBox="0 0 20 20" |
608 | > | 608 | > |
609 | <path | 609 | <path |
610 | fill-rule="evenodd" | 610 | fill-rule="evenodd" |
611 | 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" | 611 | 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" |
612 | clip-rule="evenodd" | 612 | clip-rule="evenodd" |
613 | ></path> | 613 | ></path> |
614 | </svg> | 614 | </svg> |
615 | </button> | 615 | </button> |
616 | <template x-if="isPagesMenuOpen"> | 616 | <template x-if="isPagesMenuOpen"> |
617 | <ul | 617 | <ul |
618 | x-transition:enter="transition-all ease-in-out duration-300" | 618 | x-transition:enter="transition-all ease-in-out duration-300" |
619 | x-transition:enter-start="opacity-25 max-h-0" | 619 | x-transition:enter-start="opacity-25 max-h-0" |
620 | x-transition:enter-end="opacity-100 max-h-xl" | 620 | x-transition:enter-end="opacity-100 max-h-xl" |
621 | x-transition:leave="transition-all ease-in-out duration-300" | 621 | x-transition:leave="transition-all ease-in-out duration-300" |
622 | x-transition:leave-start="opacity-100 max-h-xl" | 622 | x-transition:leave-start="opacity-100 max-h-xl" |
623 | x-transition:leave-end="opacity-0 max-h-0" | 623 | x-transition:leave-end="opacity-0 max-h-0" |
624 | 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" | 624 | 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" |
625 | aria-label="submenu" | 625 | aria-label="submenu" |
626 | > | 626 | > |
627 | @foreach ($contents as $cont) | 627 | @foreach ($contents as $cont) |
628 | @if ($cont->url_page == "admin/editor-site") | 628 | @if ($cont->url_page == "admin/editor-site") |
629 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 629 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
630 | (($cont->is_manager == 1) && ($is_manager == 1))) | 630 | (($cont->is_manager == 1) && ($is_manager == 1))) |
631 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> | 631 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> |
632 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 632 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
633 | </li> | 633 | </li> |
634 | @endif | 634 | @endif |
635 | @endif | 635 | @endif |
636 | 636 | ||
637 | @if ($cont->url_page == "admin/edit-blocks") | 637 | @if ($cont->url_page == "admin/edit-blocks") |
638 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 638 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
639 | (($cont->is_manager == 1) && ($is_manager == 1))) | 639 | (($cont->is_manager == 1) && ($is_manager == 1))) |
640 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> | 640 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> |
641 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 641 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
642 | </li> | 642 | </li> |
643 | @endif | 643 | @endif |
644 | @endif | 644 | @endif |
645 | 645 | ||
646 | @if ($cont->url_page == "admin/editor-seo") | 646 | @if ($cont->url_page == "admin/editor-seo") |
647 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 647 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
648 | (($cont->is_manager == 1) && ($is_manager == 1))) | 648 | (($cont->is_manager == 1) && ($is_manager == 1))) |
649 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> | 649 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> |
650 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 650 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
651 | </li> | 651 | </li> |
652 | @endif | 652 | @endif |
653 | @endif | 653 | @endif |
654 | 654 | ||
655 | @if ($cont->url_page == "admin/editor-pages") | 655 | @if ($cont->url_page == "admin/editor-pages") |
656 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 656 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
657 | (($cont->is_manager == 1) && ($is_manager == 1))) | 657 | (($cont->is_manager == 1) && ($is_manager == 1))) |
658 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> | 658 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> |
659 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 659 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
660 | </li> | 660 | </li> |
661 | @endif | 661 | @endif |
662 | @endif | 662 | @endif |
663 | 663 | ||
664 | @if ($cont->url_page == "admin/job-titles-main") | 664 | @if ($cont->url_page == "admin/job-titles-main") |
665 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 665 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
666 | (($cont->is_manager == 1) && ($is_manager == 1))) | 666 | (($cont->is_manager == 1) && ($is_manager == 1))) |
667 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> | 667 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> |
668 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 668 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
669 | </li> | 669 | </li> |
670 | @endif | 670 | @endif |
671 | @endif | 671 | @endif |
672 | 672 | ||
673 | @if ($cont->url_page == "admin/employers-main") | 673 | @if ($cont->url_page == "admin/employers-main") |
674 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 674 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
675 | (($cont->is_manager == 1) && ($is_manager == 1))) | 675 | (($cont->is_manager == 1) && ($is_manager == 1))) |
676 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> | 676 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> |
677 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 677 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
678 | </li> | 678 | </li> |
679 | @endif | 679 | @endif |
680 | @endif | 680 | @endif |
681 | 681 | ||
682 | @endforeach | 682 | @endforeach |
683 | </ul> | 683 | </ul> |
684 | </template> | 684 | </template> |
685 | </li> | 685 | </li> |
686 | </ul> | 686 | </ul> |
687 | 687 | ||
688 | <!--<div class="px-6 my-6"> | 688 | <!--<div class="px-6 my-6"> |
689 | <button | 689 | <button |
690 | 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" | 690 | 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" |
691 | > | 691 | > |
692 | Create account | 692 | Create account |
693 | <span class="ml-2" aria-hidden="true">+</span> | 693 | <span class="ml-2" aria-hidden="true">+</span> |
694 | </button> | 694 | </button> |
695 | </div>--> | 695 | </div>--> |
696 | </div> | 696 | </div> |
697 | </aside> | 697 | </aside> |
698 | <!-- Mobile sidebar --> | 698 | <!-- Mobile sidebar --> |
699 | <!-- Backdrop --> | 699 | <!-- Backdrop --> |
700 | <div | 700 | <div |
701 | x-show="isSideMenuOpen" | 701 | x-show="isSideMenuOpen" |
702 | x-transition:enter="transition ease-in-out duration-150" | 702 | x-transition:enter="transition ease-in-out duration-150" |
703 | x-transition:enter-start="opacity-0" | 703 | x-transition:enter-start="opacity-0" |
704 | x-transition:enter-end="opacity-100" | 704 | x-transition:enter-end="opacity-100" |
705 | x-transition:leave="transition ease-in-out duration-150" | 705 | x-transition:leave="transition ease-in-out duration-150" |
706 | x-transition:leave-start="opacity-100" | 706 | x-transition:leave-start="opacity-100" |
707 | x-transition:leave-end="opacity-0" | 707 | x-transition:leave-end="opacity-0" |
708 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" | 708 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" |
709 | ></div> | 709 | ></div> |
710 | <aside | 710 | <aside |
711 | 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" | 711 | 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" |
712 | x-show="isSideMenuOpen" | 712 | x-show="isSideMenuOpen" |
713 | x-transition:enter="transition ease-in-out duration-150" | 713 | x-transition:enter="transition ease-in-out duration-150" |
714 | x-transition:enter-start="opacity-0 transform -translate-x-20" | 714 | x-transition:enter-start="opacity-0 transform -translate-x-20" |
715 | x-transition:enter-end="opacity-100" | 715 | x-transition:enter-end="opacity-100" |
716 | x-transition:leave="transition ease-in-out duration-150" | 716 | x-transition:leave="transition ease-in-out duration-150" |
717 | x-transition:leave-start="opacity-100" | 717 | x-transition:leave-start="opacity-100" |
718 | x-transition:leave-end="opacity-0 transform -translate-x-20" | 718 | x-transition:leave-end="opacity-0 transform -translate-x-20" |
719 | @click.away="closeSideMenu" | 719 | @click.away="closeSideMenu" |
720 | @keydown.escape="closeSideMenu" | 720 | @keydown.escape="closeSideMenu" |
721 | > | 721 | > |
722 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 722 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
723 | <a | 723 | <a |
724 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 724 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
725 | href="{{ route('admin.index') }}" | 725 | href="{{ route('admin.index') }}" |
726 | > | 726 | > |
727 | Админка | 727 | Админка |
728 | </a> | 728 | </a> |
729 | <ul class="mt-6"> | 729 | <ul class="mt-6"> |
730 | <li class="relative px-6 py-3"> | 730 | <li class="relative px-6 py-3"> |
731 | <span | 731 | <span |
732 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 732 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
733 | aria-hidden="true" | 733 | aria-hidden="true" |
734 | ></span> | 734 | ></span> |
735 | <a | 735 | <a |
736 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.index') }}" | 736 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.index') }}" |
737 | > | 737 | > |
738 | <svg | 738 | <svg |
739 | class="w-5 h-5" | 739 | class="w-5 h-5" |
740 | aria-hidden="true" | 740 | aria-hidden="true" |
741 | fill="none" | 741 | fill="none" |
742 | stroke-linecap="round" | 742 | stroke-linecap="round" |
743 | stroke-linejoin="round" | 743 | stroke-linejoin="round" |
744 | stroke-width="2" | 744 | stroke-width="2" |
745 | viewBox="0 0 24 24" | 745 | viewBox="0 0 24 24" |
746 | stroke="currentColor" | 746 | stroke="currentColor" |
747 | > | 747 | > |
748 | <path | 748 | <path |
749 | 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" | 749 | 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" |
750 | ></path> | 750 | ></path> |
751 | </svg> | 751 | </svg> |
752 | <span class="ml-4">Главная страница</span> | 752 | <span class="ml-4">Главная страница</span> |
753 | </a> | 753 | </a> |
754 | </li> | 754 | </li> |
755 | </ul> | 755 | </ul> |
756 | <ul> | 756 | <ul> |
757 | @foreach ($contents as $cont) | 757 | @foreach ($contents as $cont) |
758 | @if ($cont->url_page == "admin/users") | 758 | @if ($cont->url_page == "admin/users") |
759 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 759 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
760 | (($cont->is_manager == 1) && ($is_manager == 1))) | 760 | (($cont->is_manager == 1) && ($is_manager == 1))) |
761 | <li class="relative px-6 py-3"> | 761 | <li class="relative px-6 py-3"> |
762 | <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 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.users') }}"> | 762 | <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 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.users') }}"> |
763 | <svg | 763 | <svg |
764 | class="w-5 h-5" | 764 | class="w-5 h-5" |
765 | aria-hidden="true" | 765 | aria-hidden="true" |
766 | fill="none" | 766 | fill="none" |
767 | stroke-linecap="round" | 767 | stroke-linecap="round" |
768 | stroke-linejoin="round" | 768 | stroke-linejoin="round" |
769 | stroke-width="2" | 769 | stroke-width="2" |
770 | viewBox="0 0 24 24" | 770 | viewBox="0 0 24 24" |
771 | stroke="currentColor" | 771 | stroke="currentColor" |
772 | > | 772 | > |
773 | <path | 773 | <path |
774 | 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" | 774 | 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" |
775 | ></path> | 775 | ></path> |
776 | </svg> | 776 | </svg> |
777 | <span class="ml-4">Пользователи</span> | 777 | <span class="ml-4">Пользователи</span> |
778 | </a> | 778 | </a> |
779 | </li> | 779 | </li> |
780 | @endif | 780 | @endif |
781 | @endif | 781 | @endif |
782 | 782 | ||
783 | @if ($cont->url_page == "admin/admin-users") | 783 | @if ($cont->url_page == "admin/admin-users") |
784 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 784 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
785 | (($cont->is_manager == 1) && ($is_manager == 1))) | 785 | (($cont->is_manager == 1) && ($is_manager == 1))) |
786 | <li class="relative px-6 py-3"> | 786 | <li class="relative px-6 py-3"> |
787 | <a | 787 | <a |
788 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" | 788 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" |
789 | > | 789 | > |
790 | <svg | 790 | <svg |
791 | class="w-5 h-5" | 791 | class="w-5 h-5" |
792 | aria-hidden="true" | 792 | aria-hidden="true" |
793 | fill="none" | 793 | fill="none" |
794 | stroke-linecap="round" | 794 | stroke-linecap="round" |
795 | stroke-linejoin="round" | 795 | stroke-linejoin="round" |
796 | stroke-width="2" | 796 | stroke-width="2" |
797 | viewBox="0 0 24 24" | 797 | viewBox="0 0 24 24" |
798 | stroke="currentColor" | 798 | stroke="currentColor" |
799 | > | 799 | > |
800 | <path | 800 | <path |
801 | 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" | 801 | 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" |
802 | ></path> | 802 | ></path> |
803 | </svg> | 803 | </svg> |
804 | <span class="ml-4">Администраторы</span> | 804 | <span class="ml-4">Администраторы</span> |
805 | </a> | 805 | </a> |
806 | </li> | 806 | </li> |
807 | @endif | 807 | @endif |
808 | @endif | 808 | @endif |
809 | 809 | ||
810 | @if ($cont->url_page == "admin/employers") | 810 | @if ($cont->url_page == "admin/employers") |
811 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 811 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
812 | (($cont->is_manager == 1) && ($is_manager == 1))) | 812 | (($cont->is_manager == 1) && ($is_manager == 1))) |
813 | <li class="relative px-6 py-3"> | 813 | <li class="relative px-6 py-3"> |
814 | <a | 814 | <a |
815 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" | 815 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" |
816 | > | 816 | > |
817 | <svg | 817 | <svg |
818 | class="w-5 h-5" | 818 | class="w-5 h-5" |
819 | aria-hidden="true" | 819 | aria-hidden="true" |
820 | fill="none" | 820 | fill="none" |
821 | stroke-linecap="round" | 821 | stroke-linecap="round" |
822 | stroke-linejoin="round" | 822 | stroke-linejoin="round" |
823 | stroke-width="2" | 823 | stroke-width="2" |
824 | viewBox="0 0 24 24" | 824 | viewBox="0 0 24 24" |
825 | stroke="currentColor" | 825 | stroke="currentColor" |
826 | > | 826 | > |
827 | <path | 827 | <path |
828 | 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" | 828 | 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" |
829 | ></path> | 829 | ></path> |
830 | </svg> | 830 | </svg> |
831 | <span class="ml-4">Работодатели</span> | 831 | <span class="ml-4">Работодатели</span> |
832 | </a> | 832 | </a> |
833 | </li> | 833 | </li> |
834 | @endif | 834 | @endif |
835 | @endif | 835 | @endif |
836 | 836 | ||
837 | @if ($cont->url_page == "admin/workers") | 837 | @if ($cont->url_page == "admin/workers") |
838 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 838 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
839 | (($cont->is_manager == 1) && ($is_manager == 1))) | 839 | (($cont->is_manager == 1) && ($is_manager == 1))) |
840 | <li class="relative px-6 py-3"> | 840 | <li class="relative px-6 py-3"> |
841 | <a | 841 | <a |
842 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" | 842 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" |
843 | > | 843 | > |
844 | <svg | 844 | <svg |
845 | class="w-5 h-5" | 845 | class="w-5 h-5" |
846 | aria-hidden="true" | 846 | aria-hidden="true" |
847 | fill="none" | 847 | fill="none" |
848 | stroke-linecap="round" | 848 | stroke-linecap="round" |
849 | stroke-linejoin="round" | 849 | stroke-linejoin="round" |
850 | stroke-width="2" | 850 | stroke-width="2" |
851 | viewBox="0 0 24 24" | 851 | viewBox="0 0 24 24" |
852 | stroke="currentColor" | 852 | stroke="currentColor" |
853 | > | 853 | > |
854 | <path | 854 | <path |
855 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 855 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
856 | ></path> | 856 | ></path> |
857 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 857 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
858 | </svg> | 858 | </svg> |
859 | <span class="ml-4">Соискатели</span> | 859 | <span class="ml-4">Соискатели</span> |
860 | </a> | 860 | </a> |
861 | </li> | 861 | </li> |
862 | @endif | 862 | @endif |
863 | @endif | 863 | @endif |
864 | 864 | ||
865 | @if ($cont->url_page == "admin/ad-employers") | 865 | @if ($cont->url_page == "admin/ad-employers") |
866 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 866 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
867 | (($cont->is_manager == 1) && ($is_manager == 1))) | 867 | (($cont->is_manager == 1) && ($is_manager == 1))) |
868 | <li class="relative px-6 py-3"> | 868 | <li class="relative px-6 py-3"> |
869 | <a | 869 | <a |
870 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" | 870 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" |
871 | > | 871 | > |
872 | <svg | 872 | <svg |
873 | class="w-5 h-5" | 873 | class="w-5 h-5" |
874 | aria-hidden="true" | 874 | aria-hidden="true" |
875 | fill="none" | 875 | fill="none" |
876 | stroke-linecap="round" | 876 | stroke-linecap="round" |
877 | stroke-linejoin="round" | 877 | stroke-linejoin="round" |
878 | stroke-width="2" | 878 | stroke-width="2" |
879 | viewBox="0 0 24 24" | 879 | viewBox="0 0 24 24" |
880 | stroke="currentColor" | 880 | stroke="currentColor" |
881 | > | 881 | > |
882 | <path | 882 | <path |
883 | 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" | 883 | 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" |
884 | ></path> | 884 | ></path> |
885 | </svg> | 885 | </svg> |
886 | <span class="ml-4">Вакансии</span> | 886 | <span class="ml-4">Вакансии</span> |
887 | </a> | 887 | </a> |
888 | </li> | 888 | </li> |
889 | @endif | 889 | @endif |
890 | @endif | 890 | @endif |
891 | 891 | ||
892 | @if ($cont->url_page == "admin/messages") | 892 | @if ($cont->url_page == "admin/messages") |
893 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 893 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
894 | (($cont->is_manager == 1) && ($is_manager == 1))) | 894 | (($cont->is_manager == 1) && ($is_manager == 1))) |
895 | <li class="relative px-6 py-3"> | 895 | <li class="relative px-6 py-3"> |
896 | <a | 896 | <a |
897 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | 897 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" |
898 | > | 898 | > |
899 | <svg | 899 | <svg |
900 | class="w-5 h-5" | 900 | class="w-5 h-5" |
901 | aria-hidden="true" | 901 | aria-hidden="true" |
902 | fill="none" | 902 | fill="none" |
903 | stroke-linecap="round" | 903 | stroke-linecap="round" |
904 | stroke-linejoin="round" | 904 | stroke-linejoin="round" |
905 | stroke-width="2" | 905 | stroke-width="2" |
906 | viewBox="0 0 24 24" | 906 | viewBox="0 0 24 24" |
907 | stroke="currentColor" | 907 | stroke="currentColor" |
908 | > | 908 | > |
909 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 909 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
910 | </svg> | 910 | </svg> |
911 | <span class="ml-4">Сообщения все</span> | 911 | <span class="ml-4">Сообщения все</span> |
912 | </a> | 912 | </a> |
913 | </li> | 913 | </li> |
914 | @endif | 914 | @endif |
915 | @endif | 915 | @endif |
916 | 916 | ||
917 | @if ($cont->url_page == "admin/admin-messages") | 917 | @if ($cont->url_page == "admin/admin-messages") |
918 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 918 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
919 | (($cont->is_manager == 1) && ($is_manager == 1))) | 919 | (($cont->is_manager == 1) && ($is_manager == 1))) |
920 | <li class="relative px-6 py-3"> | 920 | <li class="relative px-6 py-3"> |
921 | <a | 921 | <a |
922 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" | 922 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" |
923 | > | 923 | > |
924 | <svg | 924 | <svg |
925 | class="w-5 h-5" | 925 | class="w-5 h-5" |
926 | aria-hidden="true" | 926 | aria-hidden="true" |
927 | fill="none" | 927 | fill="none" |
928 | stroke-linecap="round" | 928 | stroke-linecap="round" |
929 | stroke-linejoin="round" | 929 | stroke-linejoin="round" |
930 | stroke-width="2" | 930 | stroke-width="2" |
931 | viewBox="0 0 24 24" | 931 | viewBox="0 0 24 24" |
932 | stroke="currentColor" | 932 | stroke="currentColor" |
933 | > | 933 | > |
934 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 934 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
935 | </svg> | 935 | </svg> |
936 | <span class="ml-4">Заявки на рассылку</span> | 936 | <span class="ml-4">Заявки на рассылку</span> |
937 | </a> | 937 | </a> |
938 | </li> | 938 | </li> |
939 | @endif | 939 | @endif |
940 | @endif | 940 | @endif |
941 | 941 | ||
942 | @if ($cont->url_page == "admin/groups") | 942 | @if ($cont->url_page == "admin/groups") |
943 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 943 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
944 | (($cont->is_manager == 1) && ($is_manager == 1))) | 944 | (($cont->is_manager == 1) && ($is_manager == 1))) |
945 | <li class="relative px-6 py-3"> | 945 | <li class="relative px-6 py-3"> |
946 | <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 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}"> | 946 | <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 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}"> |
947 | <svg | 947 | <svg |
948 | class="w-5 h-5" | 948 | class="w-5 h-5" |
949 | aria-hidden="true" | 949 | aria-hidden="true" |
950 | fill="none" | 950 | fill="none" |
951 | stroke-linecap="round" | 951 | stroke-linecap="round" |
952 | stroke-linejoin="round" | 952 | stroke-linejoin="round" |
953 | stroke-width="2" | 953 | stroke-width="2" |
954 | viewBox="0 0 24 24" | 954 | viewBox="0 0 24 24" |
955 | stroke="currentColor" | 955 | stroke="currentColor" |
956 | > | 956 | > |
957 | <path | 957 | <path |
958 | 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" | 958 | 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" |
959 | ></path> | 959 | ></path> |
960 | </svg> | 960 | </svg> |
961 | <span class="ml-4">Группы пользователей</span> | 961 | <span class="ml-4">Группы пользователей</span> |
962 | </a> | 962 | </a> |
963 | </li> | 963 | </li> |
964 | @endif | 964 | @endif |
965 | @endif | 965 | @endif |
966 | 966 | ||
967 | @if ($cont->url_page == "admin/media") | 967 | @if ($cont->url_page == "admin/media") |
968 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 968 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
969 | (($cont->is_manager == 1) && ($is_manager == 1))) | 969 | (($cont->is_manager == 1) && ($is_manager == 1))) |
970 | <li class="relative px-6 py-3"> | 970 | <li class="relative px-6 py-3"> |
971 | <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 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> | 971 | <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 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> |
972 | <svg | 972 | <svg |
973 | class="w-5 h-5" | 973 | class="w-5 h-5" |
974 | aria-hidden="true" | 974 | aria-hidden="true" |
975 | fill="none" | 975 | fill="none" |
976 | stroke-linecap="round" | 976 | stroke-linecap="round" |
977 | stroke-linejoin="round" | 977 | stroke-linejoin="round" |
978 | stroke-width="2" | 978 | stroke-width="2" |
979 | viewBox="0 0 24 24" | 979 | viewBox="0 0 24 24" |
980 | stroke="currentColor" | 980 | stroke="currentColor" |
981 | > | 981 | > |
982 | <path | 982 | <path |
983 | 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" | 983 | 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" |
984 | ></path> | 984 | ></path> |
985 | </svg> | 985 | </svg> |
986 | <span class="ml-4">Медиа</span> | 986 | <span class="ml-4">Медиа</span> |
987 | </a> | 987 | </a> |
988 | </li> | 988 | </li> |
989 | @endif | 989 | @endif |
990 | @endif | 990 | @endif |
991 | 991 | ||
992 | @if ($cont->url_page == "admin/roles") | 992 | @if ($cont->url_page == "admin/roles") |
993 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 993 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
994 | (($cont->is_manager == 1) && ($is_manager == 1))) | 994 | (($cont->is_manager == 1) && ($is_manager == 1))) |
995 | 995 | ||
996 | <li class="relative px-6 py-3"> | 996 | <li class="relative px-6 py-3"> |
997 | <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 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> | 997 | <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 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> |
998 | <svg | 998 | <svg |
999 | class="w-5 h-5" | 999 | class="w-5 h-5" |
1000 | aria-hidden="true" | 1000 | aria-hidden="true" |
1001 | fill="none" | 1001 | fill="none" |
1002 | stroke-linecap="round" | 1002 | stroke-linecap="round" |
1003 | stroke-linejoin="round" | 1003 | stroke-linejoin="round" |
1004 | stroke-width="2" | 1004 | stroke-width="2" |
1005 | viewBox="0 0 24 24" | 1005 | viewBox="0 0 24 24" |
1006 | stroke="currentColor" | 1006 | stroke="currentColor" |
1007 | > | 1007 | > |
1008 | <path | 1008 | <path |
1009 | 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" | 1009 | 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" |
1010 | ></path> | 1010 | ></path> |
1011 | </svg> | 1011 | </svg> |
1012 | <span class="ml-4">Роли пользователей</span> | 1012 | <span class="ml-4">Роли пользователей</span> |
1013 | </a> | 1013 | </a> |
1014 | </li> | 1014 | </li> |
1015 | @endif | 1015 | @endif |
1016 | @endif | 1016 | @endif |
1017 | 1017 | ||
1018 | @if ($cont->url_page == "admin/basedata") | 1018 | @if ($cont->url_page == "admin/basedata") |
1019 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1019 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1020 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1020 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1021 | <li class="relative px-6 py-3"> | 1021 | <li class="relative px-6 py-3"> |
1022 | <a | 1022 | <a |
1023 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" | 1023 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" |
1024 | > | 1024 | > |
1025 | <svg | 1025 | <svg |
1026 | class="w-5 h-5" | 1026 | class="w-5 h-5" |
1027 | aria-hidden="true" | 1027 | aria-hidden="true" |
1028 | fill="none" | 1028 | fill="none" |
1029 | stroke-linecap="round" | 1029 | stroke-linecap="round" |
1030 | stroke-linejoin="round" | 1030 | stroke-linejoin="round" |
1031 | stroke-width="2" | 1031 | stroke-width="2" |
1032 | viewBox="0 0 24 24" | 1032 | viewBox="0 0 24 24" |
1033 | stroke="currentColor" | 1033 | stroke="currentColor" |
1034 | > | 1034 | > |
1035 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 1035 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
1036 | </svg> | 1036 | </svg> |
1037 | <span class="ml-4">Базы данных</span> | 1037 | <span class="ml-4">Базы данных</span> |
1038 | </a> | 1038 | </a> |
1039 | </li> | 1039 | </li> |
1040 | @endif | 1040 | @endif |
1041 | @endif | 1041 | @endif |
1042 | 1042 | ||
1043 | @if ($cont->url_page == "admin/education") | 1043 | @if ($cont->url_page == "admin/education") |
1044 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1044 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1045 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1045 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1046 | <li class="relative px-6 py-3"> | 1046 | <li class="relative px-6 py-3"> |
1047 | <a | 1047 | <a |
1048 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" | 1048 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" |
1049 | > | 1049 | > |
1050 | <svg | 1050 | <svg |
1051 | class="w-5 h-5" | 1051 | class="w-5 h-5" |
1052 | aria-hidden="true" | 1052 | aria-hidden="true" |
1053 | fill="none" | 1053 | fill="none" |
1054 | stroke-linecap="round" | 1054 | stroke-linecap="round" |
1055 | stroke-linejoin="round" | 1055 | stroke-linejoin="round" |
1056 | stroke-width="2" | 1056 | stroke-width="2" |
1057 | viewBox="0 0 24 24" | 1057 | viewBox="0 0 24 24" |
1058 | stroke="currentColor" | 1058 | stroke="currentColor" |
1059 | > | 1059 | > |
1060 | <path | 1060 | <path |
1061 | 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" | 1061 | 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" |
1062 | ></path> | 1062 | ></path> |
1063 | </svg> | 1063 | </svg> |
1064 | <span class="ml-4">Учебн.заведения</span> | 1064 | <span class="ml-4">Учебн.заведения</span> |
1065 | </a> | 1065 | </a> |
1066 | </li> | 1066 | </li> |
1067 | @endif | 1067 | @endif |
1068 | @endif | 1068 | @endif |
1069 | 1069 | ||
1070 | @if ($cont->url_page == "admin/statics") | 1070 | @if ($cont->url_page == "admin/statics") |
1071 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1071 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1072 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1072 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1073 | <li class="relative px-6 py-3"> | 1073 | <li class="relative px-6 py-3"> |
1074 | <a | 1074 | <a |
1075 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" | 1075 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" |
1076 | > | 1076 | > |
1077 | <svg | 1077 | <svg |
1078 | class="w-5 h-5" | 1078 | class="w-5 h-5" |
1079 | aria-hidden="true" | 1079 | aria-hidden="true" |
1080 | fill="none" | 1080 | fill="none" |
1081 | stroke-linecap="round" | 1081 | stroke-linecap="round" |
1082 | stroke-linejoin="round" | 1082 | stroke-linejoin="round" |
1083 | stroke-width="2" | 1083 | stroke-width="2" |
1084 | viewBox="0 0 24 24" | 1084 | viewBox="0 0 24 24" |
1085 | stroke="currentColor" | 1085 | stroke="currentColor" |
1086 | > | 1086 | > |
1087 | <path | 1087 | <path |
1088 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 1088 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
1089 | ></path> | 1089 | ></path> |
1090 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 1090 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
1091 | </svg> | 1091 | </svg> |
1092 | <span class="ml-4">Статистика</span> | 1092 | <span class="ml-4">Статистика</span> |
1093 | </a> | 1093 | </a> |
1094 | </li> | 1094 | </li> |
1095 | @endif | 1095 | @endif |
1096 | @endif | 1096 | @endif |
1097 | 1097 | ||
1098 | @if ($cont->url_page == "admin/messages") | 1098 | @if ($cont->url_page == "admin/messages") |
1099 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1099 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1100 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1100 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1101 | <li class="relative px-6 py-3"> | 1101 | <li class="relative px-6 py-3"> |
1102 | <a | 1102 | <a |
1103 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | 1103 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" |
1104 | > | 1104 | > |
1105 | <svg | 1105 | <svg |
1106 | class="w-5 h-5" | 1106 | class="w-5 h-5" |
1107 | aria-hidden="true" | 1107 | aria-hidden="true" |
1108 | fill="none" | 1108 | fill="none" |
1109 | stroke-linecap="round" | 1109 | stroke-linecap="round" |
1110 | stroke-linejoin="round" | 1110 | stroke-linejoin="round" |
1111 | stroke-width="2" | 1111 | stroke-width="2" |
1112 | viewBox="0 0 24 24" | 1112 | viewBox="0 0 24 24" |
1113 | stroke="currentColor" | 1113 | stroke="currentColor" |
1114 | > | 1114 | > |
1115 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 1115 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
1116 | </svg> | 1116 | </svg> |
1117 | <span class="ml-4">Сообщения все</span> | 1117 | <span class="ml-4">Сообщения все</span> |
1118 | </a> | 1118 | </a> |
1119 | </li> | 1119 | </li> |
1120 | @endif | 1120 | @endif |
1121 | @endif | 1121 | @endif |
1122 | 1122 | ||
1123 | @if ($cont->url_page == "admin/reclames") | 1123 | @if ($cont->url_page == "admin/reclames") |
1124 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1124 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1125 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1125 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1126 | <li class="relative px-6 py-3"> | 1126 | <li class="relative px-6 py-3"> |
1127 | <a | 1127 | <a |
1128 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" | 1128 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" |
1129 | > | 1129 | > |
1130 | <svg | 1130 | <svg |
1131 | class="w-5 h-5" | 1131 | class="w-5 h-5" |
1132 | aria-hidden="true" | 1132 | aria-hidden="true" |
1133 | fill="none" | 1133 | fill="none" |
1134 | stroke-linecap="round" | 1134 | stroke-linecap="round" |
1135 | stroke-linejoin="round" | 1135 | stroke-linejoin="round" |
1136 | stroke-width="2" | 1136 | stroke-width="2" |
1137 | viewBox="0 0 24 24" | 1137 | viewBox="0 0 24 24" |
1138 | stroke="currentColor" | 1138 | stroke="currentColor" |
1139 | > | 1139 | > |
1140 | <path | 1140 | <path |
1141 | 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" | 1141 | 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" |
1142 | ></path> | 1142 | ></path> |
1143 | </svg> | 1143 | </svg> |
1144 | <span class="ml-4">Реклама</span> | 1144 | <span class="ml-4">Реклама</span> |
1145 | </a> | 1145 | </a> |
1146 | </li> | 1146 | </li> |
1147 | @endif | 1147 | @endif |
1148 | @endif | 1148 | @endif |
1149 | @endforeach | 1149 | @endforeach |
1150 | 1150 | ||
1151 | <!-- Справочники --> | 1151 | <!-- Справочники --> |
1152 | <li class="relative px-6 py-3" x-data="{ open2: false }"> | 1152 | <li class="relative px-6 py-3" x-data="{ open2: false }"> |
1153 | <button | 1153 | <button |
1154 | 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" | 1154 | 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" |
1155 | @click="open2=!open2" | 1155 | @click="open2=!open2" |
1156 | aria-haspopup="true"> | 1156 | aria-haspopup="true"> |
1157 | <span class="inline-flex items-center"> | 1157 | <span class="inline-flex items-center"> |
1158 | <svg | 1158 | <svg |
1159 | class="w-5 h-5" | 1159 | class="w-5 h-5" |
1160 | aria-hidden="true" | 1160 | aria-hidden="true" |
1161 | fill="none" | 1161 | fill="none" |
1162 | stroke-linecap="round" | 1162 | stroke-linecap="round" |
1163 | stroke-linejoin="round" | 1163 | stroke-linejoin="round" |
1164 | stroke-width="2" | 1164 | stroke-width="2" |
1165 | viewBox="0 0 24 24" | 1165 | viewBox="0 0 24 24" |
1166 | stroke="currentColor"> | 1166 | stroke="currentColor"> |
1167 | <path | 1167 | <path |
1168 | 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" | 1168 | 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" |
1169 | ></path> | 1169 | ></path> |
1170 | </svg> | 1170 | </svg> |
1171 | <span class="ml-4">Справочники</span> | 1171 | <span class="ml-4">Справочники</span> |
1172 | </span> | 1172 | </span> |
1173 | <svg | 1173 | <svg |
1174 | class="w-4 h-4" | 1174 | class="w-4 h-4" |
1175 | aria-hidden="true" | 1175 | aria-hidden="true" |
1176 | fill="currentColor" | 1176 | fill="currentColor" |
1177 | viewBox="0 0 20 20" | 1177 | viewBox="0 0 20 20" |
1178 | > | 1178 | > |
1179 | <path | 1179 | <path |
1180 | fill-rule="evenodd" | 1180 | fill-rule="evenodd" |
1181 | 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" | 1181 | 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" |
1182 | clip-rule="evenodd" | 1182 | clip-rule="evenodd" |
1183 | ></path> | 1183 | ></path> |
1184 | </svg> | 1184 | </svg> |
1185 | </button> | 1185 | </button> |
1186 | <template x-if="open2"> | 1186 | <template x-if="open2"> |
1187 | <ul | 1187 | <ul |
1188 | x-transition:enter="transition-all ease-in-out duration-300" | 1188 | x-transition:enter="transition-all ease-in-out duration-300" |
1189 | x-transition:enter-start="opacity-25 max-h-0" | 1189 | x-transition:enter-start="opacity-25 max-h-0" |
1190 | x-transition:enter-end="opacity-100 max-h-xl" | 1190 | x-transition:enter-end="opacity-100 max-h-xl" |
1191 | x-transition:leave="transition-all ease-in-out duration-300" | 1191 | x-transition:leave="transition-all ease-in-out duration-300" |
1192 | x-transition:leave-start="opacity-100 max-h-xl" | 1192 | x-transition:leave-start="opacity-100 max-h-xl" |
1193 | x-transition:leave-end="opacity-0 max-h-0" | 1193 | x-transition:leave-end="opacity-0 max-h-0" |
1194 | 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" | 1194 | 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" |
1195 | aria-label="submenu" | 1195 | aria-label="submenu" |
1196 | > | 1196 | > |
1197 | @foreach ($contents as $cont) | 1197 | @foreach ($contents as $cont) |
1198 | @if ($cont->url_page == "admin/job-titles") | 1198 | @if ($cont->url_page == "admin/job-titles") |
1199 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1199 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1200 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1200 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1201 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> | 1201 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> |
1202 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 1202 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
1203 | </li> | 1203 | </li> |
1204 | @endif | 1204 | @endif |
1205 | @endif | 1205 | @endif |
1206 | 1206 | ||
1207 | @if ($cont->url_page == "admin/categories") | 1207 | @if ($cont->url_page == "admin/categories") |
1208 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1208 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1209 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1209 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1210 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> | 1210 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> |
1211 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> | 1211 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
1212 | </li> | 1212 | </li> |
1213 | @endif | 1213 | @endif |
1214 | @endif | 1214 | @endif |
1215 | 1215 | ||
1216 | @if ($cont->url_page == "admin/category-emp") | 1216 | @if ($cont->url_page == "admin/category-emp") |
1217 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1217 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1218 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1218 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1219 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> | 1219 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> |
1220 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> | 1220 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
1221 | </li> | 1221 | </li> |
1222 | @endif | 1222 | @endif |
1223 | @endif | 1223 | @endif |
1224 | 1224 | ||
1225 | @if ($cont->url_page == "admin/infobloks") | 1225 | @if ($cont->url_page == "admin/infobloks") |
1226 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1226 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1227 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1227 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1228 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> | 1228 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> |
1229 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 1229 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
1230 | </li> | 1230 | </li> |
1231 | @endif | 1231 | @endif |
1232 | @endif | 1232 | @endif |
1233 | 1233 | ||
1234 | @if ($cont->url_page == "admin/position") | 1234 | @if ($cont->url_page == "admin/position") |
1235 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1235 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1236 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1236 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1237 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.position') ? 'dark:text-gray-100' : null }}"> | 1237 | <!--<li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.position') ? 'dark:text-gray-100' : null }}"> |
1238 | <a class="w-full" href="{{ route('admin.position') }}">Позиция</a> | 1238 | <a class="w-full" href=" route('admin.position') }}">Позиция</a> |
1239 | </li> | 1239 | </li>--> |
1240 | @endif | 1240 | @endif |
1241 | @endif | 1241 | @endif |
1242 | 1242 | ||
1243 | @endforeach | 1243 | @endforeach |
1244 | </ul> | 1244 | </ul> |
1245 | </template> | 1245 | </template> |
1246 | </li> | 1246 | </li> |
1247 | 1247 | ||
1248 | <!-- Редактор --> | 1248 | <!-- Редактор --> |
1249 | <li class="relative px-6 py-3"> | 1249 | <li class="relative px-6 py-3"> |
1250 | <button | 1250 | <button |
1251 | 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" | 1251 | 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" |
1252 | @click="togglePagesMenu" | 1252 | @click="togglePagesMenu" |
1253 | aria-haspopup="true" | 1253 | aria-haspopup="true" |
1254 | > | 1254 | > |
1255 | <span class="inline-flex items-center"> | 1255 | <span class="inline-flex items-center"> |
1256 | <svg | 1256 | <svg |
1257 | class="w-5 h-5" | 1257 | class="w-5 h-5" |
1258 | aria-hidden="true" | 1258 | aria-hidden="true" |
1259 | fill="none" | 1259 | fill="none" |
1260 | stroke-linecap="round" | 1260 | stroke-linecap="round" |
1261 | stroke-linejoin="round" | 1261 | stroke-linejoin="round" |
1262 | stroke-width="2" | 1262 | stroke-width="2" |
1263 | viewBox="0 0 24 24" | 1263 | viewBox="0 0 24 24" |
1264 | stroke="currentColor" | 1264 | stroke="currentColor" |
1265 | > | 1265 | > |
1266 | <path | 1266 | <path |
1267 | 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" | 1267 | 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" |
1268 | ></path> | 1268 | ></path> |
1269 | </svg> | 1269 | </svg> |
1270 | <span class="ml-4">Редактор</span> | 1270 | <span class="ml-4">Редактор</span> |
1271 | </span> | 1271 | </span> |
1272 | <svg | 1272 | <svg |
1273 | class="w-4 h-4" | 1273 | class="w-4 h-4" |
1274 | aria-hidden="true" | 1274 | aria-hidden="true" |
1275 | fill="currentColor" | 1275 | fill="currentColor" |
1276 | viewBox="0 0 20 20" | 1276 | viewBox="0 0 20 20" |
1277 | > | 1277 | > |
1278 | <path | 1278 | <path |
1279 | fill-rule="evenodd" | 1279 | fill-rule="evenodd" |
1280 | 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" | 1280 | 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" |
1281 | clip-rule="evenodd" | 1281 | clip-rule="evenodd" |
1282 | ></path> | 1282 | ></path> |
1283 | </svg> | 1283 | </svg> |
1284 | </button> | 1284 | </button> |
1285 | <template x-if="isPagesMenuOpen"> | 1285 | <template x-if="isPagesMenuOpen"> |
1286 | <ul | 1286 | <ul |
1287 | x-transition:enter="transition-all ease-in-out duration-300" | 1287 | x-transition:enter="transition-all ease-in-out duration-300" |
1288 | x-transition:enter-start="opacity-25 max-h-0" | 1288 | x-transition:enter-start="opacity-25 max-h-0" |
1289 | x-transition:enter-end="opacity-100 max-h-xl" | 1289 | x-transition:enter-end="opacity-100 max-h-xl" |
1290 | x-transition:leave="transition-all ease-in-out duration-300" | 1290 | x-transition:leave="transition-all ease-in-out duration-300" |
1291 | x-transition:leave-start="opacity-100 max-h-xl" | 1291 | x-transition:leave-start="opacity-100 max-h-xl" |
1292 | x-transition:leave-end="opacity-0 max-h-0" | 1292 | x-transition:leave-end="opacity-0 max-h-0" |
1293 | 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" | 1293 | 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" |
1294 | aria-label="submenu" | 1294 | aria-label="submenu" |
1295 | > | 1295 | > |
1296 | @foreach ($contents as $cont) | 1296 | @foreach ($contents as $cont) |
1297 | @if ($cont->url_page == "admin/editor-site") | 1297 | @if ($cont->url_page == "admin/editor-site") |
1298 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1298 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1299 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1299 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1300 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> | 1300 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> |
1301 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 1301 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
1302 | </li> | 1302 | </li> |
1303 | @endif | 1303 | @endif |
1304 | @endif | 1304 | @endif |
1305 | 1305 | ||
1306 | @if ($cont->url_page == "admin/edit-blocks") | 1306 | @if ($cont->url_page == "admin/edit-blocks") |
1307 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1307 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1308 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1308 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1309 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> | 1309 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> |
1310 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 1310 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
1311 | </li> | 1311 | </li> |
1312 | @endif | 1312 | @endif |
1313 | @endif | 1313 | @endif |
1314 | 1314 | ||
1315 | @if ($cont->url_page == "admin/editor-seo") | 1315 | @if ($cont->url_page == "admin/editor-seo") |
1316 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1316 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1317 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1317 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1318 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> | 1318 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> |
1319 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 1319 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
1320 | </li> | 1320 | </li> |
1321 | @endif | 1321 | @endif |
1322 | @endif | 1322 | @endif |
1323 | 1323 | ||
1324 | @if ($cont->url_page == "admin/editor-pages") | 1324 | @if ($cont->url_page == "admin/editor-pages") |
1325 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1325 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1326 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1326 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1327 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> | 1327 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> |
1328 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 1328 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
1329 | </li> | 1329 | </li> |
1330 | @endif | 1330 | @endif |
1331 | @endif | 1331 | @endif |
1332 | 1332 | ||
1333 | @if ($cont->url_page == "admin/job-titles-main") | 1333 | @if ($cont->url_page == "admin/job-titles-main") |
1334 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1334 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1335 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1335 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1336 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> | 1336 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> |
1337 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 1337 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
1338 | </li> | 1338 | </li> |
1339 | @endif | 1339 | @endif |
1340 | @endif | 1340 | @endif |
1341 | 1341 | ||
1342 | @if ($cont->url_page == "admin/employers-main") | 1342 | @if ($cont->url_page == "admin/employers-main") |
1343 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1343 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1344 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1344 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1345 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> | 1345 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> |
1346 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 1346 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
1347 | </li> | 1347 | </li> |
1348 | @endif | 1348 | @endif |
1349 | @endif | 1349 | @endif |
1350 | 1350 | ||
1351 | @endforeach | 1351 | @endforeach |
1352 | </ul> | 1352 | </ul> |
1353 | </template> | 1353 | </template> |
1354 | </li> | 1354 | </li> |
1355 | </ul> | 1355 | </ul> |
1356 | <!--<div class="px-6 my-6"> | 1356 | <!--<div class="px-6 my-6"> |
1357 | <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"> | 1357 | <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"> |
1358 | Create account | 1358 | Create account |
1359 | <span class="ml-2" aria-hidden="true">+</span> | 1359 | <span class="ml-2" aria-hidden="true">+</span> |
1360 | </button> | 1360 | </button> |
1361 | </div>--> | 1361 | </div>--> |
1362 | </div> | 1362 | </div> |
1363 | </aside> | 1363 | </aside> |
1364 | <div class="flex flex-col flex-1 w-full"> | 1364 | <div class="flex flex-col flex-1 w-full"> |
1365 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> | 1365 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> |
1366 | <div | 1366 | <div |
1367 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" | 1367 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" |
1368 | > | 1368 | > |
1369 | <!-- Mobile hamburger --> | 1369 | <!-- Mobile hamburger --> |
1370 | <button | 1370 | <button |
1371 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" | 1371 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" |
1372 | @click="toggleSideMenu" | 1372 | @click="toggleSideMenu" |
1373 | aria-label="Menu" | 1373 | aria-label="Menu" |
1374 | > | 1374 | > |
1375 | <svg | 1375 | <svg |
1376 | class="w-6 h-6" | 1376 | class="w-6 h-6" |
1377 | aria-hidden="true" | 1377 | aria-hidden="true" |
1378 | fill="currentColor" | 1378 | fill="currentColor" |
1379 | viewBox="0 0 20 20" | 1379 | viewBox="0 0 20 20" |
1380 | > | 1380 | > |
1381 | <path | 1381 | <path |
1382 | fill-rule="evenodd" | 1382 | fill-rule="evenodd" |
1383 | 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" | 1383 | 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" |
1384 | clip-rule="evenodd" | 1384 | clip-rule="evenodd" |
1385 | ></path> | 1385 | ></path> |
1386 | </svg> | 1386 | </svg> |
1387 | </button> | 1387 | </button> |
1388 | <!-- Search input --> | 1388 | <!-- Search input --> |
1389 | <div class="flex justify-center flex-1 lg:mr-32"> | 1389 | <div class="flex justify-center flex-1 lg:mr-32"> |
1390 | <div | 1390 | <div |
1391 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" | 1391 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" |
1392 | > | 1392 | > |
1393 | 1393 | ||
1394 | @yield('search') | 1394 | @yield('search') |
1395 | </div> | 1395 | </div> |
1396 | </div> | 1396 | </div> |
1397 | <ul class="flex items-center flex-shrink-0 space-x-6"> | 1397 | <ul class="flex items-center flex-shrink-0 space-x-6"> |
1398 | <!-- Theme toggler --> | 1398 | <!-- Theme toggler --> |
1399 | <li class="flex"> | 1399 | <li class="flex"> |
1400 | <button | 1400 | <button |
1401 | class="rounded-md focus:outline-none focus:shadow-outline-purple" | 1401 | class="rounded-md focus:outline-none focus:shadow-outline-purple" |
1402 | @click="toggleTheme" | 1402 | @click="toggleTheme" |
1403 | aria-label="Toggle color mode" | 1403 | aria-label="Toggle color mode" |
1404 | > | 1404 | > |
1405 | <template x-if="!dark"> | 1405 | <template x-if="!dark"> |
1406 | <svg | 1406 | <svg |
1407 | class="w-5 h-5" | 1407 | class="w-5 h-5" |
1408 | aria-hidden="true" | 1408 | aria-hidden="true" |
1409 | fill="currentColor" | 1409 | fill="currentColor" |
1410 | viewBox="0 0 20 20" | 1410 | viewBox="0 0 20 20" |
1411 | > | 1411 | > |
1412 | <path | 1412 | <path |
1413 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" | 1413 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" |
1414 | ></path> | 1414 | ></path> |
1415 | </svg> | 1415 | </svg> |
1416 | </template> | 1416 | </template> |
1417 | <template x-if="dark"> | 1417 | <template x-if="dark"> |
1418 | <svg | 1418 | <svg |
1419 | class="w-5 h-5" | 1419 | class="w-5 h-5" |
1420 | aria-hidden="true" | 1420 | aria-hidden="true" |
1421 | fill="currentColor" | 1421 | fill="currentColor" |
1422 | viewBox="0 0 20 20" | 1422 | viewBox="0 0 20 20" |
1423 | > | 1423 | > |
1424 | <path | 1424 | <path |
1425 | fill-rule="evenodd" | 1425 | fill-rule="evenodd" |
1426 | 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" | 1426 | 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" |
1427 | clip-rule="evenodd" | 1427 | clip-rule="evenodd" |
1428 | ></path> | 1428 | ></path> |
1429 | </svg> | 1429 | </svg> |
1430 | </template> | 1430 | </template> |
1431 | </button> | 1431 | </button> |
1432 | </li> | 1432 | </li> |
1433 | <!-- Notifications menu --> | 1433 | <!-- Notifications menu --> |
1434 | <li class="relative"> | 1434 | <li class="relative"> |
1435 | <button | 1435 | <button |
1436 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" | 1436 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" |
1437 | @click="toggleNotificationsMenu" | 1437 | @click="toggleNotificationsMenu" |
1438 | @keydown.escape="closeNotificationsMenu" | 1438 | @keydown.escape="closeNotificationsMenu" |
1439 | aria-label="Notifications" | 1439 | aria-label="Notifications" |
1440 | aria-haspopup="true" | 1440 | aria-haspopup="true" |
1441 | > | 1441 | > |
1442 | <svg | 1442 | <svg |
1443 | class="w-5 h-5" | 1443 | class="w-5 h-5" |
1444 | aria-hidden="true" | 1444 | aria-hidden="true" |
1445 | fill="currentColor" | 1445 | fill="currentColor" |
1446 | viewBox="0 0 20 20" | 1446 | viewBox="0 0 20 20" |
1447 | > | 1447 | > |
1448 | <path | 1448 | <path |
1449 | 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" | 1449 | 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" |
1450 | ></path> | 1450 | ></path> |
1451 | </svg> | 1451 | </svg> |
1452 | <!-- Notification badge --> | 1452 | <!-- Notification badge --> |
1453 | <span | 1453 | <span |
1454 | aria-hidden="true" | 1454 | aria-hidden="true" |
1455 | 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" | 1455 | 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" |
1456 | ></span> | 1456 | ></span> |
1457 | </button> | 1457 | </button> |
1458 | <template x-if="isNotificationsMenuOpen"> | 1458 | <template x-if="isNotificationsMenuOpen"> |
1459 | <ul | 1459 | <ul |
1460 | x-transition:leave="transition ease-in duration-150" | 1460 | x-transition:leave="transition ease-in duration-150" |
1461 | x-transition:leave-start="opacity-100" | 1461 | x-transition:leave-start="opacity-100" |
1462 | x-transition:leave-end="opacity-0" | 1462 | x-transition:leave-end="opacity-0" |
1463 | @click.away="closeNotificationsMenu" | 1463 | @click.away="closeNotificationsMenu" |
1464 | @keydown.escape="closeNotificationsMenu" | 1464 | @keydown.escape="closeNotificationsMenu" |
1465 | 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" | 1465 | 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" |
1466 | > | 1466 | > |
1467 | <li class="flex"> | 1467 | <li class="flex"> |
1468 | <a | 1468 | <a |
1469 | 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" | 1469 | 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" |
1470 | href="{{ route('admin.admin-messages') }}" | 1470 | href="{{ route('admin.admin-messages') }}" |
1471 | > | 1471 | > |
1472 | <span>Сообщения</span> | 1472 | <span>Сообщения</span> |
1473 | @if($MsgCount > 0) | 1473 | @if($MsgCount > 0) |
1474 | <span | 1474 | <span |
1475 | 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" | 1475 | 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" |
1476 | > | 1476 | > |
1477 | 1477 | ||
1478 | {{ $MsgCount }} | 1478 | {{ $MsgCount }} |
1479 | </span> | 1479 | </span> |
1480 | @endif | 1480 | @endif |
1481 | </a> | 1481 | </a> |
1482 | </li> | 1482 | </li> |
1483 | <!--<li class="flex"> | 1483 | <!--<li class="flex"> |
1484 | <a | 1484 | <a |
1485 | 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" | 1485 | 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" |
1486 | href="#" | 1486 | href="#" |
1487 | > | 1487 | > |
1488 | <span>Логи</span> | 1488 | <span>Логи</span> |
1489 | </a> | 1489 | </a> |
1490 | </li>--> | 1490 | </li>--> |
1491 | </ul> | 1491 | </ul> |
1492 | </template> | 1492 | </template> |
1493 | </li> | 1493 | </li> |
1494 | <!-- Profile menu --> | 1494 | <!-- Profile menu --> |
1495 | <li class="relative"> | 1495 | <li class="relative"> |
1496 | <button | 1496 | <button |
1497 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" | 1497 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" |
1498 | @click="toggleProfileMenu" | 1498 | @click="toggleProfileMenu" |
1499 | @keydown.escape="closeProfileMenu" | 1499 | @keydown.escape="closeProfileMenu" |
1500 | aria-label="Account" | 1500 | aria-label="Account" |
1501 | aria-haspopup="true" | 1501 | aria-haspopup="true" |
1502 | > | 1502 | > |
1503 | <img | 1503 | <img |
1504 | class="object-cover w-8 h-8 rounded-full" | 1504 | class="object-cover w-8 h-8 rounded-full" |
1505 | src="{{ asset('assets/img/profile.jpg') }}" | 1505 | src="{{ asset('assets/img/profile.jpg') }}" |
1506 | alt="" | 1506 | alt="" |
1507 | aria-hidden="true" | 1507 | aria-hidden="true" |
1508 | /> | 1508 | /> |
1509 | </button> | 1509 | </button> |
1510 | <template x-if="isProfileMenuOpen"> | 1510 | <template x-if="isProfileMenuOpen"> |
1511 | <ul | 1511 | <ul |
1512 | x-transition:leave="transition ease-in duration-150" | 1512 | x-transition:leave="transition ease-in duration-150" |
1513 | x-transition:leave-start="opacity-100" | 1513 | x-transition:leave-start="opacity-100" |
1514 | x-transition:leave-end="opacity-0" | 1514 | x-transition:leave-end="opacity-0" |
1515 | @click.away="closeProfileMenu" | 1515 | @click.away="closeProfileMenu" |
1516 | @keydown.escape="closeProfileMenu" | 1516 | @keydown.escape="closeProfileMenu" |
1517 | 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" | 1517 | 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" |
1518 | aria-label="submenu" | 1518 | aria-label="submenu" |
1519 | > | 1519 | > |
1520 | <li class="flex"> | 1520 | <li class="flex"> |
1521 | <a | 1521 | <a |
1522 | 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" | 1522 | 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" |
1523 | href="{{ route('admin.profile') }}" | 1523 | href="{{ route('admin.profile') }}" |
1524 | > | 1524 | > |
1525 | <svg | 1525 | <svg |
1526 | class="w-4 h-4 mr-3" | 1526 | class="w-4 h-4 mr-3" |
1527 | aria-hidden="true" | 1527 | aria-hidden="true" |
1528 | fill="none" | 1528 | fill="none" |
1529 | stroke-linecap="round" | 1529 | stroke-linecap="round" |
1530 | stroke-linejoin="round" | 1530 | stroke-linejoin="round" |
1531 | stroke-width="2" | 1531 | stroke-width="2" |
1532 | viewBox="0 0 24 24" | 1532 | viewBox="0 0 24 24" |
1533 | stroke="currentColor" | 1533 | stroke="currentColor" |
1534 | > | 1534 | > |
1535 | <path | 1535 | <path |
1536 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" | 1536 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" |
1537 | ></path> | 1537 | ></path> |
1538 | </svg> | 1538 | </svg> |
1539 | <span>Профиль</span> | 1539 | <span>Профиль</span> |
1540 | </a> | 1540 | </a> |
1541 | </li> | 1541 | </li> |
1542 | <li class="flex"> | 1542 | <li class="flex"> |
1543 | <a | 1543 | <a |
1544 | 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" | 1544 | 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" |
1545 | href="{{ route('admin.config') }}" | 1545 | href="{{ route('admin.config') }}" |
1546 | > | 1546 | > |
1547 | <svg | 1547 | <svg |
1548 | class="w-4 h-4 mr-3" | 1548 | class="w-4 h-4 mr-3" |
1549 | aria-hidden="true" | 1549 | aria-hidden="true" |
1550 | fill="none" | 1550 | fill="none" |
1551 | stroke-linecap="round" | 1551 | stroke-linecap="round" |
1552 | stroke-linejoin="round" | 1552 | stroke-linejoin="round" |
1553 | stroke-width="2" | 1553 | stroke-width="2" |
1554 | viewBox="0 0 24 24" | 1554 | viewBox="0 0 24 24" |
1555 | stroke="currentColor" | 1555 | stroke="currentColor" |
1556 | > | 1556 | > |
1557 | <path | 1557 | <path |
1558 | 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" | 1558 | 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" |
1559 | ></path> | 1559 | ></path> |
1560 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> | 1560 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> |
1561 | </svg> | 1561 | </svg> |
1562 | <span>Настройки</span> | 1562 | <span>Настройки</span> |
1563 | </a> | 1563 | </a> |
1564 | </li> | 1564 | </li> |
1565 | <li class="flex"> | 1565 | <li class="flex"> |
1566 | <a | 1566 | <a |
1567 | 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" | 1567 | 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" |
1568 | href="{{ route('admin.logout') }}" | 1568 | href="{{ route('admin.logout') }}" |
1569 | > | 1569 | > |
1570 | <svg | 1570 | <svg |
1571 | class="w-4 h-4 mr-3" | 1571 | class="w-4 h-4 mr-3" |
1572 | aria-hidden="true" | 1572 | aria-hidden="true" |
1573 | fill="none" | 1573 | fill="none" |
1574 | stroke-linecap="round" | 1574 | stroke-linecap="round" |
1575 | stroke-linejoin="round" | 1575 | stroke-linejoin="round" |
1576 | stroke-width="2" | 1576 | stroke-width="2" |
1577 | viewBox="0 0 24 24" | 1577 | viewBox="0 0 24 24" |
1578 | stroke="currentColor" | 1578 | stroke="currentColor" |
1579 | > | 1579 | > |
1580 | <path | 1580 | <path |
1581 | 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" | 1581 | 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" |
1582 | ></path> | 1582 | ></path> |
1583 | </svg> | 1583 | </svg> |
1584 | <span>Выход</span> | 1584 | <span>Выход</span> |
1585 | </a> | 1585 | </a> |
1586 | </li> | 1586 | </li> |
1587 | </ul> | 1587 | </ul> |
1588 | </template> | 1588 | </template> |
1589 | </li> | 1589 | </li> |
1590 | </ul> | 1590 | </ul> |
1591 | </div> | 1591 | </div> |
1592 | </header> | 1592 | </header> |
1593 | <main class="h-full overflow-y-auto"> | 1593 | <main class="h-full overflow-y-auto"> |
1594 | <div class="container px-6 mx-auto grid"> | 1594 | <div class="container px-6 mx-auto grid"> |
1595 | <h2 | 1595 | <h2 |
1596 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" | 1596 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" |
1597 | > | 1597 | > |
1598 | {{$title}} | 1598 | {{$title}} |
1599 | </h2> | 1599 | </h2> |
1600 | <!-- CTA --> | 1600 | <!-- CTA --> |
1601 | <a | 1601 | <a |
1602 | 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" | 1602 | 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" |
1603 | href="{{ route('admin.admin-users') }}" | 1603 | href="{{ route('admin.admin-users') }}" |
1604 | > | 1604 | > |
1605 | <div class="flex items-center"> | 1605 | <div class="flex items-center"> |
1606 | <svg | 1606 | <svg |
1607 | class="w-5 h-5 mr-2" | 1607 | class="w-5 h-5 mr-2" |
1608 | fill="currentColor" | 1608 | fill="currentColor" |
1609 | viewBox="0 0 20 20" | 1609 | viewBox="0 0 20 20" |
1610 | > | 1610 | > |
1611 | <path | 1611 | <path |
1612 | 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" | 1612 | 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" |
1613 | ></path> | 1613 | ></path> |
1614 | </svg> | 1614 | </svg> |
1615 | <span>Контент для админов</span> | 1615 | <span>Контент для админов</span> |
1616 | </div> | 1616 | </div> |
1617 | <span>Список админов →</span> | 1617 | <span>Список админов →</span> |
1618 | </a> | 1618 | </a> |
1619 | 1619 | ||
1620 | @if ($message = Session::get('success')) | 1620 | @if ($message = Session::get('success')) |
1621 | <section> | 1621 | <section> |
1622 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> | 1622 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> |
1623 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1623 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1624 | <span aria-hidden="true">×</span> | 1624 | <span aria-hidden="true">×</span> |
1625 | </button> | 1625 | </button> |
1626 | {{ $message }} | 1626 | {{ $message }} |
1627 | </div> | 1627 | </div> |
1628 | </section> | 1628 | </section> |
1629 | @endif | 1629 | @endif |
1630 | 1630 | ||
1631 | @if ($errors->any()) | 1631 | @if ($errors->any()) |
1632 | <section> | 1632 | <section> |
1633 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> | 1633 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> |
1634 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1634 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1635 | <span aria-hidden="true">×</span> | 1635 | <span aria-hidden="true">×</span> |
1636 | </button> | 1636 | </button> |
1637 | <ul class="mb-0"> | 1637 | <ul class="mb-0"> |
1638 | @foreach ($errors->all() as $error) | 1638 | @foreach ($errors->all() as $error) |
1639 | <li>{{ $error }}</li> | 1639 | <li>{{ $error }}</li> |
1640 | @endforeach | 1640 | @endforeach |
1641 | </ul> | 1641 | </ul> |
1642 | </div> | 1642 | </div> |
1643 | </section> | 1643 | </section> |
1644 | @endif | 1644 | @endif |
1645 | 1645 | ||
1646 | @yield('content') | 1646 | @yield('content') |
1647 | 1647 | ||
1648 | <!-- Cards | 1648 | <!-- Cards |
1649 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> | 1649 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> |
1650 | 1650 | ||
1651 | <div | 1651 | <div |
1652 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1652 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1653 | > | 1653 | > |
1654 | <div | 1654 | <div |
1655 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" | 1655 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" |
1656 | > | 1656 | > |
1657 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1657 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1658 | <path | 1658 | <path |
1659 | 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" | 1659 | 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" |
1660 | ></path> | 1660 | ></path> |
1661 | </svg> | 1661 | </svg> |
1662 | </div> | 1662 | </div> |
1663 | <div> | 1663 | <div> |
1664 | <p | 1664 | <p |
1665 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1665 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1666 | > | 1666 | > |
1667 | Total clients | 1667 | Total clients |
1668 | </p> | 1668 | </p> |
1669 | <p | 1669 | <p |
1670 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1670 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1671 | > | 1671 | > |
1672 | 6389 | 1672 | 6389 |
1673 | </p> | 1673 | </p> |
1674 | </div> | 1674 | </div> |
1675 | </div> | 1675 | </div> |
1676 | 1676 | ||
1677 | <div | 1677 | <div |
1678 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1678 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1679 | > | 1679 | > |
1680 | <div | 1680 | <div |
1681 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" | 1681 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" |
1682 | > | 1682 | > |
1683 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1683 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1684 | <path | 1684 | <path |
1685 | fill-rule="evenodd" | 1685 | fill-rule="evenodd" |
1686 | 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" | 1686 | 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" |
1687 | clip-rule="evenodd" | 1687 | clip-rule="evenodd" |
1688 | ></path> | 1688 | ></path> |
1689 | </svg> | 1689 | </svg> |
1690 | </div> | 1690 | </div> |
1691 | <div> | 1691 | <div> |
1692 | <p | 1692 | <p |
1693 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1693 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1694 | > | 1694 | > |
1695 | Account balance | 1695 | Account balance |
1696 | </p> | 1696 | </p> |
1697 | <p | 1697 | <p |
1698 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1698 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1699 | > | 1699 | > |
1700 | $ 46,760.89 | 1700 | $ 46,760.89 |
1701 | </p> | 1701 | </p> |
1702 | </div> | 1702 | </div> |
1703 | </div> | 1703 | </div> |
1704 | 1704 | ||
1705 | <div | 1705 | <div |
1706 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1706 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1707 | > | 1707 | > |
1708 | <div | 1708 | <div |
1709 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" | 1709 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" |
1710 | > | 1710 | > |
1711 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1711 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1712 | <path | 1712 | <path |
1713 | 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" | 1713 | 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" |
1714 | ></path> | 1714 | ></path> |
1715 | </svg> | 1715 | </svg> |
1716 | </div> | 1716 | </div> |
1717 | <div> | 1717 | <div> |
1718 | <p | 1718 | <p |
1719 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1719 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1720 | > | 1720 | > |
1721 | New sales | 1721 | New sales |
1722 | </p> | 1722 | </p> |
1723 | <p | 1723 | <p |
1724 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1724 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1725 | > | 1725 | > |
1726 | 376 | 1726 | 376 |
1727 | </p> | 1727 | </p> |
1728 | </div> | 1728 | </div> |
1729 | </div> | 1729 | </div> |
1730 | 1730 | ||
1731 | <div | 1731 | <div |
1732 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1732 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1733 | > | 1733 | > |
1734 | <div | 1734 | <div |
1735 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" | 1735 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" |
1736 | > | 1736 | > |
1737 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1737 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1738 | <path | 1738 | <path |
1739 | fill-rule="evenodd" | 1739 | fill-rule="evenodd" |
1740 | 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" | 1740 | 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" |
1741 | clip-rule="evenodd" | 1741 | clip-rule="evenodd" |
1742 | ></path> | 1742 | ></path> |
1743 | </svg> | 1743 | </svg> |
1744 | </div> | 1744 | </div> |
1745 | <div> | 1745 | <div> |
1746 | <p | 1746 | <p |
1747 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1747 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1748 | > | 1748 | > |
1749 | Pending contacts | 1749 | Pending contacts |
1750 | </p> | 1750 | </p> |
1751 | <p | 1751 | <p |
1752 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1752 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1753 | > | 1753 | > |
1754 | 35 | 1754 | 35 |
1755 | </p> | 1755 | </p> |
1756 | </div> | 1756 | </div> |
1757 | </div> | 1757 | </div> |
1758 | </div> | 1758 | </div> |
1759 | --> | 1759 | --> |
1760 | <!-- New Table | 1760 | <!-- New Table |
1761 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | 1761 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> |
1762 | <div class="w-full overflow-x-auto"> | 1762 | <div class="w-full overflow-x-auto"> |
1763 | <table class="w-full whitespace-no-wrap"> | 1763 | <table class="w-full whitespace-no-wrap"> |
1764 | <thead> | 1764 | <thead> |
1765 | <tr | 1765 | <tr |
1766 | 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" | 1766 | 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" |
1767 | > | 1767 | > |
1768 | <th class="px-4 py-3">Client</th> | 1768 | <th class="px-4 py-3">Client</th> |
1769 | <th class="px-4 py-3">Amount</th> | 1769 | <th class="px-4 py-3">Amount</th> |
1770 | <th class="px-4 py-3">Status</th> | 1770 | <th class="px-4 py-3">Status</th> |
1771 | <th class="px-4 py-3">Date</th> | 1771 | <th class="px-4 py-3">Date</th> |
1772 | </tr> | 1772 | </tr> |
1773 | </thead> | 1773 | </thead> |
1774 | <tbody | 1774 | <tbody |
1775 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" | 1775 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" |
1776 | > | 1776 | > |
1777 | <tr class="text-gray-700 dark:text-gray-400"> | 1777 | <tr class="text-gray-700 dark:text-gray-400"> |
1778 | <td class="px-4 py-3"> | 1778 | <td class="px-4 py-3"> |
1779 | <div class="flex items-center text-sm"> | 1779 | <div class="flex items-center text-sm"> |
1780 | 1780 | ||
1781 | <div | 1781 | <div |
1782 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1782 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1783 | > | 1783 | > |
1784 | <img | 1784 | <img |
1785 | class="object-cover w-full h-full rounded-full" | 1785 | class="object-cover w-full h-full rounded-full" |
1786 | 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" | 1786 | 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" |
1787 | alt="" | 1787 | alt="" |
1788 | loading="lazy" | 1788 | loading="lazy" |
1789 | /> | 1789 | /> |
1790 | <div | 1790 | <div |
1791 | class="absolute inset-0 rounded-full shadow-inner" | 1791 | class="absolute inset-0 rounded-full shadow-inner" |
1792 | aria-hidden="true" | 1792 | aria-hidden="true" |
1793 | ></div> | 1793 | ></div> |
1794 | </div> | 1794 | </div> |
1795 | <div> | 1795 | <div> |
1796 | <p class="font-semibold">Hans Burger</p> | 1796 | <p class="font-semibold">Hans Burger</p> |
1797 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1797 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1798 | 10x Developer | 1798 | 10x Developer |
1799 | </p> | 1799 | </p> |
1800 | </div> | 1800 | </div> |
1801 | </div> | 1801 | </div> |
1802 | </td> | 1802 | </td> |
1803 | <td class="px-4 py-3 text-sm"> | 1803 | <td class="px-4 py-3 text-sm"> |
1804 | $ 863.45 | 1804 | $ 863.45 |
1805 | </td> | 1805 | </td> |
1806 | <td class="px-4 py-3 text-xs"> | 1806 | <td class="px-4 py-3 text-xs"> |
1807 | <span | 1807 | <span |
1808 | 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" | 1808 | 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" |
1809 | > | 1809 | > |
1810 | Approved | 1810 | Approved |
1811 | </span> | 1811 | </span> |
1812 | </td> | 1812 | </td> |
1813 | <td class="px-4 py-3 text-sm"> | 1813 | <td class="px-4 py-3 text-sm"> |
1814 | 6/10/2020 | 1814 | 6/10/2020 |
1815 | </td> | 1815 | </td> |
1816 | </tr> | 1816 | </tr> |
1817 | 1817 | ||
1818 | <tr class="text-gray-700 dark:text-gray-400"> | 1818 | <tr class="text-gray-700 dark:text-gray-400"> |
1819 | <td class="px-4 py-3"> | 1819 | <td class="px-4 py-3"> |
1820 | <div class="flex items-center text-sm"> | 1820 | <div class="flex items-center text-sm"> |
1821 | 1821 | ||
1822 | <div | 1822 | <div |
1823 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1823 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1824 | > | 1824 | > |
1825 | <img | 1825 | <img |
1826 | class="object-cover w-full h-full rounded-full" | 1826 | class="object-cover w-full h-full rounded-full" |
1827 | 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" | 1827 | 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" |
1828 | alt="" | 1828 | alt="" |
1829 | loading="lazy" | 1829 | loading="lazy" |
1830 | /> | 1830 | /> |
1831 | <div | 1831 | <div |
1832 | class="absolute inset-0 rounded-full shadow-inner" | 1832 | class="absolute inset-0 rounded-full shadow-inner" |
1833 | aria-hidden="true" | 1833 | aria-hidden="true" |
1834 | ></div> | 1834 | ></div> |
1835 | </div> | 1835 | </div> |
1836 | <div> | 1836 | <div> |
1837 | <p class="font-semibold">Jolina Angelie</p> | 1837 | <p class="font-semibold">Jolina Angelie</p> |
1838 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1838 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1839 | Unemployed | 1839 | Unemployed |
1840 | </p> | 1840 | </p> |
1841 | </div> | 1841 | </div> |
1842 | </div> | 1842 | </div> |
1843 | </td> | 1843 | </td> |
1844 | <td class="px-4 py-3 text-sm"> | 1844 | <td class="px-4 py-3 text-sm"> |
1845 | $ 369.95 | 1845 | $ 369.95 |
1846 | </td> | 1846 | </td> |
1847 | <td class="px-4 py-3 text-xs"> | 1847 | <td class="px-4 py-3 text-xs"> |
1848 | <span | 1848 | <span |
1849 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" | 1849 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" |
1850 | > | 1850 | > |
1851 | Pending | 1851 | Pending |
1852 | </span> | 1852 | </span> |
1853 | </td> | 1853 | </td> |
1854 | <td class="px-4 py-3 text-sm"> | 1854 | <td class="px-4 py-3 text-sm"> |
1855 | 6/10/2020 | 1855 | 6/10/2020 |
1856 | </td> | 1856 | </td> |
1857 | </tr> | 1857 | </tr> |
1858 | 1858 | ||
1859 | <tr class="text-gray-700 dark:text-gray-400"> | 1859 | <tr class="text-gray-700 dark:text-gray-400"> |
1860 | <td class="px-4 py-3"> | 1860 | <td class="px-4 py-3"> |
1861 | <div class="flex items-center text-sm"> | 1861 | <div class="flex items-center text-sm"> |
1862 | 1862 | ||
1863 | <div | 1863 | <div |
1864 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1864 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1865 | > | 1865 | > |
1866 | <img | 1866 | <img |
1867 | class="object-cover w-full h-full rounded-full" | 1867 | class="object-cover w-full h-full rounded-full" |
1868 | 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" | 1868 | 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" |
1869 | alt="" | 1869 | alt="" |
1870 | loading="lazy" | 1870 | loading="lazy" |
1871 | /> | 1871 | /> |
1872 | <div | 1872 | <div |
1873 | class="absolute inset-0 rounded-full shadow-inner" | 1873 | class="absolute inset-0 rounded-full shadow-inner" |
1874 | aria-hidden="true" | 1874 | aria-hidden="true" |
1875 | ></div> | 1875 | ></div> |
1876 | </div> | 1876 | </div> |
1877 | <div> | 1877 | <div> |
1878 | <p class="font-semibold">Sarah Curry</p> | 1878 | <p class="font-semibold">Sarah Curry</p> |
1879 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1879 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1880 | Designer | 1880 | Designer |
1881 | </p> | 1881 | </p> |
1882 | </div> | 1882 | </div> |
1883 | </div> | 1883 | </div> |
1884 | </td> | 1884 | </td> |
1885 | <td class="px-4 py-3 text-sm"> | 1885 | <td class="px-4 py-3 text-sm"> |
1886 | $ 86.00 | 1886 | $ 86.00 |
1887 | </td> | 1887 | </td> |
1888 | <td class="px-4 py-3 text-xs"> | 1888 | <td class="px-4 py-3 text-xs"> |
1889 | <span | 1889 | <span |
1890 | 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" | 1890 | 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" |
1891 | > | 1891 | > |
1892 | Denied | 1892 | Denied |
1893 | </span> | 1893 | </span> |
1894 | </td> | 1894 | </td> |
1895 | <td class="px-4 py-3 text-sm"> | 1895 | <td class="px-4 py-3 text-sm"> |
1896 | 6/10/2020 | 1896 | 6/10/2020 |
1897 | </td> | 1897 | </td> |
1898 | </tr> | 1898 | </tr> |
1899 | 1899 | ||
1900 | <tr class="text-gray-700 dark:text-gray-400"> | 1900 | <tr class="text-gray-700 dark:text-gray-400"> |
1901 | <td class="px-4 py-3"> | 1901 | <td class="px-4 py-3"> |
1902 | <div class="flex items-center text-sm"> | 1902 | <div class="flex items-center text-sm"> |
1903 | 1903 | ||
1904 | <div | 1904 | <div |
1905 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1905 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1906 | > | 1906 | > |
1907 | <img | 1907 | <img |
1908 | class="object-cover w-full h-full rounded-full" | 1908 | class="object-cover w-full h-full rounded-full" |
1909 | 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" | 1909 | 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" |
1910 | alt="" | 1910 | alt="" |
1911 | loading="lazy" | 1911 | loading="lazy" |
1912 | /> | 1912 | /> |
1913 | <div | 1913 | <div |
1914 | class="absolute inset-0 rounded-full shadow-inner" | 1914 | class="absolute inset-0 rounded-full shadow-inner" |
1915 | aria-hidden="true" | 1915 | aria-hidden="true" |
1916 | ></div> | 1916 | ></div> |
1917 | </div> | 1917 | </div> |
1918 | <div> | 1918 | <div> |
1919 | <p class="font-semibold">Rulia Joberts</p> | 1919 | <p class="font-semibold">Rulia Joberts</p> |
1920 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1920 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1921 | Actress | 1921 | Actress |
1922 | </p> | 1922 | </p> |
1923 | </div> | 1923 | </div> |
1924 | </div> | 1924 | </div> |
1925 | </td> | 1925 | </td> |
1926 | <td class="px-4 py-3 text-sm"> | 1926 | <td class="px-4 py-3 text-sm"> |
1927 | $ 1276.45 | 1927 | $ 1276.45 |
1928 | </td> | 1928 | </td> |
1929 | <td class="px-4 py-3 text-xs"> | 1929 | <td class="px-4 py-3 text-xs"> |
1930 | <span | 1930 | <span |
1931 | 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" | 1931 | 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" |
1932 | > | 1932 | > |
1933 | Approved | 1933 | Approved |
1934 | </span> | 1934 | </span> |
1935 | </td> | 1935 | </td> |
1936 | <td class="px-4 py-3 text-sm"> | 1936 | <td class="px-4 py-3 text-sm"> |
1937 | 6/10/2020 | 1937 | 6/10/2020 |
1938 | </td> | 1938 | </td> |
1939 | </tr> | 1939 | </tr> |
1940 | 1940 | ||
1941 | <tr class="text-gray-700 dark:text-gray-400"> | 1941 | <tr class="text-gray-700 dark:text-gray-400"> |
1942 | <td class="px-4 py-3"> | 1942 | <td class="px-4 py-3"> |
1943 | <div class="flex items-center text-sm"> | 1943 | <div class="flex items-center text-sm"> |
1944 | 1944 | ||
1945 | <div | 1945 | <div |
1946 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1946 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1947 | > | 1947 | > |
1948 | <img | 1948 | <img |
1949 | class="object-cover w-full h-full rounded-full" | 1949 | class="object-cover w-full h-full rounded-full" |
1950 | 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" | 1950 | 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" |
1951 | alt="" | 1951 | alt="" |
1952 | loading="lazy" | 1952 | loading="lazy" |
1953 | /> | 1953 | /> |
1954 | <div | 1954 | <div |
1955 | class="absolute inset-0 rounded-full shadow-inner" | 1955 | class="absolute inset-0 rounded-full shadow-inner" |
1956 | aria-hidden="true" | 1956 | aria-hidden="true" |
1957 | ></div> | 1957 | ></div> |
1958 | </div> | 1958 | </div> |
1959 | <div> | 1959 | <div> |
1960 | <p class="font-semibold">Wenzel Dashington</p> | 1960 | <p class="font-semibold">Wenzel Dashington</p> |
1961 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1961 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1962 | Actor | 1962 | Actor |
1963 | </p> | 1963 | </p> |
1964 | </div> | 1964 | </div> |
1965 | </div> | 1965 | </div> |
1966 | </td> | 1966 | </td> |
1967 | <td class="px-4 py-3 text-sm"> | 1967 | <td class="px-4 py-3 text-sm"> |
1968 | $ 863.45 | 1968 | $ 863.45 |
1969 | </td> | 1969 | </td> |
1970 | <td class="px-4 py-3 text-xs"> | 1970 | <td class="px-4 py-3 text-xs"> |
1971 | <span | 1971 | <span |
1972 | 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" | 1972 | 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" |
1973 | > | 1973 | > |
1974 | Expired | 1974 | Expired |
1975 | </span> | 1975 | </span> |
1976 | </td> | 1976 | </td> |
1977 | <td class="px-4 py-3 text-sm"> | 1977 | <td class="px-4 py-3 text-sm"> |
1978 | 6/10/2020 | 1978 | 6/10/2020 |
1979 | </td> | 1979 | </td> |
1980 | </tr> | 1980 | </tr> |
1981 | 1981 | ||
1982 | <tr class="text-gray-700 dark:text-gray-400"> | 1982 | <tr class="text-gray-700 dark:text-gray-400"> |
1983 | <td class="px-4 py-3"> | 1983 | <td class="px-4 py-3"> |
1984 | <div class="flex items-center text-sm"> | 1984 | <div class="flex items-center text-sm"> |
1985 | 1985 | ||
1986 | <div | 1986 | <div |
1987 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1987 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1988 | > | 1988 | > |
1989 | <img | 1989 | <img |
1990 | class="object-cover w-full h-full rounded-full" | 1990 | class="object-cover w-full h-full rounded-full" |
1991 | 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" | 1991 | 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" |
1992 | alt="" | 1992 | alt="" |
1993 | loading="lazy" | 1993 | loading="lazy" |
1994 | /> | 1994 | /> |
1995 | <div | 1995 | <div |
1996 | class="absolute inset-0 rounded-full shadow-inner" | 1996 | class="absolute inset-0 rounded-full shadow-inner" |
1997 | aria-hidden="true" | 1997 | aria-hidden="true" |
1998 | ></div> | 1998 | ></div> |
1999 | </div> | 1999 | </div> |
2000 | <div> | 2000 | <div> |
2001 | <p class="font-semibold">Dave Li</p> | 2001 | <p class="font-semibold">Dave Li</p> |
2002 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2002 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2003 | Influencer | 2003 | Influencer |
2004 | </p> | 2004 | </p> |
2005 | </div> | 2005 | </div> |
2006 | </div> | 2006 | </div> |
2007 | </td> | 2007 | </td> |
2008 | <td class="px-4 py-3 text-sm"> | 2008 | <td class="px-4 py-3 text-sm"> |
2009 | $ 863.45 | 2009 | $ 863.45 |
2010 | </td> | 2010 | </td> |
2011 | <td class="px-4 py-3 text-xs"> | 2011 | <td class="px-4 py-3 text-xs"> |
2012 | <span | 2012 | <span |
2013 | 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" | 2013 | 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" |
2014 | > | 2014 | > |
2015 | Approved | 2015 | Approved |
2016 | </span> | 2016 | </span> |
2017 | </td> | 2017 | </td> |
2018 | <td class="px-4 py-3 text-sm"> | 2018 | <td class="px-4 py-3 text-sm"> |
2019 | 6/10/2020 | 2019 | 6/10/2020 |
2020 | </td> | 2020 | </td> |
2021 | </tr> | 2021 | </tr> |
2022 | 2022 | ||
2023 | <tr class="text-gray-700 dark:text-gray-400"> | 2023 | <tr class="text-gray-700 dark:text-gray-400"> |
2024 | <td class="px-4 py-3"> | 2024 | <td class="px-4 py-3"> |
2025 | <div class="flex items-center text-sm"> | 2025 | <div class="flex items-center text-sm"> |
2026 | 2026 | ||
2027 | <div | 2027 | <div |
2028 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 2028 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
2029 | > | 2029 | > |
2030 | <img | 2030 | <img |
2031 | class="object-cover w-full h-full rounded-full" | 2031 | class="object-cover w-full h-full rounded-full" |
2032 | 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" | 2032 | 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" |
2033 | alt="" | 2033 | alt="" |
2034 | loading="lazy" | 2034 | loading="lazy" |
2035 | /> | 2035 | /> |
2036 | <div | 2036 | <div |
2037 | class="absolute inset-0 rounded-full shadow-inner" | 2037 | class="absolute inset-0 rounded-full shadow-inner" |
2038 | aria-hidden="true" | 2038 | aria-hidden="true" |
2039 | ></div> | 2039 | ></div> |
2040 | </div> | 2040 | </div> |
2041 | <div> | 2041 | <div> |
2042 | <p class="font-semibold">Maria Ramovic</p> | 2042 | <p class="font-semibold">Maria Ramovic</p> |
2043 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2043 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2044 | Runner | 2044 | Runner |
2045 | </p> | 2045 | </p> |
2046 | </div> | 2046 | </div> |
2047 | </div> | 2047 | </div> |
2048 | </td> | 2048 | </td> |
2049 | <td class="px-4 py-3 text-sm"> | 2049 | <td class="px-4 py-3 text-sm"> |
2050 | $ 863.45 | 2050 | $ 863.45 |
2051 | </td> | 2051 | </td> |
2052 | <td class="px-4 py-3 text-xs"> | 2052 | <td class="px-4 py-3 text-xs"> |
2053 | <span | 2053 | <span |
2054 | 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" | 2054 | 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" |
2055 | > | 2055 | > |
2056 | Approved | 2056 | Approved |
2057 | </span> | 2057 | </span> |
2058 | </td> | 2058 | </td> |
2059 | <td class="px-4 py-3 text-sm"> | 2059 | <td class="px-4 py-3 text-sm"> |
2060 | 6/10/2020 | 2060 | 6/10/2020 |
2061 | </td> | 2061 | </td> |
2062 | </tr> | 2062 | </tr> |
2063 | 2063 | ||
2064 | <tr class="text-gray-700 dark:text-gray-400"> | 2064 | <tr class="text-gray-700 dark:text-gray-400"> |
2065 | <td class="px-4 py-3"> | 2065 | <td class="px-4 py-3"> |
2066 | <div class="flex items-center text-sm"> | 2066 | <div class="flex items-center text-sm"> |
2067 | 2067 | ||
2068 | <div | 2068 | <div |
2069 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 2069 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
2070 | > | 2070 | > |
2071 | <img | 2071 | <img |
2072 | class="object-cover w-full h-full rounded-full" | 2072 | class="object-cover w-full h-full rounded-full" |
2073 | 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" | 2073 | 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" |
2074 | alt="" | 2074 | alt="" |
2075 | loading="lazy" | 2075 | loading="lazy" |
2076 | /> | 2076 | /> |
2077 | <div | 2077 | <div |
2078 | class="absolute inset-0 rounded-full shadow-inner" | 2078 | class="absolute inset-0 rounded-full shadow-inner" |
2079 | aria-hidden="true" | 2079 | aria-hidden="true" |
2080 | ></div> | 2080 | ></div> |
2081 | </div> | 2081 | </div> |
2082 | <div> | 2082 | <div> |
2083 | <p class="font-semibold">Hitney Wouston</p> | 2083 | <p class="font-semibold">Hitney Wouston</p> |
2084 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2084 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2085 | Singer | 2085 | Singer |
2086 | </p> | 2086 | </p> |
2087 | </div> | 2087 | </div> |
2088 | </div> | 2088 | </div> |
2089 | </td> | 2089 | </td> |
2090 | <td class="px-4 py-3 text-sm"> | 2090 | <td class="px-4 py-3 text-sm"> |
2091 | $ 863.45 | 2091 | $ 863.45 |
2092 | </td> | 2092 | </td> |
2093 | <td class="px-4 py-3 text-xs"> | 2093 | <td class="px-4 py-3 text-xs"> |
2094 | <span | 2094 | <span |
2095 | 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" | 2095 | 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" |
2096 | > | 2096 | > |
2097 | Approved | 2097 | Approved |
2098 | </span> | 2098 | </span> |
2099 | </td> | 2099 | </td> |
2100 | <td class="px-4 py-3 text-sm"> | 2100 | <td class="px-4 py-3 text-sm"> |
2101 | 6/10/2020 | 2101 | 6/10/2020 |
2102 | </td> | 2102 | </td> |
2103 | </tr> | 2103 | </tr> |
2104 | 2104 | ||
2105 | <tr class="text-gray-700 dark:text-gray-400"> | 2105 | <tr class="text-gray-700 dark:text-gray-400"> |
2106 | <td class="px-4 py-3"> | 2106 | <td class="px-4 py-3"> |
2107 | <div class="flex items-center text-sm"> | 2107 | <div class="flex items-center text-sm"> |
2108 | 2108 | ||
2109 | <div | 2109 | <div |
2110 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 2110 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
2111 | > | 2111 | > |
2112 | <img | 2112 | <img |
2113 | class="object-cover w-full h-full rounded-full" | 2113 | class="object-cover w-full h-full rounded-full" |
2114 | 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" | 2114 | 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" |
2115 | alt="" | 2115 | alt="" |
2116 | loading="lazy" | 2116 | loading="lazy" |
2117 | /> | 2117 | /> |
2118 | <div | 2118 | <div |
2119 | class="absolute inset-0 rounded-full shadow-inner" | 2119 | class="absolute inset-0 rounded-full shadow-inner" |
2120 | aria-hidden="true" | 2120 | aria-hidden="true" |
2121 | ></div> | 2121 | ></div> |
2122 | </div> | 2122 | </div> |
2123 | <div> | 2123 | <div> |
2124 | <p class="font-semibold">Hans Burger</p> | 2124 | <p class="font-semibold">Hans Burger</p> |
2125 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2125 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2126 | 10x Developer | 2126 | 10x Developer |
2127 | </p> | 2127 | </p> |
2128 | </div> | 2128 | </div> |
2129 | </div> | 2129 | </div> |
2130 | </td> | 2130 | </td> |
2131 | <td class="px-4 py-3 text-sm"> | 2131 | <td class="px-4 py-3 text-sm"> |
2132 | $ 863.45 | 2132 | $ 863.45 |
2133 | </td> | 2133 | </td> |
2134 | <td class="px-4 py-3 text-xs"> | 2134 | <td class="px-4 py-3 text-xs"> |
2135 | <span | 2135 | <span |
2136 | 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" | 2136 | 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" |
2137 | > | 2137 | > |
2138 | Approved | 2138 | Approved |
2139 | </span> | 2139 | </span> |
2140 | </td> | 2140 | </td> |
2141 | <td class="px-4 py-3 text-sm"> | 2141 | <td class="px-4 py-3 text-sm"> |
2142 | 6/10/2020 | 2142 | 6/10/2020 |
2143 | </td> | 2143 | </td> |
2144 | </tr> | 2144 | </tr> |
2145 | </tbody> | 2145 | </tbody> |
2146 | </table> | 2146 | </table> |
2147 | </div> | 2147 | </div> |
2148 | <div | 2148 | <div |
2149 | 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" | 2149 | 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" |
2150 | > | 2150 | > |
2151 | <span class="flex items-center col-span-3"> | 2151 | <span class="flex items-center col-span-3"> |
2152 | Showing 21-30 of 100 | 2152 | Showing 21-30 of 100 |
2153 | </span> | 2153 | </span> |
2154 | <span class="col-span-2"></span> | 2154 | <span class="col-span-2"></span> |
2155 | 2155 | ||
2156 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 2156 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
2157 | <nav aria-label="Table navigation"> | 2157 | <nav aria-label="Table navigation"> |
2158 | <ul class="inline-flex items-center"> | 2158 | <ul class="inline-flex items-center"> |
2159 | <li> | 2159 | <li> |
2160 | <button | 2160 | <button |
2161 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 2161 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
2162 | aria-label="Previous" | 2162 | aria-label="Previous" |
2163 | > | 2163 | > |
2164 | <svg | 2164 | <svg |
2165 | aria-hidden="true" | 2165 | aria-hidden="true" |
2166 | class="w-4 h-4 fill-current" | 2166 | class="w-4 h-4 fill-current" |
2167 | viewBox="0 0 20 20" | 2167 | viewBox="0 0 20 20" |
2168 | > | 2168 | > |
2169 | <path | 2169 | <path |
2170 | 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" | 2170 | 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" |
2171 | clip-rule="evenodd" | 2171 | clip-rule="evenodd" |
2172 | fill-rule="evenodd" | 2172 | fill-rule="evenodd" |
2173 | ></path> | 2173 | ></path> |
2174 | </svg> | 2174 | </svg> |
2175 | </button> | 2175 | </button> |
2176 | </li> | 2176 | </li> |
2177 | <li> | 2177 | <li> |
2178 | <button | 2178 | <button |
2179 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2179 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2180 | > | 2180 | > |
2181 | 1 | 2181 | 1 |
2182 | </button> | 2182 | </button> |
2183 | </li> | 2183 | </li> |
2184 | <li> | 2184 | <li> |
2185 | <button | 2185 | <button |
2186 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2186 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2187 | > | 2187 | > |
2188 | 2 | 2188 | 2 |
2189 | </button> | 2189 | </button> |
2190 | </li> | 2190 | </li> |
2191 | <li> | 2191 | <li> |
2192 | <button | 2192 | <button |
2193 | 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" | 2193 | 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" |
2194 | > | 2194 | > |
2195 | 3 | 2195 | 3 |
2196 | </button> | 2196 | </button> |
2197 | </li> | 2197 | </li> |
2198 | <li> | 2198 | <li> |
2199 | <button | 2199 | <button |
2200 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2200 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2201 | > | 2201 | > |
2202 | 4 | 2202 | 4 |
2203 | </button> | 2203 | </button> |
2204 | </li> | 2204 | </li> |
2205 | <li> | 2205 | <li> |
2206 | <span class="px-3 py-1">...</span> | 2206 | <span class="px-3 py-1">...</span> |
2207 | </li> | 2207 | </li> |
2208 | <li> | 2208 | <li> |
2209 | <button | 2209 | <button |
2210 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2210 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2211 | > | 2211 | > |
2212 | 8 | 2212 | 8 |
2213 | </button> | 2213 | </button> |
2214 | </li> | 2214 | </li> |
2215 | <li> | 2215 | <li> |
2216 | <button | 2216 | <button |
2217 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2217 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2218 | > | 2218 | > |
2219 | 9 | 2219 | 9 |
2220 | </button> | 2220 | </button> |
2221 | </li> | 2221 | </li> |
2222 | <li> | 2222 | <li> |
2223 | <button | 2223 | <button |
2224 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 2224 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
2225 | aria-label="Next" | 2225 | aria-label="Next" |
2226 | > | 2226 | > |
2227 | <svg | 2227 | <svg |
2228 | class="w-4 h-4 fill-current" | 2228 | class="w-4 h-4 fill-current" |
2229 | aria-hidden="true" | 2229 | aria-hidden="true" |
2230 | viewBox="0 0 20 20" | 2230 | viewBox="0 0 20 20" |
2231 | > | 2231 | > |
2232 | <path | 2232 | <path |
2233 | 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" | 2233 | 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" |
2234 | clip-rule="evenodd" | 2234 | clip-rule="evenodd" |
2235 | fill-rule="evenodd" | 2235 | fill-rule="evenodd" |
2236 | ></path> | 2236 | ></path> |
2237 | </svg> | 2237 | </svg> |
2238 | </button> | 2238 | </button> |
2239 | </li> | 2239 | </li> |
2240 | </ul> | 2240 | </ul> |
2241 | </nav> | 2241 | </nav> |
2242 | </span> | 2242 | </span> |
2243 | </div> | 2243 | </div> |
2244 | </div> | 2244 | </div> |
2245 | --> | 2245 | --> |
2246 | <!-- Charts --> | 2246 | <!-- Charts --> |
2247 | <!-- | 2247 | <!-- |
2248 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> | 2248 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> |
2249 | Графики | 2249 | Графики |
2250 | </h2> | 2250 | </h2> |
2251 | <div class="grid gap-6 mb-8 md:grid-cols-2"> | 2251 | <div class="grid gap-6 mb-8 md:grid-cols-2"> |
2252 | <div | 2252 | <div |
2253 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 2253 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
2254 | > | 2254 | > |
2255 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 2255 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
2256 | Revenue | 2256 | Revenue |
2257 | </h4> | 2257 | </h4> |
2258 | <canvas id="pie"></canvas> | 2258 | <canvas id="pie"></canvas> |
2259 | <div | 2259 | <div |
2260 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 2260 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
2261 | > | 2261 | > |
2262 | 2262 | ||
2263 | <div class="flex items-center"> | 2263 | <div class="flex items-center"> |
2264 | <span | 2264 | <span |
2265 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" | 2265 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" |
2266 | ></span> | 2266 | ></span> |
2267 | <span>Shirts</span> | 2267 | <span>Shirts</span> |
2268 | </div> | 2268 | </div> |
2269 | <div class="flex items-center"> | 2269 | <div class="flex items-center"> |
2270 | <span | 2270 | <span |
2271 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 2271 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
2272 | ></span> | 2272 | ></span> |
2273 | <span>Shoes</span> | 2273 | <span>Shoes</span> |
2274 | </div> | 2274 | </div> |
2275 | <div class="flex items-center"> | 2275 | <div class="flex items-center"> |
2276 | <span | 2276 | <span |
2277 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 2277 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
2278 | ></span> | 2278 | ></span> |
2279 | <span>Bags</span> | 2279 | <span>Bags</span> |
2280 | </div> | 2280 | </div> |
2281 | </div> | 2281 | </div> |
2282 | </div> | 2282 | </div> |
2283 | <div | 2283 | <div |
2284 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 2284 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
2285 | > | 2285 | > |
2286 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 2286 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
2287 | Traffic | 2287 | Traffic |
2288 | </h4> | 2288 | </h4> |
2289 | <canvas id="line"></canvas> | 2289 | <canvas id="line"></canvas> |
2290 | <div | 2290 | <div |
2291 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 2291 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
2292 | > | 2292 | > |
2293 | 2293 | ||
2294 | <div class="flex items-center"> | 2294 | <div class="flex items-center"> |
2295 | <span | 2295 | <span |
2296 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 2296 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
2297 | ></span> | 2297 | ></span> |
2298 | <span>Organic</span> | 2298 | <span>Organic</span> |
2299 | </div> | 2299 | </div> |
2300 | <div class="flex items-center"> | 2300 | <div class="flex items-center"> |
2301 | <span | 2301 | <span |
2302 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 2302 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
2303 | ></span> | 2303 | ></span> |
2304 | <span>Paid</span> | 2304 | <span>Paid</span> |
2305 | </div> | 2305 | </div> |
2306 | </div> | 2306 | </div> |
2307 | </div> | 2307 | </div> |
2308 | </div> | 2308 | </div> |
2309 | --> | 2309 | --> |
2310 | </div> | 2310 | </div> |
2311 | </main> | 2311 | </main> |
2312 | </div> | 2312 | </div> |
2313 | </div> | 2313 | </div> |
2314 | @yield('modal') | 2314 | @yield('modal') |
2315 | </body> | 2315 | </body> |
2316 | @yield('script') | 2316 | @yield('script') |
2317 | </html> | 2317 | </html> |
2318 | 2318 |