Route incomplete topology terminals to NE inventory instead of a mini form.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-04 15:23:44 +08:00
parent 417ed66a53
commit c4968e334f
4 changed files with 113 additions and 332 deletions

View file

@ -1395,25 +1395,8 @@ const en = {
edgeDefaults: "Default edge styles",
edgeDefaultsReset: "Factory reset",
noNeLink: "Not linked to a managed NE",
termConnect: {
title: "Complete login",
titleCreate: "Create NE and connect",
hint: "This node is not managed or lacks credentials. Enter IP, vendor, and protocol to connect (same as creating/completing an NE).",
name: "Name",
vendor: "Vendor",
ip: "IP address",
port: "Port",
protocol: "Protocol",
username: "Username",
password: "Password",
connect: "Save and open terminal",
connecting: "Connecting…",
cancel: "Cancel",
ipRequired: "IP address is required",
userRequired: "Username is required for SSH",
passwordRequired: "Password is required for SSH",
saved: "Login details saved",
},
completeNeFirst:
"Login details are incomplete (vendor, hop/proxy, etc. belong in NE inventory). Complete the NE first, then open the terminal.",
edgeManual: "Manual",
edgeDiscovered: "Discovered",
edgeStale: "Missing",

View file

@ -1389,25 +1389,8 @@ const zh = {
edgeDefaults: "默认链路样式",
edgeDefaultsReset: "恢复出厂",
noNeLink: "未关联托管网元",
termConnect: {
title: "补全登录信息",
titleCreate: "新建网元并登录",
hint: "该网元尚未纳管或缺少登录信息,请填写 IP、厂家与协议后连接(等同新建/补全网元)。",
name: "名称",
vendor: "厂家",
ip: "IP 地址",
port: "端口",
protocol: "协议",
username: "用户名",
password: "密码",
connect: "保存并打开终端",
connecting: "连接中…",
cancel: "取消",
ipRequired: "请填写 IP 地址",
userRequired: "SSH 请填写用户名",
passwordRequired: "SSH 请填写密码",
saved: "登录信息已保存",
},
completeNeFirst:
"该网元登录信息不完整(厂家、代理跳转等需在网元管理填写)。请先完善后再打开终端。",
edgeManual: "人工",
edgeDiscovered: "发现",
edgeStale: "未发现",