From b586c31a77f533f0e1d79a25d60a4dc98c77e327 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Sun, 7 Aug 2016 15:22:49 +0100 Subject: [PATCH] Updated album and playlist pages --- public/templates/albums/show.html | 70 +++++++++++-------- public/templates/directives/comments.html | 16 ++--- .../partials/album-share-dialog.html | 28 ++++---- .../partials/playlist-share-dialog.html | 11 ++- public/templates/playlists/show.html | 64 +++++++++-------- public/templates/tracks/frame.html | 4 +- .../scripts/app/controllers/album.coffee | 17 +++-- .../scripts/app/controllers/playlist.coffee | 21 ++++-- .../scripts/app/controllers/track.coffee | 4 +- resources/assets/styles/body.less | 4 ++ resources/assets/styles/mobile.less | 2 +- 11 files changed, 136 insertions(+), 105 deletions(-) diff --git a/public/templates/albums/show.html b/public/templates/albums/show.html index f8c68d9f..63d08e42 100644 --- a/public/templates/albums/show.html +++ b/public/templates/albums/show.html @@ -1,34 +1,46 @@
- +
+
+
+
+

{{::album.title}}

+

+ by: {{::album.user.name}} +

+
-
-

{{::album.title}}

-

- by: {{::album.user.name}} -

+
+ + + Download + file_download + + + + + + {{::format.name}} ({{::format.size}}) + + + {{::format.name}} ({{::format.size}}) + + + + + + + + + Share or embed + share + + + + Edit + edit + +
+
diff --git a/public/templates/directives/comments.html b/public/templates/directives/comments.html index d2b728e7..5ec2de5d 100644 --- a/public/templates/directives/comments.html +++ b/public/templates/directives/comments.html @@ -5,17 +5,17 @@
- + +
diff --git a/public/templates/partials/album-share-dialog.html b/public/templates/partials/album-share-dialog.html index abba2023..e5c589a0 100644 --- a/public/templates/partials/album-share-dialog.html +++ b/public/templates/partials/album-share-dialog.html @@ -1,17 +1,13 @@ -