From 49e374d4ff2dd379b36703f64ec06cfc5e92a0e5 Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 14 Feb 2024 18:00:14 +0800 Subject: [PATCH] opt matrix --- src/main.js | 18 ++++++++++-------- src/template/web.chat.header/language/zh-cn.js | 5 ++++- usr/local/export/web.code.bench/zone.csv | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/main.js b/src/main.js index 670dca3a..02533e5a 100644 --- a/src/main.js +++ b/src/main.js @@ -6,29 +6,31 @@ Volcanos({river: { desktop: {name: "桌面 desktop", icon: "bi bi-window-desktop", index: [ "desktop", ]}, - dream: {name: "空间 dream", icon: "bi bi-grid-3x3-gap", index: [ + dream: {name: "空间 dream", icon: "bi bi-diagram-3", index: [ "dream", ]}, + matrix: {name: "矩阵 matrix", icon: "bi bi-grid-3x3-gap", index: [ + "matrix", + ]}, store: {name: "商店 store", icon: "bi bi-shop", index: [ "store", ]}, }}, project: {name: "研发群", icon: "bi bi-git", type: aaa.TECH, debug: true, storm: { studio: {name: "研发 studio", icon: "bi bi-code-slash", index: [ - "vimer", "status", "dream", {index: "web.chat.script", args: ["devops"]}, - "favor", "word", + "vimer", "status", "dream", {index: "web.chat.script", args: ["devops"]}, "favor", "word", ]}, - source: {name: "源码 source", icon: "bi bi-git", index: [ - "store", "matrix", "web.code.git.service", "web.code.git.repos", + repos: {name: "源码 repos", icon: "bi bi-git", index: [ + "store", "matrix", "compile", "publish", "web.code.git.service", "web.code.git.repos", ]}, - binary: {name: "镜像 binary", icon: "bi bi-disc", index: [ - "compile", "publish", "count", "stats", "route", "space", "spide", "broad", + stats: {name: "流量 stats", icon: "bi bi-bar-chart-line", index: [ + "stats", "count", "broad", "spide", "space", "route", ]}, cloud: {name: "部署 cloud", icon: "bi bi-clouds", list: [ {space: "20220826-career", index: "ssh.relay"}, "bench", {space: "20230913-matrix-story", index: "web.chat.island.group"}, {space: "20230913-matrix-story", index: "web.chat.island.portal"}, - {space: "20230913-matrix-story", index: "web.code.docker.container"}, + {space: "20230511-docker-story", index: "web.code.docker.container"}, {space: "20230511-golang-story", index: "web.chat.mail.client"}, ]}, }}, diff --git a/src/template/web.chat.header/language/zh-cn.js b/src/template/web.chat.header/language/zh-cn.js index 43845305..13513b5e 100644 --- a/src/template/web.chat.header/language/zh-cn.js +++ b/src/template/web.chat.header/language/zh-cn.js @@ -15,6 +15,7 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二" aaa.LOGIN, "登录", aaa.APPLY, "申请", cli.QRCODE, "二维码", + cli.RUNTIME, "环境", cli.BEGIN, "开始", cli.END, "结束", cli.START, "启动", cli.RESTART, "重启", cli.STOP, "停止", cli.OPEN, "打开", cli.CLOSE, "关闭", @@ -23,7 +24,8 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二" nfs.MODULE, "模块", nfs.SOURCE, "源码", nfs.SCRIPT, "脚本", nfs.REPOS, "源码", nfs.VRESION, "版本", nfs.CLONE, "克隆", nfs.PUSH, "上传", nfs.PULL, "下载", - code.VIMER, "编辑器", code.INNER, "源码", code.XTERM, "终端", + wiki.WORD, "文档", + code.VIMER, "编程", code.INNER, "代码", code.XTERM, "终端", code.COMPILE, "编译", code.UPGRADE, "升级", code.PUBLISH, "发布", code.INSTALL, "安装", html.HEIGHT, "高度", html.WIDTH, "宽度", html.SPEED, "速度", html.MARGIN, "边距", html.IFRAME, "预览", @@ -42,6 +44,7 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二" mdb.KEY, "键值", mdb.VALUE, "数据", mdb.STATUS, "状态", mdb.EXTRA, "其它", mdb.COUNT, "数量", mdb.TOTAL, "总数", mdb.ORDER, "排序", mdb.SEARCH, "搜索", + web.SERVER, "服务", web.WORKER, "空间", web.SERVE, "服务", web.DREAM, "空间", web.SPACE, "空间", web.TOKEN, "令牌", web.SHARE, "共享", web.ONLINE, "在线", web.OFFLINE, "离线", web.LINK, "链接", web.DOMAIN, "域名", web.FILTER, "筛选", diff --git a/usr/local/export/web.code.bench/zone.csv b/usr/local/export/web.code.bench/zone.csv index eab3c537..ad586aa8 100644 --- a/usr/local/export/web.code.bench/zone.csv +++ b/usr/local/export/web.code.bench/zone.csv @@ -1,2 +1,2 @@ zone,time,id,type,name,text,nconn,nreqs,extra -demo,2024-02-12 08:39:25.834,1,http,demo,"POST,http://localhost:9020/s/20230913-matrix-story/c/web.chat.island.group/action/apply/machine?debug=true",3,1, +demo,2024-02-12 08:39:25.834,1,http,demo,"POST,http://localhost:9020/s/20230913-matrix-story/c/web.chat.island.group/action/apply/machine?debug=true",5,1,