]> git.plutz.net Git - serve0/blobdiff - pages/browse.sh
styling for pagination links
[serve0] / pages / browse.sh
index eba470b045463e8d14f229d1701560b05c297134..faf4e67a20977521290d3cf82d96d2ff58bdcf84 100755 (executable)
@@ -78,7 +78,7 @@ _printVideo(){
   cat <<VIDEOend
     <li id="${location}" class="thumb">
       <button class="watchlink" name="${location}" formaction="?action=watch&l=${location}">
-        <img src="${thumblocation}" alt="Preview not yet available">
+        <img src="${thumblocation}" width="212" height="162" alt="Preview not yet available">
       </button>
       <h2><a href="?action=watch&l=${location}">${display}</a></h2>
       
@@ -128,17 +128,17 @@ filelist(){
   case "$order" in
     Name)
       find -L "$dir" -mindepth 1 -maxdepth 1 -type d \! -name ".index" -print0 \
-      | sort -z \
+      | sort -fz \
       | xargs -0 printf 'directory %s\n'
 
       find -L "$dir" -mindepth 1 -maxdepth 1 \! -type d -print0 \
       | grep -ziE "$file_pattern" \
-      | sort -z \
+      | sort -fz \
       | xargs -0 printf 'video %s\n'
 
       find -L "$dir" -mindepth 1 -maxdepth 1 \! -type d -print0 \
       | grep -zviE "$file_pattern" \
-      | sort -z \
+      | sort -fz \
       | xargs -0 printf 'plain %s\n'
       ;;
     Date)