From 999c7655be05d2f74acacfdfa1eedb515dd9582d Mon Sep 17 00:00:00 2001 From: simatec <39792461+simatec@users.noreply.github.com> Date: Sun, 3 Nov 2024 21:38:44 +0100 Subject: [PATCH] (simatec) Responsive Design added --- README.md | 4 + admin/jsonConfig.json | 271 +++++++++++++++++++++++++----------------- 2 files changed, 167 insertions(+), 108 deletions(-) diff --git a/README.md b/README.md index 7431b58..9f76276 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ A derived version of this adapter supporting control of VBus devices is availabl Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> +### **WORK IN PROGRESS** + +* (simatec) Responsive Design added + ### 0.4.0 (2024-08-13) - 2024H2 maintenance release * (pdbjjens) Change: node>=18, js-contoller>=5 and admin>=6 required diff --git a/admin/jsonConfig.json b/admin/jsonConfig.json index 2b4c0ae..3fc0f9c 100644 --- a/admin/jsonConfig.json +++ b/admin/jsonConfig.json @@ -1,110 +1,165 @@ { - "i18n": true, - "type": "panel", - "items": { - "_basicSection": { - "newLine": true, - "type" : "header", - "text" : "Basic settings", - "size": 2, - "sm": 12, - "md": 12, - "lg": 12 - }, - "connectionDevice": { - "newLine": true, - "type": "select", - "label": "Lbl_ConnectionDevice", - "help" : "Desc_ConnectionDevice", - "tooltip" : "Ttip_ConnectionDevice", - "options": [ - {"label": "VBus/LAN", "value": "lan"}, - {"label": "KM2/DL2", "value": "dl2"}, - {"label": "DL3/DL2Plus", "value": "dl3"}, - {"label": "VBus/USB", "value": "serial"}, - {"label": "Serial-to-LAN Gateway", "value": "langw"} - ], - "sm": 12, - "md": 4, - "lg": 4 - }, - "connectionIdentifier": { - "type": "text", - "label": "Lbl_DeviceAddress", - "help" : "Desc_DeviceAddress", - "tooltip" : "Ttip_DeviceAddress", - "sm": 12, - "md": 4, - "lg": 4 - }, - "connectionPort": { - "type": "number", - "min": 1, - "max": 65565, - "default": 7053, - "label": "Lbl_ConnectionPort", - "help": "Desc_ConnectionPort", - "tooltip": "Ttip_ConnectionPort", - "sm": 12, - "md": 4, - "lg": 4 - }, - "vbusPassword": { - "newLine": true, - "type": "password", - "repeat": false, - "visible": true, - "default": "vbus", - "label": "Lbl_DevicePassword", - "help" : "Desc_DevicePassword", - "tooltip" : "Ttip_DevicePassword", - "sm": 12, - "md": 4, - "lg": 4 - }, - "vbusChannel": { - "type": "select", - "label": "Lbl_DL3Channel", - "help" : "Desc_DL3Channel", - "tooltip" : "Ttip_DL3Channel", - "default": 7, - "options": [ - {"label": "none", "value": 7}, - {"label": "DL3 Channel 1", "value": 1}, - {"label": "DL3 Channel 2", "value": 2}, - {"label": "DL3 Channel 3", "value": 3}, - {"label": "DL3 Channel 4", "value": 4}, - {"label": "DL3 Channel 5", "value": 5}, - {"label": "DL3 Channel 6", "value": 6}, - {"label": "DL3 Channel 0", "value": 0} - ], - "sm": 12, - "md": 4, - "lg": 4 - }, - "vbusViaTag": { - "type": "text", - "default": "", - "label": "Lbl_Via-tag", - "help": "Desc_Via-tag", - "tooltip": "Ttip_Via-tag", - "sm": 12, - "md": 4, - "lg": 4 - }, - "vbusInterval": { - "newLine": true, - "type": "number", - "min": 30, - "max": 300, - "step": 30, - "default": 30, - "label": "Lbl_Pollintervall", - "help": "Desc_Pollintervall", - "tooltip": "Ttip_Pollintervall", - "sm": 12, - "md": 4, - "lg": 4 - } + "i18n": true, + "type": "panel", + "items": { + "_basicSection": { + "newLine": true, + "type": "header", + "text": "Basic settings", + "size": 2, + "xs": 12, + "sm": 12, + "md": 12, + "lg": 12, + "xl": 12 + }, + "connectionDevice": { + "newLine": true, + "type": "select", + "label": "Lbl_ConnectionDevice", + "help": "Desc_ConnectionDevice", + "tooltip": "Ttip_ConnectionDevice", + "options": [ + { + "label": "VBus/LAN", + "value": "lan" + }, + { + "label": "KM2/DL2", + "value": "dl2" + }, + { + "label": "DL3/DL2Plus", + "value": "dl3" + }, + { + "label": "VBus/USB", + "value": "serial" + }, + { + "label": "Serial-to-LAN Gateway", + "value": "langw" + } + ], + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 + }, + "connectionIdentifier": { + "type": "text", + "label": "Lbl_DeviceAddress", + "help": "Desc_DeviceAddress", + "tooltip": "Ttip_DeviceAddress", + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 + }, + "connectionPort": { + "type": "number", + "min": 1, + "max": 65565, + "default": 7053, + "label": "Lbl_ConnectionPort", + "help": "Desc_ConnectionPort", + "tooltip": "Ttip_ConnectionPort", + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 + }, + "vbusPassword": { + "newLine": true, + "type": "password", + "repeat": false, + "visible": true, + "default": "vbus", + "label": "Lbl_DevicePassword", + "help": "Desc_DevicePassword", + "tooltip": "Ttip_DevicePassword", + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 + }, + "vbusChannel": { + "type": "select", + "label": "Lbl_DL3Channel", + "help": "Desc_DL3Channel", + "tooltip": "Ttip_DL3Channel", + "default": 7, + "options": [ + { + "label": "none", + "value": 7 + }, + { + "label": "DL3 Channel 1", + "value": 1 + }, + { + "label": "DL3 Channel 2", + "value": 2 + }, + { + "label": "DL3 Channel 3", + "value": 3 + }, + { + "label": "DL3 Channel 4", + "value": 4 + }, + { + "label": "DL3 Channel 5", + "value": 5 + }, + { + "label": "DL3 Channel 6", + "value": 6 + }, + { + "label": "DL3 Channel 0", + "value": 0 + } + ], + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 + }, + "vbusViaTag": { + "type": "text", + "default": "", + "label": "Lbl_Via-tag", + "help": "Desc_Via-tag", + "tooltip": "Ttip_Via-tag", + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 + }, + "vbusInterval": { + "newLine": true, + "type": "number", + "min": 30, + "max": 300, + "step": 30, + "default": 30, + "label": "Lbl_Pollintervall", + "help": "Desc_Pollintervall", + "tooltip": "Ttip_Pollintervall", + "xs": 12, + "sm": 12, + "md": 6, + "lg": 4, + "xl": 4 } - } \ No newline at end of file + } +} \ No newline at end of file