diff options
author | Kristian Lyngstol <kly@kly.no> | 2019-01-29 21:48:17 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2019-01-29 21:48:17 +0100 |
commit | 3b1ff674784205218c215212fd19d9cffd2ac708 (patch) | |
tree | 51afbbd5b7a0b326fb0fe8dfb4ba91ebea8ebb40 /web/js/nms-ui-switch.js | |
parent | 9cf888fd6345642e47d750e1872aa82ad32985a8 (diff) |
js front: Add missing file and minor tweak
Diffstat (limited to 'web/js/nms-ui-switch.js')
-rw-r--r-- | web/js/nms-ui-switch.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/js/nms-ui-switch.js b/web/js/nms-ui-switch.js index 507a3a9..f66a2b2 100644 --- a/web/js/nms-ui-switch.js +++ b/web/js/nms-ui-switch.js @@ -15,12 +15,14 @@ class nmsNewSwitch extends nmsPanel { constructor() { super("Add new switch") this.add(new nmsModSwitch(undefined)) + this.nav.add(new nmsString("The only required field for adding a switch is the sysname, everything else will be filled in by the backend if you do not provide it. However, you should PROBABLY fill in managemnt IP and a few other fields.")); } } class nmsNewNet extends nmsPanel { constructor() { super("Add new network") this.add(new nmsModNet(undefined)) + this.nav.add(new nmsString("Only the name is required, but you should probably fill in more.")); } } |