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

29 lines
1.2 KiB
HTML
Raw Normal View History

2013-07-29 22:54:53 +02:00
<div>
2015-10-25 03:35:37 +01:00
<ul class="dropdowns">
<li class="dropdown">
<a class="btn btn-default" ui-sref=".create" ng-class="{'btn-primary': data.isEditorOpen && data.selectedAlbum == null}">
<i class="material-icons">add</i> Create Album
2015-10-25 03:35:37 +01:00
</a>
</li>
</ul>
2013-07-28 09:09:10 +02:00
2015-10-25 03:35:37 +01:00
<div class="two-pane-view" ng-class="{open: data.isEditorOpen, closed: !data.isEditorOpen}">
<div class="list">
<ul class="account-albums-listing stretch-to-bottom">
<li ng-repeat="album in albums track by album.id" ng-class="{selected: album.id == data.selectedAlbum.id}">
<a ui-sref=".edit(::{album_id: album.id})">
2015-10-25 03:35:37 +01:00
<img pfm-src-loader="album.covers.normal" pfm-src-size="normal" class="image" />
<span class="title">{{album.title}}</span>
2015-12-26 21:59:45 +01:00
<span class="published">{{album.created_at | date:'MM/dd/yyyy'}}</span>
2015-10-25 03:35:37 +01:00
</a>
</li>
<li ng-show="!albums.length" class="empty">
No albums found&hellip;
2015-10-25 03:35:37 +01:00
</li>
</ul>
</div>
2013-07-28 09:09:10 +02:00
2015-10-25 03:35:37 +01:00
<ui-view class="editor"></ui-view>
</div>
</div>