feat: 设置语言精简中英+补全时区;构建节点磁盘显示;浏览器 favicon

- 系统设置:界面语言仅保留 简体中文/English;时区按 亚/欧/美/大洋洲
  分组补全 22 个常用时区
- 构建节点:BuildNode 新增 diskInfo 字段(模型/CRUD/seed),卡片显示
  磁盘用量(未上报显示 —),添加/编辑弹窗可维护
- 新增 favicon.svg(主题渐变火箭图标),index.html 注入 icon 链接
This commit is contained in:
Logan.Li committed 2026-10-27 09:16:42 +08:00
1 parent 581d0a8351
commit a3b4637e19
7 files changed
+71 -10

No files matched your search

+1 -1
View File
@@ -394,7 +394,7 @@ func UpdateBuildNode(c *gin.Context) {
}
var raw map[string]any
_ = c.ShouldBindJSON(&raw)
for _, k := range []string{"name", "ip", "labels", "maxConcurrency", "workspacePath", "enabled"} {
for _, k := range []string{"name", "ip", "labels", "maxConcurrency", "workspacePath", "diskInfo", "enabled"} {
if v, ok := raw[k]; ok {
database.DB.Model(&n).Update(k, v)
}