This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/directives/page-controls.html

21 lines
923 B
HTML
Raw Normal View History

2015-06-25 19:47:37 +00:00
<div class="page-controls-element">
<span class="current-items dropdown">
<span class="page-view" data-toggle="dropdown">
{{ getPageStart(currentPage, pageSize, totalCount) }} - {{ getPageEnd(currentPage, pageSize, totalCount) }}
of {{ totalCount }}
</span>
<ul class="dropdown-menu">
<li><a ng-click="setPage(0)"><i class="fa fa-caret-square-o-left"></i>First Page</a></li>
<li><a ng-click="setPage(getPageCount(pageSize, totalCount) - 1)"><i class="fa fa-caret-square-o-right"></i>Last Page</a></li>
2015-06-25 19:47:37 +00:00
</ul>
</span>
<span class="page-buttons btn-group">
<button class="btn btn-default"
ng-disabled="currentPage == 0"
ng-click="changePage(-1)">&#10094;</button>
<button class="btn btn-default"
ng-disabled="currentPage >= getPageCount(pageSize, totalCount) - 1"
ng-click="changePage(1)">&#10095;</button>
</span>
</div>