Add collect dashboard KPIs and create-job modal.

Align collection tasks with LLDP/config-sync chrome, and refresh active-task overview when jobs change.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-05 14:08:13 +08:00
parent 0100fb8430
commit 6642f4b8b5
11 changed files with 502 additions and 249 deletions

View file

@ -604,8 +604,8 @@ const en = {
added: "Added",
create: "Create job",
creating: "Creating…",
expand: "Expand",
collapse: "Collapse",
expand: "New",
collapse: "Close",
meta: "{{ne}} NE(s) selected · {{cmd}} command(s)",
},
eligible: {
@ -659,6 +659,13 @@ const en = {
autoRefresh: "Auto-refresh every 2s while jobs are running",
runsInProgress: "Some devices are still being collected…",
},
kpi: {
jobs: "Jobs",
running: "In progress",
idle: "Idle",
last: "Last job",
active: "Active jobs",
},
runs: {
status: "Status",
message: "Message",

View file

@ -600,8 +600,8 @@ const zh = {
added: "已添加",
create: "创建任务",
creating: "创建中…",
expand: "展开",
collapse: "收起",
expand: "新建",
collapse: "关闭",
meta: "已选 {{ne}} 台网元 · {{cmd}} 条命令",
},
eligible: {
@ -655,6 +655,13 @@ const zh = {
autoRefresh: "任务进行中,每 2 秒自动刷新",
runsInProgress: "部分网元仍在采集中,请稍候…",
},
kpi: {
jobs: "任务总数",
running: "进行中",
idle: "空闲",
last: "最近任务",
active: "活跃任务",
},
runs: {
status: "状态",
message: "说明",