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",
|
SERVICE: "service", HOSTNAME: "hostname",
|
||||||
WIFI: "wifi", SSID: "ssid",
|
WIFI: "wifi", SSID: "ssid",
|
||||||
LOCALHOST: "localhost",
|
LOCALHOST: "localhost",
|
||||||
|
DIAL: "dial",
|
||||||
DIRECT: "direct", SEND: "send", RECV: "recv",
|
DIRECT: "direct", SEND: "send", RECV: "recv",
|
||||||
}
|
}
|
||||||
var nfs = {
|
var nfs = {
|
||||||
@ -284,6 +285,7 @@ var chat = {
|
|||||||
MATRIX: "matrix",
|
MATRIX: "matrix",
|
||||||
TUTOR: "tutor",
|
TUTOR: "tutor",
|
||||||
FLOWS: "flows",
|
FLOWS: "flows",
|
||||||
|
ADMIN: "admin",
|
||||||
|
|
||||||
HEADER: "Header", ACTION: "Action", FOOTER: "Footer",
|
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 }),
|
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) {
|
oncontextmenu: function(event, can, tree) {
|
||||||
can.user.carte(event, can, {}, [
|
can.user.carte(event, can, {}, [
|
||||||
wiki.PORTAL, chat.DESKTOP, web.DREAM, web.STORE, web.ADMIN,
|
wiki.PORTAL, chat.DESKTOP, chat.ADMIN, wiki.WORD, web.DREAM, web.STORE,
|
||||||
wiki.WORD, code.VIMER, code.STATUS, code.COMPILE, cli.RUNTIME, code.XTERM,
|
code.VIMER, code.STATUS, code.COMPILE, cli.RUNTIME, code.XTERM,
|
||||||
], function(event, button) {
|
], function(event, button) {
|
||||||
if (button == web.ADMIN) {
|
if (button == web.ADMIN) {
|
||||||
can.onappend.plugin(can, {index: web.CHAT_IFRAME, args: [
|
can.onappend.plugin(can, {index: web.CHAT_IFRAME, args: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user