X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Ffilterdiag.html.sh;h=ec2dee565f2e20dea390ef8c451925857ea77480;hb=9a04c79ac8c1720047744db2338d08841e41cb42;hp=006c876bee5aa69d3d651de8b4e6987c10119036;hpb=3aace0c1bda8f5f2d5e52024d6643872c5655c6a;p=serve0 diff --git a/templates/filterdiag.html.sh b/templates/filterdiag.html.sh index 006c876..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: