Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates fallback.

  • Loading branch information...
commit aeab3670d03f9c3971277a8973bdac8fcc7efc8f 1 parent e3d19a9
@lrsjng authored
View
9 src/_h5ai/client/css/inc/fallback.less
@@ -54,14 +54,11 @@
}
}
td:nth-child(1), th:nth-child(1) {
- text-align: center;
- width: 16px;
- color: #ccc;
- font-size: 0.9em;
+ width: 24px;
img {
- width: 16px;
- height: 16px;
+ width: 24px;
+ height: 24px;
}
}
td:nth-child(2), th:nth-child(2) {
View
4 src/_h5ai/server/php/inc/App.php
@@ -209,13 +209,13 @@ public function get_fallback() {
$html = "<table>";
$html .= "<tr><th></th><th><span>Name</span></th><th><span>Last modified</span></th><th><span>Size</span></th></tr>";
if ($folder->get_parent($cache)) {
- $html .= "<tr><td><img src=\"" . $this->app_abs_href . "client/icons/16x16/folder-parent.png\" alt=\"folder-parent\"/></td><td><a href=\"..\">Parent Directory</a></td><td></td><td></td></tr>";
+ $html .= "<tr><td><img src=\"" . $this->app_abs_href . "client/icons/96/folder-parent.png\" alt=\"folder-parent\"/></td><td><a href=\"..\">Parent Directory</a></td><td></td><td></td></tr>";
}
foreach ($items as $item) {
$type = $item->is_folder ? "folder" : "default";
$html .= "<tr>";
- $html .= "<td><img src=\"" . $this->app_abs_href . "client/icons/16x16/" . $type . ".png\" alt=\"" . $type . "\"/></td>";
+ $html .= "<td><img src=\"" . $this->app_abs_href . "client/icons/96/" . $type . ".png\" alt=\"" . $type . "\"/></td>";
$html .= "<td><a href=\"" . $item->abs_href . "\">" . basename($item->abs_path) . "</a></td>";
$html .= "<td>" . date("Y-m-d H:i", $item->date) . "</td>";
$html .= "<td>" . ($item->size !== null ? intval($item->size / 1000) . " KB" : "" ) . "</td>";
Please sign in to comment.
Something went wrong with that request. Please try again.