ztree file icon

This commit is contained in:
Van 2014-09-05 16:48:28 +08:00
parent d9f73b953d
commit 0b526d7d41
5 changed files with 4 additions and 5 deletions

View File

@ -146,8 +146,9 @@ ul {
}
#output {
width: 100%;
height: 130px;
border-width: 0;
color: #555555;
height: 130px;
width: 100%;
}
/* end output */

BIN
static/images/ico-file.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -46,10 +46,8 @@ var tree = {
if (!data.succ) {
return false;
}
// TODO: 换成我们风格的 class
tree.fileTree.addNodes(wide.curNode, [{
"name": name,
"iconSkin": "ico_close "
"name": name
}]);
}
});