coinwind/storage/framework/views/4daab49b37b7511c47fd53206f5...

75 lines
3.5 KiB
PHP

<?php $__env->startSection('content'); ?>
<section class="content-header">
<h1>
<?php echo $header ?: trans('admin.title'); ?>
<small><?php echo $description ?: trans('admin.description'); ?></small>
</h1>
<!-- breadcrumb start -->
<?php if($breadcrumb): ?>
<ol class="breadcrumb" style="margin-right: 30px;">
<li><a href="<?php echo e(admin_url('/')); ?>"><i class="fa fa-dashboard"></i> <?php echo e(__('Home')); ?></a></li>
<?php $__currentLoopData = $breadcrumb; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($loop->last): ?>
<li class="active">
<?php if(\Illuminate\Support\Arr::has($item, 'icon')): ?>
<i class="fa fa-<?php echo e($item['icon']); ?>"></i>
<?php endif; ?>
<?php echo e($item['text']); ?>
</li>
<?php else: ?>
<li>
<?php if(\Illuminate\Support\Arr::has($item, 'url')): ?>
<a href="<?php echo e(admin_url(\Illuminate\Support\Arr::get($item, 'url'))); ?>">
<?php if(\Illuminate\Support\Arr::has($item, 'icon')): ?>
<i class="fa fa-<?php echo e($item['icon']); ?>"></i>
<?php endif; ?>
<?php echo e($item['text']); ?>
</a>
<?php else: ?>
<?php if(\Illuminate\Support\Arr::has($item, 'icon')): ?>
<i class="fa fa-<?php echo e($item['icon']); ?>"></i>
<?php endif; ?>
<?php echo e($item['text']); ?>
<?php endif; ?>
</li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ol>
<?php elseif(config('admin.enable_default_breadcrumb')): ?>
<ol class="breadcrumb" style="margin-right: 30px;">
<li><a href="<?php echo e(admin_url('/')); ?>"><i class="fa fa-dashboard"></i> <?php echo e(__('Home')); ?></a></li>
<?php for($i = 2; $i <= count(Request::segments()); $i++): ?>
<li>
<?php echo e(ucfirst(Request::segment($i))); ?>
</li>
<?php endfor; ?>
</ol>
<?php endif; ?>
<!-- breadcrumb end -->
</section>
<section class="content">
<?php echo $__env->make('admin::partials.alerts', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php echo $__env->make('admin::partials.exception', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php echo $__env->make('admin::partials.toastr', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php if($_view_): ?>
<?php echo $__env->make($_view_['view'], $_view_['data'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php else: ?>
<?php echo $_content_; ?>
<?php endif; ?>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin::index', ['header' => strip_tags($header)], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>