From: Andre Noll Date: Tue, 12 Aug 2014 13:01:59 +0000 (+0200) Subject: Add htacess and icons for fancy indexing. X-Git-Tag: v0.5.4~54 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=47a9983cc65ef57ad25c4ba3e16cabe48fd57b23;hp=9ae265026d2b3541406cfca890761afdf829c9aa Add htacess and icons for fancy indexing. The apache server on people.tuebingen.mpg.de has FancyIndexing via mod_autoindex enabled. Let's use its features to provide a nicer view of the download directory. This adds two .png icons for tarballs and signatures, respectively. These icons are listed in the new .htaccess file to instruct apache to show the icons next to the download links, along with a file description. On the old page files were listed alphabetically. So one had to scroll to the bottom to get to the newest tarball link. FancyIndexing lets us specify the sort order and we use this feature to show new files first. --- diff --git a/NEWS b/NEWS index e179240b..7c54b5cc 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ NEWS ----------------------------------------------- * Minor cleanups to daemon.c. + * New URLs for home page and git services. Download: ./releases/paraslash-git.tar.bz2 diff --git a/web/.htaccess b/web/.htaccess new file mode 100644 index 00000000..d6a12221 --- /dev/null +++ b/web/.htaccess @@ -0,0 +1,12 @@ + + IndexOptions FancyIndexing IconWidth=30 IconsAreLinks + IndexOrderDefault Descending Date + IndexIgnore .. + + AddIcon ../signature.png *.asc + AddDescription "Digital signature" *.asc + + AddIcon ../tar-icon.png *.tgz *.tar.bz2 + AddDescription "current master snapshot" -git.tar.bz2 + AddDescription "release tarball" *.tgz *.tar.bz2 + diff --git a/web/images/signature.png b/web/images/signature.png new file mode 100644 index 00000000..9524182c Binary files /dev/null and b/web/images/signature.png differ diff --git a/web/images/tar-icon.png b/web/images/tar-icon.png new file mode 100644 index 00000000..4b1b472d Binary files /dev/null and b/web/images/tar-icon.png differ