mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 17:50:44 +08:00
Unify ops detail dialogs and rename workbench monitoring section.
LLDP job detail, config-sync cycle tasks, and UME fold panels now use the shared modal layout; workbench section label is 系统对接. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5a77e36839
commit
b7a179d492
6 changed files with 1245 additions and 723 deletions
|
|
@ -21,7 +21,7 @@ const en = {
|
|||
backToWorkbench: "Back to Workbench",
|
||||
openInNewTab: "Open in new tab",
|
||||
openModule: "Open or switch to this module tab",
|
||||
monitoring: "Monitoring",
|
||||
monitoring: "System integration",
|
||||
operations: "Operations",
|
||||
system: "System",
|
||||
welcomeEyebrow: "Workbench",
|
||||
|
|
@ -350,6 +350,7 @@ const en = {
|
|||
targetKeywordPh: "Name / IP / vendor",
|
||||
jobsTitle: "Collect jobs",
|
||||
jobDetailTitle: "Job details",
|
||||
expand: "Details",
|
||||
edgesTitle: "Fabric links",
|
||||
edgeKeywordPh: "Endpoint name or IP",
|
||||
edgeStatusAll: "All statuses",
|
||||
|
|
@ -417,7 +418,7 @@ const en = {
|
|||
tasksTitle: "Cycle tasks",
|
||||
taskKeywordPh: "Name / IP / message",
|
||||
allStatus: "All statuses",
|
||||
expand: "Expand",
|
||||
expand: "Details",
|
||||
collapse: "Collapse",
|
||||
kpi: {
|
||||
snapshots: "Snapshots",
|
||||
|
|
@ -910,8 +911,8 @@ const en = {
|
|||
},
|
||||
keyAlert: {
|
||||
title: "AI alarm monitor (OClaw WhatsApp)",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
showPanel: "Details",
|
||||
hidePanel: "Close",
|
||||
help: "Exact match by notificationId, or substring match on alarm description (case-insensitive; nativeProbableCause, etc.). Optionally restrict to UME inventory ne_type values (multi-select; empty = all devices). Pushed via OClaw WebSocket. Shares NETX_OCLAW_ANALYZE_TOKEN.",
|
||||
ws: "OClaw WSS",
|
||||
wsConnected: "connected",
|
||||
|
|
@ -1030,19 +1031,21 @@ const en = {
|
|||
},
|
||||
syncStatus: {
|
||||
title: "Sync history",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
showPanel: "Details",
|
||||
hidePanel: "Close",
|
||||
empty: "No sync records",
|
||||
summary: "{{total}} record(s), {{running}} running",
|
||||
},
|
||||
ne: {
|
||||
title: "Network elements",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
showPanel: "Details",
|
||||
hidePanel: "Close",
|
||||
keywordPh: "keyword(ne_id/ne_name/user_label/ip/host_name)",
|
||||
clearTitle: "Clear keyword and reset to page 1",
|
||||
expand: "Expand details",
|
||||
collapse: "Collapse details",
|
||||
expand: "Details",
|
||||
collapse: "Close",
|
||||
cliConnect: "CLI connect",
|
||||
summary: "{{total}} inventory NE(s)",
|
||||
},
|
||||
tabs: {
|
||||
main: "UME sync",
|
||||
|
|
@ -1050,8 +1053,8 @@ const en = {
|
|||
},
|
||||
cli: {
|
||||
title: "UME CLI connection profile",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
showPanel: "Details",
|
||||
hidePanel: "Close",
|
||||
hint: "Unified SSH credentials and hop/bastion for UME inventory NEs. OClaw MCP can exec show commands via ume_ne_id without per-device managed_ne entries.",
|
||||
statusReady: "CLI profile is ready for UME NE command execution.",
|
||||
statusNotReady: "Set target username and hop/bastion settings (if enabled).",
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const zh = {
|
|||
backToWorkbench: "返回工作台",
|
||||
openInNewTab: "在新标签页中打开",
|
||||
openModule: "打开或切换到该模块页签",
|
||||
monitoring: "监控",
|
||||
monitoring: "系统对接",
|
||||
operations: "运维",
|
||||
system: "系统管理",
|
||||
welcomeEyebrow: "工作台",
|
||||
|
|
@ -347,6 +347,7 @@ const zh = {
|
|||
targetKeywordPh: "名称 / IP / 厂商",
|
||||
jobsTitle: "采集任务",
|
||||
jobDetailTitle: "任务明细",
|
||||
expand: "详情",
|
||||
edgesTitle: "Fabric 链路",
|
||||
edgeKeywordPh: "本端 / 对端名称或 IP",
|
||||
edgeStatusAll: "全部状态",
|
||||
|
|
@ -414,7 +415,7 @@ const zh = {
|
|||
tasksTitle: "周期任务",
|
||||
taskKeywordPh: "名称 / IP / 消息",
|
||||
allStatus: "全部状态",
|
||||
expand: "展开",
|
||||
expand: "详情",
|
||||
collapse: "收起",
|
||||
kpi: {
|
||||
snapshots: "配置覆盖数",
|
||||
|
|
@ -904,8 +905,8 @@ const zh = {
|
|||
},
|
||||
keyAlert: {
|
||||
title: "AI 告警监控(OClaw WhatsApp)",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
showPanel: "详情",
|
||||
hidePanel: "关闭",
|
||||
help: "按 notificationId 精确匹配,或按告警描述关键字模糊匹配(不区分大小写,匹配 nativeProbableCause 等字段);可选限定 UME Inventory 中的网元类型 (ne_type),不选则匹配全部设备。经 OClaw WebSocket 推送到 WhatsApp 群。鉴权与 NETX_OCLAW_ANALYZE_TOKEN 共用。",
|
||||
ws: "OClaw WSS",
|
||||
wsConnected: "已连接",
|
||||
|
|
@ -1024,19 +1025,21 @@ const zh = {
|
|||
},
|
||||
syncStatus: {
|
||||
title: "同步状态",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
showPanel: "详情",
|
||||
hidePanel: "关闭",
|
||||
empty: "暂无同步记录",
|
||||
summary: "共 {{total}} 条记录,进行中 {{running}}",
|
||||
},
|
||||
ne: {
|
||||
title: "网元清单",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
showPanel: "详情",
|
||||
hidePanel: "关闭",
|
||||
keywordPh: "keyword(ne_id/ne_name/user_label/ip/host_name)",
|
||||
clearTitle: "清空 keyword,回到第 1 页",
|
||||
expand: "展开详情",
|
||||
collapse: "收起详情",
|
||||
expand: "详情",
|
||||
collapse: "关闭",
|
||||
cliConnect: "CLI 连通",
|
||||
summary: "Inventory 网元 {{total}} 台",
|
||||
},
|
||||
tabs: {
|
||||
main: "UME 同步",
|
||||
|
|
@ -1044,8 +1047,8 @@ const zh = {
|
|||
},
|
||||
cli: {
|
||||
title: "UME CLI 连接配置",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
showPanel: "详情",
|
||||
hidePanel: "关闭",
|
||||
hint: "为 UME 清单网元配置统一 SSH 凭据与跳板/堡垒机;OClaw MCP 可通过 ume_ne_id 直接执行 show 命令,无需逐台录入 managed_ne。",
|
||||
statusReady: "CLI 配置已就绪,可对 UME 网元执行命令。",
|
||||
statusNotReady: "请填写目标用户名,并配置跳板/堡垒机(若启用)。",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue