X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..b30155e30c466ce8ca8668b909a5daca7acfbfd5:/templates/playing.html diff --git a/templates/playing.html b/templates/playing.html index c67ab31..4242740 100644 --- a/templates/playing.html +++ b/templates/playing.html @@ -1,7 +1,7 @@ @label:playing.pause@ - + }{ @label:playing.pause@ - + }@ @if{@random-enabled@}{ @label:playing.random@ - + }{ @label:playing.random@ - + }@ @if{@enabled@}{ @label:playing.playing@ - + }{ @label:playing.playing@ - + }@
@label:playing.volume@ - - @label:volume.reduce@ - + }{}@ @label:volume.left@ @label:volume.right@ - - - }@ + @right{volume}{ - @label:volume.increase@ - + }{}@
+

+ }@ @#{only display the table if there is something to put in it}@ @@ -138,20 +140,27 @@ USA @when@ @if{@eq{@who@}{}@}{@if{@eq{@state@}{random}@}{@label:playing.randomtrack@}{ }@}{@who@}@ - @right{play}{@part:artist@ - @part{short}{artist}@}{@part{short}{artist}@}@ + @right{play}{@part:album@ - @part:title@ + title="@label:playing.albumverbose@" + >@part{short}{album}@}{@part{short}{album}@}@ + @part{short}{title}@ @length@ @if{@scratchable@}{@label:playing.scratch@}{@label:playing.scratch@}@ @if{@arg:mgmt@}{ @@ -170,62 +179,90 @@ USA @when@ @if{@eq{@who@}{}@}{@if{@eq{@state@}{random}@}{@label:queue.randomtrack@}{ }@}{@who@}@ - @part:artist@ - @part:album@ - @part:title@ + @right{play}{@part{short}{artist}@}{@part{short}{artist}@}@ + @right{play}{@part{short}{album}@}{@part{short}{album}@}@ + @part{short}{title}@ @length@ @if{@removable@}{@label:playing.remove@}{ }@ + alt="@label:playing.remove@">}{@label:playing.remove@}@ + @if{@arg:mgmt@}{ - @if{@isfirst@} - { + @if{@or{@isfirst@} + {@not{@movable@}@}@}{ + + } - { + class=button src="@image:noup@" + title="@label:playing.upverbose@" alt=""> + }{ + + @label:playing.upall@ @label:playing.up@}@ - @if{@islast@} - { + href="@url@?action=move&id=@id@&delta=1&mgmt=true">@label:playing.up@ + }@ + + @if{@or{@islast@} + {@not{@movable@}@}@}{ + + + class=button src="@image:nodownall@" + title="@label:playing.downallverbose@" alt=""> - } - { - @label:playing.down@ + + }{ + - @label:playing.downall@}@ + alt="@label:playing.downall@"> + + @label:playing.down@ + }@ + }@ }@}@ }@ -@include{@label{menu}@end}@ +@include{topbarend}@ @@ @@ -237,4 +274,3 @@ sgml-indent-step:1 sgml-indent-data:t End: --> -