2013-07-31 13:47:16 +02:00
|
|
|
<ul class="dropdowns">
|
2015-10-25 03:35:37 +01:00
|
|
|
<li class="dropdown" ng-class="{'has-filter': query.filters.trackTypes.selectedArray.length}">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Type: <strong>{{query.filters.trackTypes.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<a class="btn" pfm-eat-click ng-click="clearFilter('trackTypes')"><i class="icon-remove"></i></a>
|
|
|
|
<ul class="dropdown-menu">
|
2016-01-08 01:46:12 +01:00
|
|
|
<li bindonce ng-repeat="type in filters.trackTypes.values track by type.id"
|
|
|
|
ng-class="{selected: query.isIdSelected('trackTypes', type.id)}"
|
|
|
|
>
|
2015-10-25 03:35:37 +01:00
|
|
|
<a class="dont-close" pfm-eat-click href="#" ng-click="toggleListFilter('trackTypes', type.id); $event.stopPropagation();"><i class="icon-plus"></i></a>
|
2016-01-08 01:46:12 +01:00
|
|
|
<a pfm-eat-click href="#" ng-click="setListFilter('trackTypes', type.id);" bo-text="type.title"></a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown" ng-class="{'has-filter': query.filters.showSongs.selectedArray.length}">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Show Songs: <strong>{{query.filters.showSongs.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<a class="btn" pfm-eat-click ng-click="clearFilter('showSongs')"><i class="icon-remove"></i></a>
|
|
|
|
<ul class="dropdown-menu">
|
2016-01-08 01:46:12 +01:00
|
|
|
<li bindonce ng-repeat="song in filters.showSongs.values track by song.id"
|
|
|
|
ng-class="{selected: query.isIdSelected('showSongs', song.id)}"
|
|
|
|
>
|
2015-10-25 03:35:37 +01:00
|
|
|
<a class="dont-close" pfm-eat-click href="#" ng-click="toggleListFilter('showSongs', song.id); $event.stopPropagation();"><i class="icon-plus"></i></a>
|
2016-01-08 01:46:12 +01:00
|
|
|
<a pfm-eat-click href="#" ng-click="setListFilter('showSongs', song.id);" bo-text="song.title"></a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown" ng-class="{'has-filter': query.filters.genres.selectedArray.length}">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Genre: <strong>{{query.filters.genres.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<a class="btn" pfm-eat-click ng-click="clearFilter('genres')"><i class="icon-remove"></i></a>
|
|
|
|
<ul class="dropdown-menu">
|
2016-01-08 01:46:12 +01:00
|
|
|
<li bindonce ng-repeat="genre in filters.genres.values" ng-class="{selected: query.isIdSelected('genres', genre.id)}">
|
2015-10-25 03:35:37 +01:00
|
|
|
<a class="dont-close" pfm-eat-click href="#" ng-click="toggleListFilter('genres', genre.id); $event.stopPropagation();"><i class="icon-plus"></i></a>
|
2016-01-08 01:46:12 +01:00
|
|
|
<a pfm-eat-click href="#" ng-click="setListFilter('genres', genre.id);" bo-text="genre.title"></a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown" ng-class="{'has-filter': !query.filters.isVocal.isDefault}">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Is Vocal: <strong>{{query.filters.isVocal.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<a class="btn" pfm-eat-click ng-click="clearFilter('isVocal')"><i class="icon-remove"></i></a>
|
|
|
|
<ul class="dropdown-menu">
|
2016-01-08 01:46:12 +01:00
|
|
|
<li bindonce ng-repeat="item in filters.isVocal.values track by $index"
|
|
|
|
ng-class="{selected: item == query.filters.isVocal}"
|
|
|
|
>
|
|
|
|
<a pfm-eat-click href="#" ng-click="setFilter('isVocal', item);" bo-text="item.title"></a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown" ng-class="{'has-filter': !query.filters.sort.isDefault}">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Order: <strong>{{query.filters.sort.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<a class="btn" pfm-eat-click ng-click="clearFilter('sort')"><i class="icon-remove"></i></a>
|
|
|
|
<ul class="dropdown-menu">
|
2016-01-08 01:46:12 +01:00
|
|
|
<li bindonce ng-repeat="filter in filters.sort.values track by $index" ng-class="{selected: filter == query.filters.sort}">
|
|
|
|
<a pfm-eat-click href="#" ng-click="setFilter('sort', filter)" bo-text="filter.title"></a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2013-07-31 13:47:16 +02:00
|
|
|
</ul>
|
|
|
|
|
2016-01-08 01:46:12 +01:00
|
|
|
<div class="pagination" ng-if="totalPages > 1">
|
2015-10-25 03:35:37 +01:00
|
|
|
<ul>
|
|
|
|
<li ng-class="{disabled: !prevPage}"><a href="#" ng-click="gotoPage(prevPage);" pfm-eat-click>Prev</a></li>
|
2016-01-08 01:46:12 +01:00
|
|
|
<li bindonce ng-repeat="page in pages track by page" ng-class="{active: page == currentPage}">
|
|
|
|
<a href="#" ng-click="gotoPage(page);" pfm-eat-click bo-text="page"></a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
|
|
|
<li ng-class="{disabled: !nextPage}"><a href="#" ng-click="gotoPage(nextPage);" pfm-eat-click>Next</a></li>
|
2015-10-29 11:24:12 +01:00
|
|
|
<li class="pagination-jump">
|
|
|
|
<a href="#" ng-click="showPageSelector();" ng-hide="pageSelectorShown" pfm-eat-click>Jump…</a>
|
|
|
|
<form ng-submit="jumpToPage()" ng-show="pageSelectorShown">
|
|
|
|
<input type="number" id="pagination-jump-destination" ng-model="inputPageNumber" ng-blur="hidePageSelector()">
|
|
|
|
</form>
|
|
|
|
</li>
|
2015-10-25 03:35:37 +01:00
|
|
|
</ul>
|
2013-07-31 13:47:16 +02:00
|
|
|
</div>
|
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
<ui-view></ui-view>
|