From bd3cbe14abc9f674ad3f6e7f6526973af723b90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A1=E5=8F=A3=E6=B5=AA=E4=BA=BA?= Date: Tue, 20 Oct 2026 21:04:03 +0800 Subject: [PATCH] fix: resolve visual spacing and responsive layout issues --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- RELEASE_NOTES.md | 4 ++-- SHA256SUMS | 10 +++++----- plugin/manifest.json | 2 +- plugin/ui/config.js | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 342b067..7a3ba0a 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ See [storage behavior](docs/STORAGE.md), [release notes](RELEASE_NOTES.md), and ## Build -Current adapter version: **1.6.13**. +Current adapter version: **1.6.14**. ```sh mkdir -p dist -python3 package.py plugin dist/pigway-agent-1.6.13.zip +python3 package.py plugin dist/pigway-agent-1.6.14.zip ``` [Documentation](docs/README.md) diff --git a/README.zh-CN.md b/README.zh-CN.md index feee097..29551c3 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -6,7 +6,7 @@ 磁盘呈现统一版本已上线,需要 Console v2.7.0:默认按设备返回顺序,同组支持上移/下移、显示名称及隐藏,所有显示偏好保存到 Console,首页与配置页共用。Agent 的名称和隐藏定义继续作为设备默认值保留。扫描仍只由配置页按钮触发。 -当前 v1.6.13 支持统一磁盘显示设置与手动扫描,需要 Console v2.7.0、Agent v3.11.1;新磁盘仅手动发现,已知磁盘容量继续刷新。见 [磁盘发现说明](docs/STORAGE.md)。 +当前 v1.6.14 支持统一磁盘显示设置与手动扫描,需要 Console v2.7.0、Agent v3.11.1;新磁盘仅手动发现,已知磁盘容量继续刷新。见 [磁盘发现说明](docs/STORAGE.md)。 独立维护的树莓派接入插件:连接现有 PIGWay Raspberry Pi Agent,不在树莓派安装新进程。设备 API、状态转换、配置字段、服务/进程监控、硬件界面及其翻译均由本仓库维护。 @@ -16,7 +16,7 @@ ```sh mkdir -p dist -python3 package.py plugin dist/pigway-agent-1.6.13.zip +python3 package.py plugin dist/pigway-agent-1.6.14.zip ``` 在控制中心的机器管理页面安装 ZIP,再启用。开发时可用 `PIGWAY_ADAPTER_PATH=/absolute/path/pigway-console-adapter-raspberry-pi/plugin` 加载源码;Docker 推荐使用持久化数据卷中的安装包。 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 98759da..edce238 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,3 @@ -# pigway-console-adapter-raspberry-pi v1.6.13 +# pigway-console-adapter-raspberry-pi v1.6.14 -系统配置新增 Gateway 访问地址,首页名称旁显示管理入口按钮;留空隐藏。地址保存在 Console,不改变监控 API 或设备配置;仅允许无账号密码的 HTTP(S) 根地址。 +修复系统配置中 Gateway 访问地址标签与输入框紧贴的问题,复用现有 fields 布局,统一字段宽度及上下间距。 diff --git a/SHA256SUMS b/SHA256SUMS index 403438c..b327f16 100644 --- a/SHA256SUMS +++ b/SHA256SUMS @@ -2,9 +2,9 @@ 5b30f5e166b59ce8e59437ebdd753a417e0c6c6776b19bb073832aa2ccc72faa .gitignore 79f34290cfa1a6f0928162909848e6597d46183d0de6b213bf52b12546f5fc33 CONTRIBUTING.md 6eb7728e6e73f9568ca6fd5ad6383d13ffc638f2870fefa2d86f72f39685c0fc LICENSE -4449d96f0c183340974d5e76e7cc108fe943bb9f330b8e8d67f1898587ced55f README.md -785ce40174a026719c77370156fbaf7f2ffcafa81d1ba6d6be7b6a1c56989079 README.zh-CN.md -b1cea2332e0836efd3b363bfacad2cfcca853d19295c11c2bf171ab6527fd6f1 RELEASE_NOTES.md +c3666d31c679a6f269a98d6b86ca4311b5186012162472051b2a5a29298be88b README.md +a2a7dec9efbd8cba4d9c50e0116080ddddcc2fd506a45a1637ab27257edc10ce README.zh-CN.md +bd32ad65de3dfcd937b357e0364fa756345d54790be1213629e13bf40af21116 RELEASE_NOTES.md 6cead6c1378cd840f655adc3d467e2cd6fd3ab368d7200a3afbfe85d9ed159be SECURITY.md 1f4df7c43b0f6d138ac40c130511646d6ee9f7f1d9010505479acc7fee2f0e63 docs/README.md 45b7bfb3d8f414e28d50c1f160aee2af8e4150dcd24b815569d48765b1eb413f docs/STORAGE.md @@ -14,8 +14,8 @@ da6734d8a23305f6254c0936dadff4ec34977b4c934f5067186423c8cfce3fc7 docs/brand/pig 0fa494a3fbd456c754bbea3f7f050be139e32e3b42b09a1ed953094087437210 docs/brand/pigway-logo.svg d081c599d821149853368b1a8637c57a16995344406ff5ec9d7619b66e0479b3 package.py 6eb7728e6e73f9568ca6fd5ad6383d13ffc638f2870fefa2d86f72f39685c0fc plugin/LICENSE -84c1656efee3cb615269043e68815943e78d6abce2d381e426fbd35c0979ee83 plugin/manifest.json -48ea998f0dd3a9efabc0957035782119f6e6b5b4a84db777b9c9e089ce47b0e6 plugin/ui/config.js +a65aaffe53b4dcfa0a6681fa679a30a097de201035e60fb2fa8ab4bdc2df354b plugin/manifest.json +74d3e10521a5359bdb248d1b5ee43b4601d6a05a24c3c3426810ae6354f41aa8 plugin/ui/config.js c98f34119436e3020ef20b325f91617943aefe662119cf76738e0226c2e91cbb plugin/ui/device.js 89b9d7994e7477e18c3f43e6f0975e04d5106056ba581b2964db0f39183d6f8a plugin/ui/hardware.js af631694fcd7da21b77b554e6ee1bf2eaa93bd46a0b8b543e367f032d3236ecb plugin/ui/index.js diff --git a/plugin/manifest.json b/plugin/manifest.json index 440ec29..246106c 100644 --- a/plugin/manifest.json +++ b/plugin/manifest.json @@ -1,7 +1,7 @@ { "id": "pigway-agent", "name": "PIGWay Raspberry Pi Agent", - "version": "1.6.13", + "version": "1.6.14", "protocol_version": 1, "entrypoint": "worker.py", "runtime": "python3", diff --git a/plugin/ui/config.js b/plugin/ui/config.js index 708a11a..a66d1ed 100644 --- a/plugin/ui/config.js +++ b/plugin/ui/config.js @@ -371,7 +371,7 @@ function installAccessSettings() { const host = appState.fleetHosts.find(h => h.id === appState.currentConfigHost); if (!host) return; $("configMenu").insertAdjacentHTML("beforeend", ``); - $("configRows").insertAdjacentHTML("beforeend", `

${pluginText("访问地址", "Access URL")}

${pluginText("设置 Gateway 管理页面地址,首页显示链接按钮;留空隐藏入口。", "Set the Gateway management URL to show a link on the overview. Leave blank to hide it.")}

`); + $("configRows").insertAdjacentHTML("beforeend", `

${pluginText("访问地址", "Access URL")}

${pluginText("设置 Gateway 管理页面地址,首页显示链接按钮;留空隐藏入口。", "Set the Gateway management URL to show a link on the overview. Leave blank to hide it.")}

`); $("saveGatewayAccess").onclick = async () => { const button = $("saveGatewayAccess"), message = $("gatewayAccessMessage"); const value = $("gatewayAccessUrl").value.trim();