X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/9bf61b29f946707fc9d331bb1ee860dac8327739..48e472fa70b2fcc963a4a9b16ca23e0ee019d34d:/templates/choose.tmpl diff --git a/templates/choose.tmpl b/templates/choose.tmpl index 10ccf22..0b08491 100644 --- a/templates/choose.tmpl +++ b/templates/choose.tmpl @@ -26,124 +26,122 @@ USA @stdmenu{choose}
A | + href="@url?action=choose®exp=^(the )?a">A | B | + href="@url?action=choose®exp=^(the )?b">B | C | + href="@url?action=choose®exp=^(the )?c">C | D | + href="@url?action=choose®exp=^(the )?d">D | E | + href="@url?action=choose®exp=^(the )?e">E | F | + href="@url?action=choose®exp=^(the )?f">F | G | + href="@url?action=choose®exp=^(the )?g">G | H | + href="@url?action=choose®exp=^(the )?h">H | I | + href="@url?action=choose®exp=^(the )?i">I | J | + href="@url?action=choose®exp=^(the )?j">J | K | + href="@url?action=choose®exp=^(the )?k">K | L | + href="@url?action=choose®exp=^(the )?l">L | M | + href="@url?action=choose®exp=^(the )?m">M | N | + href="@url?action=choose®exp=^(the )?n">N | O | + href="@url?action=choose®exp=^(the )?o">O | P | + href="@url?action=choose®exp=^(the )?p">P | Q | + href="@url?action=choose®exp=^(the )?q">Q | R | + href="@url?action=choose®exp=^(the )?r">R | S | + href="@url?action=choose®exp=^(the )?s">S | T | + href="@url?action=choose®exp=^(?!the [^t])t">T | U | + href="@url?action=choose®exp=^(the )?u">U | V | + href="@url?action=choose®exp=^(the )?v">V | W | + href="@url?action=choose®exp=^(the )?w">W | X | + href="@url?action=choose®exp=^(the )?x">X | Y | + href="@url?action=choose®exp=^(the )?y">Y | Z | + href="@url?action=choose®exp=^(the )?z">Z | * + href="@url?action=choose®exp=^[^a-z]">*
- }@ +} + +@# TODO navigation... + +
+
+
+ @display
+
+
@navigate{@arg:directory@}{/@basename@}@:
- }@ +@define{sometracks}{template}{} - @if{@isdirectories@}{ -- @label:choose.directories@ -
- @choose{directories}{ - - }@ -- @label:choose.files@ -
- @choose{files}{ -
- @right{prefs}{}@
- @transform{@file@}{track}{display}@
- @if{@eq{@trackstate{@file@}@}{playing}@}{[playing]}@
- @if{@eq{@trackstate{@file@}@}{queued}@}{[queued]}@
-
- @right{prefs}{}@
-
- @label:choose.playall@
-
-
+@define{sometracks}{template}{@template}@#
+ @rights{prefs}{
+
+
+
+ }@#
+
+ @display
+
+ @if{@eq{@trackstate{@track}}{playing}}
+ {[playing]}
+ @if{@eq{@trackstate{@track}}{queued}}
+ {[queued]}
+
+ @right{prefs}{
+
+
+ }
+
+ @label{choose.playall}
+
+