Merge branch 'develop'

This commit is contained in:
Lars Jung 2012-10-16 17:00:33 +02:00
commit f047f94ad9
4 changed files with 21 additions and 14 deletions

View file

@ -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

View file

@ -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",

View file

@ -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 {

View file

@ -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");