forked from x/icebergs
add some
This commit is contained in:
parent
82415d742a
commit
f359c438fc
@ -155,7 +155,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
return value
|
return value
|
||||||
})
|
})
|
||||||
m.Action(html.FILTER, mdb.CREATE, UPGRADE).StatusTimeCountStats(mdb.TYPE, mdb.STATUS).Display("")
|
m.Action(mdb.CREATE, UPGRADE).StatusTimeCountStats(mdb.TYPE, mdb.STATUS).Display("")
|
||||||
m.Sort("type,status,name,domain", []string{MYSELF, SERVER, ORIGIN, WORKER, ""}, []string{cli.START, cli.STOP, ""}, ice.STR_R, ice.STR_R)
|
m.Sort("type,status,name,domain", []string{MYSELF, SERVER, ORIGIN, WORKER, ""}, []string{cli.START, cli.STOP, ""}, ice.STR_R, ice.STR_R)
|
||||||
ctx.Toolkit(m)
|
ctx.Toolkit(m)
|
||||||
return nil
|
return nil
|
||||||
|
@ -10,7 +10,6 @@ import (
|
|||||||
"shylinux.com/x/icebergs/base/mdb"
|
"shylinux.com/x/icebergs/base/mdb"
|
||||||
"shylinux.com/x/icebergs/base/nfs"
|
"shylinux.com/x/icebergs/base/nfs"
|
||||||
"shylinux.com/x/icebergs/base/tcp"
|
"shylinux.com/x/icebergs/base/tcp"
|
||||||
"shylinux.com/x/icebergs/base/web/html"
|
|
||||||
kit "shylinux.com/x/toolkits"
|
kit "shylinux.com/x/toolkits"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -63,7 +62,7 @@ func init() {
|
|||||||
if ice.Info.NodeType == WORKER || !aaa.IsTechOrRoot(m) {
|
if ice.Info.NodeType == WORKER || !aaa.IsTechOrRoot(m) {
|
||||||
m.Action()
|
m.Action()
|
||||||
} else {
|
} else {
|
||||||
m.PushAction(mdb.REMOVE).Action(html.FILTER, mdb.CREATE)
|
m.PushAction(mdb.REMOVE).Action(mdb.CREATE)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
defer ToastProcess(m, ice.LIST, arg[0])()
|
defer ToastProcess(m, ice.LIST, arg[0])()
|
||||||
|
@ -7,6 +7,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
}, null, can.ui.project); select = (value.name == current? _target: select)||_target
|
}, null, can.ui.project); select = (value.name == current? _target: select)||_target
|
||||||
}), select && select.click(), can.onmotion.orderShow(can, can.ui.project)
|
}), select && select.click(), can.onmotion.orderShow(can, can.ui.project)
|
||||||
can.onappend.style(can, "output card", can.ui.content), can.onmotion.delay(can, function() { can.onimport.layout(can) })
|
can.onappend.style(can, "output card", can.ui.content), can.onmotion.delay(can, function() { can.onimport.layout(can) })
|
||||||
|
can.onmotion.delay(can, function() { can.onappend._filter(can) })
|
||||||
},
|
},
|
||||||
_content: function(can, msg, dev, target) { var list = []
|
_content: function(can, msg, dev, target) { var list = []
|
||||||
can.onimport.card(can, msg, null, function(value) {
|
can.onimport.card(can, msg, null, function(value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user