1 Star 0 Fork 0

China-YY / Nginx-Fancyindex-Theme-1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

NGINX FancyIndex Theme

A prettier theme for nginx' fancyindex module. Further details about this excellent module can be found at the dev's github page.

####NOTE: NGX-FANCYINDEX truncates the file name to 50 characters subtracts 3 and then appends a "..>" to the truncated name. This can be fixed by recompiling NGX-FANCYINDEX after changing line 55 of "ngx_http_fancyindex_module.c":

From:

#define NGX_HTTP_FANCYINDEX_NAME_LEN 50

To:

#define NGX_HTTP_FANCYINDEX_NAME_LEN 500 (or some other number greater than 50)

#####Usage:

  • Compile nginx with the fancyindex module.
  • Include the contents of 'fancyindex.conf' in your location directive of your nginx conf.
  • copy the remaining items in your web root under 'fancyindex'.
  • header.html
  • footer.html
  • css\fancyindex.css
  • fonts\*
  • images\breadcrumb.png
  • Restart your nginx server.

#####Added/Modified:

  • Mime type icons from Splitbrain
  • Icons default to enabled on large devices and off on small devices like phones.
  • If you'd prefer no icons at all: copy css\fancyindex_NoIcons.css css\fancyindex.css
  • Slightly better handling of mobile CSS click areas.
  • Added HTML5 History for quicker page transitions.
  • This can be disabled by commenting out the script tag in footer.html
  • Fixed CSS issues on older versions of FF

#####Addendums:

  • If you want your 'Parent Directory/' listing back in your file listings:
  • Read: This Issue

Image1

Image1

Image1

空文件

简介

Theme for Nginx' fancyindex module 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/china-yy/Nginx-Fancyindex-Theme-1.git
git@gitee.com:china-yy/Nginx-Fancyindex-Theme-1.git
china-yy
Nginx-Fancyindex-Theme-1
Nginx-Fancyindex-Theme-1
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891