Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(simatec) Responsive Design added #413

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
28 changes: 28 additions & 0 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{"label": "1.x", "value": "1.x"},
{"label": "2.x", "value": "2.x"}
],
"xs": 12,
"sm": 12,
"md": 8
},
Expand All @@ -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
},
Expand All @@ -41,6 +44,7 @@
"label": "Port",
"min": 1,
"max": 65565,
"xs": 12,
"sm": 12,
"md": 2
},
Expand All @@ -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
},
Expand All @@ -59,6 +64,7 @@
"label": "User",
"hidden": "data.dbversion === '2.x'",
"disabled": "data.dbversion === '2.x'",
"xs": 12,
"sm": 12,
"md": 4
},
Expand All @@ -68,6 +74,7 @@
"hidden": "data.dbversion === '2.x'",
"disabled": "data.dbversion === '2.x'",
"repeat": true,
"xs": 12,
"sm": 12,
"md": 8
},
Expand All @@ -77,6 +84,7 @@
"label": "Organization",
"hidden": "data.dbversion === '1.x'",
"disabled": "data.dbversion === '1.x'",
"xs": 12,
"sm": 12,
"md": 4
},
Expand All @@ -85,13 +93,15 @@
"label": "Token",
"hidden": "data.dbversion === '1.x'",
"disabled": "data.dbversion === '1.x'",
"xs": 12,
"sm": 12,
"md": 8
},
"dbname": {
"newLine": true,
"type": "text",
"label": "DB Name",
"xs": 12,
"sm": 12,
"md": 8
},
Expand All @@ -100,6 +110,7 @@
"type": "number",
"label": "Request timeout",
"help": "Milliseconds",
"xs": 12,
"sm": 12,
"md": 2
},
Expand All @@ -109,19 +120,22 @@
"label": "Validate SSL certificate",
"hidden": "data.dbversion === '1.x'",
"disabled": "data.dbversion === '1.x'",
"xs": 12,
"sm": 12,
"md": 4
},
"round": {
"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
},
Expand All @@ -130,13 +144,15 @@
"type": "number",
"label": "Buffer Datapoints",
"help": "use 0 to not buffer at all",
"xs": 12,
"sm": 12,
"md": 4
},
"seriesBufferFlushInterval": {
"type": "number",
"label": "Buffer Flush Interval",
"help": "Seconds",
"xs": 12,
"sm": 12,
"md": 4,
"lg": 3
Expand Down Expand Up @@ -184,6 +200,7 @@
"debounceTime": {
"newLine": true,
"type": "number",
"xs": 12,
"sm": 12,
"md": 4,
"min": 0,
Expand All @@ -193,6 +210,7 @@
},
"blockTime": {
"type": "number",
"xs": 12,
"sm": 12,
"md": 4,
"min": 0,
Expand All @@ -206,6 +224,7 @@
"type": "number",
"label": "log changes interval(s)",
"help": "0 = disable",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4
Expand All @@ -214,6 +233,7 @@
"type": "number",
"label": "log changes minimal delta",
"help": "0 = disable delta check",
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4
Expand Down Expand Up @@ -272,13 +292,15 @@
"label": "Custom timeframe"
}
],
"xs": 12,
"sm": 12,
"md": 6
},
"customRetentionDuration": {
"type": "number",
"label": "Custom retention duration (days)",
"min": 1,
"xs": 12,
"sm": 12,
"md": 4,
"hidden": "(data.retention !== -1)",
Expand All @@ -305,6 +327,7 @@
"newLine": true,
"type": "text",
"label": "Round real to",
"xs": 12,
"sm": 12,
"md": 4,
"lg": 3,
Expand All @@ -316,18 +339,21 @@
"newLine": true,
"label": "Disable charting optimized logging of skipped values",
"type": "checkbox",
"xs": 12,
"sm": 12,
"md": 4
},
"enableDebugLogs": {
"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,
Expand All @@ -343,6 +369,7 @@
"items": {
"usetags": {
"type": "checkbox",
"xs": 12,
"sm": 12,
"md": 6,
"label": "Use tags to store metadata information, instead of fields",
Expand All @@ -358,6 +385,7 @@
},
"pingserver": {
"type": "checkbox",
"xs": 12,
"sm": 12,
"md": 6,
"label": "Send health-check pings to database",
Expand Down
15 changes: 15 additions & 0 deletions admin/jsonCustom.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"debounceTime": {
"newLine": true,
"type": "number",
"xs": 12,
"sm": 6,
"min": 0,
"max": 86400000,
Expand All @@ -14,6 +15,7 @@
},
"blockTime": {
"type": "number",
"xs": 12,
"sm": 6,
"min": 0,
"max": 86400000,
Expand All @@ -26,6 +28,7 @@
"type": "checkbox",
"label": "log changes only",
"defaultFunc": "customObj && customObj.common && customObj.common.type === 'number'",
"xs": 12,
"sm": 6
},
"changesRelogInterval": {
Expand All @@ -36,6 +39,7 @@
"max": 86400000,
"help": "0 = disabled",
"defaultFunc": "instanceObj.native.changesRelogInterval",
"xs": 12,
"sm": 6,
"disabled": "!data.changesOnly"
},
Expand All @@ -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"
Expand All @@ -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": {
Expand All @@ -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"
},
Expand All @@ -105,6 +114,7 @@
}
],
"default": "",
"xs": 12,
"sm": 6
},
"aliasId": {
Expand All @@ -113,13 +123,15 @@
"label": "aliasId",
"maxLength": 255,
"default": "",
"xs": 12,
"sm": 12,
"help": "Alias Info"
},
"round": {
"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",
Expand All @@ -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"
},
Expand All @@ -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
}
}
Expand Down
Loading