menu
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"id": "9fbdd3f57deafc08",
|
"id": "9fbdd3f57deafc08",
|
||||||
"type": "tab",
|
"type": "tab",
|
||||||
"label": "Flow 1",
|
"label": "User Management ASE Mosquitto",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"info": "",
|
"info": "",
|
||||||
"env": []
|
"env": []
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
"name": "New user",
|
"name": "New user",
|
||||||
"label": "",
|
"label": "",
|
||||||
"group": "69ae86190d4eadd7",
|
"group": "69ae86190d4eadd7",
|
||||||
"order": 1,
|
"order": 2,
|
||||||
"width": 0,
|
"width": 0,
|
||||||
"height": 0,
|
"height": 0,
|
||||||
"options": [
|
"options": [
|
||||||
@@ -627,8 +627,8 @@
|
|||||||
"group": "ab99b1708f72e425",
|
"group": "ab99b1708f72e425",
|
||||||
"name": "User Info",
|
"name": "User Info",
|
||||||
"order": 3,
|
"order": 3,
|
||||||
"width": "6",
|
"width": 0,
|
||||||
"height": "2",
|
"height": 0,
|
||||||
"format": "<div style=\"display: flex; align-items: center; margin-bottom: 10px;\">\n <label for=\"{{'user_'+$id}}\" style=\"margin-right: 10px;\">Username:</label>\n <div id=\"{{'user_'+$id}}\" style=\"{{'color:'+theme.base_color}}\"></div>\n</div>\n\n<div style=\"display: flex; align-items: center; margin-bottom: 10px;\">\n <label for=\"{{'dis_'+$id}}\" style=\"margin-right: 10px;\">Status:</label>\n <div id=\"{{'dis_'+$id}}\" style=\"{{'color:'+theme.base_color}}\"></div>\n</div>\n\n<div style=\"display: flex; align-items: center; margin-bottom: 10px;\">\n <label for=\"{{'role_'+$id}}\" style=\"margin-right: 10px;\">Role:</label>\n <div id=\"{{'role_'+$id}}\" style=\"{{'color:'+theme.base_color}}\"></div>\n</div>\n\n<script>\n (function(scope) {\n scope.$watch('msg', function(msg) {\n if (msg) {\n const disabledValue = msg.payload.username.trim() === ''\n ? ''\n : (msg.payload.disabled === true ? 'Disabled' : 'Enabled');\n $(\"#user_\" + scope.$id).html(msg.payload.username);\n $(\"#dis_\" + scope.$id).html(disabledValue);\n $(\"#role_\" + scope.$id).html(msg.payload.role);\n }\n });\n })(scope);\n</script>",
|
"format": "<div style=\"display: flex; align-items: center; margin-bottom: 10px;\">\n <label for=\"{{'user_'+$id}}\" style=\"margin-right: 10px;\">Username:</label>\n <div id=\"{{'user_'+$id}}\" style=\"{{'color:'+theme.base_color}}\"></div>\n</div>\n\n<div style=\"display: flex; align-items: center; margin-bottom: 10px;\">\n <label for=\"{{'dis_'+$id}}\" style=\"margin-right: 10px;\">Status:</label>\n <div id=\"{{'dis_'+$id}}\" style=\"{{'color:'+theme.base_color}}\"></div>\n</div>\n\n<div style=\"display: flex; align-items: center; margin-bottom: 10px;\">\n <label for=\"{{'role_'+$id}}\" style=\"margin-right: 10px;\">Role:</label>\n <div id=\"{{'role_'+$id}}\" style=\"{{'color:'+theme.base_color}}\"></div>\n</div>\n\n<script>\n (function(scope) {\n scope.$watch('msg', function(msg) {\n if (msg) {\n const disabledValue = msg.payload.username.trim() === ''\n ? ''\n : (msg.payload.disabled === true ? 'Disabled' : 'Enabled');\n $(\"#user_\" + scope.$id).html(msg.payload.username);\n $(\"#dis_\" + scope.$id).html(disabledValue);\n $(\"#role_\" + scope.$id).html(msg.payload.role);\n }\n });\n })(scope);\n</script>",
|
||||||
"storeOutMessages": false,
|
"storeOutMessages": false,
|
||||||
"fwdInMessages": true,
|
"fwdInMessages": true,
|
||||||
@@ -681,16 +681,6 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "ecbcbb721db680f4",
|
|
||||||
"type": "ui_spacer",
|
|
||||||
"z": "9fbdd3f57deafc08",
|
|
||||||
"name": "spacer",
|
|
||||||
"group": "69ae86190d4eadd7",
|
|
||||||
"order": 2,
|
|
||||||
"width": "1",
|
|
||||||
"height": "1"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "69ae86190d4eadd7",
|
"id": "69ae86190d4eadd7",
|
||||||
"type": "ui_group",
|
"type": "ui_group",
|
||||||
@@ -698,8 +688,8 @@
|
|||||||
"tab": "f47c763c366069c9",
|
"tab": "f47c763c366069c9",
|
||||||
"order": 1,
|
"order": 1,
|
||||||
"disp": true,
|
"disp": true,
|
||||||
"width": "6",
|
"width": 8,
|
||||||
"collapse": true,
|
"collapse": false,
|
||||||
"className": ""
|
"className": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -737,18 +727,27 @@
|
|||||||
"id": "ab99b1708f72e425",
|
"id": "ab99b1708f72e425",
|
||||||
"type": "ui_group",
|
"type": "ui_group",
|
||||||
"name": "Manage existing users",
|
"name": "Manage existing users",
|
||||||
"tab": "f47c763c366069c9",
|
"tab": "204076c20d6cbcab",
|
||||||
"order": 2,
|
"order": 2,
|
||||||
"disp": true,
|
"disp": true,
|
||||||
"width": "6",
|
"width": "8",
|
||||||
"collapse": true,
|
"collapse": false,
|
||||||
"className": ""
|
"className": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "f47c763c366069c9",
|
"id": "f47c763c366069c9",
|
||||||
"type": "ui_tab",
|
"type": "ui_tab",
|
||||||
"name": "Home",
|
"name": "Define new user",
|
||||||
"icon": "mi-dashboard",
|
"icon": "fa-user",
|
||||||
|
"disabled": false,
|
||||||
|
"hidden": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "204076c20d6cbcab",
|
||||||
|
"type": "ui_tab",
|
||||||
|
"name": "Manage existing users",
|
||||||
|
"icon": "fa-users",
|
||||||
|
"order": 2,
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"hidden": false
|
"hidden": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user