1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-26 16:44:37 +02:00

Removed theme options for now - keeping it simple

This commit is contained in:
Adam Whitcroft
2012-10-24 18:27:50 +01:00
parent 236fbe9721
commit 87aa8ad324

View File

@@ -7,30 +7,27 @@ Apaxy is a simple, customisable theme for your Apache directory listing. Turn [t
Apaxy is simple to install, all you need is a server running Apache and FTP access to the folder you'd like use. Apaxy is simple to install, all you need is a server running Apache and FTP access to the folder you'd like use.
* Download and unzip. * Download and unzip.
* Open the `/themes` folder and - from the theme you'd like to use - copy the `htaccess.txt` file and `/style` folder and drop them into the directory you'd like to use for your Apaxy listing. * Copy the contents of the `apaxy` folder (`htaccess.txt` and `/theme`) in to a folder on your server you're going to use as the listing directory.
* Open the `htaccess.txt` in the main folder and do a search and replace, substituting `{FOLDERNAME}` with the name of your Apaxy listing folder. * Rename `htaccess.txt` to `.htaccess` in both the main and `/theme` folder.
* Rename `htaccess.txt` to `.htaccess` in both the main and `/style` folder.
* [Treat yo'self](http://25.media.tumblr.com/tumblr_lw7q28y0Mz1qanm80o1_500.gif), you're done. * [Treat yo'self](http://25.media.tumblr.com/tumblr_lw7q28y0Mz1qanm80o1_500.gif), you're done.
##Apaxy themes ##Apaxy themes
Don't like the default Apaxy theme? Not to worry, you can make your own. Apaxy comes with a pretty good looking theme, but if you'd like to edit it to suit your own style that's easy enough.
Copy the `/themes/apaxy` folder and use it as a template for your own theme. Look in the `/theme` folder and you'll find the following files:
The files used to generate a theme can be found in the `/style` directory:
* `header.html` * `header.html`
* `footer.html` * `footer.html`
* `style.css` * `style.css`
Sadly not much can be done to alter the `<table>` structure, but that's about the only limiting factor. Go nuts. Sadly not much can be done to alter the `<table>` structure.
To add in your own icons, you'll need to edit the `.htaccess` file in the _main_ directory. Adding your own icons is a little more involved. You'll need to edit the `.htaccess` file in your main directory. Look for the following as an example:
AddIcon /{FOLDERNAME}/style/icons/gif.png .gif AddIcon /{your_folder}/theme/icons/gif.png .gif
The above rule will assign an icon named `gif.png` from the directory `/{dir folder}/style/icons/` to any file with the `.gif` extension. The above rule will assign an icon named `gif.png` from the directory `/{your_folder}/theme/icons/` to any file with the `.gif` extension.
##Mime Types ##Mime Types