mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
Add topology display pickers for label, edge-number, and vendor icon colors.
Persist choices in localStorage, apply via canvas CSS variables, and tint router icons with mask fills so each vendor color is editable. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
4a0918ab44
commit
65afe8f29f
4 changed files with 288 additions and 51 deletions
|
|
@ -1466,7 +1466,25 @@ const en = {
|
|||
display: "Display",
|
||||
canvasBg: "Canvas background",
|
||||
canvasBgColor: "Background color",
|
||||
canvasBgReset: "Reset light blue",
|
||||
canvasBgReset: "Reset default",
|
||||
textColors: "Text colors",
|
||||
textColorsReset: "Reset default",
|
||||
labelColor: "NE name",
|
||||
edgeLabelColor: "Link numbers",
|
||||
vendorColors: "Vendor icon colors",
|
||||
vendorColorsReset: "Reset default",
|
||||
vendorTone: {
|
||||
cisco: "Cisco",
|
||||
huawei: "Huawei",
|
||||
zte: "ZTE",
|
||||
juniper: "Juniper",
|
||||
nokia: "Nokia",
|
||||
ericsson: "Ericsson",
|
||||
h3c: "H3C",
|
||||
ruijie: "Ruijie",
|
||||
mikrotik: "MikroTik",
|
||||
gray: "Unknown / unmanaged",
|
||||
},
|
||||
hideIp: "Hide IP",
|
||||
hideVendor: "Hide vendor",
|
||||
hidePorts: "Hide ports",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue