X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Ffilterdiag.html.sh;h=ec2dee565f2e20dea390ef8c451925857ea77480;hb=d13af69e22fe3dfb384ce6334590b595cbf6904f;hp=5fbf2c3d2228313af61bcca1f394b27f19f31bae;hpb=1e104f8cffd4766cc114ada45f18c7d07f291aa8;p=serve0 diff --git a/templates/filterdiag.html.sh b/templates/filterdiag.html.sh index 5fbf2c3..ec2dee5 100755 --- a/templates/filterdiag.html.sh +++ b/templates/filterdiag.html.sh @@ -1,69 +1,96 @@ #!/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="$(echo "$taglist" |sed -rn "s;^([^:]+):.*$;hide('${n}_\\1')\\;;p" |sort -u)hide('${n}_none');" + echo " +

+ and + + + of the tags selected here: + + + + $(echo "$taglist" |sed -rn 's;^([^:]+):.*$;\1;p' |sort -u |while read cat; do echo " + " + done) +

" + done) + +

+ + + +

+ + + FilterEnd # vi:set filetype=html: