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" 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
|
|
|
|
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">
|
2016-02-14 12:12:13 +01:00
|
|
|
<li ng-repeat="album in albums track by album.id" ng-class="{selected: album.id == data.selectedAlbum.id}">
|
2015-10-25 03:35:37 +01:00
|
|
|
<a href="/account/albums/edit/{{album.id}}">
|
|
|
|
<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">
|
2016-02-14 12:12:13 +01:00
|
|
|
No albums found…
|
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>
|