2013-07-28 09:09:10 +02:00
|
|
|
<ul class="dropdowns">
|
|
|
|
<li class="dropdown">
|
2013-07-28 19:45:21 +02:00
|
|
|
<a class="btn" href="/account/albums/create" ng-class="{'btn-primary': data.isEditorOpen && data.selectedAlbum == null}">
|
2013-07-28 09:09:10 +02:00
|
|
|
<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">
|
2013-07-28 19:45:21 +02:00
|
|
|
<ul class="account-albums-listing stretch-to-bottom">
|
2013-07-28 10:35:31 +02:00
|
|
|
<li ng-repeat="album in albums" ng-class="{selected: album.id == data.selectedAlbum.id}">
|
2013-07-28 09:09:10 +02:00
|
|
|
<a href="/account/albums/edit/{{album.id}}">
|
2013-07-28 19:45:21 +02:00
|
|
|
<img class="image" ng-src="{{album.covers.normal}}" />
|
2013-07-28 10:35:31 +02:00
|
|
|
<span class="title">{{album.title}}</span>
|
|
|
|
<span class="published">{{album.created_at | pfmdate:'MM/dd/yyyy'}}</span>
|
2013-07-28 09:09:10 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li ng-show="!albums.length" class="empty">
|
|
|
|
No albums found...
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor" ui-view>
|
|
|
|
</div>
|
|
|
|
</div>
|