UI: centered nav title, settings tabs, running status, manual buttons.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -90,7 +90,7 @@ export default function PlanPage() {
|
||||
disabled={!!busy}
|
||||
onClick={() => act("/api/sim/open-group", "open")}
|
||||
>
|
||||
模拟开一组
|
||||
手动开一组
|
||||
</button>
|
||||
<button
|
||||
className="btn ghost"
|
||||
@@ -98,7 +98,7 @@ export default function PlanPage() {
|
||||
disabled={!!busy}
|
||||
onClick={() => act("/api/sim/close-group", "close")}
|
||||
>
|
||||
模拟全平
|
||||
手动全平
|
||||
</button>
|
||||
<button
|
||||
className="btn ghost"
|
||||
@@ -115,8 +115,12 @@ export default function PlanPage() {
|
||||
<div className="kv">
|
||||
<span>策略</span>
|
||||
<span className="mono">
|
||||
{plan?.running ? "运行中" : "已停"} · {plan?.phase || "—"} · 轮次{" "}
|
||||
{plan?.rounds_done ?? 0}/{plan?.max_rounds ?? 3}
|
||||
{plan?.running ? (
|
||||
<span className="status-running">启动中</span>
|
||||
) : (
|
||||
<span className="status-stopped">已停</span>
|
||||
)}{" "}
|
||||
· {plan?.phase || "—"} · 轮次 {plan?.rounds_done ?? 0}/{plan?.max_rounds ?? 3}
|
||||
</span>
|
||||
</div>
|
||||
<div className="kv">
|
||||
|
||||
Reference in New Issue
Block a user