From 586c21a2c158aa39f7bdae65bd6acf909ec78948 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Fri, 31 Aug 2012 18:15:21 +0200 Subject: [PATCH] More jade. --- src/_h5ai/.htaccess | 2 +- src/_h5ai/apache/h5ai-footer.html | 6 ---- src/_h5ai/apache/h5ai-footer.html.jade | 10 ++++++ src/_h5ai/apache/h5ai-header.html | 36 --------------------- src/_h5ai/apache/h5ai-header.html.jade | 43 ++++++++++++++++++++++++++ src/_h5ai/php/h5ai-index.php.jade | 8 ++--- 6 files changed, 58 insertions(+), 47 deletions(-) delete mode 100644 src/_h5ai/apache/h5ai-footer.html create mode 100644 src/_h5ai/apache/h5ai-footer.html.jade delete mode 100644 src/_h5ai/apache/h5ai-header.html create mode 100644 src/_h5ai/apache/h5ai-header.html.jade diff --git a/src/_h5ai/.htaccess b/src/_h5ai/.htaccess index d1f82f7a..9540a5a2 100644 --- a/src/_h5ai/.htaccess +++ b/src/_h5ai/.htaccess @@ -13,7 +13,7 @@ DirectoryIndex index.html # cache.manifest needs re-requests in FF 3.6 (thx Remy ~Introducing HTML5) ExpiresByType text/cache-manifest "access plus 0 seconds" - # your document html + # your document html ExpiresByType text/html "access plus 0 seconds" # data diff --git a/src/_h5ai/apache/h5ai-footer.html b/src/_h5ai/apache/h5ai-footer.html deleted file mode 100644 index 72b45348..00000000 --- a/src/_h5ai/apache/h5ai-footer.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/_h5ai/apache/h5ai-footer.html.jade b/src/_h5ai/apache/h5ai-footer.html.jade new file mode 100644 index 00000000..cf6d4d71 --- /dev/null +++ b/src/_h5ai/apache/h5ai-footer.html.jade @@ -0,0 +1,10 @@ + +- var h5ai = "/_h5ai/" + +// generated code ends here +| + +script( src!="#{h5ai}config.js" ) +script( src!="#{h5ai}js/scripts.js" ) + +| diff --git a/src/_h5ai/apache/h5ai-header.html b/src/_h5ai/apache/h5ai-header.html deleted file mode 100644 index a53da237..00000000 --- a/src/_h5ai/apache/h5ai-header.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - Directory index · styled with h5ai - - - - - - - - - -
- -
-
-
-
-
- - h5ai {{version}} - ⚡ JavaScript is disabled! ⚡ - ⚡ Some features disabled! Works best in modern browsers. ⚡ - - - -
-
- diff --git a/src/_h5ai/apache/h5ai-header.html.jade b/src/_h5ai/apache/h5ai-header.html.jade new file mode 100644 index 00000000..5faa5ee6 --- /dev/null +++ b/src/_h5ai/apache/h5ai-header.html.jade @@ -0,0 +1,43 @@ + +- var h5ai = "/_h5ai/" + +doctype 5 +//if lt IE 9 + +//[if gt IE 8]> +// + +div#topbar.clearfix + ul#navbar + +div#content + div#extended.clearfix + +div#bottombar.clearfix + span.left + a#h5ai-reference( href="http://larsjung.de/h5ai", title="h5ai project page" ) h5ai {{version}} + span.hideOnJs.noJsMsg ⚡ JavaScript is disabled! ⚡ + span.oldBrowser + | ⚡ Some features disabled! Works best in + a( href="http://browsehappy.com" ) modern browsers + | . ⚡ + span.right + span.center + +|
+// The following code was generated by Apache's autoindex module. It is not valid HTML5, but gets removed from the DOM tree as soon as possible. The actual page should render as valid HTML5. diff --git a/src/_h5ai/php/h5ai-index.php.jade b/src/_h5ai/php/h5ai-index.php.jade index 0d2788b4..e1425c0c 100644 --- a/src/_h5ai/php/h5ai-index.php.jade +++ b/src/_h5ai/php/h5ai-index.php.jade @@ -63,11 +63,11 @@ html.no-js( lang="en" ) div#bottombar.clearfix span.left a#h5ai-reference( href="http://larsjung.de/h5ai", title="h5ai project page" ) h5ai {{version}} - span.hideOnJs.noJsMsg ⚡ JavaScript is disabled! ⚡ - span.oldBrowser - | ⚡ Some features disabled! Works best in + span.hideOnJs.noJsMsg ⚡ JavaScript is disabled! ⚡ + span.oldBrowser + | ⚡ Some features disabled! Works best in a( href="http://browsehappy.com" ) modern browsers - | . ⚡ + | . ⚡ span.right span.center