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>
|
||||
{{#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}}
|
||||
<i class="fw {{iconFont}}"></i>
|
||||
{{else}}
|
||||
|
||||
@ -68,10 +68,12 @@
|
||||
},
|
||||
"DEVICE_REBOOT": {
|
||||
"icon": "fw-refresh",
|
||||
"isDisabled" : true,
|
||||
"permission": "/device-mgt/devices/owning-device/operations/android/reboot"
|
||||
},
|
||||
"UPGRADE_FIRMWARE": {
|
||||
"icon": "fw-hardware",
|
||||
"isDisabled" : true,
|
||||
"formParams": [
|
||||
{
|
||||
"type": "checkbox",
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -1128,7 +1128,7 @@
|
||||
<javax.ws.rs.version>1.1.1</javax.ws.rs.version>
|
||||
|
||||
<!-- 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 App Management -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user