diff --git a/src/_h5ai/client/css/inc/fallback.less b/src/_h5ai/client/css/inc/fallback.less index b779222c..bb6f4e29 100644 --- a/src/_h5ai/client/css/inc/fallback.less +++ b/src/_h5ai/client/css/inc/fallback.less @@ -37,7 +37,7 @@ } } } - td:nth-child(1), th:nth-child(1) { + .fb-i { width: 24px; img { @@ -45,16 +45,16 @@ height: 24px; } } - td:nth-child(2), th:nth-child(2) { + .fb-n { width: 682px; max-width: 682px; } - td:nth-child(3), th:nth-child(3) { + .fb-d { text-align: right; width: 160px; min-width: 160px; } - td:nth-child(4), th:nth-child(4) { + .fb-s { text-align: right; width: 70px; min-width: 70px; diff --git a/src/_h5ai/server/php/inc/class-app.php b/src/_h5ai/server/php/inc/class-app.php index f9aecbc0..78ae48ea 100644 --- a/src/_h5ai/server/php/inc/class-app.php +++ b/src/_h5ai/server/php/inc/class-app.php @@ -163,18 +163,18 @@ class App { $html = "
"; - $html .= " | Name | "; - $html .= "Last modified | "; - $html .= "Size | "; + $html .= ""; + $html .= " | Name | "; + $html .= "Last modified | "; + $html .= "Size | "; $html .= "
---|---|---|---|---|---|---|---|
![]() | ";
- $html .= "Parent Directory | "; - $html .= ""; - $html .= " | "; + $html .= " | ![]() | ";
+ $html .= "Parent Directory | "; + $html .= ""; + $html .= " | "; $html .= " |
![]() | ";
- $html .= "" . basename($item->path) . " | "; - $html .= "" . date("Y-m-d H:i", $item->date) . " | "; - $html .= "" . ($item->size !== null ? intval($item->size / 1000) . " KB" : "" ) . " | "; + $html .= "![]() | ";
+ $html .= "" . basename($item->path) . " | "; + $html .= "" . date("Y-m-d H:i", $item->date) . " | "; + $html .= "" . ($item->size !== null ? intval($item->size / 1000) . " KB" : "" ) . " | "; $html .= "