initial import for Open Source 🎉
This commit is contained in:
parent
1898c361f3
commit
9c0dd3b722
2048 changed files with 218743 additions and 0 deletions
20
static/directives/page-controls.html
Normal file
20
static/directives/page-controls.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<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>
|
||||
</ul>
|
||||
</span>
|
||||
<span class="page-buttons btn-group">
|
||||
<button class="btn btn-default"
|
||||
ng-disabled="currentPage == 0"
|
||||
ng-click="changePage(-1)">❮</button>
|
||||
<button class="btn btn-default"
|
||||
ng-disabled="currentPage >= getPageCount(pageSize, totalCount) - 1"
|
||||
ng-click="changePage(1)">❯</button>
|
||||
</span>
|
||||
</div>
|
Reference in a new issue