菜谱项目

simple-default.blade.php 654B

123456789101112131415161718
  1. @if ($paginator->hasPages())
  2. <ul class="pagination">
  3. {{-- Previous Page Link --}}
  4. @if ($paginator->onFirstPage())
  5. <li class="disabled"><span>@lang('pagination.previous')</span></li>
  6. @else
  7. <li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
  8. @endif
  9. {{-- Next Page Link --}}
  10. @if ($paginator->hasMorePages())
  11. <li><a href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
  12. @else
  13. <li class="disabled"><span>@lang('pagination.next')</span></li>
  14. @endif
  15. </ul>
  16. @endif