芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/www/storage/framework/views/208c1e64a450e79811bdf0e47351b111.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-12 box-margin"> <div class="card"> <div class="card-body"> <div class="d-flex justify-content-between align-items-center mb-20"> <h6 class="card-title mb-0"><?php echo e(__('content.submenus')); ?></h6> <div> <button type="button" class="btn btn-primary float-right mb-3" data-toggle="modal" data-target="#submenuModal">+ <?php echo e(__('content.add_submenu')); ?></button> </div> </div> <?php if(count($submenus) > 0): ?> <div> <input id="check_all" type="checkbox" onclick="showHideDeleteButton(this)"> <label for="check_all"><?php echo e(__('content.all')); ?></label> <a id="deleteChecked" class="ml-2" href="#" data-toggle="modal" data-target="#deleteCheckedModal"> <i class="fa fa-trash text-danger font-18"></i> </a> </div> <?php if($demo_mode == "on"): ?> <!-- Include Alert Blade --> <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php else: ?> <form onsubmit="return btnCheckListGet()" action="<?php echo e(route('submenu.destroy_checked')); ?>" method="POST"> <?php echo method_field('DELETE'); ?> <?php echo csrf_field(); ?> <?php endif; ?> <input type="hidden" id="checked_lists" name="checked_lists" value=""> <!-- Modal --> <div class="modal fade" id="deleteCheckedModal" tabindex="-1" role="dialog" aria-labelledby="deleteCheckedModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-sm" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="deleteCheckedModalCenterTitle"><?php echo e(__('content.delete')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body text-center"> <?php echo e(__('content.delete_selected')); ?> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button> <button onclick="btnCheckListGet()" type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button> </div> </div> </div> </div> </form> <table id="basic-datatable" class="table table-striped dt-responsive nowrap w-100"> <thead> <tr> <th scope="col">#</th> <th><?php echo e(__('content.submenu_name')); ?></th> <th><?php echo e(__('content.menu')); ?></th> <th><?php echo e(__('content.uri')); ?></th> <th><?php echo e(__('content.url')); ?></th> <th><?php echo e(__('content.view')); ?></th> <th><?php echo e(__('content.status')); ?></th> <th><?php echo e(__('content.order')); ?></th> <th class="custom-width-action"><?php echo e(__('content.action')); ?></th> </tr> </thead> <tbody> <?php $desc = count($submenus); $asc=0; ?> <?php $__currentLoopData = $submenus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input name="check_list[]" type="checkbox" value="<?php echo e($submenu->id); ?>" onclick="showHideDeleteButton2(this)"> <span class="d-none"><?php echo e($asc++); ?><?php echo e($desc--); ?></span> </td> <td><?php echo e($submenu->submenu_name); ?></td> <td><span class="badge badge-pill badge-dark"><?php if(isset($submenu->menu->menu_name)): ?> <?php echo e($submenu->menu->menu_name); ?> <?php else: ?> <?php echo e($submenu->menu_name); ?> <?php endif; ?></span></td> <td><?php echo e($submenu->uri); ?></td> <td><?php echo e($submenu->url); ?></td> <td><?php echo e($submenu->view); ?></td> <td> <?php if($submenu->status == "published"): ?> <span class="badge badge-pill badge-success"><?php echo e(__('content.published')); ?></span> <?php else: ?> <span class="badge badge-pill badge-danger"><?php echo e(__('content.draft')); ?></span> <?php endif; ?> </td> <td><?php echo e($submenu->order); ?></td> <td> <div> <a href="<?php echo e(route('submenu.edit', $submenu->id)); ?>" class="mr-2"> <i class="fa fa-edit text-info font-18"></i> </a> <a href="#" data-toggle="modal" data-target="#deleteModel<?php echo e($submenu->id); ?>"> <i class="fa fa-trash text-danger font-18"></i> </a> </div> </td> </tr> <!-- Modal --> <div class="modal fade" id="deleteModel<?php echo e($submenu->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-sm" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalCenterTitle"><?php echo e(__('content.delete')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body text-center"> <?php echo e(__('content.you_wont_be_able_to_revert_this')); ?> </div> <div class="modal-footer"> <?php if($demo_mode == "on"): ?> <!-- Include Alert Blade --> <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php else: ?> <form class="d-inline-block" action="<?php echo e(route('submenu.destroy', $submenu->id)); ?>" method="POST"> <?php echo method_field('DELETE'); ?> <?php echo csrf_field(); ?> <?php endif; ?> <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button> <button type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button> </form> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php else: ?> <span><?php echo e(__('content.not_yet_created')); ?></span> <?php endif; ?> </div> <!-- end card body--> </div> <!-- end card --> </div><!-- end col--> </div><!-- end row--> <div class="modal fade" id="submenuModal" tabindex="-1" role="dialog" aria-labelledby="submenuModalLabel" aria-modal="false"> <div class="modal-dialog modal-md"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title mt-0 font-16" id="submenuModalLabel"><?php echo e(__('content.add_new')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> </div> <div class="modal-body"> <?php if($demo_mode == "on"): ?> <!-- Include Alert Blade --> <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php else: ?> <form action="<?php echo e(route('submenu.store')); ?>" method="POST"> <?php echo csrf_field(); ?> <?php endif; ?> <div class="row"> <div class="col-md-12"> <div class="form-group form-group-default"> <label for="menu"><?php echo e(__('content.menus')); ?> <span class="text-red">*</span></label> <select class="form-control" name="menu_id" id="menu" required> <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($menu->id); ?>"><?php echo e($menu->menu_name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="submenu_name"><?php echo e(__('content.submenu_name')); ?> <span class="text-red">*</span></label> <input type="text" name="submenu_name" class="form-control" id="submenu_name" required> </div> </div> <div class="col-md-12"> <div class="form-group form-group-default"> <label for="uri"><?php echo e(__('content.pages_within_the_site')); ?> </label> <select class="form-control" name="uri" id="uri"> <option value=""><?php echo e(__('content.empty')); ?></option> <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($page->page_name != 'blog-search-index'): ?> <option value="<?php echo e($page->page_uri); ?>"><?php echo e($page->page_uri); ?></option> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <small class="form-text text-muted"><?php echo e(__('content.to_use_the_url_enter_empty_in_this_field')); ?></small> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="url"><?php echo e(__('content.url')); ?></label> <input type="text" name="url" class="form-control" id="url"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="order"><?php echo e(__('content.order')); ?></label> <input type="number" name="order" class="form-control" id="order" value="0"> </div> </div> <div class="col-xl-12"> <div class="form-group"> <label for="status" class="col-form-label"><?php echo e(__('content.status')); ?> </label> <select class="form-control" name="status" id="status"> <option value="published" selected><?php echo e(__('content.select_your_option')); ?></option> <option value="published"><?php echo e(__('content.published')); ?></option> <option value="draft"><?php echo e(__('content.draft')); ?></option> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <small class="form-text text-muted"><?php echo e(__('content.required_fields')); ?></small> </div> </div> </div> <button type="submit" class="btn btn-sm btn-primary"><?php echo e(__('content.submit')); ?></button> </form> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/digitalh/public_html/resources/views/admin/menu/submenu/create.blade.php ENDPATH**/ ?>
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage