X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/0d0253c93a64d2b5206e902c648e1e2c6bc5d510..35248665db639524b25eaf4c88156cdf6703cd9b:/templates/choose.tmpl?ds=inline diff --git a/templates/choose.tmpl b/templates/choose.tmpl index 10ccf22..a000cad 100644 --- a/templates/choose.tmpl +++ b/templates/choose.tmpl @@ -26,124 +26,172 @@ 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]">*
- }@ +} + +@# Always have a search form + + + @if{@ne{@arg{query}}{}} + { +@# There's a search query +@label{heading.artist} | +@label{heading.album} | +@label{heading.title} | +@label{heading.length} | +@right{prefs}{ +} + |
---|---|---|---|---|
@martist{search}{@track} | +@malbum{search}{@track} | +@mtitle{search}{@track} | +@length{@id} | + @right{prefs}{ +
+
+ |
+
+
+
+ @display
+
+
@navigate{@arg:directory@}{/@basename@}@:
- }@ +
+@define{sometracks}{template}{@template}@#
+ @rights{prefs}{
+
+
+
+ }@#
+
+ @display
+
+ @if{@eq{@trackstate{@track}}{playing}}
+ {[playing]}
+ @if{@eq{@trackstate{@track}}{queued}}
+ {[queued]}
+
+ @right{prefs}{
+
+
+ }
+
+ @label{choose.playall}
+
+
- @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@
-
-