mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Use uib-pagination directive
This commit is contained in:
parent
2522ff51fd
commit
b9365c6aef
1 changed files with 2 additions and 2 deletions
|
|
@ -185,13 +185,13 @@ limitations under the License.
|
|||
</div>
|
||||
</div>
|
||||
<div class="text-center" style="margin-top: 20px;" ng-if="getPackageSize(defaultPackages, pkgListByType) !== 0">
|
||||
<pagination boundary-links="true" total-items="defaultPackages.length"
|
||||
<ul uib-pagination boundary-links="true" total-items="defaultPackages.length"
|
||||
ng-model="$parent.currentPage" class="pagination-sm"
|
||||
ng-show="$parent.pkgListByType === types"
|
||||
max-size="maxSize"
|
||||
items-per-page="itemsPerPage"
|
||||
ng-class="{'hide-first-boundaries': $parent.currentPage == 1, 'hide-last-boundaries': $parent.currentPage >= defaultPackages.length/itemsPerPage}"
|
||||
previous-text="‹" next-text="›" first-text="«" last-text="»"></pagination>
|
||||
previous-text="‹" next-text="›" first-text="«" last-text="»"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue