diff --git a/makefile.js b/makefile.js index 56ff53a9..cdf8db55 100644 --- a/makefile.js +++ b/makefile.js @@ -36,7 +36,7 @@ var version = '0.22-dev-8', mapper = function (blob) { - return blob.source.replace(src, build).replace(/\.less$/, '.css'); + return blob.source.replace(src, build).replace(/\.less$/, '.css').replace(/\.jade$/, '.html'); }, mapperRoot = function (blob) { @@ -118,7 +118,13 @@ module.exports = function (make) { .cssmin() .write($.OVERWRITE, mapper); - $(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**') + $(src + ': **/*.jade') + .modified(mapper) + .handlebars(replacements) + .jade() + .write($.OVERWRITE, mapper); + + $(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**, ! **/*.jade') .modified(mapper) .handlebars(replacements) .write($.OVERWRITE, mapper); @@ -144,7 +150,13 @@ module.exports = function (make) { // .cssmin() .write($.OVERWRITE, mapper); - $(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**') + $(src + ': **/*.jade') + .modified(mapper) + .handlebars(replacements) + .jade() + .write($.OVERWRITE, mapper); + + $(src + ': **, ! _h5ai/js/**, ! _h5ai/css/**, ! **/*.jade') .modified(mapper) .handlebars(replacements) .write($.OVERWRITE, mapper); diff --git a/src/_h5ai/apache/h5ai-header.html b/src/_h5ai/apache/h5ai-header.html index 6d37b825..10dc236c 100644 --- a/src/_h5ai/apache/h5ai-header.html +++ b/src/_h5ai/apache/h5ai-header.html @@ -1,7 +1,5 @@ - - - +
diff --git a/src/_h5ai/config.js b/src/_h5ai/config.js index 9020bb90..ad119a29 100644 --- a/src/_h5ai/config.js +++ b/src/_h5ai/config.js @@ -282,7 +282,7 @@ var H5AI_CONFIG = { /* Requires PHP on the server. Show thumbnails for image files. Needs the "/_h5ai/cache" folder to be - writable for the Apache Server. + writable for the web Server. - img thumbnails depend on PHP-GD - mov thumbnails depend on ffmpeg - doc thumbnails depend on convert diff --git a/src/_h5ai/config.php b/src/_h5ai/config.php index 9670f96c..8292961d 100644 --- a/src/_h5ai/config.php +++ b/src/_h5ai/config.php @@ -12,7 +12,7 @@ $H5AI_CONFIG = array( /* * This configuration assumes that h5ai is installed - * in the webroot directory of the Apache server. + * in the webroot directory of the web server. */ "ROOT_ABS_PATH" => dirname(dirname(__FILE__)), diff --git a/src/_h5ai/css/inc/h5ai-info.less b/src/_h5ai/css/inc/h5ai-info.less index c1ad76ed..c8bac7cd 100644 --- a/src/_h5ai/css/inc/h5ai-info.less +++ b/src/_h5ai/css/inc/h5ai-info.less @@ -66,7 +66,7 @@ body#h5ai-info { margin: 4px 0 12px 12px; font-size: 0.7em; color: #aaa; - width: 300px; + width: 310px; line-height: 1.2em; } } diff --git a/src/_h5ai/index.html b/src/_h5ai/index.html deleted file mode 100644 index e39f567e..00000000 --- a/src/_h5ai/index.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - -