mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-27 15:27:58 +01:00
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<div layout="row">
|
|
<md-input-container flex="100" flex-sm="50" flex-gt-sm="25">
|
|
<label>Order by</label>
|
|
<md-select ng-model="filter" md-on-close="handleSingularDropdown('sort', filter)">
|
|
<md-option ng-repeat="filter in ::filters.sort.values track by $index" value="{{filter}}">{{::filter.title}}</md-option>
|
|
</md-select>
|
|
</md-input-container>
|
|
</div>
|
|
|
|
<div class="pagination" ng-if="totalPages > 1">
|
|
<ul>
|
|
<li ng-class="{disabled: !prevPage}"><a href="#" ng-click="gotoPage(prevPage);" pfm-eat-click>Prev</a></li>
|
|
<li ng-repeat="page in pages track by page" ng-class="{active: page == currentPage}">
|
|
<a href="#" ng-click="gotoPage(page);" pfm-eat-click>{{page}}</a>
|
|
</li>
|
|
<li ng-class="{disabled: !nextPage}"><a href="#" ng-click="gotoPage(nextPage);" pfm-eat-click>Next</a></li>
|
|
<li class="pagination-jump">
|
|
<a href="#" ng-click="showPageSelector();" ng-hide="pageSelectorShown" pfm-eat-click>Jump…</a>
|
|
<form ng-submit="jumpToPage(inputPageNumber)" ng-show="pageSelectorShown">
|
|
<input type="number" id="pagination-jump-destination" ng-model="inputPageNumber" ng-blur="hidePageSelector()" />
|
|
<input type="submit" />
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<ui-view></ui-view>
|