X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/9faa7a88b7419b2d6151ac2c3fa52261c876ee8d..fcb632a28d698e5e3c4463b2db184025555015a2:/templates/choose.tmpl?ds=sidebyside diff --git a/templates/choose.tmpl b/templates/choose.tmpl index 844fe9a..16cb985 100644 --- a/templates/choose.tmpl +++ b/templates/choose.tmpl @@ -20,141 +20,219 @@ USA -->
-@include:stdhead@ -A | + href="@url?action=choose&re=^(the )?a">A | B | + href="@url?action=choose&re=^(the )?b">B | C | + href="@url?action=choose&re=^(the )?c">C | D | + href="@url?action=choose&re=^(the )?d">D | E | + href="@url?action=choose&re=^(the )?e">E | F | + href="@url?action=choose&re=^(the )?f">F | G | + href="@url?action=choose&re=^(the )?g">G | H | + href="@url?action=choose&re=^(the )?h">H | I | + href="@url?action=choose&re=^(the )?i">I | J | + href="@url?action=choose&re=^(the )?j">J | K | + href="@url?action=choose&re=^(the )?k">K | L | + href="@url?action=choose&re=^(the )?l">L | M | + href="@url?action=choose&re=^(the )?m">M | N | + href="@url?action=choose&re=^(the )?n">N | O | + href="@url?action=choose&re=^(the )?o">O | P | + href="@url?action=choose&re=^(the )?p">P | Q | + href="@url?action=choose&re=^(the )?q">Q | R | + href="@url?action=choose&re=^(the )?r">R | S | + href="@url?action=choose&re=^(the )?s">S | T | + href="@url?action=choose&re=^(?!the [^t])t">T | U | + href="@url?action=choose&re=^(the )?u">U | V | + href="@url?action=choose&re=^(the )?v">V | W | + href="@url?action=choose&re=^(the )?w">W | X | + href="@url?action=choose&re=^(the )?x">X | Y | + href="@url?action=choose&re=^(the )?y">Y | Z | + href="@url?action=choose&re=^(the )?z">Z | * + href="@url?action=choose&re=^[^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} | +@mtitleplay{search}{@track} | +@length{@track} | + @right{prefs}{ +
+
+ |
+
@# +@breadcrumbs{@arg{dir}} + {/@# +@basename{@dir}}:
} - @if{@ne{@arg:directory@}{}@}{ -@navigate{@arg:directory@}{/@basename@}@:
- }@ +@#dir=[@arg{dir}]
re=[@arg{re}]
which=@label{choose.which}
- @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@
-
-
+
+
+ @display
+
+
+@define{sometracks}{template}{@template}@#
+ @right{prefs}{
+
+
+
+ }@#
+
+ @display
+
+ @if{@eq{@trackstate{@track}}{playing}}
+ {[playing]}
+ @if{@eq{@trackstate{@track}}{queued}}
+ {[queued]}
+
+ @right{prefs}{
+
+
+ }
+
+ @label{choose.playall}
+
+