diff --git a/README.md b/README.md index 2384678..4a297f3 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,9 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) { --> ## Changelog +### **WORK IN PROGRESS** +* (simatec) Responsive Design added + ### 4.0.3 (2024-05-16) * (bluefox) Some packages were updated diff --git a/admin/jsonConfig.json b/admin/jsonConfig.json index 7f5ea00..331231a 100644 --- a/admin/jsonConfig.json +++ b/admin/jsonConfig.json @@ -15,6 +15,7 @@ {"label": "1.x", "value": "1.x"}, {"label": "2.x", "value": "2.x"} ], + "xs": 12, "sm": 12, "md": 8 }, @@ -27,12 +28,14 @@ {"label": "https", "value": "https"} ], "label": "Protocol", + "xs": 12, "sm": 12, "md": 2 }, "host": { "type": "text", "label": "Host", + "xs": 12, "sm": 12, "md": 8 }, @@ -41,6 +44,7 @@ "label": "Port", "min": 1, "max": 65565, + "xs": 12, "sm": 12, "md": 2 }, @@ -50,6 +54,7 @@ "help": "only enter when e.g. a reverse proxy is used", "hidden": "data.dbversion === '1.x'", "disabled": "data.dbversion === '1.x'", + "xs": 12, "sm": 12, "md": 4 }, @@ -59,6 +64,7 @@ "label": "User", "hidden": "data.dbversion === '2.x'", "disabled": "data.dbversion === '2.x'", + "xs": 12, "sm": 12, "md": 4 }, @@ -68,6 +74,7 @@ "hidden": "data.dbversion === '2.x'", "disabled": "data.dbversion === '2.x'", "repeat": true, + "xs": 12, "sm": 12, "md": 8 }, @@ -77,6 +84,7 @@ "label": "Organization", "hidden": "data.dbversion === '1.x'", "disabled": "data.dbversion === '1.x'", + "xs": 12, "sm": 12, "md": 4 }, @@ -85,6 +93,7 @@ "label": "Token", "hidden": "data.dbversion === '1.x'", "disabled": "data.dbversion === '1.x'", + "xs": 12, "sm": 12, "md": 8 }, @@ -92,6 +101,7 @@ "newLine": true, "type": "text", "label": "DB Name", + "xs": 12, "sm": 12, "md": 8 }, @@ -100,6 +110,7 @@ "type": "number", "label": "Request timeout", "help": "Milliseconds", + "xs": 12, "sm": 12, "md": 2 }, @@ -109,6 +120,7 @@ "label": "Validate SSL certificate", "hidden": "data.dbversion === '1.x'", "disabled": "data.dbversion === '1.x'", + "xs": 12, "sm": 12, "md": 4 }, @@ -116,12 +128,14 @@ "newLine": true, "type": "number", "label": "Round real to", + "xs": 12, "sm": 12, "md": 4 }, "relogLastValueOnStart": { "type": "checkbox", "label": "Log the last value again on startup", + "xs": 12, "sm": 12, "md": 4 }, @@ -130,6 +144,7 @@ "type": "number", "label": "Buffer Datapoints", "help": "use 0 to not buffer at all", + "xs": 12, "sm": 12, "md": 4 }, @@ -137,6 +152,7 @@ "type": "number", "label": "Buffer Flush Interval", "help": "Seconds", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -184,6 +200,7 @@ "debounceTime": { "newLine": true, "type": "number", + "xs": 12, "sm": 12, "md": 4, "min": 0, @@ -193,6 +210,7 @@ }, "blockTime": { "type": "number", + "xs": 12, "sm": 12, "md": 4, "min": 0, @@ -206,6 +224,7 @@ "type": "number", "label": "log changes interval(s)", "help": "0 = disable", + "xs": 12, "sm": 12, "md": 6, "lg": 4 @@ -214,6 +233,7 @@ "type": "number", "label": "log changes minimal delta", "help": "0 = disable delta check", + "xs": 12, "sm": 12, "md": 6, "lg": 4 @@ -272,6 +292,7 @@ "label": "Custom timeframe" } ], + "xs": 12, "sm": 12, "md": 6 }, @@ -279,6 +300,7 @@ "type": "number", "label": "Custom retention duration (days)", "min": 1, + "xs": 12, "sm": 12, "md": 4, "hidden": "(data.retention !== -1)", @@ -305,6 +327,7 @@ "newLine": true, "type": "text", "label": "Round real to", + "xs": 12, "sm": 12, "md": 4, "lg": 3, @@ -316,6 +339,7 @@ "newLine": true, "label": "Disable charting optimized logging of skipped values", "type": "checkbox", + "xs": 12, "sm": 12, "md": 4 }, @@ -323,11 +347,13 @@ "newLine": true, "label": "Enable enhanced debug logs for the datapoint", "type": "checkbox", + "xs": 12, "sm": 12, "md": 4 }, "debounce": { "type": "number", + "xs": 12, "sm": 12, "md": 4, "min": 0, @@ -343,6 +369,7 @@ "items": { "usetags": { "type": "checkbox", + "xs": 12, "sm": 12, "md": 6, "label": "Use tags to store metadata information, instead of fields", @@ -358,6 +385,7 @@ }, "pingserver": { "type": "checkbox", + "xs": 12, "sm": 12, "md": 6, "label": "Send health-check pings to database", diff --git a/admin/jsonCustom.json b/admin/jsonCustom.json index 525f2cf..e964eb1 100644 --- a/admin/jsonCustom.json +++ b/admin/jsonCustom.json @@ -5,6 +5,7 @@ "debounceTime": { "newLine": true, "type": "number", + "xs": 12, "sm": 6, "min": 0, "max": 86400000, @@ -14,6 +15,7 @@ }, "blockTime": { "type": "number", + "xs": 12, "sm": 6, "min": 0, "max": 86400000, @@ -26,6 +28,7 @@ "type": "checkbox", "label": "log changes only", "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number'", + "xs": 12, "sm": 6 }, "changesRelogInterval": { @@ -36,6 +39,7 @@ "max": 86400000, "help": "0 = disabled", "defaultFunc": "instanceObj.native.changesRelogInterval", + "xs": 12, "sm": 6, "disabled": "!data.changesOnly" }, @@ -45,6 +49,7 @@ "min": 0, "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number' ? instanceObj.native.changesMinDelta : 0", "default": 0, + "xs": 12, "sm": 6, "help": "0 = disable delta check", "disabled": "!data.changesOnly" @@ -58,6 +63,7 @@ "validator": "((data.ignoreBelowNumber || '').toString().length === 0) || isFinite(data.ignoreBelowNumber)", "validatorErrorText": "Enter a number or leave the field empty", "validatorNoSaveOnError": true, + "xs": 12, "sm": 6 }, "ignoreAboveNumber": { @@ -67,18 +73,21 @@ "validator": "((data.ignoreAboveNumber || '').toString().length === 0) || isFinite(data.ignoreAboveNumber)", "validatorErrorText": "Enter a number or leave the field empty", "validatorNoSaveOnError": true, + "xs": 12, "sm": 6 }, "ignoreZero": { "newLine": true, "type": "checkbox", "label": "ignore zero or null values", + "xs": 12, "sm": 6 }, "disableSkippedValueLogging": { "newLine": true, "label": "Disable charting optimized logging of skipped values", "type": "checkbox", + "xs": 12, "sm": 12, "defaultFunc": "instanceObj.native.disableSkippedValueLogging || false" }, @@ -105,6 +114,7 @@ } ], "default": "", + "xs": 12, "sm": 6 }, "aliasId": { @@ -113,6 +123,7 @@ "label": "aliasId", "maxLength": 255, "default": "", + "xs": 12, "sm": 12, "help": "Alias Info" }, @@ -120,6 +131,7 @@ "newLine": true, "type": "text", "label": "Round real to", + "xs": 12, "sm": 6, "validator": "((data.round || '').toString().length === 0) || isFinite(data.round)", "validatorErrorText": "Enter a number or leave the field empty", @@ -130,6 +142,7 @@ "newLine": true, "label": "Enable enhanced debug logs for the datapoint", "type": "checkbox", + "xs": 12, "sm": 12, "defaultFunc": "instanceObj.native.enableDebugLogs || false" }, @@ -141,12 +154,14 @@ "max": 86400000, "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number' ? instanceObj.native.debounce : 0", "hidden": "true", + "xs": 12, "sm": 6 }, "ignoreBelowZero": { "type": "checkbox", "label": "ignore values below zero", "hidden": "true", + "xs": 12, "sm": 6 } }