2013-07-29 22:54:53 +02:00
|
|
|
<div>
|
|
|
|
<ul class="dropdowns">
|
|
|
|
<li class="dropdown">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Published: <strong>{{filter.published.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li ng-repeat="filter in filters.published">
|
|
|
|
<a pfm-eat-click href="#" ng-click="updateFilter('published', filter)">{{filter.title}}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Sort: <strong>{{filter.sort.title}}</strong>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li ng-repeat="filter in filters.sort">
|
|
|
|
<a pfm-eat-click href="#" ng-click="updateFilter('sort', filter)">{{filter.title}}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Type: <strong>{{titles.trackTypes}}</strong>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
2013-07-30 06:53:57 +02:00
|
|
|
<li ng-repeat="type in filters.trackTypes" ng-class="{selected: filter.trackTypes[type.id]}">
|
2013-07-29 22:54:53 +02:00
|
|
|
<a pfm-eat-click href="#" ng-click="toggleFilter('trackTypes', type.id); $event.stopPropagation();">{{type.title}}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown">
|
|
|
|
<a class="dropdown-toggle btn">
|
|
|
|
Genera: <strong>{{titles.genres}}</strong>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
2013-07-30 06:53:57 +02:00
|
|
|
<li ng-repeat="genre in filters.genres" ng-class="{selected: filter.genres[genre.id]}">
|
|
|
|
<a pfm-eat-click href="#" ng-click="toggleFilter('genres', genre.id); $event.stopPropagation();">{{genre.title}}</a>
|
2013-07-29 22:54:53 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2013-07-28 19:45:21 +02:00
|
|
|
|
2013-07-30 06:53:57 +02:00
|
|
|
<div class="two-pane-view" ng-class="{open: data.selectedTrack != null, closed: data.selectedTrack == null}">
|
2013-07-29 22:54:53 +02:00
|
|
|
<div class="list">
|
|
|
|
<ul class="account-tracks-listing stretch-to-bottom">
|
2013-07-30 06:53:57 +02:00
|
|
|
<li ng-repeat="track in tracks" ng-class="{selected: track.id == data.selectedTrack.id, 'is-not-published': !track.is_published}">
|
|
|
|
<a href="/account/tracks/edit/{{track.id}}" ng-click="selectTrack(track)">
|
2013-07-29 22:54:53 +02:00
|
|
|
<img class="image" ng-src="{{track.cover_url}}" />
|
|
|
|
<span class="title">{{track.title}}</span>
|
|
|
|
<span class="published">{{track.created_at | pfmdate:'MM/dd/yyyy'}}</span>
|
|
|
|
</a>
|
2013-07-25 23:33:04 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
2013-07-29 22:54:53 +02:00
|
|
|
</div>
|
|
|
|
|
2013-07-30 06:53:57 +02:00
|
|
|
<ui-view class="editor"></ui-view>
|
2013-07-25 23:33:04 +02:00
|
|
|
</div>
|
|
|
|
</div>
|