Edit File: 367d97ca0fcd2abd8a9c6478d6c35469.php
<div> <!--[if BLOCK]><![endif]--><?php if(session('status')): ?> <?php if (isset($component)) { $__componentOriginalb5e767ad160784309dfcad41e788743b = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb5e767ad160784309dfcad41e788743b = $attributes; } ?> <?php $component = App\View\Components\Alert::resolve(['status' => session('status'),'message' => session('message')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('alert'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\App\View\Components\Alert::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb5e767ad160784309dfcad41e788743b)): ?> <?php $attributes = $__attributesOriginalb5e767ad160784309dfcad41e788743b; ?> <?php unset($__attributesOriginalb5e767ad160784309dfcad41e788743b); ?> <?php endif; ?> <?php if (isset($__componentOriginalb5e767ad160784309dfcad41e788743b)): ?> <?php $component = $__componentOriginalb5e767ad160784309dfcad41e788743b; ?> <?php unset($__componentOriginalb5e767ad160784309dfcad41e788743b); ?> <?php endif; ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> <?php $__env->slot('header', null, []); ?> <div class="relative"> <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight text-center"> <?php echo e(__('Episode List')); ?> </h2> <a href="<?php echo e(route("admin.video.create", $anime_id)); ?>" class="inline-flex bg-blue-600 py-1 px-4 text-white font-bold rounded-md absolute top-1/2 right-4 -translate-y-1/2"> Create New </a> </div> <?php $__env->endSlot(); ?> <div class="py-4"> <h1 class="bg-gradient-to-b from-red-600 to-red-900 p-4 text-white text-center text-3xl mb-4"><?php echo e($anime_title); ?></h1> <div class=" mx-auto sm:px-6 lg:px-8"> <div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg text-sm lg:text-base"> <!--[if BLOCK]><![endif]--><?php if(count($videos) == 0): ?> <h1 class="text-3xl font-bold text-center uppercase p-8">Tidak ada video ditemukan</h1> <?php else: ?> <?php if (isset($component)) { $__componentOriginal8eefed20d4066276195854f585692746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8eefed20d4066276195854f585692746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.display-table','data' => ['columns' => ['thumbnail', 'name', 'episode' ,'actions'],'routeName' => 'admin.user']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('display-table'); ?> <?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(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['thumbnail', 'name', 'episode' ,'actions']),'routeName' => 'admin.user']); ?> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $videos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $video): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tbody> <tr class="hover:bg-red-600/25"> <td class="hidden sm:table-cell text-center border border-black dark:border-white py-2"><a href="<?php echo e($video->thumbnail); ?>" target="_blank"><img src="<?php echo e($video->thumbnail); ?>" alt="Thumbnail" class="w-12 h-12 mx-auto"></a></td> <td class="text-center border border-black dark:border-white"><a href="<?php echo e(route('admin.video.edit', $video->id)); ?>"><?php echo e($video->name); ?></a></td> <td class="text-center border border-black dark:border-white"><?php echo e($video->order); ?></td> <td class="text-center border border-black dark:border-white"><a href="<?php echo e(route('admin.video.edit', $video->id)); ?>"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('primary-button'); ?> <?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([]); ?>EDIT <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a></td> <td class="text-center border border-black dark:border-white"><?php if (isset($component)) { $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.danger-button','data' => ['type' => 'button','wire:click' => 'delete('.e($video->id).')','wire:confirm' => 'Are you sure?']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('danger-button'); ?> <?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(['type' => 'button','wire:click' => 'delete('.e($video->id).')','wire:confirm' => 'Are you sure?']); ?> Delete <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $attributes = $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?> <?php if (isset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $component = $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?></td> </tr> </tbody> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8eefed20d4066276195854f585692746)): ?> <?php $attributes = $__attributesOriginal8eefed20d4066276195854f585692746; ?> <?php unset($__attributesOriginal8eefed20d4066276195854f585692746); ?> <?php endif; ?> <?php if (isset($__componentOriginal8eefed20d4066276195854f585692746)): ?> <?php $component = $__componentOriginal8eefed20d4066276195854f585692746; ?> <?php unset($__componentOriginal8eefed20d4066276195854f585692746); ?> <?php endif; ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> </div> </div> </div><?php /**PATH /home/okaminime0881/anime/resources/views/livewire/admin/video/video-index.blade.php ENDPATH**/ ?>
Back