aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-12 15:27:47 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-12 17:40:04 +0200
commitd7d031b69f7dfa958d38e96e5ace4b2db023dade (patch)
tree1065a7c485f074196c25f2882c8707666bdcd4ac /nixops
parent2a5cde8d47d5c887067176555596cf8feb5c4d8b (diff)
downloadNix-d7d031b69f7dfa958d38e96e5ace4b2db023dade.tar.gz
Nix-d7d031b69f7dfa958d38e96e5ace4b2db023dade.tar.zst
Nix-d7d031b69f7dfa958d38e96e5ace4b2db023dade.zip
Move Apache theme to pkgs
Diffstat (limited to 'nixops')
-rw-r--r--nixops/modules/websites/apache/theme/.htaccess9
-rw-r--r--nixops/modules/websites/apache/theme/footer.html31
-rw-r--r--nixops/modules/websites/apache/theme/header.html3
-rw-r--r--nixops/modules/websites/apache/theme/icons/archive.pngbin551 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/audio.pngbin554 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/authors.pngbin492 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/bin.pngbin551 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/blank.pngbin227 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/bmp.pngbin663 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/c.pngbin554 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/calc.pngbin506 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/cd.pngbin757 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/copying.pngbin699 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/cpp.pngbin599 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/css.pngbin592 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/deb.pngbin671 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/default.pngbin311 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/diff.pngbin586 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/doc.pngbin535 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/draw.pngbin679 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/eps.pngbin619 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/exe.pngbin846 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/folder-home.pngbin618 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/folder-open.pngbin431 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/folder-page.pngbin591 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/folder-parent-old.pngbin494 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/folder-parent.pngbin621 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/folder.pngbin395 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/gif.pngbin655 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/gzip.pngbin551 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/h.pngbin504 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/hpp.pngbin530 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/html.pngbin770 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/ico.pngbin792 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/image.pngbin671 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/install.pngbin788 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/java.pngbin658 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/jpg.pngbin675 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/js.pngbin540 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/json.pngbin540 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/log.pngbin423 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/makefile.pngbin614 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/markdown.pngbin627 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/package.pngbin614 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/pdf.pngbin799 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/php.pngbin757 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/playlist.pngbin610 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/png.pngbin679 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/pres.pngbin629 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/ps.pngbin817 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/psd.pngbin622 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/py.pngbin743 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/rar.pngbin621 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/rb.pngbin781 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/readme.pngbin384 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/rpm.pngbin660 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/rss.pngbin660 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/rtf.pngbin627 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/script.pngbin613 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/source.pngbin586 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/sql.pngbin510 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/tar.pngbin406 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/tex.pngbin677 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/text.pngbin463 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/tiff.pngbin654 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/unknown.pngbin556 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/vcal.pngbin556 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/video.pngbin739 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/xml.pngbin585 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/icons/zip.pngbin617 -> 0 bytes
-rw-r--r--nixops/modules/websites/apache/theme/style.css160
-rw-r--r--nixops/modules/websites/default.nix85
72 files changed, 2 insertions, 286 deletions
diff --git a/nixops/modules/websites/apache/theme/.htaccess b/nixops/modules/websites/apache/theme/.htaccess
deleted file mode 100644
index f9e5472..0000000
--- a/nixops/modules/websites/apache/theme/.htaccess
+++ /dev/null
@@ -1,9 +0,0 @@
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/nixops/modules/websites/apache/theme/footer.html b/nixops/modules/websites/apache/theme/footer.html
deleted file mode 100644
index 57a2012..0000000
--- a/nixops/modules/websites/apache/theme/footer.html
+++ /dev/null
@@ -1,31 +0,0 @@
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/nixops/modules/websites/apache/theme/header.html b/nixops/modules/websites/apache/theme/header.html
deleted file mode 100644
index cbded6a..0000000
--- a/nixops/modules/websites/apache/theme/header.html
+++ /dev/null
@@ -1,3 +0,0 @@
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/nixops/modules/websites/apache/theme/icons/archive.png b/nixops/modules/websites/apache/theme/icons/archive.png
deleted file mode 100644
index 99ae6fc..0000000
--- a/nixops/modules/websites/apache/theme/icons/archive.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/audio.png b/nixops/modules/websites/apache/theme/icons/audio.png
deleted file mode 100644
index a67618d..0000000
--- a/nixops/modules/websites/apache/theme/icons/audio.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/authors.png b/nixops/modules/websites/apache/theme/icons/authors.png
deleted file mode 100644
index 78bf784..0000000
--- a/nixops/modules/websites/apache/theme/icons/authors.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/bin.png b/nixops/modules/websites/apache/theme/icons/bin.png
deleted file mode 100644
index ec2220b..0000000
--- a/nixops/modules/websites/apache/theme/icons/bin.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/blank.png b/nixops/modules/websites/apache/theme/icons/blank.png
deleted file mode 100644
index bef1f60..0000000
--- a/nixops/modules/websites/apache/theme/icons/blank.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/bmp.png b/nixops/modules/websites/apache/theme/icons/bmp.png
deleted file mode 100644
index c6f3044..0000000
--- a/nixops/modules/websites/apache/theme/icons/bmp.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/c.png b/nixops/modules/websites/apache/theme/icons/c.png
deleted file mode 100644
index 12adaa3..0000000
--- a/nixops/modules/websites/apache/theme/icons/c.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/calc.png b/nixops/modules/websites/apache/theme/icons/calc.png
deleted file mode 100644
index a034367..0000000
--- a/nixops/modules/websites/apache/theme/icons/calc.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/cd.png b/nixops/modules/websites/apache/theme/icons/cd.png
deleted file mode 100644
index 3a3ffbb..0000000
--- a/nixops/modules/websites/apache/theme/icons/cd.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/copying.png b/nixops/modules/websites/apache/theme/icons/copying.png
deleted file mode 100644
index 83fa06e..0000000
--- a/nixops/modules/websites/apache/theme/icons/copying.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/cpp.png b/nixops/modules/websites/apache/theme/icons/cpp.png
deleted file mode 100644
index 47e8b1e..0000000
--- a/nixops/modules/websites/apache/theme/icons/cpp.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/css.png b/nixops/modules/websites/apache/theme/icons/css.png
deleted file mode 100644
index 15f7695..0000000
--- a/nixops/modules/websites/apache/theme/icons/css.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/deb.png b/nixops/modules/websites/apache/theme/icons/deb.png
deleted file mode 100644
index 1b12d29..0000000
--- a/nixops/modules/websites/apache/theme/icons/deb.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/default.png b/nixops/modules/websites/apache/theme/icons/default.png
deleted file mode 100644
index 6997229..0000000
--- a/nixops/modules/websites/apache/theme/icons/default.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/diff.png b/nixops/modules/websites/apache/theme/icons/diff.png
deleted file mode 100644
index 5bef920..0000000
--- a/nixops/modules/websites/apache/theme/icons/diff.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/doc.png b/nixops/modules/websites/apache/theme/icons/doc.png
deleted file mode 100644
index 5732f9b..0000000
--- a/nixops/modules/websites/apache/theme/icons/doc.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/draw.png b/nixops/modules/websites/apache/theme/icons/draw.png
deleted file mode 100644
index 8f1da5c..0000000
--- a/nixops/modules/websites/apache/theme/icons/draw.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/eps.png b/nixops/modules/websites/apache/theme/icons/eps.png
deleted file mode 100644
index 93736bb..0000000
--- a/nixops/modules/websites/apache/theme/icons/eps.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/exe.png b/nixops/modules/websites/apache/theme/icons/exe.png
deleted file mode 100644
index 31299b7..0000000
--- a/nixops/modules/websites/apache/theme/icons/exe.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/folder-home.png b/nixops/modules/websites/apache/theme/icons/folder-home.png
deleted file mode 100644
index 14fe20a..0000000
--- a/nixops/modules/websites/apache/theme/icons/folder-home.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/folder-open.png b/nixops/modules/websites/apache/theme/icons/folder-open.png
deleted file mode 100644
index 2aa5cc7..0000000
--- a/nixops/modules/websites/apache/theme/icons/folder-open.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/folder-page.png b/nixops/modules/websites/apache/theme/icons/folder-page.png
deleted file mode 100644
index 604f9ad..0000000
--- a/nixops/modules/websites/apache/theme/icons/folder-page.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/folder-parent-old.png b/nixops/modules/websites/apache/theme/icons/folder-parent-old.png
deleted file mode 100644
index b82d7a9..0000000
--- a/nixops/modules/websites/apache/theme/icons/folder-parent-old.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/folder-parent.png b/nixops/modules/websites/apache/theme/icons/folder-parent.png
deleted file mode 100644
index 3c964f1..0000000
--- a/nixops/modules/websites/apache/theme/icons/folder-parent.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/folder.png b/nixops/modules/websites/apache/theme/icons/folder.png
deleted file mode 100644
index 7c613e0..0000000
--- a/nixops/modules/websites/apache/theme/icons/folder.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/gif.png b/nixops/modules/websites/apache/theme/icons/gif.png
deleted file mode 100644
index 01a2f2a..0000000
--- a/nixops/modules/websites/apache/theme/icons/gif.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/gzip.png b/nixops/modules/websites/apache/theme/icons/gzip.png
deleted file mode 100644
index 99ae6fc..0000000
--- a/nixops/modules/websites/apache/theme/icons/gzip.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/h.png b/nixops/modules/websites/apache/theme/icons/h.png
deleted file mode 100644
index d3c7a9c..0000000
--- a/nixops/modules/websites/apache/theme/icons/h.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/hpp.png b/nixops/modules/websites/apache/theme/icons/hpp.png
deleted file mode 100644
index e5e52e2..0000000
--- a/nixops/modules/websites/apache/theme/icons/hpp.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/html.png b/nixops/modules/websites/apache/theme/icons/html.png
deleted file mode 100644
index 2f94a78..0000000
--- a/nixops/modules/websites/apache/theme/icons/html.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/ico.png b/nixops/modules/websites/apache/theme/icons/ico.png
deleted file mode 100644
index 82227e8..0000000
--- a/nixops/modules/websites/apache/theme/icons/ico.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/image.png b/nixops/modules/websites/apache/theme/icons/image.png
deleted file mode 100644
index add1c59..0000000
--- a/nixops/modules/websites/apache/theme/icons/image.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/install.png b/nixops/modules/websites/apache/theme/icons/install.png
deleted file mode 100644
index 0a9c036..0000000
--- a/nixops/modules/websites/apache/theme/icons/install.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/java.png b/nixops/modules/websites/apache/theme/icons/java.png
deleted file mode 100644
index 63b8683..0000000
--- a/nixops/modules/websites/apache/theme/icons/java.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/jpg.png b/nixops/modules/websites/apache/theme/icons/jpg.png
deleted file mode 100644
index a50c99b..0000000
--- a/nixops/modules/websites/apache/theme/icons/jpg.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/js.png b/nixops/modules/websites/apache/theme/icons/js.png
deleted file mode 100644
index af1a475..0000000
--- a/nixops/modules/websites/apache/theme/icons/js.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/json.png b/nixops/modules/websites/apache/theme/icons/json.png
deleted file mode 100644
index af1a475..0000000
--- a/nixops/modules/websites/apache/theme/icons/json.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/log.png b/nixops/modules/websites/apache/theme/icons/log.png
deleted file mode 100644
index 02f1b9a..0000000
--- a/nixops/modules/websites/apache/theme/icons/log.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/makefile.png b/nixops/modules/websites/apache/theme/icons/makefile.png
deleted file mode 100644
index f99ea4c..0000000
--- a/nixops/modules/websites/apache/theme/icons/makefile.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/markdown.png b/nixops/modules/websites/apache/theme/icons/markdown.png
deleted file mode 100644
index 25c8373..0000000
--- a/nixops/modules/websites/apache/theme/icons/markdown.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/package.png b/nixops/modules/websites/apache/theme/icons/package.png
deleted file mode 100644
index fb1343e..0000000
--- a/nixops/modules/websites/apache/theme/icons/package.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/pdf.png b/nixops/modules/websites/apache/theme/icons/pdf.png
deleted file mode 100644
index 7408d8d..0000000
--- a/nixops/modules/websites/apache/theme/icons/pdf.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/php.png b/nixops/modules/websites/apache/theme/icons/php.png
deleted file mode 100644
index 22c4df6..0000000
--- a/nixops/modules/websites/apache/theme/icons/php.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/playlist.png b/nixops/modules/websites/apache/theme/icons/playlist.png
deleted file mode 100644
index 8d6f281..0000000
--- a/nixops/modules/websites/apache/theme/icons/playlist.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/png.png b/nixops/modules/websites/apache/theme/icons/png.png
deleted file mode 100644
index 1fe1ec4..0000000
--- a/nixops/modules/websites/apache/theme/icons/png.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/pres.png b/nixops/modules/websites/apache/theme/icons/pres.png
deleted file mode 100644
index db195e9..0000000
--- a/nixops/modules/websites/apache/theme/icons/pres.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/ps.png b/nixops/modules/websites/apache/theme/icons/ps.png
deleted file mode 100644
index 05f3ed9..0000000
--- a/nixops/modules/websites/apache/theme/icons/ps.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/psd.png b/nixops/modules/websites/apache/theme/icons/psd.png
deleted file mode 100644
index 62718ee..0000000
--- a/nixops/modules/websites/apache/theme/icons/psd.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/py.png b/nixops/modules/websites/apache/theme/icons/py.png
deleted file mode 100644
index 0aaffd1..0000000
--- a/nixops/modules/websites/apache/theme/icons/py.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/rar.png b/nixops/modules/websites/apache/theme/icons/rar.png
deleted file mode 100644
index 8a0ff54..0000000
--- a/nixops/modules/websites/apache/theme/icons/rar.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/rb.png b/nixops/modules/websites/apache/theme/icons/rb.png
deleted file mode 100644
index c7db42f..0000000
--- a/nixops/modules/websites/apache/theme/icons/rb.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/readme.png b/nixops/modules/websites/apache/theme/icons/readme.png
deleted file mode 100644
index 3ae48cd..0000000
--- a/nixops/modules/websites/apache/theme/icons/readme.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/rpm.png b/nixops/modules/websites/apache/theme/icons/rpm.png
deleted file mode 100644
index 64699ac..0000000
--- a/nixops/modules/websites/apache/theme/icons/rpm.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/rss.png b/nixops/modules/websites/apache/theme/icons/rss.png
deleted file mode 100644
index a1130a1..0000000
--- a/nixops/modules/websites/apache/theme/icons/rss.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/rtf.png b/nixops/modules/websites/apache/theme/icons/rtf.png
deleted file mode 100644
index 25c8373..0000000
--- a/nixops/modules/websites/apache/theme/icons/rtf.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/script.png b/nixops/modules/websites/apache/theme/icons/script.png
deleted file mode 100644
index 1099b5f..0000000
--- a/nixops/modules/websites/apache/theme/icons/script.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/source.png b/nixops/modules/websites/apache/theme/icons/source.png
deleted file mode 100644
index 5bef920..0000000
--- a/nixops/modules/websites/apache/theme/icons/source.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/sql.png b/nixops/modules/websites/apache/theme/icons/sql.png
deleted file mode 100644
index b3b1467..0000000
--- a/nixops/modules/websites/apache/theme/icons/sql.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/tar.png b/nixops/modules/websites/apache/theme/icons/tar.png
deleted file mode 100644
index bab3b6a..0000000
--- a/nixops/modules/websites/apache/theme/icons/tar.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/tex.png b/nixops/modules/websites/apache/theme/icons/tex.png
deleted file mode 100644
index 1487b25..0000000
--- a/nixops/modules/websites/apache/theme/icons/tex.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/text.png b/nixops/modules/websites/apache/theme/icons/text.png
deleted file mode 100644
index 1d48677..0000000
--- a/nixops/modules/websites/apache/theme/icons/text.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/tiff.png b/nixops/modules/websites/apache/theme/icons/tiff.png
deleted file mode 100644
index 819e64c..0000000
--- a/nixops/modules/websites/apache/theme/icons/tiff.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/unknown.png b/nixops/modules/websites/apache/theme/icons/unknown.png
deleted file mode 100644
index b1dcc3f..0000000
--- a/nixops/modules/websites/apache/theme/icons/unknown.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/vcal.png b/nixops/modules/websites/apache/theme/icons/vcal.png
deleted file mode 100644
index 3d81455..0000000
--- a/nixops/modules/websites/apache/theme/icons/vcal.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/video.png b/nixops/modules/websites/apache/theme/icons/video.png
deleted file mode 100644
index f92f7e1..0000000
--- a/nixops/modules/websites/apache/theme/icons/video.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/xml.png b/nixops/modules/websites/apache/theme/icons/xml.png
deleted file mode 100644
index 83a83df..0000000
--- a/nixops/modules/websites/apache/theme/icons/xml.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/icons/zip.png b/nixops/modules/websites/apache/theme/icons/zip.png
deleted file mode 100644
index cc196c1..0000000
--- a/nixops/modules/websites/apache/theme/icons/zip.png
+++ /dev/null
Binary files differ
diff --git a/nixops/modules/websites/apache/theme/style.css b/nixops/modules/websites/apache/theme/style.css
deleted file mode 100644
index 4d25c9f..0000000
--- a/nixops/modules/websites/apache/theme/style.css
+++ /dev/null
@@ -1,160 +0,0 @@
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/nixops/modules/websites/default.nix b/nixops/modules/websites/default.nix
index 7ed00db..891d917 100644
--- a/nixops/modules/websites/default.nix
+++ b/nixops/modules/websites/default.nix
@@ -305,88 +305,7 @@ in
305 ''; 305 '';
306 }; 306 };
307 apaxy = { 307 apaxy = {
308 extraConfig = '' 308 extraConfig = (pkgs.webapps.apache-theme.override { inherit theme_root; }).apacheConfig;
309 <Macro Apaxy %{folder} %{ignored}>
310 Alias /theme ${theme_root}
311 <Directory ${theme_root}>
312 Options -Indexes
313 AllowOverride None
314 Require all granted
315 </Directory>
316
317 # mod_autoindex
318 <Directory %{folder}>
319 Options Indexes
320 AllowOverride None
321 Require all granted
322
323 # Inspired from Apaxy by @adamwhitcroft
324
325 IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* +IconsAreLinks +ShowForbidden
326
327 IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
328
329 IndexIgnoreReset ON
330 IndexIgnore /theme .htaccess %{ignored}
331
332 AddIcon /theme/icons/blank.png ^^BLANKICON^^
333 AddIcon /theme/icons/folder.png ^^DIRECTORY^^
334 AddIcon /theme/icons/folder-home.png ..
335
336 AddIconByType (TXT,/theme/icons/text.png) text/*
337 AddIconByType (IMG,/theme/icons/image.png) image/*
338 AddIconByType (SND,/theme/icons/audio.png) audio/*
339 AddIconByType (VID,/theme/icons/video.png) video/*
340
341 AddIcon /theme/icons/archive.png .7z .bz2 .cab .gz .tar
342 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
343 AddIcon /theme/icons/bin.png .bin .hex
344 AddIcon /theme/icons/bmp.png .bmp
345 AddIcon /theme/icons/c.png .c
346 AddIcon /theme/icons/calc.png .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv
347 AddIcon /theme/icons/cd.png .iso
348 AddIcon /theme/icons/cpp.png .cpp
349 AddIcon /theme/icons/css.png .css .sass .scss
350 AddIcon /theme/icons/deb.png .deb
351 AddIcon /theme/icons/doc.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
352 AddIcon /theme/icons/draw.png .svg .svgz
353 AddIcon /theme/icons/eps.png .ai .eps
354 AddIcon /theme/icons/exe.png .exe
355 AddIcon /theme/icons/gif.png .gif
356 AddIcon /theme/icons/h.png .h
357 AddIcon /theme/icons/html.png .html .xhtml .shtml .htm .URL .url
358 AddIcon /theme/icons/ico.png .ico
359 AddIcon /theme/icons/java.png .jar
360 AddIcon /theme/icons/jpg.png .jpg .jpeg .jpe
361 AddIcon /theme/icons/js.png .js .json
362 AddIcon /theme/icons/markdown.png .md
363 AddIcon /theme/icons/package.png .pkg .dmg
364 AddIcon /theme/icons/pdf.png .pdf
365 AddIcon /theme/icons/php.png .php .phtml
366 AddIcon /theme/icons/playlist.png .m3u .m3u8 .pls .pls8
367 AddIcon /theme/icons/png.png .png
368 AddIcon /theme/icons/ps.png .ps
369 AddIcon /theme/icons/psd.png .psd
370 AddIcon /theme/icons/py.png .py
371 AddIcon /theme/icons/rar.png .rar
372 AddIcon /theme/icons/rb.png .rb
373 AddIcon /theme/icons/rpm.png .rpm
374 AddIcon /theme/icons/rss.png .rss
375 AddIcon /theme/icons/script.png .bat .cmd .sh
376 AddIcon /theme/icons/sql.png .sql
377 AddIcon /theme/icons/tiff.png .tiff .tif
378 AddIcon /theme/icons/text.png .txt .nfo
379 AddIcon /theme/icons/video.png .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv
380 AddIcon /theme/icons/xml.png .xml
381 AddIcon /theme/icons/zip.png .zip
382 DefaultIcon /theme/icons/default.png
383
384 HeaderName /theme/header.html
385 ReadmeName /theme/footer.html
386 IndexStyleSheet /theme/style.css
387 </Directory>
388 </Macro>
389 '';
390 }; 309 };
391 http2 = { 310 http2 = {
392 modules = [ "http2" ]; 311 modules = [ "http2" ];
@@ -418,7 +337,7 @@ in
418 in '' 337 in ''
419 mkdir -p $out/webapps 338 mkdir -p $out/webapps
420 ln -s ${../../www} $out/webapps/_www 339 ln -s ${../../www} $out/webapps/_www
421 ln -s ${./apache/theme} $out/webapps/_theme 340 ln -s ${pkgs.webapps.apache-theme.theme} $out/webapps/_theme
422 ln -s ${adminer.webRoot} $out/webapps/${adminer.apache.webappName} 341 ln -s ${adminer.webRoot} $out/webapps/${adminer.apache.webappName}
423 ''; 342 '';
424 343