mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 05:43:20 +08:00
Improve UME and managed NE list UI layout and styling.
Reorganize the UME page with collapsible CLI, sync status, and AI alert panels; embed CLI connect config in the main view; move task cards under token status; add tags column to managed NE list; and fix hop/proxy form alignment plus consistent section spacing. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
39aad258e6
commit
775989cad4
6 changed files with 391 additions and 193 deletions
|
|
@ -337,6 +337,8 @@ const en = {
|
|||
},
|
||||
keyAlert: {
|
||||
title: "AI alarm monitor (OClaw WhatsApp)",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
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",
|
||||
|
|
@ -455,6 +457,8 @@ const en = {
|
|||
},
|
||||
syncStatus: {
|
||||
title: "Sync history",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
empty: "No sync records",
|
||||
},
|
||||
ne: {
|
||||
|
|
@ -473,6 +477,8 @@ const en = {
|
|||
},
|
||||
cli: {
|
||||
title: "UME CLI connection profile",
|
||||
showPanel: "Expand",
|
||||
hidePanel: "Collapse",
|
||||
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).",
|
||||
|
|
|
|||
|
|
@ -335,6 +335,8 @@ const zh = {
|
|||
},
|
||||
keyAlert: {
|
||||
title: "AI 告警监控(OClaw WhatsApp)",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
help: "按 notificationId 精确匹配,或按告警描述关键字模糊匹配(不区分大小写,匹配 nativeProbableCause 等字段);可选限定 UME Inventory 中的网元类型 (ne_type),不选则匹配全部设备。经 OClaw WebSocket 推送到 WhatsApp 群。鉴权与 NETX_OCLAW_ANALYZE_TOKEN 共用。",
|
||||
ws: "OClaw WSS",
|
||||
wsConnected: "已连接",
|
||||
|
|
@ -453,6 +455,8 @@ const zh = {
|
|||
},
|
||||
syncStatus: {
|
||||
title: "同步状态",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
empty: "暂无同步记录",
|
||||
},
|
||||
ne: {
|
||||
|
|
@ -471,6 +475,8 @@ const zh = {
|
|||
},
|
||||
cli: {
|
||||
title: "UME CLI 连接配置",
|
||||
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