mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
b3e1cb739d
commit
5622e8244b
6
frame.js
6
frame.js
@ -156,8 +156,12 @@ Volcanos("onengine", {help: "解析引擎", list: [], _init: function(can, meta,
|
||||
"nfs": {name: "文件 nfs", index: [
|
||||
"nfs.cat", "nfs.dir", "nfs.tail", "nfs.trash",
|
||||
]},
|
||||
|
||||
"aaa": {name: "权限 aaa", index: [
|
||||
"user", "sess", "role",
|
||||
"user", "sess", "role", "totp",
|
||||
]},
|
||||
"ctx": {name: "模块 ctx", index: [
|
||||
"context", "command", "config",
|
||||
]},
|
||||
}},
|
||||
},
|
||||
|
@ -85,7 +85,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
},
|
||||
|
||||
_daemon: function(can, msg, target) {
|
||||
can.misc.WSS(can, {type: "chrome", name: can.user.Search(can, "daemon")}, function(event, msg, cmd, arg) { if (!msg) { return }
|
||||
can.misc.WSS(can, {type: "chrome", name: can.user.Search(can, "daemon")||""}, function(event, msg, cmd, arg) { if (!msg) { return }
|
||||
can.run(event, ["search"].concat(msg["detail"]||[]), function(msg) {
|
||||
msg.Reply()
|
||||
})
|
||||
|
@ -86,3 +86,13 @@ body.white fieldset.editor>div.output div.content td.text span.string {
|
||||
body.white fieldset.editor>div.output div.content tr {
|
||||
background-color:#e1f1ff00;
|
||||
}
|
||||
|
||||
.unselectable {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select:none;
|
||||
user-select: none;
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ Volcanos("onaction", {help: "控件交互", list: ["项目", "收藏", "搜索",
|
||||
|
||||
appendLine: function(can, value) {
|
||||
var ui = can.page.Append(can, can.ui.content, [{type: "tr", list: [
|
||||
{view: ["line", "td", ++can.max], onclick: function(event) {
|
||||
{view: ["line unselectable", "td", ++can.max], onclick: function(event) {
|
||||
can.onaction.selectLine(can, ui.tr)
|
||||
|
||||
}, ondblclick: function(event) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user