1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-04-05 21:15:41 +08:00
parent eae861fe3a
commit d083550bb1
3 changed files with 8 additions and 2 deletions

View File

@ -403,7 +403,9 @@ var icon = {
sso: "bi bi-shield-check", login: "bi bi-person-check", token: "bi bi-key",
username: "bi bi-person-gear", nodename: "bi bi-globe",
domain: "bi bi-globe", origin: "bi bi-globe", vendor: "bi bi-box-arrow-up-right",
domain: "bi bi-globe", origin: "bi bi-globe",
// vendor: "bi bi-box-arrow-up-right",
vendor: "bi bi-shop",
full: "bi bi-arrows-fullscreen", open: "bi bi-box-arrow-up-right",
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
search: "bi bi-search", favor: "bi bi-star",
@ -412,6 +414,7 @@ var icon = {
modify: "bi bi-pencil-square", rename: "bi bi-pencil-square", remove: "bi bi-trash",
enable: "bi bi-toggle-off", disable: "bi bi-toggle-on",
name: "bi bi-sort-alpha-down",
path: "bi bi-folder2", file: "bi bi-file-earmark-text", line: "bi bi-sort-numeric-down",
start: "bi bi-play-circle", stop: "bi bi-stop-circle",
load: "bi bi-folder-plus", save: "bi bi-floppy", trash: "bi bi-trash",

View File

@ -644,6 +644,8 @@ body:not(.mobile) fieldset.Action:not(.tabview):not(.horizon):not(.grid) fieldse
body:not(.mobile) fieldset.Action:not(.tabview):not(.horizon):not(.grid) fieldset.plugin:not(.float):not(.full):not(.cmd)>div.action>div.button.icons>i { display:none; }
fieldset.panel>div.action>div.button.icons>span.icon { display:none; }
fieldset.plugin.cmd>form.option>div.icon.delete { display:none; }
fieldset.story>form.option>div.button.icons.list { margin-right:0; }
fieldset.story>form.option>div.button.icons.back { margin-right:0; }
fieldset.story>form.option>div.button.icons>input { display:none; }
fieldset.story>div.action>div.button.icons>input { display:none; }
fieldset.plug>form.option>div.button.icons>input { display:none; }

View File

@ -40,7 +40,8 @@ Volcanos(chat.ONFIGURE, {
for (var _target = target.parentNode; _target != zone._target; _target = _target.parentNode) { _target.previousSibling && can.onappend.style(can, mdb.MODIFY, _target.previousSibling) }
}) }
}, item._menu = {meta: kit.Dict(
mdb.CREATE, function(event, button) { can.onaction.script(can.request(event, {path: path, file: item.path}), can, nfs.SCRIPT) },
mdb.CREATE, function(event, button) {
can.onaction.script(can.request(event, {path: path, file: item.path+(can.base.endWith(item.path, "/")? "client.go": "")}), can, nfs.SCRIPT) },
nfs.TRASH, function(event, button) { can.runAction(event, nfs.TRASH, [path+item.path], function(msg) { show(target, zone, path) }) },
)}; return item
}); cache = can.onimport.tree(can, list, nfs.PATH, nfs.PS, function(event, item) { can.onimport.tabview(can, path, item.path) }, target, cache)