diff --git a/airsonic-main/src/main/resources/org/airsonic/player/theme/default_dark.properties b/airsonic-main/src/main/resources/org/airsonic/player/theme/default_dark.properties index 397c8824..933edbfb 100644 --- a/airsonic-main/src/main/resources/org/airsonic/player/theme/default_dark.properties +++ b/airsonic-main/src/main/resources/org/airsonic/player/theme/default_dark.properties @@ -3,6 +3,7 @@ # Author: Sindre Mehus addImage = icons/default_dark/add.png +AddOverlayImage = icons/default_dark/add_overlay.png addNextImage = icons/default_dark/add_next.png androidImage = icons/default_dark/android.png backImage = icons/default_dark/back.png @@ -54,7 +55,3 @@ viewAsListImage = icons/default_dark/view_as_list.png viewAsGridImage = icons/default_dark/view_as_grid.png volumeImage = icons/default_dark/volume.png errorImage = icons/default_dark/error.png - - - - diff --git a/airsonic-main/src/main/resources/org/airsonic/player/theme/default_light.properties b/airsonic-main/src/main/resources/org/airsonic/player/theme/default_light.properties index 92ee2559..f53b954f 100644 --- a/airsonic-main/src/main/resources/org/airsonic/player/theme/default_light.properties +++ b/airsonic-main/src/main/resources/org/airsonic/player/theme/default_light.properties @@ -3,6 +3,7 @@ # Author: Sindre Mehus addImage = icons/default_light/add.png +addOverlayImage = icons/default_light/add_overlay.png addNextImage = icons/default_light/add_next.png androidImage = icons/default_light/android.png backImage = icons/default_light/back.png @@ -54,7 +55,3 @@ viewAsListImage = icons/default_light/view_as_list.png viewAsGridImage = icons/default_light/view_as_grid.png volumeImage = icons/default_light/volume.png errorImage = icons/default_light/error.png - - - - diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp index f6e83348..7616e135 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp +++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp @@ -31,6 +31,7 @@ PARAMETERS +
overflow:hidden;" title="${param.caption1}" id="${divId}"> @@ -74,6 +75,14 @@ PARAMETERS " id="${playId}" style="position: relative; top: 8px; left: 8px; z-index: 2; display:none" >
+ + +
+ " id="${addId}" + style="position: relative; top: 8px; left: 48px; z-index: 2; display:none" > +
+
+ @@ -120,11 +129,13 @@ PARAMETERS $("#${divId}").mouseenter(function () { $("#${playId}").show(); + $("#${addId}").show(); $("#${imgId}").stop(); $("#${imgId}").animate({opacity: 0.7}, 150); }); $("#${divId}").mouseleave(function () { $("#${playId}").hide(); + $("#${addId}").hide(); $("#${imgId}").stop(); $("#${imgId}").animate({opacity: 1.0}, 150); }); @@ -139,6 +150,9 @@ PARAMETERS top.playQueue.onPlayPodcastChannel(${param.podcastChannelId}); }); - + $("#${addId}").click(function () { + + top.playQueue.onAdd(${param.albumId}); + + }); - diff --git a/airsonic-main/src/main/webapp/icons/default_dark/add_overlay.png b/airsonic-main/src/main/webapp/icons/default_dark/add_overlay.png new file mode 100644 index 00000000..bb218724 Binary files /dev/null and b/airsonic-main/src/main/webapp/icons/default_dark/add_overlay.png differ diff --git a/airsonic-main/src/main/webapp/icons/default_dark/play_overlay.png b/airsonic-main/src/main/webapp/icons/default_dark/play_overlay.png index d1727811..00a427aa 100644 Binary files a/airsonic-main/src/main/webapp/icons/default_dark/play_overlay.png and b/airsonic-main/src/main/webapp/icons/default_dark/play_overlay.png differ diff --git a/airsonic-main/src/main/webapp/icons/default_light/add_overlay.png b/airsonic-main/src/main/webapp/icons/default_light/add_overlay.png new file mode 100644 index 00000000..bb218724 Binary files /dev/null and b/airsonic-main/src/main/webapp/icons/default_light/add_overlay.png differ diff --git a/airsonic-main/src/main/webapp/icons/default_light/play_overlay.png b/airsonic-main/src/main/webapp/icons/default_light/play_overlay.png index d1727811..00a427aa 100644 Binary files a/airsonic-main/src/main/webapp/icons/default_light/play_overlay.png and b/airsonic-main/src/main/webapp/icons/default_light/play_overlay.png differ