2013-08-01 04:01:41 +02:00
|
|
|
<div class="track-details">
|
2013-08-01 01:04:04 +02:00
|
|
|
<ul class="breadcrumb">
|
|
|
|
<li><a href="/tracks">Tracks</a> <span class="divider">/</span></li>
|
|
|
|
<li><a href="/tracks?filter=genres-{{track.genre.id}}">{{track.genre.name}}</a> <span class="divider">/</span></li>
|
|
|
|
<li class="active">{{track.title}}</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="track-toolbar btn-group pull-right">
|
|
|
|
<a href="#" class="btn btn-small">
|
|
|
|
Favourite This!
|
|
|
|
<i class="icon-star-empty"></i>
|
|
|
|
</a>
|
|
|
|
<div class="dropdown">
|
|
|
|
<a href="#" class="btn btn-small btn-info dropdown-toggle">
|
|
|
|
Downloads <i class="caret"></i>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
2013-08-01 04:01:41 +02:00
|
|
|
<li ng-repeat="format in track.formats"><a href="{{format.url}}">{{format.name}} <small>({{format.size}})</small></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="dropdown">
|
|
|
|
<a href="#" class="btn btn-small dropdown-toggle">
|
|
|
|
Add to Playlist <i class="caret"></i>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li ng-repeat="playlist in playlists"><a href="{{playlist.url}}">{{playlist.title}}</a></li>
|
|
|
|
<li><a href="#" class="btn-primary">Add to New Playlist</a></li>
|
2013-08-01 01:04:04 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h1>
|
|
|
|
{{track.title}}
|
|
|
|
<span class="subtitle">
|
2013-08-01 04:01:41 +02:00
|
|
|
<span ng-show="track.album">
|
|
|
|
from: <a href="{{track.album.url}}">{{track.album.title}}</a>
|
|
|
|
</span>
|
|
|
|
|
2013-08-01 01:04:04 +02:00
|
|
|
by: <a href="{{track.user.url}}">{{track.user.name}}</a>
|
|
|
|
</span>
|
|
|
|
</h1>
|
|
|
|
|
2013-08-01 04:01:41 +02:00
|
|
|
<div class="stretch-to-bottom">
|
2013-08-01 01:04:04 +02:00
|
|
|
<div class="row-fluid">
|
2013-08-01 04:01:41 +02:00
|
|
|
<div class="span8">
|
2013-08-01 01:04:04 +02:00
|
|
|
<div class="description">
|
|
|
|
<p ng-bind-html-unsafe="track.description | noHTML | newlines"></p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div ng-show="track.is_vocal && track.lyrics.length" class="lyrics-panel">
|
|
|
|
<h2>Lyrics</h2>
|
|
|
|
<div class="lyrics revealable">
|
|
|
|
<div class="reveal">
|
|
|
|
<a href="#">Click to reveal full lyrics...</a>
|
|
|
|
</div>
|
|
|
|
<p class="content" ng-bind-html-unsafe="track.lyrics | noHTML | newlines"></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-01 04:01:41 +02:00
|
|
|
|
|
|
|
<h2>Comments</h2>
|
|
|
|
<div class="comments">
|
|
|
|
<div class="alert alert-info" ng-show="track.comments.count == 0">
|
|
|
|
There are no comments yet!
|
|
|
|
</div>
|
|
|
|
<form class="pfm-form">
|
|
|
|
<div class="form-row">
|
|
|
|
<textarea></textarea>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn disabled">Post Comment</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2013-08-01 01:04:04 +02:00
|
|
|
</div>
|
2013-08-01 04:01:41 +02:00
|
|
|
<div class="span4 cover-image">
|
2013-08-01 01:04:04 +02:00
|
|
|
<img ng-src="{{track.covers.normal}}" />
|
2013-08-01 04:01:41 +02:00
|
|
|
|
|
|
|
<div class="fb-like" data-href="{{track.url}}" data-send="false" data-layout="button_count" data-width="20" data-show-faces="false"></div>
|
|
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{track.url}}" data-text="{{track.title + ' by ' + track.user.name + ' on Pony.fm'}}" data-via="ponyfm">Tweet</a>
|
|
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
|
|
|
|
|
|
|
<a href="#" class="btn btn-info">Share or Embed</a>
|
|
|
|
|
|
|
|
<h2>Stats</h2>
|
|
|
|
<ul class="stats">
|
|
|
|
<li>Published: <strong>{{track.published_at | pfmdate:"short"}}</strong></li>
|
|
|
|
<li>Views: <strong>{{track.stats.views}}</strong></li>
|
|
|
|
<li>Plays: <strong>{{track.stats.plays}}</strong></li>
|
|
|
|
<li>Downloads: <strong>{{track.stats.downloads}}</strong></li>
|
|
|
|
</ul>
|
2013-08-01 01:04:04 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|