X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/0d0253c93a64d2b5206e902c648e1e2c6bc5d510..3b95af9c3a2e21cc5e6567b8ca08376d1c289528:/templates/playing.tmpl diff --git a/templates/playing.tmpl b/templates/playing.tmpl index 5d369c0..a7bb804 100644 --- a/templates/playing.tmpl +++ b/templates/playing.tmpl @@ -25,11 +25,9 @@ USA @# @action should be the action to switch to the opposite state @# @state should be the current state @define {onoff} {class action state} - { - @label{playing.@class} - + {@actbutton{@label{playing.@class}} + {@label{playing.@q{@action}verbose}} + {@action} } @@ -74,8 +72,8 @@ USA

@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 +90,9 @@ USA @label{volume.right} - + @right{volume}{ - + @submit{@label{volume.set}} } @vbutton{down}{-} @@ -146,28 +142,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} + }{} + + } }