X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..d49df20cbdc05110b55e500a8f41c8808f313659:/templates/playing.html diff --git a/templates/playing.html b/templates/playing.html index c67ab31..b45d975 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}@ @@ -132,26 +122,33 @@ USA @if{@isplaying@}{ - @label:playing.now@ + @label:playing.now@ @playing{ @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@}{ @@ -164,68 +161,96 @@ USA }@}@ @if{@isqueue@}{ - @label:playing.next@ + @label:playing.next@ @queue{ @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 +262,3 @@ sgml-indent-step:1 sgml-indent-data:t End: --> -