From 1ca4df670c1005a50d229fd5276e4a812cf7b8bd Mon Sep 17 00:00:00 2001 From: shy Date: Sun, 3 Sep 2023 23:34:59 +0800 Subject: [PATCH] add git.search --- etc/init.shy | 14 +-- src/main.js | 2 +- .../web.chat.header/language/zh-cn.js | 4 +- src/template/web.chat.header/theme/blue.css | 2 +- src/template/web.chat.header/theme/red.css | 3 +- src/template/web.space/main.html | 11 +-- .../export/web.chat.macos.desktop/hash.json | 90 +++++++++---------- 7 files changed, 65 insertions(+), 61 deletions(-) diff --git a/etc/init.shy b/etc/init.shy index 01d9fa02..6823e40f 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -3,13 +3,13 @@ # config serve main "/chat/cmd/web.wiki.portal/" # config serve open "http://localhost:9020/chat/cmd/web.wiki.feel" spide create name "com" link "http://2021.shylinux.com" - dream create name "20221205-sshd" repos "https://shylinux.com/x/sshd" binary "http://2021.shylinux.com/chat/pod/20221205-sshd" - dream create name "20230511-golang-story" repos "https://shylinux.com/x/golang-story" binary "http://2021.shylinux.com/chat/pod/20230511-golang-story" - dream create name "20230511-docker-story" repos "https://shylinux.com/x/docker-story" binary "http://2021.shylinux.com/chat/pod/20230511-docker-story" - dream create name "20230511-linux-story" repos "https://shylinux.com/x/linux-story" binary "http://2021.shylinux.com/chat/pod/20230511-linux-story" - dream create name "20230511-nginx-story" repos "https://shylinux.com/x/nginx-story" binary "http://2021.shylinux.com/chat/pod/20230511-nginx-story" - dream create name "20230511-redis-story" repos "https://shylinux.com/x/redis-story" binary "http://2021.shylinux.com/chat/pod/20230511-redis-story" - dream create name "20230511-mysql-story" repos "https://shylinux.com/x/mysql-story" binary "http://2021.shylinux.com/chat/pod/20230511-mysql-story" + 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 button web.wiki.portal web.chat.macos.desktop web.code.xterm web.code.vimer web.code.compile web.code.git.repos ~web.code diff --git a/src/main.js b/src/main.js index 5c54c0a9..ed4cb181 100644 --- a/src/main.js +++ b/src/main.js @@ -9,7 +9,7 @@ Volcanos({river: { 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", "broad", "serve", "dream", "space", "route", "share", "count"]}, + 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 d4335448..8c3c77f8 100644 --- a/src/template/web.chat.header/language/zh-cn.js +++ b/src/template/web.chat.header/language/zh-cn.js @@ -12,7 +12,7 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二" cli.OPEN, "打开", cli.CLOSE, "关闭", cli.DONE, "完成", cli.BUILD, "构建", - nfs.SAVE, "保存", nfs.LOAD, "加载", nfs.TRASH, "删除", + nfs.SAVE, "保存", nfs.LOAD, "加载", nfs.TRASH, "清理", nfs.PUSH, "上传", nfs.PULL, "下载", nfs.SOURCE, "源码", nfs.MODULE, "模块", nfs.SCRIPT, "脚本", @@ -32,6 +32,8 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二" "logs", "日志", "configs", "配置", "inspect", "详情", "portal", "首页", "add", "添加", "opt", "优化", "fix", "修复", "full", "全屏", + "more", "更多", + "clone", "克隆", )}) kit.Dict( mdb.REVERT, "恢复", diff --git a/src/template/web.chat.header/theme/blue.css b/src/template/web.chat.header/theme/blue.css index 437b9228..7834d2a0 100644 --- a/src/template/web.chat.header/theme/blue.css +++ b/src/template/web.chat.header/theme/blue.css @@ -1,5 +1,5 @@ body.blue { --legend-bg-color:var(--ui-blue-10); --input-bg-color:var(--ui-geekblue-10); - --box-border:blue solid 1px; + --box-border:#9c9cb070 solid 1px; } diff --git a/src/template/web.chat.header/theme/red.css b/src/template/web.chat.header/theme/red.css index e469de0a..70c41a87 100644 --- a/src/template/web.chat.header/theme/red.css +++ b/src/template/web.chat.header/theme/red.css @@ -1,6 +1,7 @@ body.red { --legend-bg-color:var(--ui-volcano-9); --input-bg-color:var(--ui-red-10); - --box-border:red solid 1px; + /* --box-border:red solid 1px; */ + --box-border:#9c9cb070 solid 1px; } diff --git a/src/template/web.space/main.html b/src/template/web.space/main.html index 090a9b6d..c515efb6 100644 --- a/src/template/web.space/main.html +++ b/src/template/web.space/main.html @@ -2,13 +2,14 @@ volcanos - - - + + + - - + + + diff --git a/usr/local/export/web.chat.macos.desktop/hash.json b/usr/local/export/web.chat.macos.desktop/hash.json index 4777df49..2588d815 100644 --- a/usr/local/export/web.chat.macos.desktop/hash.json +++ b/usr/local/export/web.chat.macos.desktop/hash.json @@ -1,59 +1,59 @@ { - "332d84": { - "meta": { - "args": "month", - "icon": "usr/icons/Calendar.png", - "index": "web.team.plan", - "name": "Calendar", - "time": "2023-08-03 09:42:37.312" - } - }, - "3cb722": { - "meta": { - "icon": "/require/usr/icons/route.png", - "index": "web.route", - "name": "route", - "time": "2023-08-21 20:08:47.717" - } - }, - "85a5df": { - "meta": { - "icon": "/require/usr/icons/info.png", - "index": "runtime", - "name": "runtime", - "time": "2023-08-21 13:03:22.938" - } - }, - "b4badb": { - "meta": { - "icon": "usr/icons/Books.png", - "index": "web.wiki.word", - "name": "Books", - "time": "2023-08-03 09:42:37.311" - } - }, - "d022d9": { - "meta": { - "icon": "/require/usr/icons/flows.png", - "index": "web.chat.flows", - "name": "flows", - "time": "2023-08-21 13:03:22.938" - } - }, - "e08bef": { + "57243a": { "meta": { "icon": "usr/icons/Photos.png", "index": "web.wiki.feel", "name": "Photos", - "time": "2023-08-03 09:42:37.312" + "time": "2023-09-03 21:11:30.776" } }, - "e76fbb": { + "71051a": { + "meta": { + "icon": "/require/usr/icons/Mission Control.png", + "index": "dream", + "name": "dream", + "time": "2023-09-03 21:13:14.548" + } + }, + "859fa0": { + "meta": { + "icon": "usr/icons/Calendar.png", + "index": "web.team.plan", + "name": "Calendar", + "time": "2023-09-03 21:11:30.776" + } + }, + "995aaa": { + "meta": { + "args": "[\"repos\"]", + "icon": "/require/usr/icons/gitea.png", + "index": "web.code.git.search", + "name": "gitea", + "time": "2023-09-03 21:13:14.784" + } + }, + "a63b56": { + "meta": { + "icon": "usr/icons/flows.png", + "index": "web.chat.flows", + "name": "flows", + "time": "2023-09-03 21:11:30.776" + } + }, + "abc833": { + "meta": { + "icon": "usr/icons/Books.png", + "index": "web.wiki.word", + "name": "Books", + "time": "2023-09-03 21:11:30.776" + } + }, + "b9d4c2": { "meta": { "icon": "usr/icons/Grapher.png", "index": "web.wiki.draw", "name": "Grapher", - "time": "2023-08-03 09:42:37.312" + "time": "2023-09-03 21:11:30.776" } } }