-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from jaedb/release/2.4.2
Release/2.4.2
- Loading branch information
Showing
47 changed files
with
3,021 additions
and
1,866 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,77 @@ | ||
<div class="browse album"> | ||
<div class="browse album-page"> | ||
|
||
<div class="intro album-intro"> | ||
<div class="asset-sidebar"> | ||
|
||
<div class="thumbnail album" ng-if="album.images.length > 0" ng-repeat="image in album.images | limitTo:1" style="background-image: url({{ image.url }});"></div> | ||
<div class="thumbnail album placeholder" ng-if="!album.images || album.images.length <= 0"></div> | ||
|
||
<div class="square-panel"> | ||
<div class="image-container" ng-repeat="image in album.images | filter:image.height=300 | limitTo:1"> | ||
<div class="image animate" style="background-image: url({{ image.url }});"></div> | ||
</div> | ||
<div class="artist-grid small"> | ||
<a | ||
ng-repeat="artist in album.artists" | ||
class="artist" | ||
href="/browse/artist/{{ artist.uri }}"> | ||
<thumbnail ng-if="artist.images" images="artist.images" size="small"></thumbnail> | ||
<div class="name-wrapper animate"><div class="name" ng-bind="artist.name"></div></div> | ||
</a> | ||
</div> | ||
|
||
<div class="buttons"> | ||
<a class="button primary" ng-click="playAlbum()"><i class="fa fa-play"></i> Play</a> | ||
<a class="button" ng-click="addToLibrary()">Add to library</a> | ||
</div> | ||
|
||
<div class="content"> | ||
<div class="clear-left"></div> | ||
|
||
<h1 ng-bind="album.name"></h1> | ||
|
||
<h2> | ||
<span ng-repeat="artist in album.artists"> | ||
<a href="/browse/artist/{{ artist.uri }}" ng-bind="artist.name"></a><span ng-if="!$last">, </span> | ||
<div class="info"> | ||
<div class="info-item capitalize"> | ||
<span ng-bind="album.tracks.total"></span> track<span ng-hide="album.tracks.items.length<=1">s</span>, <span ng-show="album.tracks.next">+</span><span ng-bind="totalTime()"></span> minutes | ||
</div> | ||
<div class="info-item capitalize"> | ||
<span class="label">Released: </span> | ||
<span class="date" ng-bind="convertedDate()"></span> | ||
</div> | ||
<div class="info-item capitalize"> | ||
Popularity: | ||
<span class="bar-track"> | ||
<span class="bar" style="width: {{ album.popularity }}%;"></span> | ||
</span> | ||
</h2> | ||
|
||
<div class="info-text"> | ||
<div class="wrapper"> | ||
<span ng-bind="album.tracks.total"></span> track<span ng-hide="album.tracks.items.length<=1">s</span> | ||
<span class="duration"> | ||
(<span ng-show="album.tracks.next">+</span><span ng-bind="totalTime()"></span> minutes) | ||
</span> | ||
</div> | ||
<div class="wrapper released"> | ||
<span class="label">Released: </span> | ||
<span class="date" ng-bind="convertedDate()"></span> | ||
</div> | ||
<div class="wrapper"> | ||
<span class="bar-track"> | ||
<span class="bar" style="width: {{ album.popularity }}%;"></span> | ||
</span> | ||
| ||
</div> | ||
</div> | ||
| ||
</div> | ||
</div> | ||
|
||
<br /><br /> | ||
|
||
<a class="button primary" ng-click="playAlbum()"><i class="fa fa-play"></i> Play album</a> | ||
<a class="button" ng-click="addToLibrary()">Add to library</a> | ||
|
||
<div class="clear-both"></div> | ||
<div class="clear-left"></div> | ||
|
||
</div> | ||
|
||
<div class="album-items tracklist" ng-controller="TracklistController" > | ||
<div class="content scrolling-panel"> | ||
<div class="inner"> | ||
|
||
<track ng-repeat="track in tracklist.tracks"></track> | ||
<div class="intro"> | ||
<div class="breadcrumbs"> | ||
<span ng-repeat="breadcrumb in breadcrumbs"> | ||
<a class="item" href="{{ breadcrumb.link }}" ng-bind="breadcrumb.name"></a> | ||
<i class="fa fa-angle-right divider"></i> | ||
</span> | ||
<span class="item">Album</span> | ||
</div> | ||
<h1 ng-bind="album.name"></h1> | ||
<h2 class="description"> | ||
<span ng-repeat="artist in album.artists"> | ||
<a href="/browse/artist/{{ artist.uri }}" ng-bind="artist.name"></a><span ng-if="!$last">, </span> | ||
</span> | ||
</h2> | ||
</div> | ||
|
||
<div class="album-items tracklist" ng-controller="TracklistController" > | ||
|
||
<track ng-repeat="track in tracklist.tracks track by $index"></track> | ||
|
||
<div ng-hide="tracklist.tracks.length" class="no-items"> | ||
No items | ||
</div> | ||
<div ng-hide="tracklist.tracks.length" class="no-items"> | ||
No items | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.