Skip to content

Commit

Permalink
(simatec) Responsive Design added
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec authored Nov 3, 2024
1 parent d589b7b commit 999c765
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 108 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
271 changes: 163 additions & 108 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}

0 comments on commit 999c765

Please sign in to comment.