X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=5d0159791e04095245ae9eaad0fbfe5d0b584dab;hb=d716f2ce1fe64cf87f777490315bc51906001c72;hp=e43beedb1966521d9b371bb8843ce281c3350b65;hpb=5194cb7ab0b85c39208d94c68ab634e9ee6d9784;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index e43beed..5d01597 100755 --- a/templates/playctl.html.sh +++ b/templates/playctl.html.sh @@ -1,4 +1,4 @@ -# Copyright 2014 - 2016 Paul Hänsch +# Copyright 2014 - 2017 Paul Hänsch # # This file is part of Serve0 # @@ -29,7 +29,7 @@ cat < - Dismiss + Dismiss @@ -55,16 +55,15 @@ cat <Hide Index view - Browse Folders + Browse Folders

$info

- Download -
- + +
@@ -75,7 +74,13 @@ cat <
$(for n in $(seq 0 5 100); do - printf '' "$([ "$volume" = "$n" ] && printf selected)" "$n" + printf '' \ + "$( [ "$n" = "$volume" ] && printf selected + [ "$n" = "$((volume - 10))" ] && printf llselected + [ "$n" = "$((volume - 5))" ] && printf lselected + [ "$n" = "$((volume + 5))" ] && printf gselected + [ "$n" = "$((volume + 10))" ] && printf ggselected + )" "$n" done)