forked from possan/webapi-player-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser.html
More file actions
42 lines (35 loc) · 1.17 KB
/
Copy pathuser.html
File metadata and controls
42 lines (35 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<header>
<div class="cover">
<responsive-cover ng-model="data.images"></responsive-cover>
</div>
<h4>USER</h4>
<h1>{{data.display_name}}</h1>
<div class="follower-count">{{data.followers.total | number}} followers</div>
<div class="buttons" ng-if="username !== profileUsername">
<a ng-click="follow(isFollowing)" ng-mouseover="isFollowHovered=true" ng-mouseout="isFollowHovered=false" class="button button-add"><span>{{ isFollowing ? (isFollowHovered ? 'UNFOLLOW' : 'FOLLOWING') : 'FOLLOW' }}</span></a>
</div>
</header>
<div ng-show="userplaylists.length > 0">
<h2>Public Playlists</h2>
<ul class="playlists">
<li ng-repeat="t in userplaylists">
<a href="#/users/{{t.owner.id}}/playlists/{{t.id}}">
<responsive-cover ng-model="t.images" class="responsive-cover-playlist"></responsive-cover>
</a>
<p>
<b><a href="#/users/{{t.owner.id}}/playlists/{{t.id}}">{{t.name}}</a></b>
</p>
</li>
</ul>
<hr/>
<br/>
</div>
<div ng-show="playlistError !== null">
<h2>There was an error retrieving playlists</h2>
<div>Please try again later</div>
</div>
<!--
<hr/>
<h2>Missing functionality</h2>
<p>list of public playlists</p>
-->