X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/547553359fed90562714987654ce06feb9480cc8..d848c36fc9de36897f18dd950288b57dfa1c0ca7:/templates/choose.tmpl
diff --git a/templates/choose.tmpl b/templates/choose.tmpl
index fcba496..4c2547b 100644
--- a/templates/choose.tmpl
+++ b/templates/choose.tmpl
@@ -87,23 +87,20 @@ USA
}
@# Always have a search form
-
+
+
+@actbutton{@label{search.clear}}{}{choose}
+
@if{@ne{@arg{query}}{}}
{@# There's a search query
@@ -125,7 +122,7 @@ USA
@right{prefs}{
+ href="@url?action=prefs&track=@urlquote{@track}">
@@ -152,7 +149,11 @@ USA
@# NB we don't really bother distinguishing between re being empty or absent,
@# and the server deliberately cooperates in this.
-@# TODO navigation...
+ @if{@ne{@arg{dir}}{}}{
+ @#
+@breadcrumbs{@arg{dir}}
+ {/@#
+@basename{@dir}}: }
@# dir=[@arg{dir}] re=[@arg{re}] which=@label{choose.which}
@@ -181,14 +182,14 @@ USA
@define{sometracks}{template}{@template}@#
@right{prefs}{
+ href="@url?action=prefs&track=@urlquote{@resolve{@track}}">
}@#
-
@display
@@ -198,7 +199,7 @@ USA
{[queued]}
}
@sometracks{
-
+
|