diff --git a/app/server/public/css/style.css b/app/server/public/css/style.css index 9f81b89..3b0420f 100644 --- a/app/server/public/css/style.css +++ b/app/server/public/css/style.css @@ -75,25 +75,14 @@ body { .badge.queued { background: #fff4dc; color: #a06a00; } .badge.completed { background: #eceff5; color: #5c6674; } .badge.cancelled { background: #fdecea; color: #b3382c; } -.badge.execution { background: #e8ecfd; color: #3550b8; } .session-del { color: #c33; background: none; border: none; font-size: 12px; padding: 6px; } -/* ---- 阶段开关条 ---- */ +/* ---- 任务状态栏 ---- */ .phase-bar { - display: flex; align-items: center; justify-content: space-between; + display: flex; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e8e8ee; } .status-pill { font-size: 12px; color: #666; } -.phase-switch { - border: none; border-radius: 18px; padding: 8px 18px; - font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; - box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18); - transition: background 0.2s; -} -.phase-switch.planning { background: #2e9d54; } -.phase-switch.planning:active { background: #268547; } -.phase-switch.execution { background: #d2483c; } -.phase-switch.execution:active { background: #b13a2f; } /* ---- 消息 ---- */ .messages { diff --git a/app/server/public/index.html b/app/server/public/index.html index 5878849..c97b494 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -45,10 +45,9 @@ - +
diff --git a/app/server/public/js/app.js b/app/server/public/js/app.js index 5954c9f..90b5a2a 100644 --- a/app/server/public/js/app.js +++ b/app/server/public/js/app.js @@ -8,7 +8,6 @@ if (typeof marked !== 'undefined') { const state = { sessionId: null, - phase: 'planning', status: '', es: null, streamEl: null, @@ -120,11 +119,10 @@ async function loadSessions() { el.innerHTML = rows.map(s => { const st = { queued: '排队中', active: '活跃中', completed: '已完成', cancelled: '已终止' }[s.status] || s.status; const badge = '' + st + (s.status === 'queued' && s.queue_pos ? ' #' + s.queue_pos : '') + ''; - const phase = s.phase === 'execution' ? '执行中阶段' : ''; return '