menu
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"id": "9fbdd3f57deafc08",
|
||||
"type": "tab",
|
||||
"label": "Flow 1",
|
||||
"label": "User Management ASE Mosquitto",
|
||||
"disabled": false,
|
||||
"info": "",
|
||||
"env": []
|
||||
@@ -14,7 +14,7 @@
|
||||
"name": "New user",
|
||||
"label": "",
|
||||
"group": "69ae86190d4eadd7",
|
||||
"order": 1,
|
||||
"order": 2,
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"options": [
|
||||
@@ -627,8 +627,8 @@
|
||||
"group": "ab99b1708f72e425",
|
||||
"name": "User Info",
|
||||
"order": 3,
|
||||
"width": "6",
|
||||
"height": "2",
|
||||
"width": 0,
|
||||
"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>",
|
||||
"storeOutMessages": false,
|
||||
"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",
|
||||
"type": "ui_group",
|
||||
@@ -698,8 +688,8 @@
|
||||
"tab": "f47c763c366069c9",
|
||||
"order": 1,
|
||||
"disp": true,
|
||||
"width": "6",
|
||||
"collapse": true,
|
||||
"width": 8,
|
||||
"collapse": false,
|
||||
"className": ""
|
||||
},
|
||||
{
|
||||
@@ -737,18 +727,27 @@
|
||||
"id": "ab99b1708f72e425",
|
||||
"type": "ui_group",
|
||||
"name": "Manage existing users",
|
||||
"tab": "f47c763c366069c9",
|
||||
"tab": "204076c20d6cbcab",
|
||||
"order": 2,
|
||||
"disp": true,
|
||||
"width": "6",
|
||||
"collapse": true,
|
||||
"width": "8",
|
||||
"collapse": false,
|
||||
"className": ""
|
||||
},
|
||||
{
|
||||
"id": "f47c763c366069c9",
|
||||
"type": "ui_tab",
|
||||
"name": "Home",
|
||||
"icon": "mi-dashboard",
|
||||
"name": "Define new user",
|
||||
"icon": "fa-user",
|
||||
"disabled": false,
|
||||
"hidden": false
|
||||
},
|
||||
{
|
||||
"id": "204076c20d6cbcab",
|
||||
"type": "ui_tab",
|
||||
"name": "Manage existing users",
|
||||
"icon": "fa-users",
|
||||
"order": 2,
|
||||
"disabled": false,
|
||||
"hidden": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user