mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
add island
This commit is contained in:
parent
04b3991922
commit
17d7f3c9ac
43
const.js
43
const.js
@ -370,32 +370,33 @@ var icon = {
|
|||||||
CHEVRON_DOWN: "bi bi-chevron-down", SEARCH: "bi bi-search", TERMINAL: "bi bi-terminal",
|
CHEVRON_DOWN: "bi bi-chevron-down", SEARCH: "bi bi-search", TERMINAL: "bi bi-terminal",
|
||||||
SUN: "bi bi-sun", MOON: "bi bi-moon-stars",
|
SUN: "bi bi-sun", MOON: "bi bi-moon-stars",
|
||||||
|
|
||||||
admin: "bi bi-window-sidebar", dream: "bi bi-grid-3x3-gap", space: "bi bi-grid-3x3-gap", desktop: "bi bi-window-desktop",
|
search: "bi bi-search", favor: "bi bi-star",
|
||||||
configs: "bi bi-gear", conf: "bi bi-gear", logs: "bi bi-calendar4-week",
|
|
||||||
sso: "bi bi-shield-check", login: "bi bi-person-check",
|
|
||||||
start: "bi bi-play-circle", stop: "bi bi-stop-circle",
|
|
||||||
modify: "bi bi-pencil-square", remove: "bi bi-trash",
|
|
||||||
save: "bi bi-floppy", trash: "bi bi-trash",
|
|
||||||
push: "bi bi-cloud-upload", pull: "bi bi-cloud-download",
|
|
||||||
upload: "bi bi-box-arrow-in-up", download: "bi bi-box-arrow-down",
|
|
||||||
record1: "bi bi-images", record2: "bi bi-record-circle", record: "bi bi-record-circle",
|
|
||||||
full: "bi bi-arrows-fullscreen", open: "bi bi-box-arrow-up-right",
|
|
||||||
search: "bi bi-search", favor: "bi bi-star", qrcode: "bi bi-qr-code",
|
|
||||||
chat: "bi bi-chat-dots",
|
|
||||||
notifications: "bi bi-chat-right-text",
|
|
||||||
help: "bi bi-question-square", doc: "bi bi-question-square",
|
|
||||||
|
|
||||||
"export": "bi bi-box-arrow-up", "import": "bi bi-box-arrow-in-down",
|
|
||||||
play: "bi bi-play-circle", app: "bi bi-box-arrow-down-left",
|
|
||||||
main: "bi bi-box-arrow-up-right", portal: "bi bi-box-arrow-up-right",
|
|
||||||
install: "bi bi-box-arrow-in-down",
|
|
||||||
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
|
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
|
||||||
preview: "bi bi-window-stack", show: "bi bi-window-stack",
|
preview: "bi bi-window-stack", show: "bi bi-window-stack",
|
||||||
display: "bi bi-window-desktop", exec: "bi bi-window-desktop",
|
display: "bi bi-window-desktop", exec: "bi bi-window-desktop",
|
||||||
compile: "bi bi-tools", publish: "bi bi-send-check", version: "bi bi-tags", upgrade: "bi bi-rocket-takeoff",
|
full: "bi bi-arrows-fullscreen", open: "bi bi-box-arrow-up-right", qrcode: "bi bi-qr-code",
|
||||||
|
chat: "bi bi-chat-dots", help: "bi bi-question-square", doc: "bi bi-question-square",
|
||||||
|
modify: "bi bi-pencil-square", remove: "bi bi-trash",
|
||||||
|
enable: "bi bi-toggle-off", disable: "bi bi-toggle-on",
|
||||||
|
start: "bi bi-play-circle", stop: "bi bi-stop-circle",
|
||||||
|
|
||||||
|
sso: "bi bi-shield-check", login: "bi bi-person-check",
|
||||||
|
pull: "bi bi-cloud-download", push: "bi bi-cloud-upload",
|
||||||
|
upload: "bi bi-box-arrow-in-up", download: "bi bi-box-arrow-down",
|
||||||
|
record1: "bi bi-images", record2: "bi bi-record-circle", record: "bi bi-record-circle",
|
||||||
|
"export": "bi bi-box-arrow-up", "import": "bi bi-box-arrow-in-down",
|
||||||
|
|
||||||
|
compile: "bi bi-tools", publish: "bi bi-send-check", version: "bi bi-tags", upgrade: "bi bi-rocket-takeoff", install: "bi bi-box-arrow-in-down",
|
||||||
vimer: "bi bi-code-slash", repos: "bi bi-git", build: "bi bi-tools", tag: "bi bi-tags",
|
vimer: "bi bi-code-slash", repos: "bi bi-git", build: "bi bi-tools", tag: "bi bi-tags",
|
||||||
xterm: "bi bi-terminal", cmds: "bi bi-terminal",
|
xterm: "bi bi-terminal", cmds: "bi bi-terminal",
|
||||||
enable: "bi bi-toggle-off", disable: "bi bi-toggle-on",
|
|
||||||
|
desktop: "bi bi-window-desktop", admin: "bi bi-window-sidebar", dream: "bi bi-grid-3x3-gap", space: "bi bi-grid-3x3-gap",
|
||||||
|
config: "bi bi-gear", conf: "bi bi-gear", logs: "bi bi-calendar4-week",
|
||||||
|
save: "bi bi-floppy", trash: "bi bi-trash",
|
||||||
|
|
||||||
|
notifications: "bi bi-chat-right-text",
|
||||||
|
play: "bi bi-play-circle", app: "bi bi-box-arrow-down-left",
|
||||||
|
main: "bi bi-box-arrow-up-right", portal: "bi bi-box-arrow-up-right",
|
||||||
}
|
}
|
||||||
var svg = {
|
var svg = {
|
||||||
GROUP: "group", PID: "pid", GRID: "grid",
|
GROUP: "group", PID: "pid", GRID: "grid",
|
||||||
|
@ -3,8 +3,13 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
if (can.isCmdMode()) { can.onappend.style(can, html.OUTPUT) }
|
if (can.isCmdMode()) { can.onappend.style(can, html.OUTPUT) }
|
||||||
can.page.Append(can, can._output, msg.Table(function(item) {
|
can.page.Append(can, can._output, msg.Table(function(item) {
|
||||||
return {view: [[html.ITEM, item.type]], list: [item.type != html.BUTTON && {text: [can.user.trans(can, item.name, item._trans, html.INPUT), "", mdb.NAME]}, item.need == "must" && {text: ["*", "", "need"]}], _init: function(target) {
|
return {view: [[html.ITEM, item.type]], list: [item.type != html.BUTTON && {text: [can.user.trans(can, item.name, item._trans, html.INPUT), "", mdb.NAME]}, item.need == "must" && {text: ["*", "", "need"]}], _init: function(target) {
|
||||||
can.onappend.input(can, item, "", target)
|
item.type == html.BUTTON && (item.onclick = function(event) { var args = []
|
||||||
}, onclick: function(event) { can.page.Select(can, event.currentTarget, html.INPUT, function(target) { target.focus() }) }}
|
can.core.Item(can.page.SelectArgs(can, can._output)[0], function(key, value) { args.push(key, value) })
|
||||||
|
can.Update(can.request(event, {_handle: ice.TRUE}), [ctx.ACTION, item.name].concat(args))
|
||||||
|
}), can.onappend.input(can, item, "", target)
|
||||||
|
}, onclick: function(event) {
|
||||||
|
can.page.Select(can, event.currentTarget, html.INPUT, function(target) { target.focus() })
|
||||||
|
}}
|
||||||
})), can.onappend.board(can, msg)
|
})), can.onappend.board(can, msg)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user