Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaoyi Zha <summermontreal@gmail.com>2016-12-03 21:23:54 +0300
committerGitHub <noreply@github.com>2016-12-03 21:23:54 +0300
commit6f3cb8319385f8f79b433346c49c8e0bff91487c (patch)
treecbc2c932e04eefb5aa0a3458cc8b18aa1c0f1c1c /resources
parent73365d2cdc3f896a37e7a9b00b37138350079954 (diff)
Delete obsolete pagination snippet
Datatables pagination is now used instead of the custom snippet
Diffstat (limited to 'resources')
-rw-r--r--resources/views/snippets/pagination.blade.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/resources/views/snippets/pagination.blade.php b/resources/views/snippets/pagination.blade.php
deleted file mode 100644
index 79ab0bc..0000000
--- a/resources/views/snippets/pagination.blade.php
+++ /dev/null
@@ -1,25 +0,0 @@
-@if (!$current_page)
-<?php $current_page = 1; ?>
-@endif
-
-<ul class="pagination">
- <li class='@if ($current_page-1 < $first_page) disabled @endif'>
- <a id='scrollLeft-{{$pagination_id}}' href='{{route('admin')}}/admin?page={{$current_page - 1}}#{{$selection_name}}'>&laquo;</a>
- </li>
-
- @for ($i=$current_page-4;i<=$last_page;$i++)
- @if (($current_page + $i) >= 4)
- <?php return ?>
- @endif
-
- @if (($i >= $first_page) && ($i <= $last_page))
- <li class='@if ($current_page == $i) active @endif'>
- <a data-page='{{$i}}' href='{{route('admin')}}/admin?page={{$i}}#{{$selection_name}}'>{{$i}}</a>
- </li>
- @endif
- @endfor
-
- <li class='@if ($current_page+1 > $first_page) disabled @endif'>
- <a id='scrollRight-{{$pagination_id}}' data-page='{{$page}}' href='{{route('admin')}}/admin?page={{$current_page + 1}}#{{$selection_name}}'>&raquo;</a>
- </li>
-</ul>