UNPKG

iobroker.openmediavault

Version:
136 lines 4.51 kB
{ "label": "Shared Folders", "items": { "donation_link": { "type": "staticLink", "text": "You like the adapter? Then support me.", "button": true, "newLine": true, "href": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VWAXSTS634G88&source=url", "style": { "justifyContent": "flex-start !important" }, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12 }, "shareMgmtDivider": { "newLine": true, "type": "header", "text": "Shared Folders", "size": 2 }, "shareMgmtEnabled": { "newLine": true, "type": "checkbox", "label": "enabled", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "shareMgmtBlackListDivider": { "newLine": true, "type": "header", "text": "Shared Folders Blacklist / Whitelist", "hidden": "!data.shareMgmtEnabled", "size": 2 }, "shareMgmtIsWhiteList": { "newLine": true, "type": "checkbox", "label": "${data.shareMgmtIsWhiteList ? 'use as whitelist' : 'use as blacklist'}", "hidden": "!data.shareMgmtEnabled", "xl": 2, "lg": 2, "md": 2, "sm": 12, "xs": 12 }, "shareMgmtBlackList": { "type": "table", "xl": 8, "lg": 8, "md": 8, "sm": 12, "xs": 12, "hidden": "!data.shareMgmtEnabled", "uniqueColumns": [ "id" ], "confirm": { "condition": "!_alive", "title": "Attention!", "text": "This selection is only possible with a running instance!", "ok": "Got it!", "cancel": "cancel", "type": "warning" }, "items": [ { "type": "autocompleteSendTo", "title": "${data.shareMgmtIsWhiteList ? 'Choose which Shared Folders should be included' : 'Choose which Shared Folders should be excluded'}", "attr": "id", "filter": true, "sort": true, "noMultiEdit": true, "jsonData": "${instanceObj}", "command": "shareMgmtBlackList" } ] }, "shareMgmtBlackListStatesDivider": { "newLine": true, "type": "header", "text": "Datapoints Blacklist / Whitelist", "hidden": "!data.shareMgmtEnabled", "size": 2 }, "shareMgmtStatesIsWhiteList": { "newLine": true, "type": "checkbox", "label": "${data.shareMgmtStatesIsWhiteList ? 'use as whitelist' : 'use as blacklist'}", "hidden": "!data.shareMgmtEnabled", "xl": 2, "lg": 2, "md": 2, "sm": 12, "xs": 12 }, "shareMgmtStatesBlackList": { "type": "table", "xl": 8, "lg": 8, "md": 8, "sm": 12, "xs": 12, "hidden": "!data.shareMgmtEnabled", "uniqueColumns": [ "id" ], "confirm": { "condition": "!_alive", "title": "Attention!", "text": "This selection is only possible with a running instance!", "ok": "Got it!", "cancel": "cancel", "type": "warning" }, "items": [ { "type": "autocompleteSendTo", "title": "${data.shareMgmtStatesIsWhiteList ? 'Choose which datapoint should be included' : 'Choose which datapoint should be excluded'}", "attr": "id", "filter": true, "sort": true, "noMultiEdit": true, "jsonData": "{\"instanceID\": \"${globalData.instanceID}\",\"adapter\": \"${globalData.adapter}\"}", "command": "shareMgmtStateList" } ] } } }