diff --git a/etc/init.shy b/etc/init.shy index e844e5f9..75fc8563 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -1,17 +1,17 @@ ~web - # config space main "desktop" - # config serve main "/chat/cmd/web.wiki.portal/" - # config serve open "http://localhost:9020/chat/cmd/web.wiki.feel" - spide create name "com" link "https://2021.shylinux.com" - dream create name "20221205-sshd" icon usr/icons/ssh.png repos "https://shylinux.com/x/sshd" binary "http://2021.shylinux.com/chat/pod/20221205-sshd" - dream create name "20230511-golang-story" icon usr/icons/go.png repos "https://shylinux.com/x/golang-story" binary "http://2021.shylinux.com/chat/pod/20230511-golang-story" - dream create name "20230511-docker-story" icon src/client/docker.png repos "https://shylinux.com/x/docker-story" binary "http://2021.shylinux.com/chat/pod/20230511-docker-story" - dream create name "20230511-linux-story" icon src/linux.png repos "https://shylinux.com/x/linux-story" binary "http://2021.shylinux.com/chat/pod/20230511-linux-story" - dream create name "20230511-nginx-story" icon src/server/nginx.png repos "https://shylinux.com/x/nginx-story" binary "http://2021.shylinux.com/chat/pod/20230511-nginx-story" - dream create name "20230511-redis-story" icon src/client/redis.png repos "https://shylinux.com/x/redis-story" binary "http://2021.shylinux.com/chat/pod/20230511-redis-story" - dream create name "20230511-mysql-story" icon src/studio/mysql.png repos "https://shylinux.com/x/mysql-story" binary "http://2021.shylinux.com/chat/pod/20230511-mysql-story" + spide create "com" `https://2021.shylinux.com` + spide create "email" `https://mail.shylinux.com` + spide create "repos" `https://repos.shylinux.com` +~web + dream create name "20221205-sshd" icon usr/icons/ssh.png repos `https://shylinux.com/x/sshd` binary `http://2021.shylinux.com/chat/pod/20221205-sshd` + dream create name "20230511-golang-story" icon usr/icons/go.png repos `https://shylinux.com/x/golang-story` binary `http://2021.shylinux.com/chat/pod/20230511-golang-story` + dream create name "20230511-docker-story" icon src/client/docker.png repos `https://shylinux.com/x/docker-story` binary `http://2021.shylinux.com/chat/pod/20230511-docker-story` + dream create name "20230511-linux-story" icon src/linux.png repos `https://shylinux.com/x/linux-story` binary `http://2021.shylinux.com/chat/pod/20230511-linux-story` + dream create name "20230511-nginx-story" icon src/server/nginx.png repos `https://shylinux.com/x/nginx-story` binary `http://2021.shylinux.com/chat/pod/20230511-nginx-story` + dream create name "20230511-redis-story" icon src/client/redis.png repos `https://shylinux.com/x/redis-story` binary `http://2021.shylinux.com/chat/pod/20230511-redis-story` + dream create name "20230511-mysql-story" icon src/studio/mysql.png repos `https://shylinux.com/x/mysql-story` binary `http://2021.shylinux.com/chat/pod/20230511-mysql-story` + dream create name "20230913-matrix-story" icon src/matrix/matrix.png repos `https://shylinux.com/x/matrix-story` binary `http://2021.shylinux.com/chat/pod/20230913-matrix-story` dream button web.wiki.portal web.chat.macos.desktop web.code.xterm web.code.vimer web.code.compile web.code.git.repos - ~web.code webpack insert xterm webpack insert xterm-addon-fit @@ -25,12 +25,7 @@ binpack insert usr/node_modules/html2canvas/dist/html2canvas.min.js binpack insert usr/node_modules/bootstrap-icons/font/ binpack insert usr/icons/ - -~web - spide create monitor https://monitor.shylinux.com - spide create repos https://repos.shylinux.com - spide create email https://mail.shylinux.com ~aaa - config email mailbox "/chat/pod/20230511-golang-story/cmd/web.chat.mail.client" + config email mailbox `/chat/pod/20230511-golang-story/cmd/web.chat.mail.client` ~ssh source local.shy diff --git a/src/conf.js b/src/conf.js deleted file mode 100644 index 86578025..00000000 --- a/src/conf.js +++ /dev/null @@ -1,9 +0,0 @@ -Volcanos(chat.ONIMPORT, {list: { - "/plugin/local/mall/compute.js": {}, - // "/plugin/story/editor.js": { - // modules: ["tinymce/tinymce.min.js"] - // }, - // "/plugin/story/monaco.js": { - // modules: ["monaco-editor/min/vs/loader.js"], - // }, -}}) diff --git a/src/main.js b/src/main.js index 4a736ca1..4024166d 100644 --- a/src/main.js +++ b/src/main.js @@ -1,17 +1,75 @@ Volcanos({river: { product: {name: "产品群", icon: "bi bi-bar-chart-line-fill", storm: { - office: {name: "办公 office", icon: "bi bi-bar-chart-line-fill", index: ["web.wiki.portal", "web.chat.macos.desktop", "web.wiki.feel", "web.chat.flows", "web.wiki.draw"]}, + office: {name: "办公 office", icon: "bi bi-bar-chart-line-fill", index: [ + "web.wiki.portal", + "web.chat.macos.desktop", + "web.wiki.feel", + "web.chat.flows", + "web.wiki.draw", + ]}, }}, project: {name: "研发群", icon: "bi bi-git", storm: { - studio: {name: "研发 studio", icon: "bi bi-git", index: ["web.code.vimer", "web.code.git.status", "web.team.plan", "web.wiki.word"]}, + studio: {name: "研发 studio", icon: "bi bi-git", index: [ + "web.code.vimer", + "web.code.git.status", + "web.team.plan", + "web.wiki.word", + ]}, }}, profile: {name: "测试群", icon: "bi bi-list-columns", type: aaa.TECH, storm: { - issue: {name: "发布 issue", icon: "bi bi-list-check", index: ["web.code.compile", "web.code.publish", "web.code.bench", "web.code.pprof", "web.dream", "web.space", "web.code.git.service", "web.code.git.status"]}, + issue: {name: "发布 issue", icon: "bi bi-list-check", index: [ + "web.code.compile", + "web.code.publish", + "web.code.bench", + "web.code.pprof", + "web.dream", + "web.space", + "web.code.git.service", + "web.code.git.status", + ]}, }}, operate: {name: "运维群", icon: "bi bi-gear", type: aaa.TECH, storm: { - web: {name: "应用 web", icon: "bi bi-browser-chrome", index: ["web.chat.oauth.client", {index: "web.code.git.search", args: ["repos"]}, "broad", "serve", "dream", "space", "route", "share", "count"]}, - aaa: {name: "权限 aaa", icon: "bi bi-people-fill", index: ["offer", "email", "user", "totp", "sess", "role"]}, - cli: {name: "系统 cli", icon: "bi bi-windows", index: ["qrcode", "daemon", "runtime", "cli.procstat", "cli.procinfo", "mirrors", "signal", "timer", "routine", "log.debug"]}, - nfs: {name: "文件 nfs", icon: "bi bi-server", index: ["dir", "cat", "tar", "pack", "tail", "trash", "server", "host", "port"]}, + web: {name: "应用 web", icon: "bi bi-browser-chrome", index: [ + "web.chat.oauth.client", + {index: "web.code.git.search", args: ["repos"]}, + "broad", + "serve", + "dream", + "space", + "route", + "share", + "count", + ]}, + aaa: {name: "权限 aaa", icon: "bi bi-people-fill", index: [ + "offer", + "email", + "user", + "totp", + "sess", + "role", + ]}, + cli: {name: "系统 cli", icon: "bi bi-windows", index: [ + "qrcode", + "daemon", + "runtime", + "cli.procstat", + "cli.procinfo", + "mirrors", + "signal", + "timer", + "routine", + "log.debug", + ]}, + nfs: {name: "文件 nfs", icon: "bi bi-server", index: [ + "dir", + "cat", + "tar", + "pack", + "tail", + "trash", + "server", + "host", + "port", + ]}, }}, }}) diff --git a/src/template/web.chat.header/language/zh-cn.js b/src/template/web.chat.header/language/zh-cn.js index f25f5391..93e71062 100644 --- a/src/template/web.chat.header/language/zh-cn.js +++ b/src/template/web.chat.header/language/zh-cn.js @@ -1,5 +1,5 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], - mdb.CREATE, "创建", mdb.REMOVE, "删除", mdb.INSERT, "添加", mdb.DELETE, "删除", + mdb.CREATE, "创建", mdb.REMOVE, "删除", mdb.INSERT, "添加", mdb.DELETE, "删除", mdb.MODIFY, "编辑", mdb.PRUNES, "清理", mdb.PRUNE, "清理", mdb.EXPORT, "导出", mdb.IMPORT, "导入", mdb.SEARCH, "搜索", mdb.PLUGIN, "插件", mdb.PREV, "上一页", mdb.NEXT, "下一页",