X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Ffilterdiag.html.sh;h=2ebb22e3b452867281fd047429183826c4b99c8b;hb=3a030bfc7933228ab4405dbb706bd63edbf7bc31;hp=5fbf2c3d2228313af61bcca1f394b27f19f31bae;hpb=dcdca39400b4b67090aa35c6dbfcafe8a2131b2f;p=serve0 diff --git a/templates/filterdiag.html.sh b/templates/filterdiag.html.sh index 5fbf2c3..2ebb22e 100755 --- a/templates/filterdiag.html.sh +++ b/templates/filterdiag.html.sh @@ -1,69 +1,90 @@ #!/bin/zsh cat < -
- - Order by: - - Clear All - Advanced - - Page: << - $(($page + 1)) - >> - -
- + - + Up to 10 filter boxes will appear as you start selecting tags. You can select multiple tags in each box by holding down the Ctrl-key. Click the "Filter!" button when you are ready. + + $(for n in {0..9}; do + hideall="$(sed -rn "s;^([^:]+):.*$;hide('${n}_\\1')\\;;p" <<<"$taglist" |sort -u)hide('${n}_none');" + echo " +
+ and + Any + None + of the tags selected here: + Category: + + + $(sed -rn 's;^([^:]+):.*$;\1;p' <<<"$taglist" |sort -u |while read cat; do echo " + " + done) +
" + done) + +
+ Order by: + + +
+ + + FilterEnd # vi:set filetype=html: