Commit faeae592 authored by ibuler's avatar ibuler

[Update] 添加大小

parent 6f1ee44f
...@@ -51,9 +51,9 @@ class SFTPVolume(BaseVolume): ...@@ -51,9 +51,9 @@ class SFTPVolume(BaseVolume):
"name": attr.filename, "name": attr.filename,
"hash": self._hash(path), "hash": self._hash(path),
"phash": self._hash(parent_path), "phash": self._hash(parent_path),
"ts": 0, "ts": attr.st_mtime,
"size": 'unknown', "size": attr.st_size,
"mime": "directory" if stat.S_ISDIR(attr.st_mode) else "file", "mime": "directory" if stat.S_ISDIR(attr.st_mode) else "",
"locked": 0, "locked": 0,
"hidden": 0, "hidden": 0,
"read": 1, "read": 1,
......
...@@ -505,7 +505,8 @@ div.elfinder-cwd-wrapper-list tr.ui-state-default td span.ui-icon { ...@@ -505,7 +505,8 @@ div.elfinder-cwd-wrapper-list tr.ui-state-default td span.ui-icon {
margin-right: 5px; margin-right: 5px;
} }
div.elfinder-cwd-wrapper-list .ui-icon-grip-dotted-vertical { div.elfinder-cwd-wrapper-list .ui-icon-grip-dotted-vertical {
margin: 2px; margin: 1px;
float: right;
} }
.elfinder-cwd-view-list .elfinder-navbar-root-local td .elfinder-cwd-icon, .elfinder-cwd-view-list .elfinder-navbar-root-local td .elfinder-cwd-icon,
.elfinder-navbar-root-local .elfinder-cwd-icon, .elfinder-navbar-root-local .elfinder-cwd-icon,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment