관리-도구
편집 파일: b27f0e16b1dba414dca76fa021c46621.php
<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?> <?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('dashboard-layout'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('title', null, []); ?> <?php echo e(translate('Manage Instructor')); ?> <?php $__env->endSlot(); ?> <!-- Page Breadcrumb --> <?php if (isset($component)) { $__componentOriginalcf27f2c2c873893339708d5fdeeb6984 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.breadcrumb','data' => ['title' => 'All Instructor','pageTo' => 'Instructor','actionRoute' => ''.e(route('instructor.create')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'All Instructor','page-to' => 'Instructor','action-route' => ''.e(route('instructor.create')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984)): ?> <?php $attributes = $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984; ?> <?php unset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984); ?> <?php endif; ?> <?php if (isset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984)): ?> <?php $component = $__componentOriginalcf27f2c2c873893339708d5fdeeb6984; ?> <?php unset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984); ?> <?php endif; ?> <div class="card"> <div class="grid grid-cols-12 gap-4"> <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['title' => 'Total Instructor','value' => ''.e($reports['total_users']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.course-overview-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Total Instructor','value' => ''.e($reports['total_users']).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'success','title' => 'Active Instructor','value' => ''.e($reports['total_active']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.course-overview-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['color-type' => 'success','title' => 'Active Instructor','value' => ''.e($reports['total_active']).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'danger','title' => 'Deactivate Instructor','value' => ''.e($reports['total_inactive']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.course-overview-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['color-type' => 'danger','title' => 'Deactivate Instructor','value' => ''.e($reports['total_inactive']).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'primary','title' => 'Verified','value' => ''.e($reports['total_verified']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.course-overview-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['color-type' => 'primary','title' => 'Verified','value' => ''.e($reports['total_verified']).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'danger','title' => 'Unverified','value' => ''.e($reports['total_unverified']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.course-overview-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['color-type' => 'danger','title' => 'Unverified','value' => ''.e($reports['total_unverified']).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> <?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?> <?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?> <?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?> <?php endif; ?> </div> </div> <div class="card"> <form method="get"> <div class="grid grid-cols-4 gap-4"> <div class="col-span-full md:col-span-2 lg:col-auto"> <input type="text" class="form-input" placeholder="<?php echo e(translate('Search name')); ?>" name="name_search" value="<?php echo e(Request()->name_search ?? null); ?>"> </div> <div class="col-span-full md:col-span-2 lg:col-auto"> <select class="singleSelect" name="status"> <?php $status = Request()->status ?? null; ?> <option value="all" <?php echo e($status == 'all' ? 'selected' : ''); ?>> <?php echo e(translate('All')); ?> </option> <option value="active" <?php echo e($status == 'active' ? 'selected' : ''); ?>> <?php echo e(translate('Active')); ?> </option> <option value="inactive" <?php echo e($status == 'inactive' ? 'selected' : ''); ?>> <?php echo e(translate('Inactive')); ?> </option> </select> </div> <div class="col-span-full md:col-span-2 lg:col-auto"> <select class="singleSelect" name="verify"> <?php $verify = Request()->verify ?? null; ?> <option value="all" <?php echo e($verify == 'all' ? 'selected' : ''); ?>> <?php echo e(translate('All')); ?> </option> <option value="verified" <?php echo e($verify == 'verified' ? 'selected' : ''); ?>> <?php echo e(translate('Verified')); ?> </option> <option value="unverified" <?php echo e($verify == 'unverified' ? 'selected' : ''); ?>> <?php echo e(translate('Un Verified')); ?> </option> </select> </div> <div class="col-span-full md:col-span-2 lg:col-auto"> <div class="flex items-end"> <button class="btn b-solid btn-info-solid mr-3"> <?php echo e(translate('Filter')); ?> </button> <a href="<?php echo e(route('instructor.index')); ?>" class="btn b-solid btn-info-solid"><?php echo e(translate('Refresh')); ?></a> </div> </div> </div> </form> </div> <div class="flex items-center gap-2 pb-5 mb-5 border-b border-gray-200 dark:border-dark-border"> <a href="<?php echo e(route('instructor.index', ['filter' => 'all'])); ?>" class="badge badge-primary-outline b-outline group/b-counter is-hover-active rounded-full dk-theme-card-square <?php echo e(get_active_filter_tab() === 'all' ? 'active' : ''); ?>"><?php echo e(translate('All')); ?> <span class="badge-counter rounded-full dk-theme-card-square"><?php echo e($countData['total'] ?? 0); ?></span> </a></a> <a href="<?php echo e(route('instructor.index')); ?>" class="badge badge-primary-outline b-outline group/b-counter is-hover-active rounded-full dk-theme-card-square <?php echo e(get_active_filter_tab() === 'published' ? 'active' : ''); ?>"> <?php echo e(translate('Published')); ?> <span class="badge-counter rounded-full dk-theme-card-square"><?php echo e($countData['published'] ?? 0); ?></span></a> <a href="<?php echo e(route('instructor.index', ['filter' => 'trash'])); ?>" class="badge badge-primary-outline b-outline group/b-counter is-hover-active rounded-full dk-theme-card-square <?php echo e(get_active_filter_tab() === 'trash' ? 'active' : ''); ?>"> <?php echo e(translate('Trash')); ?> <span class="badge-counter rounded-full dk-theme-card-square"><?php echo e($countData['trashed'] ?? 0); ?></span> </a> </div> <?php if($instructors->count() > 0): ?> <div class="card"> <?php if (isset($component)) { $__componentOriginale6b45272b8c150a3a0418d5245ec89f2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale6b45272b8c150a3a0418d5245ec89f2 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::instructor.instructor-list','data' => ['instructors' => $instructors]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::instructor.instructor-list'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['instructors' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($instructors)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale6b45272b8c150a3a0418d5245ec89f2)): ?> <?php $attributes = $__attributesOriginale6b45272b8c150a3a0418d5245ec89f2; ?> <?php unset($__attributesOriginale6b45272b8c150a3a0418d5245ec89f2); ?> <?php endif; ?> <?php if (isset($__componentOriginale6b45272b8c150a3a0418d5245ec89f2)): ?> <?php $component = $__componentOriginale6b45272b8c150a3a0418d5245ec89f2; ?> <?php unset($__componentOriginale6b45272b8c150a3a0418d5245ec89f2); ?> <?php endif; ?> </div> <?php else: ?> <?php if (isset($component)) { $__componentOriginal5d13c2904e1f07d85da185576dbff28d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5d13c2904e1f07d85da185576dbff28d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.empty-card','data' => ['title' => 'No Instructor']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.empty-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'No Instructor']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal5d13c2904e1f07d85da185576dbff28d)): ?> <?php $attributes = $__attributesOriginal5d13c2904e1f07d85da185576dbff28d; ?> <?php unset($__attributesOriginal5d13c2904e1f07d85da185576dbff28d); ?> <?php endif; ?> <?php if (isset($__componentOriginal5d13c2904e1f07d85da185576dbff28d)): ?> <?php $component = $__componentOriginal5d13c2904e1f07d85da185576dbff28d; ?> <?php unset($__componentOriginal5d13c2904e1f07d85da185576dbff28d); ?> <?php endif; ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?> <?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?> <?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?> <?php endif; ?> <?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?> <?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?> <?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?> <?php endif; ?> <?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\instructor\index.blade.php ENDPATH**/ ?>