-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagination_bar.htm
30 lines (29 loc) · 993 Bytes
/
pagination_bar.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<nav class="pagination-bar" aria-label="pagination">
<ul class="pager">
<li class="previous">
<a
ng-hide="pagination.startItem <= 0"
ng-click="showFirst()">
<span aria-hidden="true"> << </span>
</a>
<a
ng-hide="pagination.startItem <= 0"
ng-click="showPrevious()">
<span aria-hidden="true">< </span> Previous
</a>
</li>
<span class="centred"> {{(pagination.startItem+1) + ' - ' + (pagination.endItem+1) + ' (' + pagination.filteredItemNumb + ')'}} </span>
<li class="next">
<a
ng-hide="(pagination.endItem +1) >= pagination.filteredItemNumb"
ng-click="showLast()">
<span aria-hidden="true"> >> </span>
</a>
<a
ng-hide="(pagination.endItem +1) >= pagination.filteredItemNumb"
ng-click="showNext()">
Next <span aria-hidden="true"> ></span>
</a>
</li>
</ul>
</nav>