update button order
This commit is contained in:
parent
bd9ea993e4
commit
ed3b0d1812
@ -633,67 +633,6 @@
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"custom": {
|
||||
"show": false
|
||||
},
|
||||
"events": {
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.closePopup(\"DevicePopUP\")\n\tsystem.perspective.closePopup(\"StatusPopUP\")\n\tself.custom.show \u003d False\n\tsystem.perspective.navigate(\"/Help\")"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Help",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Navigate to the help wiki"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "70px"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.classes": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "session.props.theme"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tif \u0027dark\u0027 in value:\n\t\treturn \u0027Buttons/Button-Menu\u0027\n\telse:\n\t\treturn \u0027Buttons/Button-Menu\u0027",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"image": {
|
||||
"height": 32,
|
||||
"icon": {
|
||||
"color": "#FFFFFF",
|
||||
"path": "material/help_outline"
|
||||
},
|
||||
"position": "top",
|
||||
"width": 32
|
||||
},
|
||||
"style": {
|
||||
"margin": 1
|
||||
},
|
||||
"text": "Help",
|
||||
"textStyle": {
|
||||
"classes": "Text-Styles/Docked-Buttons"
|
||||
}
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"custom": {
|
||||
"show": false
|
||||
@ -752,60 +691,6 @@
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\turl \u003d self.session.custom.download_url\n\tself.session.custom.download_url \u003d None\n\tsystem.perspective.navigate(url \u003d url , newTab \u003d True)"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Downloads",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Notifications"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "70px"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(isNull({session.custom.download_url}), False, True)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"image": {
|
||||
"height": 32,
|
||||
"icon": {
|
||||
"color": "#FFFAF1",
|
||||
"path": "material/cloud_download"
|
||||
},
|
||||
"position": "top",
|
||||
"width": 32
|
||||
},
|
||||
"style": {
|
||||
"classes": "Buttons/Button-Menu",
|
||||
"color": "#FFFFFF",
|
||||
"margin": 1
|
||||
},
|
||||
"text": "Download",
|
||||
"textStyle": {
|
||||
"classes": "Text-Styles/Docked-Buttons"
|
||||
}
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"custom": {
|
||||
"show": false
|
||||
@ -864,6 +749,67 @@
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"custom": {
|
||||
"show": false
|
||||
},
|
||||
"events": {
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.closePopup(\"DevicePopUP\")\n\tsystem.perspective.closePopup(\"StatusPopUP\")\n\tself.custom.show \u003d False\n\tsystem.perspective.navigate(\"/Help\")"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Help",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Navigate to the help wiki"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "70px"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.classes": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "session.props.theme"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tif \u0027dark\u0027 in value:\n\t\treturn \u0027Buttons/Button-Menu\u0027\n\telse:\n\t\treturn \u0027Buttons/Button-Menu\u0027",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"image": {
|
||||
"height": 32,
|
||||
"icon": {
|
||||
"color": "#FFFFFF",
|
||||
"path": "material/help_outline"
|
||||
},
|
||||
"position": "top",
|
||||
"width": 32
|
||||
},
|
||||
"style": {
|
||||
"margin": 1
|
||||
},
|
||||
"text": "Help",
|
||||
"textStyle": {
|
||||
"classes": "Text-Styles/Docked-Buttons"
|
||||
}
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"component": {
|
||||
@ -921,6 +867,60 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\turl \u003d self.session.custom.download_url\n\tself.session.custom.download_url \u003d None\n\tsystem.perspective.navigate(url \u003d url , newTab \u003d True)"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Downloads",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Notifications"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "70px"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(isNull({session.custom.download_url}), False, True)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"image": {
|
||||
"height": 32,
|
||||
"icon": {
|
||||
"color": "#FFFAF1",
|
||||
"path": "material/cloud_download"
|
||||
},
|
||||
"position": "top",
|
||||
"width": 32
|
||||
},
|
||||
"style": {
|
||||
"classes": "Buttons/Button-Menu",
|
||||
"color": "#FFFFFF",
|
||||
"margin": 1
|
||||
},
|
||||
"text": "Download",
|
||||
"textStyle": {
|
||||
"classes": "Text-Styles/Docked-Buttons"
|
||||
}
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
}
|
||||
],
|
||||
"custom": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user