mirror of
https://shylinux.com/x/volcanos
synced 2025-07-01 20:11:19 +08:00
add some
This commit is contained in:
parent
82b234b002
commit
87841a9e2f
2
const.js
2
const.js
@ -179,6 +179,7 @@ var tcp = {
|
||||
SERVICE: "service", HOSTNAME: "hostname",
|
||||
WIFI: "wifi", SSID: "ssid",
|
||||
LOCALHOST: "localhost",
|
||||
DIAL: "dial",
|
||||
DIRECT: "direct", SEND: "send", RECV: "recv",
|
||||
}
|
||||
var nfs = {
|
||||
@ -284,6 +285,7 @@ var chat = {
|
||||
MATRIX: "matrix",
|
||||
TUTOR: "tutor",
|
||||
FLOWS: "flows",
|
||||
ADMIN: "admin",
|
||||
|
||||
HEADER: "Header", ACTION: "Action", FOOTER: "Footer",
|
||||
libs: ["base.js", "core.js", "date.js", "misc.js", "page.js", "user.js"].map(function(p) { return "/lib/"+p }),
|
||||
|
@ -74,8 +74,8 @@ Volcanos(chat.ONDETAIL, {
|
||||
},
|
||||
oncontextmenu: function(event, can, tree) {
|
||||
can.user.carte(event, can, {}, [
|
||||
wiki.PORTAL, chat.DESKTOP, web.DREAM, web.STORE, web.ADMIN,
|
||||
wiki.WORD, code.VIMER, code.STATUS, code.COMPILE, cli.RUNTIME, code.XTERM,
|
||||
wiki.PORTAL, chat.DESKTOP, chat.ADMIN, wiki.WORD, web.DREAM, web.STORE,
|
||||
code.VIMER, code.STATUS, code.COMPILE, cli.RUNTIME, code.XTERM,
|
||||
], function(event, button) {
|
||||
if (button == web.ADMIN) {
|
||||
can.onappend.plugin(can, {index: web.CHAT_IFRAME, args: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user