2013-07-29 22:54:53 +02:00
|
|
|
<div>
|
2015-10-25 03:35:37 +01:00
|
|
|
<ul class="dropdowns">
|
|
|
|
<li class="dropdown">
|
2016-05-20 01:08:57 +02:00
|
|
|
<a class="btn btn-default" ui-sref=".create" ng-class="{'btn-primary': data.isEditorOpen && data.selectedAlbum == null}">
|
2016-05-20 17:46:44 +02:00
|
|
|
<i class="fa fa-plus"></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">
|
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}">
|
2016-03-19 09:28:35 +01:00
|
|
|
<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">
|
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>
|