Pony.fm/public/templates/account/albums.html
nelsonlaquet 18e41d2af4 Logout
Volume Slider
Track Uploader
Fav list
A bunch of other things
And stuff.
2013-08-30 20:46:35 -05:00

28 lines
No EOL
925 B
HTML

<div>
<ul class="dropdowns">
<li class="dropdown">
<a class="btn" href="/account/albums/create" ng-class="{'btn-primary': data.isEditorOpen && data.selectedAlbum == null}">
<i class="icon-plus"></i> Create Album
</a>
</li>
</ul>
<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" ng-class="{selected: album.id == data.selectedAlbum.id}">
<a href="/account/albums/edit/{{album.id}}">
<img class="image" ng-src="{{album.covers.normal}}" />
<span class="title">{{album.title}}</span>
<span class="published">{{album.created_at | pfmdate:'MM/dd/yyyy'}}</span>
</a>
</li>
<li ng-show="!albums.length" class="empty">
No albums found...
</li>
</ul>
</div>
<ui-view class="editor"></ui-view>
</div>
</div>