diff --git a/README.md b/README.md index 9dcce4c6..faae86a9 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,11 @@ It profits from these great projects: ## Changelog (**h5ai** uses [semantic versioning](http://semver.org/)) +### v0.23 - *2012-??-??* + +* + + ### v0.22 - *2012-10-14* * general changes h5ai directory layout and configuration diff --git a/package.json b/package.json index 05696fe2..0b17b040 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "h5ai", - "version": "0.22", + "version": "0.23-dev", "description": "a modern HTTP web server index", "url": "http://larsjung.de/h5ai/", "author": "Lars Jung", diff --git a/src/_h5ai/client/css/inc/responsive.less b/src/_h5ai/client/css/inc/responsive.less index 54c45c15..ec1f8837 100644 --- a/src/_h5ai/client/css/inc/responsive.less +++ b/src/_h5ai/client/css/inc/responsive.less @@ -1,18 +1,8 @@ @media only screen and (max-width: 500px) { -#topbar { - .view span { - display: none; - } +body { + margin: 8px; } -#extended.view-icons { - padding: 0; - border: none; - margin: 0 -14px; -} -} - -@media only screen and (max-width: 350px) { #topbar { .crumb { display: none; @@ -20,6 +10,9 @@ .current { display: block; } + .view span { + display: none; + } } #extended.view-details { .header .label, .entry .label { @@ -29,11 +22,19 @@ display: none; } } +#extended.view-icons { + padding: 0; + border: none; + margin: 0 -14px; +} #bottombar { .center { display: none; } } +#tree { + display: none !important; +} } @media print { diff --git a/src/_h5ai/server/php/inc/init.php b/src/_h5ai/server/php/inc/init.php index 2d90bade..38890720 100644 --- a/src/_h5ai/server/php/inc/init.php +++ b/src/_h5ai/server/php/inc/init.php @@ -21,7 +21,8 @@ normalized_require_once("/server/php/inc/Entry.php"); $app = new App(APP_ABS_PATH, APP_ABS_HREF, ABS_HREF); -if (count($_REQUEST)) { +// if (count($_REQUEST)) { +if (array_key_exists("action", $_REQUEST)) { header("Content-type: application/json");