]> git.plutz.net Git - serve0/blobdiff - templates/view.html.sh
more compact menues
[serve0] / templates / view.html.sh
index 46a1d412edfd89806bef41ca0ff9f0e1b587588d..f0a23135b16df833bb9b59929cd0c6deab87d4dd 100755 (executable)
@@ -16,7 +16,7 @@
 # along with Serve0  If not, see <http://www.gnu.org/licenses/>. 
 
 cat <<EOF
-<form class="panel" id="search" style="display: block;" action="?" method="get" accept-charset="UTF-8">
+<form class="panel top" id="search" style="display: block;" action="?" method="get" accept-charset="UTF-8">
   <input type="text" name="s" value="$search" placeholder="Search">
 
   <label for="o1" class="order">Order by:</label>
@@ -28,7 +28,7 @@ cat <<EOF
   <input type="submit" name="submit" value="Find">
 
   <a class="panel clearsearch" href="?">Clear All</a>
-  <a class="panel" href="${info:+?p=list&amp;${page_this}#$(urlsave $info)}${info:-?p=tree&amp;d=${directory}&amp;${page_this}}">Dismiss</a>
+  <a class="panel" href="${info:+?p=list&amp;${page_this}#$(urlsafe $info)}${info:-?p=tree&amp;d=${directory}&amp;${page_this}}">Dismiss</a>
 
   <div class="pagination_nav">
     <label>Page:</label>
@@ -64,7 +64,7 @@ cat <<EOF
       catt="${cat}:"
       [ "$catt" = "none:" ] && catt=''
       
-      printf %s "$taglist" |egrep '^'"$catt"'[^:]+$' |while read line; do
+      printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do
         printf '<option %s value="%s">%s</option>' \
                "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \
                "$line" "${line#*:}"
@@ -89,7 +89,7 @@ cat <<EOF
   </form>
 </div>
 
-<div class="panel footer" id="foot">
+<div class="panel bottom" id="foot">
   <a class="panel toggle" href="#tagger">Edit Tags</a>
 
   <div class="pagination_nav">