Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coco
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
coco
Commits
faeae592
Commit
faeae592
authored
Sep 21, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 添加大小
parent
6f1ee44f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
sftp.py
coco/httpd/elfinder/volumes/sftp.py
+3
-3
theme-gray.css
coco/httpd/static/plugins/elfinder/css/theme-gray.css
+2
-1
No files found.
coco/httpd/elfinder/volumes/sftp.py
View file @
faeae592
...
...
@@ -51,9 +51,9 @@ class SFTPVolume(BaseVolume):
"name"
:
attr
.
filename
,
"hash"
:
self
.
_hash
(
path
),
"phash"
:
self
.
_hash
(
parent_path
),
"ts"
:
0
,
"size"
:
'unknown'
,
"mime"
:
"directory"
if
stat
.
S_ISDIR
(
attr
.
st_mode
)
else
"
file
"
,
"ts"
:
attr
.
st_mtime
,
"size"
:
attr
.
st_size
,
"mime"
:
"directory"
if
stat
.
S_ISDIR
(
attr
.
st_mode
)
else
""
,
"locked"
:
0
,
"hidden"
:
0
,
"read"
:
1
,
...
...
coco/httpd/static/plugins/elfinder/css/theme-gray.css
View file @
faeae592
...
...
@@ -505,7 +505,8 @@ div.elfinder-cwd-wrapper-list tr.ui-state-default td span.ui-icon {
margin-right
:
5px
;
}
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-navbar-root-local
.elfinder-cwd-icon
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment