feat(web): make instance detail the operations workbench

This commit is contained in:
chick
2026-07-19 14:05:06 +08:00
parent f7d69a0fa7
commit 75682b8134
8 changed files with 663 additions and 140 deletions
+7 -10
View File
@@ -458,10 +458,14 @@ export function FleetPage({
key={row.id}
>
<header>
<div>
<a
className="fleet-card-entry"
href={`/instances/${encodeURIComponent(row.id)}/overview`}
aria-label={`打开 ${row.displayName} 实例仪表盘`}
>
<h2>{row.displayName}</h2>
<code>{row.id}</code>
</div>
</a>
<span className={`status status-${row.statusKind}`}>
{STATUS_LABELS[row.statusKind]}
</span>
@@ -520,14 +524,7 @@ export function FleetPage({
<p className="fleet-card-sms-empty"></p>
)}
</section>
<div className="fleet-card-actions">
<a
className="primary-action"
href={`/instances/${encodeURIComponent(row.id)}/messages`}
aria-label={`查看 ${row.displayName} 的短信`}
>
</a>
<div className="fleet-card-actions fleet-card-admin-actions">
<a
href={`/settings/instances/${encodeURIComponent(row.id)}`}
aria-label={`编辑 ${row.displayName}`}