Viewing file: 86c1aea40abe32cd7212d232e971d80cf1b073c6.php (6.44 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('extra-css'); ?> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> <style> </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="mainSection-title"> <div class="row"> <div class="col-12"> <div class="d-flex justify-content-between align-items-center flex-wrap gr-15" > <div class="d-flex flex-column"> <h4><?php echo e(get_phrase('Class')); ?></h4> <ul class="d-flex align-items-center eBreadcrumb-2"> <li><a href="#"><?php echo e(get_phrase('Create')); ?></a></li> </ul> </div> <div class="export-btn-area"> <a href="<?php echo e(route('admin.menu.create')); ?>" class="btn btn-info btn-sm">Add Menu</a> </div> </div> </div> </div> </div> <div class="row"> <div class="col-12"> <div class="eSection-wrap pb-2"> <div class="search-filter-area d-flex justify-content-md-between justify-content-center align-items-center flex-wrap gr-15"> <form action=""> <div class="search-input d-flex justify-content-start align-items-center" > <span> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" > <path id="Search_icon" data-name="Search icon" d="M2,7A4.951,4.951,0,0,1,7,2a4.951,4.951,0,0,1,5,5,4.951,4.951,0,0,1-5,5A4.951,4.951,0,0,1,2,7Zm12.3,8.7a.99.99,0,0,0,1.4-1.4l-3.1-3.1A6.847,6.847,0,0,0,14,7,6.957,6.957,0,0,0,7,0,6.957,6.957,0,0,0,0,7a6.957,6.957,0,0,0,7,7,6.847,6.847,0,0,0,4.2-1.4Z" fill="#797c8b" /> </svg> </span> <input type="text" id="search" name="search" placeholder="Search user" class="form-control" /> </div> </form> <!-- Export Button --> </div> <?php if(count($menus) > 0): ?> <table class="table eTable"> <thead> <tr> <th scope="col">#</th> <th scope="col"><?php echo e(get_phrase('Name')); ?></th> <th scope="col"><?php echo e(get_phrase('Parent-Menu')); ?></th> <th scope="col"><?php echo e(get_phrase('Page')); ?></th> <th scope="col"><?php echo e(get_phrase('Status')); ?></th> <th scope="col" class="text-end"><?php echo e(get_phrase('Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $key++; ?> <tr> <td><?php echo e($key++); ?></td> <td><?php echo e($menu->name); ?></td> <td><?php echo e(isset($menu) && isset($menu->menus->name)? $menu->menus->name:''); ?></td> <td><?php echo e(isset($menu) && isset($menu->page->name)? $menu->page->name:''); ?></td> <td><?php echo e($menu->status); ?></td> <td class="text-start"> <div class="adminTable-action"> <button type="button" class="eBtn eBtn-black dropdown-toggle table-action-btn-2" data-bs-toggle="dropdown" aria-expanded="false" > <?php echo e(get_phrase('Actions')); ?>
</button> <ul class="dropdown-menu dropdown-menu-end eDropdown-menu-2 eDropdown-table-action" > <li> <a class="dropdown-item" href="<?php echo e(route('admin.menu.edit', ['id' => $menu->id])); ?>"><?php echo e(get_phrase('Edit Menu')); ?></a> </li> <li> <a class="dropdown-item" href="<?php echo e(route('admin.menu.delete', ['id' => $menu->id])); ?>"><?php echo e(get_phrase('Delete')); ?></a> </li> </ul> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php else: ?> <div class="empty_box center"> <img class="mb-3" width="150px" src="<?php echo e(asset('assets/images/empty_box.png')); ?>" /> <br> <span class=""><?php echo e(get_phrase('No data found')); ?></span> </div> <?php endif; ?> </div> </div> </div>
<?php if(count($menus) > 0): ?> <div class="school_list display-none-view" id="school_list"> <table class="table eTable"> <thead> <th>#</th> <th><?php echo e(get_phrase('Name')); ?></th> <th><?php echo e(get_phrase('Info')); ?></th> </thead> <tbody> <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <strong><?php echo e($menu->name); ?></strong> </td> <td><?php echo e($menu->info); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.navigation', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/school.picotech.app/public_html/resources/views/admin/menu/index.blade.php ENDPATH**/ ?>
|