From 66ad51002cfcc910ae7350c1c4d375c2bf6013e2 Mon Sep 17 00:00:00 2001 From: qinglong Date: Sat, 13 Jun 2026 14:28:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20WebUI=20=E6=A1=86=E6=9E=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2=20+=20API=20Key=20=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增: - static/web_panel/pages/settings.html — API Key CRUD 界面 - 侧边栏 '框架设置' 导航项 (齿轮图标) - BUILTIN_PAGES 增加 'settings' - UI 功能: 创建对话框(名称/权限/过期), 列表表格, 一键删除 权限模板: - readonly — framework.status.read + plugin.info.read - monitor — + framework.event.subscribe - full — admin (全部) Co-Authored-By: Claude --- config/plugins/commands.yaml | 2 +- config/services/network_routes.yaml | 2 +- static/web_panel/home.html | 4 + static/web_panel/js/app.js | 2 +- static/web_panel/pages/settings.html | 150 +++++++++++++++++++++++++++ 5 files changed, 157 insertions(+), 3 deletions(-) create mode 100644 static/web_panel/pages/settings.html diff --git a/config/plugins/commands.yaml b/config/plugins/commands.yaml index c586a70..5963a68 100644 --- a/config/plugins/commands.yaml +++ b/config/plugins/commands.yaml @@ -89,6 +89,6 @@ commands: permissions: - framework.command.test source: internal -last_updated: 13989.462275548 +last_updated: 14102.680173838 plugin_commands: {} total_commands: 18 diff --git a/config/services/network_routes.yaml b/config/services/network_routes.yaml index 22682ca..ab34803 100644 --- a/config/services/network_routes.yaml +++ b/config/services/network_routes.yaml @@ -1,4 +1,4 @@ http_port: 4200 -last_updated: 13989.479860756 +last_updated: 14102.696182483 plugin_routes: {} websocket_port: 4240 diff --git a/static/web_panel/home.html b/static/web_panel/home.html index 18dfcdf..78791b9 100644 --- a/static/web_panel/home.html +++ b/static/web_panel/home.html @@ -46,6 +46,10 @@ 文件管理 + + + 框架设置 +