1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <div class="box grid-box">
- <?php if(isset($title)): ?>
- <div class="box-header with-border">
- <h3 class="box-title"> <?php echo e($title, false); ?></h3>
- </div>
- <?php endif; ?>
- <?php if( $grid->showTools() || $grid->showExportBtn() || $grid->showCreateBtn() ): ?>
- <div class="box-header with-border">
- <div class="pull-right">
- <?php echo $grid->renderColumnSelector(); ?>
- <?php echo $grid->renderExportButton(); ?>
- <?php echo $grid->renderCreateButton(); ?>
- </div>
- <?php if( $grid->showTools() ): ?>
- <div class="pull-left">
- <?php echo $grid->renderHeaderTools(); ?>
- </div>
- <?php endif; ?>
- </div>
- <?php endif; ?>
- <?php echo $grid->renderFilter(); ?>
- <?php echo $grid->renderHeader(); ?>
- <!-- /.box-header -->
- <div class="box-body table-responsive no-padding">
- <table class="table table-hover grid-table" id="<?php echo e($grid->tableID, false); ?>">
- <thead>
- <tr>
- <?php $__currentLoopData = $grid->visibleColumns(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
- <th <?php echo $column->formatHtmlAttributes(); ?>><?php echo $column->getLabel(); ?><?php echo $column->renderHeader(); ?></th>
- <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
- </tr>
- </thead>
- <?php if($grid->hasQuickCreate()): ?>
- <?php echo $grid->renderQuickCreate(); ?>
- <?php endif; ?>
- <tbody>
- <?php if($grid->rows()->isEmpty() && $grid->showDefineEmptyPage()): ?>
- <?php echo $__env->make('admin::grid.empty-grid', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
- <?php endif; ?>
- <?php $__currentLoopData = $grid->rows(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
- <tr <?php echo $row->getRowAttributes(); ?>>
- <?php $__currentLoopData = $grid->visibleColumnNames(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
- <td <?php echo $row->getColumnAttributes($name); ?>>
- <?php echo $row->column($name); ?>
- </td>
- <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
- </tr>
- <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
- </tbody>
- <?php echo $grid->renderTotalRow(); ?>
- </table>
- </div>
- <?php echo $grid->renderFooter(); ?>
- <div class="box-footer clearfix">
- <?php echo $grid->paginator(); ?>
- </div>
- <!-- /.box-body -->
- </div>
- <?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/grid/table.blade.php ENDPATH**/ ?>
|