X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/0d0253c93a64d2b5206e902c648e1e2c6bc5d510..49e57291d78de2b583d6f2197ae6f9d9ff05e456:/templates/playing.tmpl?ds=inline diff --git a/templates/playing.tmpl b/templates/playing.tmpl index 5d369c0..29ddbe1 100644 --- a/templates/playing.tmpl +++ b/templates/playing.tmpl @@ -26,8 +26,8 @@ USA @# @state should be the current state @define {onoff} {class action state} { + href="@url?action=@action@back" + title="@label{playing.@q{@action}verbose}"> @label{playing.@class}

@if{@paused} - {@onoff{class}{resume}{enabled}} - {@onoff{class}{pause}{disabled}} + {@onoff{pause}{resume}{enabled}} + {@onoff{pause}{pause}{disabled}} @if{@random-enabled} {@onoff{random}{randomdisable}{enabled}} {@onoff{random}{randomenable}{disabled}} @@ -92,11 +92,13 @@ USA @label{volume.right} - + @right{volume}{ - + + + } @vbutton{down}{-} @@ -146,28 +148,28 @@ USA }{} } - @if{@isqueue@}{ - - @label{playing.next} - + @if{@isqueue}{ + + @label{playing.next} + } @queue{ - - @mwhen{queue}{@id} - @mwho{queue}{@id} - @martist{queue}{@track} - @malbum{queue}{@track} - @mtitle{queue}{@track} - @length - @mremove{queue}{@id} - @ifmanage{ - @mmove{@id}{upall}{2147483647} - @mmove{@id}{up}{1} - @mmove{@id}{down}{-1} - @mmove{@id}{downall}{-2147483647} - } - - } + + @mwhen{queue}{@id} + @mwho{queue}{@id} + @martist{queue}{@track} + @malbum{queue}{@track} + @mtitle{queue}{@track} + @length{@id} + @mremove{queue}{@id} + @ifmanage{ + @mmove{@id}{upall}{2147483647} + @mmove{@id}{up}{1} + @mmove{@id}{down}{-1} + @mmove{@id}{downall}{-2147483647} + }{} + + } }