aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/webapps/apache-theme/default.nix86
-rw-r--r--pkgs/webapps/apache-theme/theme/.htaccess9
-rw-r--r--pkgs/webapps/apache-theme/theme/footer.html31
-rw-r--r--pkgs/webapps/apache-theme/theme/header.html3
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/archive.pngbin0 -> 551 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/audio.pngbin0 -> 554 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/authors.pngbin0 -> 492 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/bin.pngbin0 -> 551 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/blank.pngbin0 -> 227 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/bmp.pngbin0 -> 663 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/c.pngbin0 -> 554 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/calc.pngbin0 -> 506 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/cd.pngbin0 -> 757 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/copying.pngbin0 -> 699 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/cpp.pngbin0 -> 599 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/css.pngbin0 -> 592 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/deb.pngbin0 -> 671 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/default.pngbin0 -> 311 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/diff.pngbin0 -> 586 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/doc.pngbin0 -> 535 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/draw.pngbin0 -> 679 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/eps.pngbin0 -> 619 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/exe.pngbin0 -> 846 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/folder-home.pngbin0 -> 618 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/folder-open.pngbin0 -> 431 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/folder-page.pngbin0 -> 591 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/folder-parent-old.pngbin0 -> 494 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/folder-parent.pngbin0 -> 621 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/folder.pngbin0 -> 395 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/gif.pngbin0 -> 655 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/gzip.pngbin0 -> 551 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/h.pngbin0 -> 504 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/hpp.pngbin0 -> 530 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/html.pngbin0 -> 770 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/ico.pngbin0 -> 792 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/image.pngbin0 -> 671 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/install.pngbin0 -> 788 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/java.pngbin0 -> 658 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/jpg.pngbin0 -> 675 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/js.pngbin0 -> 540 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/json.pngbin0 -> 540 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/log.pngbin0 -> 423 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/makefile.pngbin0 -> 614 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/markdown.pngbin0 -> 627 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/package.pngbin0 -> 614 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/pdf.pngbin0 -> 799 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/php.pngbin0 -> 757 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/playlist.pngbin0 -> 610 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/png.pngbin0 -> 679 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/pres.pngbin0 -> 629 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/ps.pngbin0 -> 817 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/psd.pngbin0 -> 622 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/py.pngbin0 -> 743 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/rar.pngbin0 -> 621 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/rb.pngbin0 -> 781 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/readme.pngbin0 -> 384 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/rpm.pngbin0 -> 660 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/rss.pngbin0 -> 660 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/rtf.pngbin0 -> 627 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/script.pngbin0 -> 613 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/source.pngbin0 -> 586 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/sql.pngbin0 -> 510 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/tar.pngbin0 -> 406 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/tex.pngbin0 -> 677 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/text.pngbin0 -> 463 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/tiff.pngbin0 -> 654 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/unknown.pngbin0 -> 556 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/vcal.pngbin0 -> 556 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/video.pngbin0 -> 739 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/xml.pngbin0 -> 585 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/icons/zip.pngbin0 -> 617 bytes
-rw-r--r--pkgs/webapps/apache-theme/theme/style.css160
-rw-r--r--pkgs/webapps/default.nix1
73 files changed, 290 insertions, 0 deletions
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 @@
1{ theme_root ? null }:
2rec {
3 theme = ./theme;
4 apacheConfig = ''
5 <Macro Apaxy %{folder} %{ignored}>
6 Alias /theme ${if isNull theme_root then theme else theme_root}
7 <Directory ${if isNull theme_root then theme else theme_root}>
8 Options -Indexes
9 AllowOverride None
10 Require all granted
11 </Directory>
12
13 # mod_autoindex
14 <Directory %{folder}>
15 Options Indexes
16 AllowOverride None
17 Require all granted
18
19 # Inspired from Apaxy by @adamwhitcroft
20
21 IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* +IconsAreLinks +ShowForbidden
22
23 IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
24
25 IndexIgnoreReset ON
26 IndexIgnore /theme .htaccess %{ignored}
27
28 AddIcon /theme/icons/blank.png ^^BLANKICON^^
29 AddIcon /theme/icons/folder.png ^^DIRECTORY^^
30 AddIcon /theme/icons/folder-home.png ..
31
32 AddIconByType (TXT,/theme/icons/text.png) text/*
33 AddIconByType (IMG,/theme/icons/image.png) image/*
34 AddIconByType (SND,/theme/icons/audio.png) audio/*
35 AddIconByType (VID,/theme/icons/video.png) video/*
36
37 AddIcon /theme/icons/archive.png .7z .bz2 .cab .gz .tar
38 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
39 AddIcon /theme/icons/bin.png .bin .hex
40 AddIcon /theme/icons/bmp.png .bmp
41 AddIcon /theme/icons/c.png .c
42 AddIcon /theme/icons/calc.png .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv
43 AddIcon /theme/icons/cd.png .iso
44 AddIcon /theme/icons/cpp.png .cpp
45 AddIcon /theme/icons/css.png .css .sass .scss
46 AddIcon /theme/icons/deb.png .deb
47 AddIcon /theme/icons/doc.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
48 AddIcon /theme/icons/draw.png .svg .svgz
49 AddIcon /theme/icons/eps.png .ai .eps
50 AddIcon /theme/icons/exe.png .exe
51 AddIcon /theme/icons/gif.png .gif
52 AddIcon /theme/icons/h.png .h
53 AddIcon /theme/icons/html.png .html .xhtml .shtml .htm .URL .url
54 AddIcon /theme/icons/ico.png .ico
55 AddIcon /theme/icons/java.png .jar
56 AddIcon /theme/icons/jpg.png .jpg .jpeg .jpe
57 AddIcon /theme/icons/js.png .js .json
58 AddIcon /theme/icons/markdown.png .md
59 AddIcon /theme/icons/package.png .pkg .dmg
60 AddIcon /theme/icons/pdf.png .pdf
61 AddIcon /theme/icons/php.png .php .phtml
62 AddIcon /theme/icons/playlist.png .m3u .m3u8 .pls .pls8
63 AddIcon /theme/icons/png.png .png
64 AddIcon /theme/icons/ps.png .ps
65 AddIcon /theme/icons/psd.png .psd
66 AddIcon /theme/icons/py.png .py
67 AddIcon /theme/icons/rar.png .rar
68 AddIcon /theme/icons/rb.png .rb
69 AddIcon /theme/icons/rpm.png .rpm
70 AddIcon /theme/icons/rss.png .rss
71 AddIcon /theme/icons/script.png .bat .cmd .sh
72 AddIcon /theme/icons/sql.png .sql
73 AddIcon /theme/icons/tiff.png .tiff .tif
74 AddIcon /theme/icons/text.png .txt .nfo
75 AddIcon /theme/icons/video.png .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv
76 AddIcon /theme/icons/xml.png .xml
77 AddIcon /theme/icons/zip.png .zip
78 DefaultIcon /theme/icons/default.png
79
80 HeaderName /theme/header.html
81 ReadmeName /theme/footer.html
82 IndexStyleSheet /theme/style.css
83 </Directory>
84 </Macro>
85 '';
86}
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 @@
1#
2# Apaxy by @adamwhitcroft
3#
4# For a full breakdown of the mod_autoindex module
5# http://apache.org/docs/2.2/mod/mod_autoindex.html
6#
7
8# Don't index this folder
9Options -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 @@
1</div><!--/.wrapper-->
2
3<script type="text/javascript">
4// grab the 2nd child and add the parent class. tr:nth-child(2)
5document.getElementsByTagName('tr')[1].className = 'parent';
6// fix links when not adding a / at the end of the URI
7var uri = window.location.pathname.substr(1);
8if (uri.length > 0 && uri.substring(uri.length-1) != '/'){
9 var indexes = document.getElementsByClassName('indexcolname'),
10 i = indexes.length;
11 while (i--){
12 var a = indexes[i].getElementsByTagName('a')[0];
13 a.href = '/' + uri + '/' + a.getAttribute('href',2);
14 }
15}
16
17function getAjax(url, success) {
18 var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
19 xhr.open('GET', url);
20 xhr.onreadystatechange = function() {
21 if (xhr.readyState>3 && xhr.status==200)
22 success(xhr.responseText);
23 };
24 xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
25 xhr.send();
26 return xhr;
27}
28getAjax("title", function(data) {
29 document.getElementById('pagetitle').innerHTML = data;
30});
31</script>
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 @@
1<div class="wrapper">
2 <h1 id="pagetitle"></h1>
3<!-- we open the `wrapper` element here, but close it in the `footer.html` file -->
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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/archive.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/audio.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/authors.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/bin.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/blank.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/bmp.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/c.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/calc.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/cd.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/copying.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/cpp.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/css.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/deb.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/default.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/diff.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/doc.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/draw.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/eps.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/exe.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/folder-home.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/folder-open.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/folder-page.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/folder-parent-old.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/folder-parent.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/folder.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/gif.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/gzip.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/h.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/hpp.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/html.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/ico.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/image.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/install.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/java.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/jpg.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/js.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/json.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/log.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/makefile.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/markdown.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/package.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/pdf.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/php.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/playlist.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/png.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/pres.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/ps.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/psd.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/py.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/rar.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/rb.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/readme.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/rpm.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/rss.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/rtf.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/script.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/source.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/sql.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/tar.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/tex.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/text.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/tiff.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/unknown.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/vcal.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/video.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/xml.png
Binary files 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
--- /dev/null
+++ b/pkgs/webapps/apache-theme/theme/icons/zip.png
Binary files 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 @@
1/*------------------------------------*\
2 Apaxy
3 by @adamwhitcroft
4
5 Theme name: Apaxy
6 Theme author: @adamwhitcroft
7\*------------------------------------*/
8@import url('//fonts.googleapis.com/css?family=Open+Sans');
9/* Have to use @import for the font, as you can only specify a single stylesheet */
10* {
11 margin:0;
12 padding:0;
13 -webkit-box-sizing:border-box;
14 -moz-box-sizing:border-box;
15 box-sizing: border-box;
16}
17
18html {
19 min-height:100%;
20 border-top:10px solid #ECEEF1;
21 border-bottom:10px solid #ECEEF1;
22 color:#61666c;
23 font-weight:400;
24 font-size:1em;
25 font-family:'Open Sans', sans-serif;
26 line-height:2em;
27}
28body {
29 padding:20px;
30 -webkit-backface-visibility:hidden;
31}
32code {
33 font-family:consolas,monospace;
34}
35a {
36 color:#61666c;
37 text-decoration:none;
38}
39a, img {
40 border:none;
41 outline:none
42}
43a:hover {
44 color:#2a2a2a;
45}
46/*------------------------------------*\
47 Wrapper
48\*------------------------------------*/
49.wrapper {
50 margin:0 auto;
51 padding-top:20px;
52 max-width:80%;
53}
54/*------------------------------------*\
55 Demo block
56\*------------------------------------*/
57.block {
58 font-size:.875em;
59 margin:20px 0;
60 padding:20px;
61 color:#9099A3;
62}
63/*------------------------------------*\
64 Table (directory listing)
65\*------------------------------------*/
66table {
67 width:100%;
68 border-collapse:collapse;
69 font-size:.875em;
70}
71tr {
72 outline:0;
73 border:0;
74}
75tr:hover td {
76 background:#f6f6f6;
77}
78th {
79 text-align:left;
80 font-size:.75em;
81 padding-right:20px;
82}
83/* 2nd Column: Filename */
84th + th {
85 width:65%;
86}
87/* 3rd Column: Last Modified */
88th + th + th {
89}
90/* 4th Column: Size */
91th + th + th + th {
92 width:5%;
93}
94tr td:first-of-type {
95 padding-left:10px;
96 padding-right:10px;
97}
98td {
99 padding:5px 0;
100 outline:0;
101 border:0;
102 border-bottom:1px solid #edf1f5;
103 vertical-align:middle;
104 text-align:left;
105 -webkit-transition:background 300ms ease;
106 -moz-transition:background 300ms ease;
107 -ms-transition:background 300ms ease;
108 -o-transition:background 300ms ease;
109 transition:background 300ms ease;
110}
111td a{
112 display: block;
113}
114tr.parent a[href^="/"] {
115 color:#9099A3;
116}
117 .parent a[href^="/"]:hover {
118 color:#2281d0;
119 }
120/*------------------------------------*\
121 Footer
122\*------------------------------------*/
123.footer {
124 text-align:center;
125 font-size:.75em;
126}
127
128h1#pagetitle {
129 text-align: center;
130}
131tr.parent a[href="/"]{
132 display: none;
133}
134
135tr.indexhead {
136 visibility: hidden;
137}
138
139th.indexcollastmod, td.indexcollastmod, th.indexcolsize, td.indexcolsize {
140 visibility: hidden;
141}
142
143.instructions a {
144 text-decoration: underline;
145}
146
147.instructions h2 {
148 margin-top: 10px;
149}
150.instructions em.important:before {
151 content: "⚠ Important ⚠ ";
152 color: red;
153}
154.instructions pre {
155 width: 50em;
156 padding: 10px 15px;
157 display: table;
158 border: 1px inset black;
159 line-height: 1em;
160}
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 @@
1{ callPackage, mylibs, composerEnv, lib }: 1{ callPackage, mylibs, composerEnv, lib }:
2rec { 2rec {
3 adminer = callPackage ./adminer {}; 3 adminer = callPackage ./adminer {};
4 apache-theme = callPackage ./apache-theme {};
4 awl = callPackage ./awl {}; 5 awl = callPackage ./awl {};
5 davical = callPackage ./davical {}; 6 davical = callPackage ./davical {};
6 diaspora = callPackage ./diaspora { inherit mylibs; }; 7 diaspora = callPackage ./diaspora { inherit mylibs; };