0cba105d296351c744e980420a9d9b94bb3c1c47.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <ul class="pagination pagination-sm no-margin pull-right">
  2. <!-- Previous Page Link -->
  3. <?php if($paginator->onFirstPage()): ?>
  4. <li class="page-item disabled"><span class="page-link">&laquo;</span></li>
  5. <?php else: ?>
  6. <li class="page-item"><a class="page-link" href="<?php echo e($paginator->previousPageUrl(), false); ?>" rel="prev">&laquo;</a></li>
  7. <?php endif; ?>
  8. <!-- Pagination Elements -->
  9. <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  10. <!-- "Three Dots" Separator -->
  11. <?php if(is_string($element)): ?>
  12. <li class="page-item disabled"><span class="page-link"><?php echo e($element, false); ?></span></li>
  13. <?php endif; ?>
  14. <!-- Array Of Links -->
  15. <?php if(is_array($element)): ?>
  16. <?php $__currentLoopData = $element; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  17. <?php if($page == $paginator->currentPage()): ?>
  18. <li class="page-item active"><span class="page-link"><?php echo e($page, false); ?></span></li>
  19. <?php else: ?>
  20. <li class="page-item"><a class="page-link" href="<?php echo e($url, false); ?>"><?php echo e($page, false); ?></a></li>
  21. <?php endif; ?>
  22. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  23. <?php endif; ?>
  24. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  25. <!-- Next Page Link -->
  26. <?php if($paginator->hasMorePages()): ?>
  27. <li class="page-item"><a class="page-link" href="<?php echo e($paginator->nextPageUrl(), false); ?>" rel="next">&raquo;</a></li>
  28. <?php else: ?>
  29. <li class="page-item disabled"><span class="page-link">&raquo;</span></li>
  30. <?php endif; ?>
  31. </ul>
  32. <?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/pagination.blade.php ENDPATH**/ ?>