Navigation to Statistics and status directly
This commit is contained in:
parent
86010f651a
commit
bd9ea993e4
@ -81,6 +81,14 @@
|
|||||||
"/Tools": {
|
"/Tools": {
|
||||||
"title": "Tools",
|
"title": "Tools",
|
||||||
"viewPath": "Main-Views/ToolBox"
|
"viewPath": "Main-Views/ToolBox"
|
||||||
|
},
|
||||||
|
"/Windows/Statistics": {
|
||||||
|
"title": "Statistics",
|
||||||
|
"viewPath": "Windows/Statistics"
|
||||||
|
},
|
||||||
|
"/Windows/Status": {
|
||||||
|
"title": "Status",
|
||||||
|
"viewPath": "Windows/Status"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sharedDocks": {
|
"sharedDocks": {
|
||||||
|
|||||||
@ -44,6 +44,14 @@
|
|||||||
"title": "Tools",
|
"title": "Tools",
|
||||||
"viewPath": "Main-Views/ToolBox"
|
"viewPath": "Main-Views/ToolBox"
|
||||||
},
|
},
|
||||||
|
"/Windows/Statistics": {
|
||||||
|
"title": "",
|
||||||
|
"viewPath": ""
|
||||||
|
},
|
||||||
|
"/Windows/Status": {
|
||||||
|
"title": "",
|
||||||
|
"viewPath": ""
|
||||||
|
},
|
||||||
"/config": {
|
"/config": {
|
||||||
"title": "",
|
"title": "",
|
||||||
"viewPath": "CommissioningTool/PageConfig"
|
"viewPath": "CommissioningTool/PageConfig"
|
||||||
|
|||||||
@ -195,6 +195,9 @@
|
|||||||
"type": "ia.container.flex"
|
"type": "ia.container.flex"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"custom": {
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"component": {
|
"component": {
|
||||||
"onActionPerformed": {
|
"onActionPerformed": {
|
||||||
@ -631,6 +634,9 @@
|
|||||||
"type": "ia.input.button"
|
"type": "ia.input.button"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"custom": {
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"component": {
|
"component": {
|
||||||
"onActionPerformed": {
|
"onActionPerformed": {
|
||||||
@ -689,11 +695,14 @@
|
|||||||
"type": "ia.input.button"
|
"type": "ia.input.button"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"custom": {
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"component": {
|
"component": {
|
||||||
"onActionPerformed": {
|
"onActionPerformed": {
|
||||||
"config": {
|
"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)"
|
"script": "\tsystem.perspective.navigate(\"/Windows/Statistics\")"
|
||||||
},
|
},
|
||||||
"scope": "G",
|
"scope": "G",
|
||||||
"type": "script"
|
"type": "script"
|
||||||
@ -716,6 +725,7 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"expression": "if(isNull({session.custom.download_url}), False, True)"
|
"expression": "if(isNull({session.custom.download_url}), False, True)"
|
||||||
},
|
},
|
||||||
|
"enabled": false,
|
||||||
"type": "expr"
|
"type": "expr"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -755,7 +765,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "Status",
|
"name": "Downloads",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"text": "Notifications"
|
"text": "Notifications"
|
||||||
@ -774,6 +784,64 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"component": {
|
||||||
|
"onActionPerformed": {
|
||||||
|
"config": {
|
||||||
|
"script": "\tsystem.perspective.navigate(\"/Windows/Status\")"
|
||||||
|
},
|
||||||
|
"scope": "G",
|
||||||
|
"type": "script"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"meta": {
|
||||||
|
"name": "Status",
|
||||||
|
"tooltip": {
|
||||||
|
"enabled": true,
|
||||||
|
"text": "Notifications"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"basis": "70px"
|
||||||
|
},
|
||||||
|
"propConfig": {
|
||||||
|
"position.display": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"expression": ""
|
||||||
|
},
|
||||||
|
"enabled": false,
|
||||||
|
"type": "expr"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"image": {
|
"image": {
|
||||||
"height": 32,
|
"height": 32,
|
||||||
@ -853,60 +921,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "ia.input.button"
|
"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": {
|
"custom": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user