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 b608c3c4..bf251023 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 @@ -64,3 +64,5 @@ viewAsListImage = icons/default_dark/view_as_list.png volumeImage = icons/default_dark/volume.png alertImage = icons/default_dark/alert.svg checkImage = icons/default_dark/check.svg +playQueueShow = icons/default_dark/chevrons-up.svg +playQueueHide = icons/default_dark/chevrons-down.svg 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 6bfbd11e..0864165d 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 @@ -64,3 +64,5 @@ viewAsListImage = icons/default_light/view_as_list.svg volumeImage = icons/default_light/volume.svg alertImage = icons/default_light/alert.svg checkImage = icons/default_light/check.svg +playQueueShow = icons/default_light/chevrons-up.svg +playQueueHide = icons/default_light/chevrons-down.svg diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp index 7a0bb778..96db01a9 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp +++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp @@ -139,6 +139,8 @@ function onHidePlayQueue() { setFrameHeight(50); isVisible = false; + $(".playqueue-shown").hide(); + $(".playqueue-hidden").show(); } function onShowPlayQueue() { @@ -146,6 +148,8 @@ height = Math.min(height, window.top.innerHeight * 0.8); setFrameHeight(height); isVisible = true; + $(".playqueue-shown").show(); + $(".playqueue-hidden").hide(); } function onTogglePlayQueue() { @@ -959,6 +963,15 @@ + + + + Hide play queue + + + + + diff --git a/airsonic-main/src/main/webapp/icons/default_dark/chevrons-down.svg b/airsonic-main/src/main/webapp/icons/default_dark/chevrons-down.svg new file mode 100644 index 00000000..7db0756a --- /dev/null +++ b/airsonic-main/src/main/webapp/icons/default_dark/chevrons-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/airsonic-main/src/main/webapp/icons/default_dark/chevrons-up.svg b/airsonic-main/src/main/webapp/icons/default_dark/chevrons-up.svg new file mode 100644 index 00000000..66715959 --- /dev/null +++ b/airsonic-main/src/main/webapp/icons/default_dark/chevrons-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/airsonic-main/src/main/webapp/icons/default_light/chevrons-down.svg b/airsonic-main/src/main/webapp/icons/default_light/chevrons-down.svg new file mode 100644 index 00000000..c2750c30 --- /dev/null +++ b/airsonic-main/src/main/webapp/icons/default_light/chevrons-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/airsonic-main/src/main/webapp/icons/default_light/chevrons-up.svg b/airsonic-main/src/main/webapp/icons/default_light/chevrons-up.svg new file mode 100644 index 00000000..7a40f7b7 --- /dev/null +++ b/airsonic-main/src/main/webapp/icons/default_light/chevrons-up.svg @@ -0,0 +1 @@ + \ No newline at end of file