9d3b1b05b3db4ad157e44ba6dd95797e55c2ebb8.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <div class="box grid-box">
  2. <?php if(isset($title)): ?>
  3. <div class="box-header with-border">
  4. <h3 class="box-title"> <?php echo e($title, false); ?></h3>
  5. </div>
  6. <?php endif; ?>
  7. <?php if( $grid->showTools() || $grid->showExportBtn() || $grid->showCreateBtn() ): ?>
  8. <div class="box-header with-border">
  9. <div class="pull-right">
  10. <?php echo $grid->renderColumnSelector(); ?>
  11. <?php echo $grid->renderExportButton(); ?>
  12. <?php echo $grid->renderCreateButton(); ?>
  13. </div>
  14. <?php if( $grid->showTools() ): ?>
  15. <div class="pull-left">
  16. <?php echo $grid->renderHeaderTools(); ?>
  17. </div>
  18. <?php endif; ?>
  19. </div>
  20. <?php endif; ?>
  21. <?php echo $grid->renderFilter(); ?>
  22. <?php echo $grid->renderHeader(); ?>
  23. <!-- /.box-header -->
  24. <div class="box-body table-responsive no-padding">
  25. <table class="table table-hover grid-table" id="<?php echo e($grid->tableID, false); ?>">
  26. <thead>
  27. <tr>
  28. <?php $__currentLoopData = $grid->visibleColumns(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  29. <th <?php echo $column->formatHtmlAttributes(); ?>><?php echo $column->getLabel(); ?><?php echo $column->renderHeader(); ?></th>
  30. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  31. </tr>
  32. </thead>
  33. <?php if($grid->hasQuickCreate()): ?>
  34. <?php echo $grid->renderQuickCreate(); ?>
  35. <?php endif; ?>
  36. <tbody>
  37. <?php if($grid->rows()->isEmpty() && $grid->showDefineEmptyPage()): ?>
  38. <?php echo $__env->make('admin::grid.empty-grid', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  39. <?php endif; ?>
  40. <?php $__currentLoopData = $grid->rows(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  41. <tr <?php echo $row->getRowAttributes(); ?>>
  42. <?php $__currentLoopData = $grid->visibleColumnNames(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  43. <td <?php echo $row->getColumnAttributes($name); ?>>
  44. <?php echo $row->column($name); ?>
  45. </td>
  46. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  47. </tr>
  48. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  49. </tbody>
  50. <?php echo $grid->renderTotalRow(); ?>
  51. </table>
  52. </div>
  53. <?php echo $grid->renderFooter(); ?>
  54. <div class="box-footer clearfix">
  55. <?php echo $grid->paginator(); ?>
  56. </div>
  57. <!-- /.box-body -->
  58. </div>
  59. <?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/grid/table.blade.php ENDPATH**/ ?>