From e53d72e9778e28c956ab51030050b008ee8df254 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Wed, 15 Aug 2012 12:20:42 +0200 Subject: [PATCH] More jade. --- makefile.js | 2 +- src/_h5ai/{index.jade => index.html.jade} | 0 src/_h5ai/php/h5ai-index.php | 72 --------------------- src/_h5ai/php/h5ai-index.php.jade | 77 +++++++++++++++++++++++ 4 files changed, 78 insertions(+), 73 deletions(-) rename src/_h5ai/{index.jade => index.html.jade} (100%) delete mode 100644 src/_h5ai/php/h5ai-index.php create mode 100644 src/_h5ai/php/h5ai-index.php.jade diff --git a/makefile.js b/makefile.js index 085e7dc0..cc86ac42 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').replace(/\.jade$/, '.html'); + return blob.source.replace(src, build).replace(/\.less$/, '.css').replace(/\.jade$/, ''); }, mapperRoot = function (blob) { diff --git a/src/_h5ai/index.jade b/src/_h5ai/index.html.jade similarity index 100% rename from src/_h5ai/index.jade rename to src/_h5ai/index.html.jade diff --git a/src/_h5ai/php/h5ai-index.php b/src/_h5ai/php/h5ai-index.php deleted file mode 100644 index 856c0f98..00000000 --- a/src/_h5ai/php/h5ai-index.php +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - Directory index · styled with h5ai - - - - - - - - - -
- -
-
-
-
-
- - h5ai {{version}} - ⚡ JavaScript is disabled! ⚡ - ⚡ Some features disabled! Works best in modern browsers. ⚡ - - - -
- -
- getNoJsFallback(); - } ?> -
- - - - \ No newline at end of file diff --git a/src/_h5ai/php/h5ai-index.php.jade b/src/_h5ai/php/h5ai-index.php.jade new file mode 100644 index 00000000..3bf0a641 --- /dev/null +++ b/src/_h5ai/php/h5ai-index.php.jade @@ -0,0 +1,77 @@ +| +doctype 5 +//if lt IE 9 + +//[if gt IE 8]>getGenericJson(); + |}?> + + div#data-php-no-js-fallback.hideOnJs + |getNoJsFallback(); + |}?> + + script( src="/_h5ai/config.js" ) + script( src="/_h5ai/js/scripts.js" )