parent
3b123d7f08
commit
8356997133
@ -1,25 +0,0 @@ |
|||||||
|
|
||||||
// Body |
|
||||||
$body-bg: white;//$gray-300; |
|
||||||
|
|
||||||
// Typography |
|
||||||
$font-family-sans-serif: "IBM Plex Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; |
|
||||||
$font-size-base: 1rem; |
|
||||||
$line-height-base: 1.6; |
|
||||||
|
|
||||||
$link-color: $gray-800; |
|
||||||
$link-decoration: none; |
|
||||||
$link-hover-color: darken($link-color, 15%); |
|
||||||
$link-hover-decoration: underline; |
|
||||||
|
|
||||||
$card-cap-bg: lighten($primary, 5); |
|
||||||
$card-border-color: $primary; |
|
||||||
//$card-border-width: 2px; |
|
||||||
$card-border-radius: 5px; |
|
||||||
$card-inner-border-radius: 2px; |
|
||||||
|
|
||||||
$list-group-hover-bg: rgba($primary, .1); |
|
||||||
|
|
||||||
$tooltip-max-width: 300px; |
|
||||||
$tooltip-bg: darken($primary, 20%); |
|
||||||
$tooltip-arrow-color: $tooltip-bg; |
|
@ -0,0 +1,44 @@ |
|||||||
|
@if ($paginator->hasPages()) |
||||||
|
<ul class="pagination {{ $ulClass or '' }}" role="navigation"> |
||||||
|
{{-- Previous Page Link --}} |
||||||
|
@if ($paginator->onFirstPage()) |
||||||
|
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')"> |
||||||
|
<span class="page-link" aria-hidden="true">«</span> |
||||||
|
</li> |
||||||
|
@else |
||||||
|
<li class="page-item"> |
||||||
|
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">«</a> |
||||||
|
</li> |
||||||
|
@endif |
||||||
|
|
||||||
|
{{-- Pagination Elements --}} |
||||||
|
@foreach ($elements as $element) |
||||||
|
{{-- "Three Dots" Separator --}} |
||||||
|
@if (is_string($element)) |
||||||
|
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li> |
||||||
|
@endif |
||||||
|
|
||||||
|
{{-- Array Of Links --}} |
||||||
|
@if (is_array($element)) |
||||||
|
@foreach ($element as $page => $url) |
||||||
|
@if ($page == $paginator->currentPage()) |
||||||
|
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li> |
||||||
|
@else |
||||||
|
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li> |
||||||
|
@endif |
||||||
|
@endforeach |
||||||
|
@endif |
||||||
|
@endforeach |
||||||
|
|
||||||
|
{{-- Next Page Link --}} |
||||||
|
@if ($paginator->hasMorePages()) |
||||||
|
<li class="page-item"> |
||||||
|
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">»</a> |
||||||
|
</li> |
||||||
|
@else |
||||||
|
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')"> |
||||||
|
<span class="page-link" aria-hidden="true">»</span> |
||||||
|
</li> |
||||||
|
@endif |
||||||
|
</ul> |
||||||
|
@endif |
@ -0,0 +1,25 @@ |
|||||||
|
@if ($paginator->hasPages()) |
||||||
|
<ul class="pagination {{ $ulClass or '' }}" role="navigation"> |
||||||
|
{{-- Previous Page Link --}} |
||||||
|
@if ($paginator->onFirstPage()) |
||||||
|
<li class="page-item disabled" aria-disabled="true"> |
||||||
|
<span class="page-link">@lang('pagination.previous')</span> |
||||||
|
</li> |
||||||
|
@else |
||||||
|
<li class="page-item"> |
||||||
|
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a> |
||||||
|
</li> |
||||||
|
@endif |
||||||
|
|
||||||
|
{{-- Next Page Link --}} |
||||||
|
@if ($paginator->hasMorePages()) |
||||||
|
<li class="page-item"> |
||||||
|
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a> |
||||||
|
</li> |
||||||
|
@else |
||||||
|
<li class="page-item disabled" aria-disabled="true"> |
||||||
|
<span class="page-link">@lang('pagination.next')</span> |
||||||
|
</li> |
||||||
|
@endif |
||||||
|
</ul> |
||||||
|
@endif |
Loading…
Reference in new issue