mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
04c7a8e0d2
commit
79a67bbf44
5
const.js
5
const.js
@ -91,8 +91,8 @@ var web = {
|
||||
SPIDE: "spide", STORE: "store", ADMIN: "admin", MATRIX: "matrix",
|
||||
GRANT: "grant",
|
||||
|
||||
WORKER: "worker", SERVER: "server", MASTER: "master", GATEWAY: "gateway",
|
||||
ORIGIN: "origin", VENDOR: "vendor", ONLINE: "online", OFFLINE: "offline",
|
||||
WORKER: "worker", SERVER: "server", ORIGIN: "origin", VENDOR: "vendor",
|
||||
GATEWAY: "gateway", ONLINE: "online", OFFLINE: "offline",
|
||||
|
||||
FULL: "full", OPEN: "open", LINK: "link", HTTP: "http", DOMAIN: "domain", URL: "url",
|
||||
DRAW: "draw", PLAY: "play", CLEAR: "clear", RESIZE: "resize", FILTER: "filter",
|
||||
@ -107,6 +107,7 @@ var web = {
|
||||
STUDIO: "studio", SERVICE: "service",
|
||||
MESSAGE: "message",
|
||||
WORD: "word",
|
||||
VIMER: "vimer",
|
||||
|
||||
CODE_GIT_SEARCH: "web.code.git.search",
|
||||
CODE_GIT_STATUS: "web.code.git.status",
|
||||
|
10
frame.js
10
frame.js
@ -392,14 +392,10 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) {
|
||||
|
||||
field: function(can, type, item, target) { type = type||html.STORY, item = item||{}
|
||||
var name = can.core.Split(item.nick||item.name||"").pop()||""; can.base.isIn(name,
|
||||
tcp.SERVER,
|
||||
tcp.CLIENT,
|
||||
web.STUDIO,
|
||||
mdb.SEARCH,
|
||||
web.SERVICE,
|
||||
"instance",
|
||||
tcp.SERVER, tcp.CLIENT, web.STUDIO,
|
||||
mdb.SEARCH, web.SERVICE, "instance",
|
||||
) && (name = (item.index||"").split(".").slice(-2).join(".")), (type != html.PLUG && !can.base.isIn(can.ConfIndex(),
|
||||
web.DESKTOP, web.MESSAGE,
|
||||
web.DESKTOP, web.MESSAGE, web.VIMER,
|
||||
)) && (name = can.core.Keys(item.space||item._space, name))
|
||||
var title = item.title || can.user.isMobile && (can.user.isEnglish(can)? name: (item.help||name)) || (!item.help || name == item.help || can.user.isEnglish(can)? name: name+"("+can.core.Split(item.help)[0]+")")
|
||||
target = can.base.isFunc(target)? target(): target
|
||||
|
@ -775,7 +775,7 @@ fieldset.xterm div.layout div.output.select { border:var(--box-border)}
|
||||
fieldset.dream>div.output.card>div.item.begin>div.title { color:var(--disable-fg-color); font-style:italic; text-decoration:line-through; }
|
||||
fieldset.dream>div.output.card>div.item.login { border:var(--danger-bg-color) solid 3px; }
|
||||
fieldset.dream>div.output.card>div.item.server { border:var(--notice-bg-color) solid 3px; }
|
||||
fieldset.dream>div.output.card>div.item.master { border:var(--danger-bg-color) solid 3px; }
|
||||
fieldset.dream>div.output.card>div.item.origin { border:var(--danger-bg-color) solid 3px; }
|
||||
fieldset.trans>div.output>fieldset { margin:var(--button-margin); }
|
||||
fieldset.config form.option input[name=key] { width:var(--project-width); }
|
||||
fieldset.qrcode>div.output div.code { padding:0; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user