0084ee9bdbeabccbee1f6cd0df93eb9cfbe77798.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php $__env->startSection('content'); ?>
  2. <section class="content-header" style="<?php if(\Illuminate\Support\Facades\Redis::EXISTS("RemoteSso:".$_SERVER['HTTP_HOST'].":".Admin::user()->id)): ?> display: none; <?php endif; ?>">
  3. <h1>
  4. <?php echo $header ?: trans('admin.title'); ?>
  5. <small><?php echo $description ?: trans('admin.description'); ?></small>
  6. </h1>
  7. <!-- breadcrumb start -->
  8. <?php if($breadcrumb): ?>
  9. <ol class="breadcrumb" style="margin-right: 30px;">
  10. <li><a href="<?php echo e(admin_url('/'), false); ?>"><i class="fa fa-dashboard"></i> <?php echo e(__('Home'), false); ?></a></li>
  11. <?php $__currentLoopData = $breadcrumb; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  12. <?php if($loop->last): ?>
  13. <li class="active">
  14. <?php if(\Illuminate\Support\Arr::has($item, 'icon')): ?>
  15. <i class="fa fa-<?php echo e($item['icon'], false); ?>"></i>
  16. <?php endif; ?>
  17. <?php echo e($item['text'], false); ?>
  18. </li>
  19. <?php else: ?>
  20. <li>
  21. <?php if(\Illuminate\Support\Arr::has($item, 'url')): ?>
  22. <a href="<?php echo e(admin_url(\Illuminate\Support\Arr::get($item, 'url')), false); ?>">
  23. <?php if(\Illuminate\Support\Arr::has($item, 'icon')): ?>
  24. <i class="fa fa-<?php echo e($item['icon'], false); ?>"></i>
  25. <?php endif; ?>
  26. <?php echo e($item['text'], false); ?>
  27. </a>
  28. <?php else: ?>
  29. <?php if(\Illuminate\Support\Arr::has($item, 'icon')): ?>
  30. <i class="fa fa-<?php echo e($item['icon'], false); ?>"></i>
  31. <?php endif; ?>
  32. <?php echo e($item['text'], false); ?>
  33. <?php endif; ?>
  34. </li>
  35. <?php endif; ?>
  36. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  37. </ol>
  38. <?php elseif(config('admin.enable_default_breadcrumb')): ?>
  39. <ol class="breadcrumb" style="margin-right: 30px;">
  40. <li><a href="<?php echo e(admin_url('/'), false); ?>"><i class="fa fa-dashboard"></i> <?php echo e(__('Home'), false); ?></a></li>
  41. <?php for($i = 2; $i <= count(Request::segments()); $i++): ?>
  42. <li>
  43. <?php echo e(ucfirst(Request::segment($i)), false); ?>
  44. </li>
  45. <?php endfor; ?>
  46. </ol>
  47. <?php endif; ?>
  48. <!-- breadcrumb end -->
  49. </section>
  50. <section class="content">
  51. <?php echo $__env->make('admin::partials.alerts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  52. <?php echo $__env->make('admin::partials.exception', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  53. <?php echo $__env->make('admin::partials.toastr', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  54. <?php if($_view_): ?>
  55. <?php echo $__env->make($_view_['view'], $_view_['data'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  56. <?php else: ?>
  57. <?php echo $_content_; ?>
  58. <?php endif; ?>
  59. </section>
  60. <?php $__env->stopSection(); ?>
  61. <?php echo $__env->make('admin::index', ['header' => strip_tags($header)], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/content.blade.php ENDPATH**/ ?>