Commit Graph

10 Commits (3d1c14f162f2939bbd842f81b6bcb2291e0f6929)

Author SHA1 Message Date
Adrian Perez 4b19f3a73f Add fancyindex_css_href configuration option
This allows for inserting a <link> tag in the generated listings pointing to
an additional CSS stylesheet, which will be applied by the browser after the
built-in rules. This allows for super-easy customization of the output look.
2010-06-10 16:56:31 +02:00
Adrian Perez 224db63c53 Save some bytes removing things in the template
* Removed the 'media="screen"', because it is unlikely that an user would
  like to print a file listing.

* Removed unused "#readme" rule in the CSS part. Support for inlining a file
  was discontinued long ago.
2010-06-10 14:52:23 +02:00
Adrian Perez 30337efcb3 Removed half-implemented readme_* directives (#1) 2008-09-11 19:55:52 +02:00
Adrian Perez 2f429b796b - Updated documentation.
- Fixed XHTML 1.0 validation by enclosing JS code into a CDATA section.
2007-09-13 23:40:40 +02:00
Adrian Perez 7e156ff58d - Implemented seperate functions to create header/footer buffers.
- Simplified template.html and make code work with new template. Some vars
  were uneeded.
- Added buffer chain debug macro in module header.
2007-09-11 13:52:53 +02:00
Adrian Perez 0101fd77a1 - Removed unused macro nfi_conf_path_set.
- Fixed flags for the readme mode, now they are disjoint. This fixed some
  other related things.
- Renamed fancyindex_readme_options to fancyindex_readme_mode (shorter
  and clearer, IMHO)
- Renamed fancyindex_mode to fancyindex_include_mode (clearer).
- Checks for bottom/top readme are now properly done.
- Fix: Initialization of readme_flags now is zero instead of NGX_CONF_UNSET.
- Improved iteration of builtin template.
2007-08-30 18:13:05 +02:00
Adrian Perez 855adc70eb - It is ALIVE. 2007-08-30 14:29:41 +02:00
Adrian Perez 059d4a8811 - Fixed substitution in Awk script: we were (erroneusly) stripping 'g'
characters.
- Updated template and C header which results after running the script.
2007-08-24 18:10:11 +02:00
Adrian Perez cf3c44193b Cierra el ticket #199 2007-08-24 14:07:53 +02:00
Adrian Perez 8d7357aa50 Closes #199 2007-08-24 13:47:59 +02:00