6e1281b06db09b420a6afcbd6f2266b696b135c9.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div class="btn-group" style="margin-right: 5px" data-toggle="buttons">
  2. <label class="btn btn-sm btn-dropbox <?php echo e($btn_class, false); ?> <?php echo e($expand ? 'active' : '', false); ?>" title="<?php echo e(trans('admin.filter'), false); ?>">
  3. <input type="checkbox"><i class="fa fa-filter"></i><span class="hidden-xs">&nbsp;&nbsp;<?php echo e(trans('admin.filter'), false); ?></span>
  4. </label>
  5. <?php if($scopes->isNotEmpty()): ?>
  6. <button type="button" class="btn btn-sm btn-dropbox dropdown-toggle" data-toggle="dropdown">
  7. <span><?php echo e($label, false); ?></span>
  8. <span class="caret"></span>
  9. <span class="sr-only">Toggle Dropdown</span>
  10. </button>
  11. <ul class="dropdown-menu" role="menu">
  12. <?php $__currentLoopData = $scopes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $scope): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  13. <?php echo $scope->render(); ?>
  14. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  15. <li role="separator" class="divider"></li>
  16. <li><a href="<?php echo e($cancel, false); ?>"><?php echo e(trans('admin.cancel'), false); ?></a></li>
  17. </ul>
  18. <?php endif; ?>
  19. </div>
  20. <script>
  21. var $btn = $('.<?php echo e($btn_class, false); ?>');
  22. var $filter = $('#<?php echo e($filter_id, false); ?>');
  23. $btn.unbind('click').click(function (e) {
  24. if ($filter.is(':visible')) {
  25. $filter.addClass('hide');
  26. } else {
  27. $filter.removeClass('hide');
  28. }
  29. });
  30. </script>
  31. <?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/filter/button.blade.php ENDPATH**/ ?>