coinwind/storage/framework/views/db29272feaad3b90918c715189a...

83 lines
3.0 KiB
PHP

<div class="box grid-box">
<?php if(isset($title)): ?>
<div class="box-header with-border">
<h3 class="box-title"> <?php echo e($title); ?></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); ?>">
<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', array_except(get_defined_vars(), array('__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>