X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/0d0253c93a64d2b5206e902c648e1e2c6bc5d510..d3a3ef14c820bb651c34d70be745ecac159d44f1:/templates/playing.tmpl?ds=sidebyside
diff --git a/templates/playing.tmpl b/templates/playing.tmpl
index 5d369c0..147333c 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}
}
@@ -54,9 +52,10 @@ USA
{@yes}
{@no}}
- @# Expand to &back=manage or to nothing
- @define {back} {}
- {@ifmanage{&back=manage}{}}
+ @ifmanage{
+ @define {back} {} {&back=manage}
+ @define {formback} {} {}
+ }{}
}@#
@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 +91,9 @@ USA @label{volume.right} - + @right{volume}{ - + @submit{@label{volume.set}} } @vbutton{down}{-} @@ -146,28 +143,28 @@ USA }{} } - @if{@isqueue@}{ -