From fc016fd45932bdc79a7680f64ec2631a97a98f9b Mon Sep 17 00:00:00 2001 From: openqj Date: Tue, 27 Oct 2026 02:45:08 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=91=BD=E4=BB=A4=E5=8F=B0=20GUI=20?= =?UTF-8?q?=E7=BE=8E=E5=8C=96=20(#62)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 只改样式与布局骨架,不动 JS 逻辑与接口: - 卡片化分区(API Key / 健康 / 项目+Workers 两栏 / 新建任务 / 任务列表 / 任务详情),柔和底色 + 圆角 + 细阴影 - 按钮分主次:保存 key 与提交任务为主按钮(蓝),取消为红色弱化按钮;输入框获焦有蓝圈 - 任务状态改圆点 + 彩色文字(running 蓝、completed 绿、failed 红、merged 紫、interrupted 橙),行悬停高亮 - 表格去网格线、表头浅灰,详情/链路区改浅灰圆角框;窄屏单栏自适应 - 验证:HTML 标签平衡、全部 41 个 JS 用 id 齐全、接口标记齐全、零外部引用、JS 经 node --check、test_console 4/4 Co-authored-by: host --- cloud/console.html | 99 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 75 insertions(+), 24 deletions(-) diff --git a/cloud/console.html b/cloud/console.html index b6cbbf9..31f8ee4 100644 --- a/cloud/console.html +++ b/cloud/console.html @@ -12,49 +12,92 @@ 调不到任何数据);日后若经 nginx 子路径挂载,需改 API 前缀。 --> +
+

Codex 命令台

控制面操作台 v1:任务是核心操作对象;成本、workers、健康状态附带查看。公网入口未开时经 SSH 隧道访问本机 8765/8766 端口。

+
+key 只存本浏览器 +
+

API Key

- +
+
+

健康状态

未加载
+
-
+

项目

@@ -75,6 +118,7 @@
+

新建任务

- +
+
+

任务列表 (每 10 秒自动刷新当前项目)

+
任务prompt状态executor主机PR更新
先选项目
+
+
+

任务详情

点任务行查看详情