X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;ds=inline;f=templates%2Flist.html.sh;h=28ce6c503e3bc12a3befc9150ecd8ffaa8dbbcd8;hb=c803beed2a68b45802a3463ac956cbd98496cf95;hp=21dfd1189a976296d0b7ad170e893577e94018b5;hpb=cf7e00db16a1ff076df29fc9d4531ea0b19c6243;p=serve0
diff --git a/templates/list.html.sh b/templates/list.html.sh
index 21dfd11..28ce6c5 100755
--- a/templates/list.html.sh
+++ b/templates/list.html.sh
@@ -15,22 +15,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with Serve0 If not, see .
-pages="$(
-seq 1 $(pagecount) \
-| while read pn; do
- plink="$(($pn * $pagesize - $pagesize + 1))"
-
- case "$plink" in
- $(($page - $pagesize))) class=previous;;
- $page) class=current;;
- $(($page + $pagesize))) class=next;;
- * ) class='';;
- esac
-
- printf '%s\n' "$class" "$page_link" "$plink" "$pn"
-done
-)"
-
cat <
@@ -58,11 +42,12 @@ cat <
Hide
- Browse Folders
+ Browse Folders
Player