mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 00:50:59 +00:00
minor changes
This commit is contained in:
parent
c8286a0aad
commit
cd536ba7c6
4 changed files with 24 additions and 10 deletions
|
|
@ -342,6 +342,7 @@ var CloudFunc, exports, Util;
|
|||
lFileTable += Util.render(pTemplate,{
|
||||
type : 'directory',
|
||||
link : lLink,
|
||||
target : '',
|
||||
name : '..',
|
||||
size : '<dir>',
|
||||
owner : '.',
|
||||
|
|
@ -353,12 +354,13 @@ var CloudFunc, exports, Util;
|
|||
var lFile = files[i];
|
||||
|
||||
lFileTable += Util.render(pTemplate,{
|
||||
type : lFile.size === 'dir' ? 'directory' : 'text-file',
|
||||
link : FS + lPath + lFile.name,
|
||||
name : lFile.name,
|
||||
size : lFile.size === 'dir' ? '<dir>' : CloudFunc.getShortSize( lFile.size ),
|
||||
owner : !lFile.uid ? 'root' : lFile.uid,
|
||||
mode : CloudFunc.getSymbolicPermissions(lFile.mode)
|
||||
type : lFile.size === 'dir' ? 'directory' : 'text-file',
|
||||
link : FS + lPath + lFile.name,
|
||||
target : lFile.size === 'dir' ? '' : "_blank",
|
||||
name : lFile.name,
|
||||
size : lFile.size === 'dir' ? '<dir>' : CloudFunc.getShortSize( lFile.size ),
|
||||
owner : !lFile.uid ? 'root' : lFile.uid,
|
||||
mode : CloudFunc.getSymbolicPermissions(lFile.mode)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue