mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request #676 from madhawap/master
Fix for disabling reboot and upgrade-firmware operations on UI
This commit is contained in:
commit
4b40bf7ac7
Binary file not shown.
@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{{#each controlOperations}}
|
{{#each controlOperations}}
|
||||||
<a href="javascript:operationSelect('{{operation}}')">
|
<a {{#unless isDisabled}} href="javascript:operationSelect('{{operation}}')" {{else}} href="javascript:void(0)" class="op-disabled"{{/unless}}>
|
||||||
{{#if iconFont}}
|
{{#if iconFont}}
|
||||||
<i class="fw {{iconFont}}"></i>
|
<i class="fw {{iconFont}}"></i>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|||||||
@ -68,10 +68,12 @@
|
|||||||
},
|
},
|
||||||
"DEVICE_REBOOT": {
|
"DEVICE_REBOOT": {
|
||||||
"icon": "fw-refresh",
|
"icon": "fw-refresh",
|
||||||
|
"isDisabled" : true,
|
||||||
"permission": "/device-mgt/devices/owning-device/operations/android/reboot"
|
"permission": "/device-mgt/devices/owning-device/operations/android/reboot"
|
||||||
},
|
},
|
||||||
"UPGRADE_FIRMWARE": {
|
"UPGRADE_FIRMWARE": {
|
||||||
"icon": "fw-hardware",
|
"icon": "fw-hardware",
|
||||||
|
"isDisabled" : true,
|
||||||
"formParams": [
|
"formParams": [
|
||||||
{
|
{
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@ -1128,7 +1128,7 @@
|
|||||||
<javax.ws.rs.version>1.1.1</javax.ws.rs.version>
|
<javax.ws.rs.version>1.1.1</javax.ws.rs.version>
|
||||||
|
|
||||||
<!-- Carbon Device Management -->
|
<!-- Carbon Device Management -->
|
||||||
<carbon.devicemgt.version>2.0.58</carbon.devicemgt.version>
|
<carbon.devicemgt.version>2.0.68</carbon.devicemgt.version>
|
||||||
<carbon.devicemgt.version.range>[2.0.0, 3.0.0)</carbon.devicemgt.version.range>
|
<carbon.devicemgt.version.range>[2.0.0, 3.0.0)</carbon.devicemgt.version.range>
|
||||||
|
|
||||||
<!-- Carbon App Management -->
|
<!-- Carbon App Management -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user