summaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config.js')
-rw-r--r--config.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/config.js b/config.js
deleted file mode 100644
index 814371e..0000000
--- a/config.js
+++ /dev/null
@@ -1,44 +0,0 @@
-config = {
- device: "Device Name",
- swVersion: "1.0",
- hwVersion: "1.0",
- sections: {
- network: {
- title: "Network",
- fields: [
- {
- id: "macaddr",
- type: "mac",
- title: "MAC address",
- pattern: "[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}",
- invalidmsg: "Enter MAC address. E.g. 00:11:22:33:44:55",
- required: true,
- },
- {
- id: "ipaddr",
- type: "ip",
- title: "IP address",
- pattern: "\\d+.\\d+.\\d+.\\d+",
- hint: "192.168.4.2",
- invalidmsg: "Enter IP address. E.g. 192.168.4.2",
- required: true,
- },
- {
- id: "netmask",
- type: "netmask",
- title: "Netmask",
- pattern: "\\d+.\\d+.\\d+.\\d+",
- hint: "255.255.255.0",
- invalidmsg: "Enter network mask. E.g. 255.255.255.0",
- required: true,
- },
- {
- id: "gateway",
- type: "ip",
- title: "Gateway",
- pattern: "\\d+.\\d+.\\d+.\\d+",
- },
- ],
- },
- },
-}