From d7d031b69f7dfa958d38e96e5ace4b2db023dade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 12 May 2019 15:27:47 +0200 Subject: Move Apache theme to pkgs --- pkgs/webapps/apache-theme/default.nix | 86 +++++++++++ pkgs/webapps/apache-theme/theme/.htaccess | 9 ++ pkgs/webapps/apache-theme/theme/footer.html | 31 ++++ pkgs/webapps/apache-theme/theme/header.html | 3 + pkgs/webapps/apache-theme/theme/icons/archive.png | Bin 0 -> 551 bytes pkgs/webapps/apache-theme/theme/icons/audio.png | Bin 0 -> 554 bytes pkgs/webapps/apache-theme/theme/icons/authors.png | Bin 0 -> 492 bytes pkgs/webapps/apache-theme/theme/icons/bin.png | Bin 0 -> 551 bytes pkgs/webapps/apache-theme/theme/icons/blank.png | Bin 0 -> 227 bytes pkgs/webapps/apache-theme/theme/icons/bmp.png | Bin 0 -> 663 bytes pkgs/webapps/apache-theme/theme/icons/c.png | Bin 0 -> 554 bytes pkgs/webapps/apache-theme/theme/icons/calc.png | Bin 0 -> 506 bytes pkgs/webapps/apache-theme/theme/icons/cd.png | Bin 0 -> 757 bytes pkgs/webapps/apache-theme/theme/icons/copying.png | Bin 0 -> 699 bytes pkgs/webapps/apache-theme/theme/icons/cpp.png | Bin 0 -> 599 bytes pkgs/webapps/apache-theme/theme/icons/css.png | Bin 0 -> 592 bytes pkgs/webapps/apache-theme/theme/icons/deb.png | Bin 0 -> 671 bytes pkgs/webapps/apache-theme/theme/icons/default.png | Bin 0 -> 311 bytes pkgs/webapps/apache-theme/theme/icons/diff.png | Bin 0 -> 586 bytes pkgs/webapps/apache-theme/theme/icons/doc.png | Bin 0 -> 535 bytes pkgs/webapps/apache-theme/theme/icons/draw.png | Bin 0 -> 679 bytes pkgs/webapps/apache-theme/theme/icons/eps.png | Bin 0 -> 619 bytes pkgs/webapps/apache-theme/theme/icons/exe.png | Bin 0 -> 846 bytes .../apache-theme/theme/icons/folder-home.png | Bin 0 -> 618 bytes .../apache-theme/theme/icons/folder-open.png | Bin 0 -> 431 bytes .../apache-theme/theme/icons/folder-page.png | Bin 0 -> 591 bytes .../apache-theme/theme/icons/folder-parent-old.png | Bin 0 -> 494 bytes .../apache-theme/theme/icons/folder-parent.png | Bin 0 -> 621 bytes pkgs/webapps/apache-theme/theme/icons/folder.png | Bin 0 -> 395 bytes pkgs/webapps/apache-theme/theme/icons/gif.png | Bin 0 -> 655 bytes pkgs/webapps/apache-theme/theme/icons/gzip.png | Bin 0 -> 551 bytes pkgs/webapps/apache-theme/theme/icons/h.png | Bin 0 -> 504 bytes pkgs/webapps/apache-theme/theme/icons/hpp.png | Bin 0 -> 530 bytes pkgs/webapps/apache-theme/theme/icons/html.png | Bin 0 -> 770 bytes pkgs/webapps/apache-theme/theme/icons/ico.png | Bin 0 -> 792 bytes pkgs/webapps/apache-theme/theme/icons/image.png | Bin 0 -> 671 bytes pkgs/webapps/apache-theme/theme/icons/install.png | Bin 0 -> 788 bytes pkgs/webapps/apache-theme/theme/icons/java.png | Bin 0 -> 658 bytes pkgs/webapps/apache-theme/theme/icons/jpg.png | Bin 0 -> 675 bytes pkgs/webapps/apache-theme/theme/icons/js.png | Bin 0 -> 540 bytes pkgs/webapps/apache-theme/theme/icons/json.png | Bin 0 -> 540 bytes pkgs/webapps/apache-theme/theme/icons/log.png | Bin 0 -> 423 bytes pkgs/webapps/apache-theme/theme/icons/makefile.png | Bin 0 -> 614 bytes pkgs/webapps/apache-theme/theme/icons/markdown.png | Bin 0 -> 627 bytes pkgs/webapps/apache-theme/theme/icons/package.png | Bin 0 -> 614 bytes pkgs/webapps/apache-theme/theme/icons/pdf.png | Bin 0 -> 799 bytes pkgs/webapps/apache-theme/theme/icons/php.png | Bin 0 -> 757 bytes pkgs/webapps/apache-theme/theme/icons/playlist.png | Bin 0 -> 610 bytes pkgs/webapps/apache-theme/theme/icons/png.png | Bin 0 -> 679 bytes pkgs/webapps/apache-theme/theme/icons/pres.png | Bin 0 -> 629 bytes pkgs/webapps/apache-theme/theme/icons/ps.png | Bin 0 -> 817 bytes pkgs/webapps/apache-theme/theme/icons/psd.png | Bin 0 -> 622 bytes pkgs/webapps/apache-theme/theme/icons/py.png | Bin 0 -> 743 bytes pkgs/webapps/apache-theme/theme/icons/rar.png | Bin 0 -> 621 bytes pkgs/webapps/apache-theme/theme/icons/rb.png | Bin 0 -> 781 bytes pkgs/webapps/apache-theme/theme/icons/readme.png | Bin 0 -> 384 bytes pkgs/webapps/apache-theme/theme/icons/rpm.png | Bin 0 -> 660 bytes pkgs/webapps/apache-theme/theme/icons/rss.png | Bin 0 -> 660 bytes pkgs/webapps/apache-theme/theme/icons/rtf.png | Bin 0 -> 627 bytes pkgs/webapps/apache-theme/theme/icons/script.png | Bin 0 -> 613 bytes pkgs/webapps/apache-theme/theme/icons/source.png | Bin 0 -> 586 bytes pkgs/webapps/apache-theme/theme/icons/sql.png | Bin 0 -> 510 bytes pkgs/webapps/apache-theme/theme/icons/tar.png | Bin 0 -> 406 bytes pkgs/webapps/apache-theme/theme/icons/tex.png | Bin 0 -> 677 bytes pkgs/webapps/apache-theme/theme/icons/text.png | Bin 0 -> 463 bytes pkgs/webapps/apache-theme/theme/icons/tiff.png | Bin 0 -> 654 bytes pkgs/webapps/apache-theme/theme/icons/unknown.png | Bin 0 -> 556 bytes pkgs/webapps/apache-theme/theme/icons/vcal.png | Bin 0 -> 556 bytes pkgs/webapps/apache-theme/theme/icons/video.png | Bin 0 -> 739 bytes pkgs/webapps/apache-theme/theme/icons/xml.png | Bin 0 -> 585 bytes pkgs/webapps/apache-theme/theme/icons/zip.png | Bin 0 -> 617 bytes pkgs/webapps/apache-theme/theme/style.css | 160 +++++++++++++++++++++ pkgs/webapps/default.nix | 1 + 73 files changed, 290 insertions(+) create mode 100644 pkgs/webapps/apache-theme/default.nix create mode 100644 pkgs/webapps/apache-theme/theme/.htaccess create mode 100644 pkgs/webapps/apache-theme/theme/footer.html create mode 100644 pkgs/webapps/apache-theme/theme/header.html create mode 100644 pkgs/webapps/apache-theme/theme/icons/archive.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/audio.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/authors.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/bin.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/blank.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/bmp.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/c.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/calc.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/cd.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/copying.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/cpp.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/css.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/deb.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/default.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/diff.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/doc.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/draw.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/eps.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/exe.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/folder-home.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/folder-open.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/folder-page.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/folder-parent-old.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/folder-parent.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/folder.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/gif.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/gzip.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/h.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/hpp.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/html.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/ico.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/image.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/install.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/java.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/jpg.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/js.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/json.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/log.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/makefile.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/markdown.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/package.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/pdf.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/php.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/playlist.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/png.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/pres.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/ps.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/psd.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/py.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/rar.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/rb.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/readme.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/rpm.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/rss.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/rtf.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/script.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/source.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/sql.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/tar.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/tex.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/text.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/tiff.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/unknown.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/vcal.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/video.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/xml.png create mode 100644 pkgs/webapps/apache-theme/theme/icons/zip.png create mode 100644 pkgs/webapps/apache-theme/theme/style.css (limited to 'pkgs') diff --git a/pkgs/webapps/apache-theme/default.nix b/pkgs/webapps/apache-theme/default.nix new file mode 100644 index 0000000..b679afe --- /dev/null +++ b/pkgs/webapps/apache-theme/default.nix @@ -0,0 +1,86 @@ +{ theme_root ? null }: +rec { + theme = ./theme; + apacheConfig = '' + + Alias /theme ${if isNull theme_root then theme else theme_root} + + Options -Indexes + AllowOverride None + Require all granted + + + # mod_autoindex + + Options Indexes + AllowOverride None + Require all granted + + # Inspired from Apaxy by @adamwhitcroft + + IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* +IconsAreLinks +ShowForbidden + + IndexHeadInsert "" + + IndexIgnoreReset ON + IndexIgnore /theme .htaccess %{ignored} + + AddIcon /theme/icons/blank.png ^^BLANKICON^^ + AddIcon /theme/icons/folder.png ^^DIRECTORY^^ + AddIcon /theme/icons/folder-home.png .. + + AddIconByType (TXT,/theme/icons/text.png) text/* + AddIconByType (IMG,/theme/icons/image.png) image/* + AddIconByType (SND,/theme/icons/audio.png) audio/* + AddIconByType (VID,/theme/icons/video.png) video/* + + AddIcon /theme/icons/archive.png .7z .bz2 .cab .gz .tar + AddIcon /theme/icons/audio.png .aac .aif .aifc .aiff .ape .au .flac .iff .m4a .mid .mp3 .mpa .ra .wav .wma .f4a .f4b .oga .ogg .xm .it .s3m .mod + AddIcon /theme/icons/bin.png .bin .hex + AddIcon /theme/icons/bmp.png .bmp + AddIcon /theme/icons/c.png .c + AddIcon /theme/icons/calc.png .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv + AddIcon /theme/icons/cd.png .iso + AddIcon /theme/icons/cpp.png .cpp + AddIcon /theme/icons/css.png .css .sass .scss + AddIcon /theme/icons/deb.png .deb + AddIcon /theme/icons/doc.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps + AddIcon /theme/icons/draw.png .svg .svgz + AddIcon /theme/icons/eps.png .ai .eps + AddIcon /theme/icons/exe.png .exe + AddIcon /theme/icons/gif.png .gif + AddIcon /theme/icons/h.png .h + AddIcon /theme/icons/html.png .html .xhtml .shtml .htm .URL .url + AddIcon /theme/icons/ico.png .ico + AddIcon /theme/icons/java.png .jar + AddIcon /theme/icons/jpg.png .jpg .jpeg .jpe + AddIcon /theme/icons/js.png .js .json + AddIcon /theme/icons/markdown.png .md + AddIcon /theme/icons/package.png .pkg .dmg + AddIcon /theme/icons/pdf.png .pdf + AddIcon /theme/icons/php.png .php .phtml + AddIcon /theme/icons/playlist.png .m3u .m3u8 .pls .pls8 + AddIcon /theme/icons/png.png .png + AddIcon /theme/icons/ps.png .ps + AddIcon /theme/icons/psd.png .psd + AddIcon /theme/icons/py.png .py + AddIcon /theme/icons/rar.png .rar + AddIcon /theme/icons/rb.png .rb + AddIcon /theme/icons/rpm.png .rpm + AddIcon /theme/icons/rss.png .rss + AddIcon /theme/icons/script.png .bat .cmd .sh + AddIcon /theme/icons/sql.png .sql + AddIcon /theme/icons/tiff.png .tiff .tif + AddIcon /theme/icons/text.png .txt .nfo + AddIcon /theme/icons/video.png .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv + AddIcon /theme/icons/xml.png .xml + AddIcon /theme/icons/zip.png .zip + DefaultIcon /theme/icons/default.png + + HeaderName /theme/header.html + ReadmeName /theme/footer.html + IndexStyleSheet /theme/style.css + + + ''; +} diff --git a/pkgs/webapps/apache-theme/theme/.htaccess b/pkgs/webapps/apache-theme/theme/.htaccess new file mode 100644 index 0000000..f9e5472 --- /dev/null +++ b/pkgs/webapps/apache-theme/theme/.htaccess @@ -0,0 +1,9 @@ +# +# Apaxy by @adamwhitcroft +# +# For a full breakdown of the mod_autoindex module +# http://apache.org/docs/2.2/mod/mod_autoindex.html +# + +# Don't index this folder +Options -Indexes diff --git a/pkgs/webapps/apache-theme/theme/footer.html b/pkgs/webapps/apache-theme/theme/footer.html new file mode 100644 index 0000000..57a2012 --- /dev/null +++ b/pkgs/webapps/apache-theme/theme/footer.html @@ -0,0 +1,31 @@ + + + diff --git a/pkgs/webapps/apache-theme/theme/header.html b/pkgs/webapps/apache-theme/theme/header.html new file mode 100644 index 0000000..cbded6a --- /dev/null +++ b/pkgs/webapps/apache-theme/theme/header.html @@ -0,0 +1,3 @@ +
+

+ diff --git a/pkgs/webapps/apache-theme/theme/icons/archive.png b/pkgs/webapps/apache-theme/theme/icons/archive.png new file mode 100644 index 0000000..99ae6fc Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/archive.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/audio.png b/pkgs/webapps/apache-theme/theme/icons/audio.png new file mode 100644 index 0000000..a67618d Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/audio.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/authors.png b/pkgs/webapps/apache-theme/theme/icons/authors.png new file mode 100644 index 0000000..78bf784 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/authors.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/bin.png b/pkgs/webapps/apache-theme/theme/icons/bin.png new file mode 100644 index 0000000..ec2220b Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/bin.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/blank.png b/pkgs/webapps/apache-theme/theme/icons/blank.png new file mode 100644 index 0000000..bef1f60 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/blank.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/bmp.png b/pkgs/webapps/apache-theme/theme/icons/bmp.png new file mode 100644 index 0000000..c6f3044 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/bmp.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/c.png b/pkgs/webapps/apache-theme/theme/icons/c.png new file mode 100644 index 0000000..12adaa3 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/c.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/calc.png b/pkgs/webapps/apache-theme/theme/icons/calc.png new file mode 100644 index 0000000..a034367 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/calc.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/cd.png b/pkgs/webapps/apache-theme/theme/icons/cd.png new file mode 100644 index 0000000..3a3ffbb Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/cd.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/copying.png b/pkgs/webapps/apache-theme/theme/icons/copying.png new file mode 100644 index 0000000..83fa06e Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/copying.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/cpp.png b/pkgs/webapps/apache-theme/theme/icons/cpp.png new file mode 100644 index 0000000..47e8b1e Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/cpp.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/css.png b/pkgs/webapps/apache-theme/theme/icons/css.png new file mode 100644 index 0000000..15f7695 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/css.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/deb.png b/pkgs/webapps/apache-theme/theme/icons/deb.png new file mode 100644 index 0000000..1b12d29 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/deb.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/default.png b/pkgs/webapps/apache-theme/theme/icons/default.png new file mode 100644 index 0000000..6997229 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/default.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/diff.png b/pkgs/webapps/apache-theme/theme/icons/diff.png new file mode 100644 index 0000000..5bef920 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/diff.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/doc.png b/pkgs/webapps/apache-theme/theme/icons/doc.png new file mode 100644 index 0000000..5732f9b Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/doc.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/draw.png b/pkgs/webapps/apache-theme/theme/icons/draw.png new file mode 100644 index 0000000..8f1da5c Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/draw.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/eps.png b/pkgs/webapps/apache-theme/theme/icons/eps.png new file mode 100644 index 0000000..93736bb Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/eps.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/exe.png b/pkgs/webapps/apache-theme/theme/icons/exe.png new file mode 100644 index 0000000..31299b7 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/exe.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/folder-home.png b/pkgs/webapps/apache-theme/theme/icons/folder-home.png new file mode 100644 index 0000000..14fe20a Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/folder-home.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/folder-open.png b/pkgs/webapps/apache-theme/theme/icons/folder-open.png new file mode 100644 index 0000000..2aa5cc7 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/folder-open.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/folder-page.png b/pkgs/webapps/apache-theme/theme/icons/folder-page.png new file mode 100644 index 0000000..604f9ad Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/folder-page.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/folder-parent-old.png b/pkgs/webapps/apache-theme/theme/icons/folder-parent-old.png new file mode 100644 index 0000000..b82d7a9 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/folder-parent-old.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/folder-parent.png b/pkgs/webapps/apache-theme/theme/icons/folder-parent.png new file mode 100644 index 0000000..3c964f1 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/folder-parent.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/folder.png b/pkgs/webapps/apache-theme/theme/icons/folder.png new file mode 100644 index 0000000..7c613e0 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/folder.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/gif.png b/pkgs/webapps/apache-theme/theme/icons/gif.png new file mode 100644 index 0000000..01a2f2a Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/gif.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/gzip.png b/pkgs/webapps/apache-theme/theme/icons/gzip.png new file mode 100644 index 0000000..99ae6fc Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/gzip.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/h.png b/pkgs/webapps/apache-theme/theme/icons/h.png new file mode 100644 index 0000000..d3c7a9c Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/h.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/hpp.png b/pkgs/webapps/apache-theme/theme/icons/hpp.png new file mode 100644 index 0000000..e5e52e2 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/hpp.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/html.png b/pkgs/webapps/apache-theme/theme/icons/html.png new file mode 100644 index 0000000..2f94a78 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/html.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/ico.png b/pkgs/webapps/apache-theme/theme/icons/ico.png new file mode 100644 index 0000000..82227e8 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/ico.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/image.png b/pkgs/webapps/apache-theme/theme/icons/image.png new file mode 100644 index 0000000..add1c59 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/image.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/install.png b/pkgs/webapps/apache-theme/theme/icons/install.png new file mode 100644 index 0000000..0a9c036 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/install.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/java.png b/pkgs/webapps/apache-theme/theme/icons/java.png new file mode 100644 index 0000000..63b8683 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/java.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/jpg.png b/pkgs/webapps/apache-theme/theme/icons/jpg.png new file mode 100644 index 0000000..a50c99b Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/jpg.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/js.png b/pkgs/webapps/apache-theme/theme/icons/js.png new file mode 100644 index 0000000..af1a475 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/js.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/json.png b/pkgs/webapps/apache-theme/theme/icons/json.png new file mode 100644 index 0000000..af1a475 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/json.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/log.png b/pkgs/webapps/apache-theme/theme/icons/log.png new file mode 100644 index 0000000..02f1b9a Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/log.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/makefile.png b/pkgs/webapps/apache-theme/theme/icons/makefile.png new file mode 100644 index 0000000..f99ea4c Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/makefile.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/markdown.png b/pkgs/webapps/apache-theme/theme/icons/markdown.png new file mode 100644 index 0000000..25c8373 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/markdown.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/package.png b/pkgs/webapps/apache-theme/theme/icons/package.png new file mode 100644 index 0000000..fb1343e Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/package.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/pdf.png b/pkgs/webapps/apache-theme/theme/icons/pdf.png new file mode 100644 index 0000000..7408d8d Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/pdf.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/php.png b/pkgs/webapps/apache-theme/theme/icons/php.png new file mode 100644 index 0000000..22c4df6 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/php.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/playlist.png b/pkgs/webapps/apache-theme/theme/icons/playlist.png new file mode 100644 index 0000000..8d6f281 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/playlist.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/png.png b/pkgs/webapps/apache-theme/theme/icons/png.png new file mode 100644 index 0000000..1fe1ec4 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/png.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/pres.png b/pkgs/webapps/apache-theme/theme/icons/pres.png new file mode 100644 index 0000000..db195e9 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/pres.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/ps.png b/pkgs/webapps/apache-theme/theme/icons/ps.png new file mode 100644 index 0000000..05f3ed9 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/ps.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/psd.png b/pkgs/webapps/apache-theme/theme/icons/psd.png new file mode 100644 index 0000000..62718ee Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/psd.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/py.png b/pkgs/webapps/apache-theme/theme/icons/py.png new file mode 100644 index 0000000..0aaffd1 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/py.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/rar.png b/pkgs/webapps/apache-theme/theme/icons/rar.png new file mode 100644 index 0000000..8a0ff54 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/rar.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/rb.png b/pkgs/webapps/apache-theme/theme/icons/rb.png new file mode 100644 index 0000000..c7db42f Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/rb.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/readme.png b/pkgs/webapps/apache-theme/theme/icons/readme.png new file mode 100644 index 0000000..3ae48cd Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/readme.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/rpm.png b/pkgs/webapps/apache-theme/theme/icons/rpm.png new file mode 100644 index 0000000..64699ac Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/rpm.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/rss.png b/pkgs/webapps/apache-theme/theme/icons/rss.png new file mode 100644 index 0000000..a1130a1 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/rss.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/rtf.png b/pkgs/webapps/apache-theme/theme/icons/rtf.png new file mode 100644 index 0000000..25c8373 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/rtf.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/script.png b/pkgs/webapps/apache-theme/theme/icons/script.png new file mode 100644 index 0000000..1099b5f Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/script.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/source.png b/pkgs/webapps/apache-theme/theme/icons/source.png new file mode 100644 index 0000000..5bef920 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/source.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/sql.png b/pkgs/webapps/apache-theme/theme/icons/sql.png new file mode 100644 index 0000000..b3b1467 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/sql.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/tar.png b/pkgs/webapps/apache-theme/theme/icons/tar.png new file mode 100644 index 0000000..bab3b6a Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/tar.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/tex.png b/pkgs/webapps/apache-theme/theme/icons/tex.png new file mode 100644 index 0000000..1487b25 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/tex.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/text.png b/pkgs/webapps/apache-theme/theme/icons/text.png new file mode 100644 index 0000000..1d48677 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/text.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/tiff.png b/pkgs/webapps/apache-theme/theme/icons/tiff.png new file mode 100644 index 0000000..819e64c Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/tiff.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/unknown.png b/pkgs/webapps/apache-theme/theme/icons/unknown.png new file mode 100644 index 0000000..b1dcc3f Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/unknown.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/vcal.png b/pkgs/webapps/apache-theme/theme/icons/vcal.png new file mode 100644 index 0000000..3d81455 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/vcal.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/video.png b/pkgs/webapps/apache-theme/theme/icons/video.png new file mode 100644 index 0000000..f92f7e1 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/video.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/xml.png b/pkgs/webapps/apache-theme/theme/icons/xml.png new file mode 100644 index 0000000..83a83df Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/xml.png differ diff --git a/pkgs/webapps/apache-theme/theme/icons/zip.png b/pkgs/webapps/apache-theme/theme/icons/zip.png new file mode 100644 index 0000000..cc196c1 Binary files /dev/null and b/pkgs/webapps/apache-theme/theme/icons/zip.png differ diff --git a/pkgs/webapps/apache-theme/theme/style.css b/pkgs/webapps/apache-theme/theme/style.css new file mode 100644 index 0000000..4d25c9f --- /dev/null +++ b/pkgs/webapps/apache-theme/theme/style.css @@ -0,0 +1,160 @@ +/*------------------------------------*\ + Apaxy + by @adamwhitcroft + + Theme name: Apaxy + Theme author: @adamwhitcroft +\*------------------------------------*/ +@import url('//fonts.googleapis.com/css?family=Open+Sans'); +/* Have to use @import for the font, as you can only specify a single stylesheet */ +* { + margin:0; + padding:0; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing: border-box; +} + +html { + min-height:100%; + border-top:10px solid #ECEEF1; + border-bottom:10px solid #ECEEF1; + color:#61666c; + font-weight:400; + font-size:1em; + font-family:'Open Sans', sans-serif; + line-height:2em; +} +body { + padding:20px; + -webkit-backface-visibility:hidden; +} +code { + font-family:consolas,monospace; +} +a { + color:#61666c; + text-decoration:none; +} +a, img { + border:none; + outline:none +} +a:hover { + color:#2a2a2a; +} +/*------------------------------------*\ + Wrapper +\*------------------------------------*/ +.wrapper { + margin:0 auto; + padding-top:20px; + max-width:80%; +} +/*------------------------------------*\ + Demo block +\*------------------------------------*/ +.block { + font-size:.875em; + margin:20px 0; + padding:20px; + color:#9099A3; +} +/*------------------------------------*\ + Table (directory listing) +\*------------------------------------*/ +table { + width:100%; + border-collapse:collapse; + font-size:.875em; +} +tr { + outline:0; + border:0; +} +tr:hover td { + background:#f6f6f6; +} +th { + text-align:left; + font-size:.75em; + padding-right:20px; +} +/* 2nd Column: Filename */ +th + th { + width:65%; +} +/* 3rd Column: Last Modified */ +th + th + th { +} +/* 4th Column: Size */ +th + th + th + th { + width:5%; +} +tr td:first-of-type { + padding-left:10px; + padding-right:10px; +} +td { + padding:5px 0; + outline:0; + border:0; + border-bottom:1px solid #edf1f5; + vertical-align:middle; + text-align:left; + -webkit-transition:background 300ms ease; + -moz-transition:background 300ms ease; + -ms-transition:background 300ms ease; + -o-transition:background 300ms ease; + transition:background 300ms ease; +} +td a{ + display: block; +} +tr.parent a[href^="/"] { + color:#9099A3; +} + .parent a[href^="/"]:hover { + color:#2281d0; + } +/*------------------------------------*\ + Footer +\*------------------------------------*/ +.footer { + text-align:center; + font-size:.75em; +} + +h1#pagetitle { + text-align: center; +} +tr.parent a[href="/"]{ + display: none; +} + +tr.indexhead { + visibility: hidden; +} + +th.indexcollastmod, td.indexcollastmod, th.indexcolsize, td.indexcolsize { + visibility: hidden; +} + +.instructions a { + text-decoration: underline; +} + +.instructions h2 { + margin-top: 10px; +} +.instructions em.important:before { + content: "⚠ Important ⚠ "; + color: red; +} +.instructions pre { + width: 50em; + padding: 10px 15px; + display: table; + border: 1px inset black; + line-height: 1em; +} diff --git a/pkgs/webapps/default.nix b/pkgs/webapps/default.nix index 229609f..8151b8d 100644 --- a/pkgs/webapps/default.nix +++ b/pkgs/webapps/default.nix @@ -1,6 +1,7 @@ { callPackage, mylibs, composerEnv, lib }: rec { adminer = callPackage ./adminer {}; + apache-theme = callPackage ./apache-theme {}; awl = callPackage ./awl {}; davical = callPackage ./davical {}; diaspora = callPackage ./diaspora { inherit mylibs; }; -- cgit v1.2.3