2013-07-29 22:54:53 +02:00
|
|
|
<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>
|
2013-07-28 09:09:10 +02:00
|
|
|
|
2013-07-29 22:54:53 +02: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" ng-class="{selected: album.id == data.selectedAlbum.id}">
|
|
|
|
<a href="/account/albums/edit/{{album.id}}">
|
2013-09-02 00:51:51 +02:00
|
|
|
<img pfm-src-loader="album.covers.normal" pfm-src-size="normal" class="image" />
|
2013-07-29 22:54:53 +02:00
|
|
|
<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>
|
2013-07-28 09:09:10 +02:00
|
|
|
|
2013-07-30 06:53:57 +02:00
|
|
|
<ui-view class="editor"></ui-view>
|
2013-07-28 09:09:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|