From eb20529d08f351cd0754e60845cdd26c0b847913 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Thu, 16 Jun 2011 01:24:49 +0200 Subject: [PATCH] Some fixes and colored links. --- README.md | 64 ++++++++++++++++++++++++++++++++---------------- dot.htaccess | 23 ++++++++--------- h5ai/footer.html | 2 +- h5ai/header.html | 2 +- h5ai/main.css | 39 ++++++++++++++++++++++++----- h5ai/main.js | 1 + 6 files changed, 91 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 49d11fd2..1044d0fa 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,67 @@ h5ai - a beautified Apache index ================================ -Screenshot ----------- +Screenshots +----------- -screenshot +/> - -compare it to apache's built in autoindex: - -apache autoindexscreenshot +/> Live example ------------ -For a live experience browse [here](http://repo.larsjung.de/h5ai-sample) +View a [sample folder](http://repo.larsjung.de/h5ai-sample) *(the files are all empty to save webspace)* Install ------- -* Copy the `h5ai` folder to the web-root directory of your server or alternativly set an alias `/h5ai/` to - this folder. -* Add the content of file `dot.htaccess` to the `.htaccess` file in the directory - you want to be indexed (you might have to create this file). This directory and any subdirectories will be - styled. +1. Copy the `h5ai` folder to the web-root directory of your server or alternativly set an alias `/h5ai/` to + this folder. +2. Add the content of file `dot.htaccess` to the `.htaccess` file in the directory + you want to be indexed (you might have to create this file). This directory and any subdirectories will be + styled. + + +Changelog +--------- + +### v0.2.1 +*2011-06-16* + +* fixed croped filenames +* fixed missing .png extension in header +* removed .html extension from Header-/ReadmeName references in dot.htaccess +* added some color to the links +* added changelog + +### v0.2 +*2011-06-15* + +* added icon view + + +Author +------ + +Lars Jung +[project site](http://github.com/larrrs/h5ai) +[website](http://larsjung.de) License @@ -53,4 +76,3 @@ It is based on the awesome [HTML5 Boilerplate](http://html5boilerplate.com) and [Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-173323228), please respect their rights. - diff --git a/dot.htaccess b/dot.htaccess index f5e312ab..daf72ac9 100644 --- a/dot.htaccess +++ b/dot.htaccess @@ -16,8 +16,8 @@ # h5ai header and footer ################################ - HeaderName /h5ai/header.html - ReadmeName /h5ai/footer.html + HeaderName /h5ai/header + ReadmeName /h5ai/footer ################################ @@ -44,21 +44,26 @@ IndexOptions IgnoreCase IndexOptions IconsAreLinks IndexOptions VersionSort + IndexOptions NameWidth=* ################################ # icon mapping ################################ - AddIcon /h5ai/icons/log.png log Log LOG - AddIcon /h5ai/icons/authors.png AUTHORS - AddIcon /h5ai/icons/install.png INSTALL - AddIcon /h5ai/icons/copying.png COPYING LICENSE + AddIcon /h5ai/icons/parent.png .. + AddIcon /h5ai/icons/folder.png ^^DIRECTORY^^ + AddIcon /h5ai/icons/blank.png ^^BLANKICON^^ + AddIcon /h5ai/icons/readme.png README + AddIcon /h5ai/icons/copying.png COPYING LICENSE + AddIcon /h5ai/icons/install.png INSTALL + AddIcon /h5ai/icons/authors.png AUTHORS + AddIcon /h5ai/icons/log.png LOG Log log AddIcon /h5ai/icons/css.png .less - AddIcon /h5ai/icons/makefile.png .pom pom.xml build.xml AddIcon /h5ai/icons/script.png .conf .ini .sh .shar .csh .ksh .tcl + AddIcon /h5ai/icons/makefile.png .pom pom.xml build.xml AddIcon /h5ai/icons/bin.png .so .o AddIcon /h5ai/icons/zip.png .zip .Z .z .jar .war @@ -105,10 +110,6 @@ AddIconByEncoding /h5ai/icons/zip.png x-compress x-gzip x-bzip2 - AddIcon /h5ai/icons/parent.png .. - AddIcon /h5ai/icons/folder.png ^^DIRECTORY^^ - AddIcon /h5ai/icons/blank.png ^^BLANKICON^^ - DefaultIcon /h5ai/icons/unknown.png diff --git a/h5ai/footer.html b/h5ai/footer.html index faf27983..ca2d2214 100644 --- a/h5ai/footer.html +++ b/h5ai/footer.html @@ -9,7 +9,7 @@ html5-storage html5-css3 - h5ai + h5ai using HTML5 Boilerplate and diff --git a/h5ai/header.html b/h5ai/header.html index e421cb6f..01265b91 100644 --- a/h5ai/header.html +++ b/h5ai/header.html @@ -12,7 +12,7 @@