Pony.fm/public/templates/account/tracks.html

16 lines
783 B
HTML
Raw Normal View History

<div class="two-pane-view" ng-class="{open: data.selectedTrack != null, closed: data.selectedTrack == null}">
2015-10-25 03:35:37 +01:00
<div class="list">
<ul class="account-tracks-listing stretch-to-bottom">
<li ng-repeat="track in tracks track by track.id" ng-class="{selected: track.id == data.selectedTrack.id, 'is-not-published': !track.is_published}">
<a ui-sref=".edit(::{track_id: track.id})" ng-click="selectTrack(track)">
2015-10-25 03:35:37 +01:00
<img class="image" ng-src="{{track.cover_url}}" />
<span class="title">{{track.title}}</span>
2015-12-26 21:59:45 +01:00
<span class="published">{{track.created_at | date:'MM/dd/yyyy'}}</span>
2015-10-25 03:35:37 +01:00
</a>
</li>
</ul>
</div>
2015-10-25 03:35:37 +01:00
<ui-view class="editor"></ui-view>
</div>