feat: implement admin management
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<div class="col-xl-12">
|
||||
|
||||
<form
|
||||
@@ -52,9 +52,7 @@
|
||||
method="POST"
|
||||
enctype="multipart/form-data"
|
||||
>
|
||||
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<div class="card custom-card">
|
||||
|
||||
|
||||
@@ -63,8 +61,6 @@
|
||||
ایجاد مدیر
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
@@ -258,22 +254,17 @@ unset($__errorArgs, $__bag); ?>
|
||||
<select
|
||||
class="form-control"
|
||||
name="role"
|
||||
id="adminRole"
|
||||
>
|
||||
|
||||
<?php $__currentLoopData = \App\Enums\Admin\AdminRole::cases(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
|
||||
<option
|
||||
value="<?php echo e($role->value); ?>"
|
||||
<?php if(
|
||||
old('role') == $role->value
|
||||
): echo 'selected'; endif; ?>
|
||||
<?php if(old('role') == $role->value): echo 'selected'; endif; ?>
|
||||
>
|
||||
<?php echo e($role->label()); ?>
|
||||
|
||||
</option>
|
||||
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
|
||||
</select>
|
||||
|
||||
<?php $__errorArgs = ['role'];
|
||||
@@ -282,9 +273,9 @@ if ($__bag->has($__errorArgs[0])) :
|
||||
if (isset($message)) { $__messageOriginal = $message; }
|
||||
$message = $__bag->first($__errorArgs[0]); ?>
|
||||
<span class="text-danger">
|
||||
<?php echo e($message); ?>
|
||||
<?php echo e($message); ?>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
<?php unset($message);
|
||||
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
||||
endif;
|
||||
@@ -341,7 +332,7 @@ unset($__errorArgs, $__bag); ?>
|
||||
|
||||
|
||||
|
||||
<div class="mt-4">
|
||||
<div class="col-xl-12 mt-4">
|
||||
|
||||
<div class="card custom-card">
|
||||
|
||||
@@ -356,14 +347,18 @@ unset($__errorArgs, $__bag); ?>
|
||||
<div class="row gy-3">
|
||||
|
||||
<?php $__currentLoopData = \App\Enums\Admin\AdminPermission::cases(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $permission): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
|
||||
<div class="col-xl-3 col-lg-4 col-md-6">
|
||||
|
||||
<div class="form-check">
|
||||
|
||||
<input
|
||||
class="form-check-input"
|
||||
class="form-check-input permission-checkbox"
|
||||
type="checkbox"
|
||||
name="permissions[]"
|
||||
value="<?php echo e($permission->value); ?>"
|
||||
id="permission_<?php echo e($permission->value); ?>"
|
||||
data-permission="<?php echo e($permission->value); ?>"
|
||||
|
||||
<?php if(
|
||||
in_array(
|
||||
@@ -389,18 +384,15 @@ unset($__errorArgs, $__bag); ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<?php $__errorArgs = ['permissions'];
|
||||
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
||||
if ($__bag->has($__errorArgs[0])) :
|
||||
if (isset($message)) { $__messageOriginal = $message; }
|
||||
$message = $__bag->first($__errorArgs[0]); ?>
|
||||
<div class="mt-2">
|
||||
<span class="text-danger">
|
||||
<?php echo e($message); ?>
|
||||
<span class="text-danger">
|
||||
<?php echo e($message); ?>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
<?php unset($message);
|
||||
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
||||
endif;
|
||||
@@ -411,12 +403,10 @@ $__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
||||
if ($__bag->has($__errorArgs[0])) :
|
||||
if (isset($message)) { $__messageOriginal = $message; }
|
||||
$message = $__bag->first($__errorArgs[0]); ?>
|
||||
<div class="mt-2">
|
||||
<span class="text-danger">
|
||||
<?php echo e($message); ?>
|
||||
<span class="text-danger">
|
||||
<?php echo e($message); ?>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
<?php unset($message);
|
||||
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
||||
endif;
|
||||
@@ -454,6 +444,7 @@ unset($__errorArgs, $__bag); ?>
|
||||
onchange="previewAvatar(this)"
|
||||
>
|
||||
|
||||
|
||||
</label>
|
||||
|
||||
</div>
|
||||
@@ -509,29 +500,63 @@ unset($__errorArgs, $__bag); ?>
|
||||
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
|
||||
<?php $__env->startPush('scripts'); ?>
|
||||
|
||||
<script>
|
||||
function previewAvatar(input) {
|
||||
|
||||
const preview = document.getElementById('avatarPreview');
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
if (input.files && input.files[0]) {
|
||||
const roleSelect = document.getElementById('adminRole');
|
||||
|
||||
const reader = new FileReader();
|
||||
const superAdminRole =
|
||||
<?php echo json_encode(\App\Enums\Admin\AdminRole::SUPERADMIN->value, 15, 512) ?>;
|
||||
|
||||
reader.onload = function (e) {
|
||||
preview.style.backgroundImage =
|
||||
`url('${e.target.result}')`;
|
||||
};
|
||||
const manageAdminsPermission =
|
||||
<?php echo json_encode(\App\Enums\Admin\AdminPermission::MANAGE_ADMINS->value, 15, 512) ?>;
|
||||
|
||||
reader.readAsDataURL(input.files[0]);
|
||||
|
||||
function handleAdminPermissions() {
|
||||
|
||||
const isSuperAdmin =
|
||||
roleSelect.value === superAdminRole;
|
||||
|
||||
|
||||
document
|
||||
.querySelectorAll('.permission-checkbox')
|
||||
.forEach(function (checkbox) {
|
||||
|
||||
if (
|
||||
checkbox.dataset.permission ===
|
||||
manageAdminsPermission
|
||||
) {
|
||||
|
||||
if (!isSuperAdmin) {
|
||||
|
||||
checkbox.checked = false;
|
||||
checkbox.disabled = true;
|
||||
|
||||
} else {
|
||||
|
||||
checkbox.disabled = false;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
roleSelect.addEventListener(
|
||||
'change',
|
||||
handleAdminPermissions
|
||||
);
|
||||
|
||||
|
||||
handleAdminPermissions();
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
<?php $__env->stopPush(); ?>
|
||||
|
||||
<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\ASUS\Desktop\airline-agency\resources\views/admin/admins/create.blade.php ENDPATH**/ ?>
|
||||
@@ -14,7 +14,9 @@
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<div class="container-fluid pt-4">
|
||||
|
||||
<?php if(session('success')): ?>
|
||||
<span style="color: green"><?php echo e(session('success')); ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Filter + Search -->
|
||||
<div class="row">
|
||||
|
||||
@@ -0,0 +1,188 @@
|
||||
<?php $__env->startSection('breadcrumb'); ?>
|
||||
<div>
|
||||
<div>
|
||||
<h1 class="page-title fw-medium fs-18 mb-2">مدیران حذف شده</h1>
|
||||
<div>
|
||||
<nav>
|
||||
<ol class="breadcrumb mb-0">
|
||||
<li class="breadcrumb-item"><a href="javascript:void(0);">مدیریت</a></li>
|
||||
<li class="breadcrumb-item"><a href="<?php echo e(route('admin.admins.index')); ?>">لیست مدیران</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">سطل زباله مدیران</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<div class="container-fluid pt-4">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="card custom-card">
|
||||
<div class="card-body p-3">
|
||||
<div class="d-flex align-items-center justify-content-between flex-wrap gap-3">
|
||||
|
||||
<div>
|
||||
<h6 class="mb-0 fw-semibold">
|
||||
مدیران حذفشده
|
||||
</h6>
|
||||
</div>
|
||||
|
||||
<div class="d-flex">
|
||||
<a href="<?php echo e(route('admin.admins.index')); ?>" class="btn btn-primary me-2">
|
||||
<i class="ri-arrow-go-back-line me-1 fw-medium align-middle"></i>
|
||||
بازگشت به لیست مدیران
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="card custom-card">
|
||||
<div class="table-responsive">
|
||||
<table class="table text-nowrap table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>تصویر</th>
|
||||
<th>نام و نام خانوادگی</th>
|
||||
<th>نام کاربری</th>
|
||||
<th>ایمیل</th>
|
||||
<th>نوع حساب</th>
|
||||
<th>تاریخ ثبت</th>
|
||||
<th>تاریخ حذف</th>
|
||||
<th>عملیات</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php if(session('success')): ?>
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
<span style="color: green"><?php echo e(session('success')); ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($errors->any()): ?>
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<div style="color: red"><?php echo e($error); ?></div>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $__empty_1 = true; $__currentLoopData = $admins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $admin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="avatar avatar-md avatar-rounded bg-light">
|
||||
<img
|
||||
src="<?php echo e($admin->avatar?->file_id
|
||||
? getFileUrl($admin->avatar->file_id)
|
||||
: asset('assets/admin/images/faces/DefaultAvatar.jpg')); ?>"
|
||||
class="w-100 h-100"
|
||||
alt="<?php echo e($admin->first_name); ?> <?php echo e($admin->last_name); ?>">
|
||||
</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo e($admin->first_name); ?> <?php echo e($admin->last_name); ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo e($admin->username); ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo e($admin->email ?: '-'); ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php if($admin->is_super): ?>
|
||||
<span class="badge bg-primary-transparent">مدیر کل</span>
|
||||
<?php else: ?>
|
||||
<span class="badge bg-info-transparent">مدیر عادی</span>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo e($admin->created_at->toJalali()->format('H:i Y/m/d')); ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo e($admin->deleted_at?->toJalali()->format('H:i Y/m/d')); ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="hstack gap-2 fs-15">
|
||||
|
||||
<form action="<?php echo e(route('admin.admins.trash.restore', $admin->id)); ?>"
|
||||
method="POST">
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<button type="submit"
|
||||
class="btn btn-icon btn-sm btn-success-light"
|
||||
data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
title="بازگردانی">
|
||||
<i class="ri-arrow-go-back-line"></i>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<form action="<?php echo e(route('admin.admins.trash.force-delete', $admin->id)); ?>"
|
||||
method="POST"
|
||||
onsubmit="return confirm('آیا از حذف دائمی این مدیر مطمئن هستید؟')">
|
||||
<?php echo csrf_field(); ?>
|
||||
<?php echo method_field('DELETE'); ?>
|
||||
|
||||
<button type="submit"
|
||||
class="btn btn-icon btn-sm btn-danger-light"
|
||||
data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
title="حذف دائمی">
|
||||
<i class="ri-delete-bin-6-line"></i>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
|
||||
<tr>
|
||||
<td colspan="8" class="text-center">
|
||||
مدیری در سطل زباله وجود ندارد.
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="card-footer d-flex justify-content-center align-items-center">
|
||||
<div>
|
||||
<?php echo e($admins->links()); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\ASUS\Desktop\airline-agency\resources\views/admin/admins/trash.blade.php ENDPATH**/ ?>
|
||||
@@ -49,19 +49,13 @@
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
<!-- Start::slide -->
|
||||
<?php if(auth('admin')->user()?->role == \App\Enums\Admin\AdminRole::SUPERADMIN): ?>
|
||||
<li class="slide ">
|
||||
<?php if(auth('admin')->user()?->isSuperAdmin()): ?>
|
||||
<li class="slide">
|
||||
<a href="<?php echo e(route('admin.admins.index')); ?>"
|
||||
class="side-menu__item <?php echo e(activeAdminSidebar('admin.admins.index')); ?>">
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
class="side-menu__icon"
|
||||
width="1em"
|
||||
height="1em"
|
||||
viewBox="0 0 24 24">
|
||||
<path fill="none" stroke="currentColor" stroke-linecap="round"
|
||||
stroke-linejoin="round" stroke-width="1.5"
|
||||
d="M12 12a5 5 0 1 0-5-5a5 5 0 0 0 5 5Zm-7 9a7 7 0 0 1 14 0Z"/>
|
||||
</svg>
|
||||
class="side-menu__item <?php echo e(activeAdminSidebar('admin.admins.index')); ?>">
|
||||
|
||||
<i class="ri-admin-line side-menu__icon"></i>
|
||||
|
||||
<span class="side-menu__label">مدیریت مدیران</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -69,91 +63,37 @@
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide ">
|
||||
<a href="<?php echo e(route('admin.users.index')); ?>"
|
||||
class="side-menu__item <?php echo e(activeAdminSidebar('admin.users.index')); ?> ">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="side-menu__icon" width="1em"
|
||||
height="1em" viewBox="0 0 24 24">
|
||||
<path fill="none" stroke="currentColor" stroke-linecap="round"
|
||||
stroke-linejoin="round" stroke-width="1.5"
|
||||
d="M13 2h-2C7.229 2 5.343 2 4.172 3.172S3 6.229 3 10v4c0 3.771 0 5.657 1.172 6.828S7.229 22 11 22h2c3.771 0 5.657 0 6.828-1.172S21 17.771 21 14v-4c0-3.771 0-5.657-1.172-6.828S16.771 2 13 2m8 10H3m12-5H9m6 10H9"
|
||||
color="currentColor"></path>
|
||||
</svg>
|
||||
|
||||
<span class="side-menu__label">مدیریت کاربران</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php if(auth('admin')->user()?->canAccess('manage-users')): ?>
|
||||
<li class="slide ">
|
||||
<a href="<?php echo e(route('admin.users.index')); ?>"
|
||||
class="side-menu__item <?php echo e(activeAdminSidebar('admin.users.index')); ?> ">
|
||||
<i class="ri-group-line side-menu__icon"></i>
|
||||
<span class="side-menu__label">مدیریت کاربران</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide ">
|
||||
<a href="#"
|
||||
class="side-menu__item ">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="side-menu__icon"
|
||||
width="1em" height="1em" viewBox="0 0 24 24">
|
||||
<path fill="none" stroke="currentColor" stroke-linecap="round"
|
||||
stroke-linejoin="round" stroke-width="1.5"
|
||||
d="M4 11v4c0 3.3 0 4.95 1.025 5.975S7.7 22 11 22h2c3.3 0 4.95 0 5.975-1.025S20 18.3 20 15v-4M3 9c0-.748 0-1.122.201-1.4a1.4 1.4 0 0 1 .549-.44C4.098 7 4.565 7 5.5 7h13c.935 0 1.402 0 1.75.16c.228.106.417.258.549.44C21 7.878 21 8.252 21 9s0 1.121-.201 1.4a1.4 1.4 0 0 1-.549.44c-.348.16-.815.16-1.75.16h-13c-.935 0-1.402 0-1.75-.16a1.4 1.4 0 0 1-.549-.44C3 10.121 3 9.748 3 9m3-5.214C6 2.799 6.8 2 7.786 2h.357A3.857 3.857 0 0 1 12 5.857V7H9.214A3.214 3.214 0 0 1 6 3.786m12 0C18 2.799 17.2 2 16.214 2h-.357A3.857 3.857 0 0 0 12 5.857V7h2.786A3.214 3.214 0 0 0 18 3.786M12 11v11"
|
||||
color="currentColor"></path>
|
||||
</svg>
|
||||
<span class="side-menu__label">مدیریت محصولات</span>
|
||||
<a href="<?php echo e(route('admin.tours.index')); ?>"
|
||||
class="side-menu__item <?php echo e(activeAdminSidebar('admin.tours.index')); ?> ">
|
||||
<i class="ri-flight-takeoff-line side-menu__icon"></i>
|
||||
<span class="side-menu__label">مدیریت تورها</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<?php if(auth('admin')->user()?->canAccess('manage-flights')): ?>
|
||||
<li class="slide ">
|
||||
<a href="#"
|
||||
class="side-menu__item ">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="side-menu__icon" width="1em"
|
||||
height="1em" viewBox="0 0 24 24">
|
||||
<g fill="none" stroke="currentColor" stroke-linecap="round"
|
||||
stroke-linejoin="round" stroke-width="1.5" color="currentColor">
|
||||
<path
|
||||
d="m8.643 3.146l-1.705.788C4.313 5.147 3 5.754 3 6.75s1.313 1.603 3.938 2.816l1.705.788c1.652.764 2.478 1.146 3.357 1.146s1.705-.382 3.357-1.146l1.705-.788C19.687 8.353 21 7.746 21 6.75s-1.313-1.603-3.938-2.816l-1.705-.788C13.705 2.382 12.879 2 12 2s-1.705.382-3.357 1.146"></path>
|
||||
<path
|
||||
d="M20.788 11.097c.141.199.212.406.212.634c0 .982-1.313 1.58-3.938 2.776l-1.705.777c-1.652.753-2.478 1.13-3.357 1.13s-1.705-.377-3.357-1.13l-1.705-.777C4.313 13.311 3 12.713 3 11.731c0-.228.07-.435.212-.634"></path>
|
||||
<path
|
||||
d="M20.377 16.266c.415.331.623.661.623 1.052c0 .981-1.313 1.58-3.938 2.776l-1.705.777C13.705 21.624 12.879 22 12 22s-1.705-.376-3.357-1.13l-1.705-.776C4.313 18.898 3 18.299 3 17.318c0-.391.208-.72.623-1.052"></path>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="side-menu__label">مدیریت دستهبندیها</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide">
|
||||
<a href="#"
|
||||
class="side-menu__item ">
|
||||
|
||||
<i class="ri-message-3-line side-menu__icon"></i>
|
||||
<span class="side-menu__label"> مدیریت پیام ها</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide">
|
||||
<a href="#"
|
||||
class="side-menu__item ">
|
||||
|
||||
<i class="ri-question-answer-line side-menu__icon"></i>
|
||||
<span class="side-menu__label"> مدیریت سوالات متداول</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide">
|
||||
<a href="#"
|
||||
class="side-menu__item ">
|
||||
|
||||
<i class="ri-slideshow-3-line side-menu__icon"></i>
|
||||
<span class="side-menu__label"> مدیریت اسلایدر</span>
|
||||
<a href="<?php echo e(route('admin.flights.index')); ?>"
|
||||
class="side-menu__item <?php echo e(activeAdminSidebar('admin.flights.index')); ?> " >
|
||||
<i class="ri-plane-line side-menu__icon"></i>
|
||||
<span class="side-menu__label">مدیریت پروازها</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
@@ -167,18 +107,6 @@
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide">
|
||||
<a href="#"
|
||||
class="side-menu__item">
|
||||
|
||||
|
||||
<i class="ri-settings-3-line side-menu__icon"></i>
|
||||
<span class="side-menu__label"> تنظیمات داده های تصویری</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- End::slide -->
|
||||
|
||||
<!-- Start::slide -->
|
||||
<li class="slide">
|
||||
<a href="#"
|
||||
@@ -195,7 +123,7 @@
|
||||
<a href="<?php echo e(route('admin.auth.logout')); ?>"
|
||||
class="side-menu__item ">
|
||||
|
||||
<i class="ri-settings-3-line side-menu__icon"></i>
|
||||
<i class="ri-logout-box-r-line side-menu__icon"></i>
|
||||
<span class="side-menu__label">خروج از حساب کاربری</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user