@@ -65,6 +66,11 @@
{{description}}
+
+
+
- This configurations can be used to restrict certain settings on an Android device.
- Once this configuration profile is installed on a device, corresponding users will not be able
- to modify these settings on their devices.
+ Restrict predefined settings on Android devices.
+ Once this profile is applied, the device owners won't be able to modify the configured settings on their devices.
- This configuration can be used to encrypt data on an Android device, when the device is locked
- and make it readable when the passcode is entered. Once this configuration profile is installed
- on a device, corresponding users will not be able to modify these settings on their devices.
+ Encrypt data on an Android device when the device is locked and make it readable when the device is unlocked.
+ Once this profile is applied, the device owners won't be able to modify the configured settings on their devices.
- This configurations can be used to configure Wi-Fi access on an Android device.
- Once this configuration profile is installed on a device, corresponding users will not be able
- to modify these settings on their devices.
+ Configure the Wi-Fi settings on Android devices.
+ Once this profile is applied, the device owners won't be able to modify the configured settings on their devices.
- This configuration can be used to create a black list or white list of applications.
+ Blacklist or whitelist mobile application for Android devices.
- This configurations can be used to configure VPN settings on an Android device.
- Once this configuration profile is installed on a device, corresponding users will not be able
- to modify these settings on their devices.
+ Configure the VPN settings on Android devices.
+ Once this profile is applied, the device owners won't be able to modify the configured settings on their devices.
- The configurations below can be applied to the devices where the agent is running in Android
- Work-Profile.
+ Configure the settings to access mobile applications via the Android Work Profile.
- This configuration can be used to set a passcode policy to an Android Device.
- Once this configuration profile is installed on a device, corresponding users will not be able
- to modify these settings on their devices.
+ Configure the settings to install system updates on single-purpose or COSU devices.
{{#if isVirtual}}
Download our virtual Android device, enroll it with WSO2
- Device Cloud and try it out!
+ {{#if isCloud}}
+ Device Cloud
+ {{else}}
+ IoT Server
+ {{/if}}and try it out!
@@ -63,8 +67,12 @@
{{else}}
Need help? Read WSO2
- IoT Server documentation.
+ {{#if isVirtual}}
+ href="https://docs.wso2.com/display/IoTS310/Android+Virtual+Device"
+ {{else}}
+ href="https://docs.wso2.com/display/IoTS310/Android"
+ {{/if}}
+ target="_blank">WSO2 IoT Server documentation.
{{/if}}
diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/pom.xml b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/pom.xml
index 746bc4d3a3..d98431db5c 100644
--- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/pom.xml
+++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/pom.xml
@@ -22,7 +22,7 @@
android-plugin
org.wso2.carbon.devicemgt-plugins
- 4.0.2-SNAPSHOT
+ 4.0.5-SNAPSHOT
../pom.xml
diff --git a/components/mobile-plugins/android-plugin/pom.xml b/components/mobile-plugins/android-plugin/pom.xml
index 90a1bb15d8..304098e22f 100644
--- a/components/mobile-plugins/android-plugin/pom.xml
+++ b/components/mobile-plugins/android-plugin/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.devicemgt-plugins
mobile-plugins
- 4.0.2-SNAPSHOT
+ 4.0.5-SNAPSHOT
../pom.xml
diff --git a/components/mobile-plugins/pom.xml b/components/mobile-plugins/pom.xml
index de0cbff76d..e0d01625e9 100644
--- a/components/mobile-plugins/pom.xml
+++ b/components/mobile-plugins/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.devicemgt-plugins
carbon-device-mgt-plugins-parent
- 4.0.2-SNAPSHOT
+ 4.0.5-SNAPSHOT
../../pom.xml
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml
index e0c9c25b5c..2627a921ea 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/pom.xml
@@ -21,7 +21,7 @@
windows-plugin
org.wso2.carbon.devicemgt-plugins
- 4.0.2-SNAPSHOT
+ 4.0.5-SNAPSHOT
../pom.xml
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/pom.xml b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/pom.xml
index 54c787db52..9793ee3ce0 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/pom.xml
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/pom.xml
@@ -23,13 +23,13 @@
windows-plugin
org.wso2.carbon.devicemgt-plugins
- 4.0.2-SNAPSHOT
+ 4.0.5-SNAPSHOT
../pom.xml
4.0.0
org.wso2.carbon.device.mgt.mobile.windows.ui
- 4.0.2-SNAPSHOT
+ 4.0.5-SNAPSHOT
WSO2 Carbon - Mobile Windows UI
pom
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.hbs b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.hbs
index 046a5ae154..35eac61145 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.hbs
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.hbs
@@ -6,398 +6,87 @@
{{#if deviceFound}}
{{#if isAuthorized}}
- {{#zone "device-details-header"}}
-
- Device {{device.name}}
- {{#if device.model}}
-
- ( {{device.vendor}} {{device.model}} )
-
- {{/if}}
-
+ {{#zone "device-thumbnail"}}
+
{{/zone}}
- {{#zone "overview-section"}}
-
- Device
- Overview
-
-
+ {{#zone "device-details-header"}}
+
+ {{device.owner}}'s {{device.name}}
+
+
+
+
+ {{#if device.model}}
+ {{device.vendor}} {{device.model}}
+ {{/if}}
+ Ownership - {{device.ownership}}
+ Device is
+
+ {{#equal device.status "ACTIVE"}}Active{{/equal}}
+ {{#equal device.status "INACTIVE"}}Inactive{{/equal}}
+ {{#equal device.status "BLOCKED"}}Blocked{{/equal}}
+ {{#equal device.status "REMOVED"}}Removed{{/equal}}
+ {{#equal device.status "UNREACHABLE"}}Unreachable{{/equal}}
+
+
{{/zone}}
-
{{#zone "device-opetations"}}
{{#if device.isNotRemoved}}
-
- Operations
-
-
- {{unit "cdmf.unit.device.type.windows.new.operation-bar" device=device
- backendApiUri=backendApiUri autoCompleteParams=autoCompleteParams}}
+
+
+ Device Operations
+
+ {{unit "cdmf.unit.device.type.windows.new.operation-bar" device=device
+ backendApiUri=backendApiUri autoCompleteParams=autoCompleteParams}}
{{/if}}
{{/zone}}
- {{#zone "device-details-tab-injected"}}
-
-
- Policy Compliance
-
-
-
-
- Device Location
-
-
-
+ {{#zone "device-details"}}
+ {{#if device.deviceInfoAvailable}}
+ {{#if device.BatteryLevel}}
+ {{device.BatteryLevel.value}}%
+ {{/if}}
+ {{#if device.ramUsage}}
+ {{device.ramUsage.value}} MB
+ {{/if}}
+ {{#if device.internalMemory}}
+ {{device.internalMemory.value}} GB
+
+ {{/if}}
+ {{else}}
+ Battery, RAM and Storage related information are not
+ available yet.
+ {{/if}}
{{/zone}}
- {{#zone "device-details-tab-contents"}}
-
-
-
-
-
- Device Details
-
-
-
-
- Device Details
-
-
-
-
- {{#if device.deviceInfoAvailable}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{#if device.ramUsage}}
-
-
-
- Available RAM
-
-
- {{device.ramUsage
- .value}} MB
-
-
-
-
-
-
- {{/if}}
- {{#if device.internalMemory}}
-
-
-
- Available Local Storage
-
-
- {{device.internalMemory
- .value}} GB
-
-
-
-
-
-
- {{/if}}
- {{else}}
-
- {{/if}}
-
-
-
-
+ {{#zone "device-details-tab-injected"}}
+ Location
+ Applications
+ Policy Compliance
{{/zone}}
{{#zone "device-view-tab-injected-conents"}}
-
-
-
-
-
- Policy Compliance
-
-
-
-
-
- Policy Compliance
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
- Device Location
-
-
-
-
- Device Location
-
-
- {{#if device.location}}
-
-
- {{else}}
-
-
-
-
- {{/if}}
-
-
+
+
+
-
-
-
-
-
-
- Installed Applications
-
-
-
-
-
- Installed Applications
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
{{/zone}}
@@ -434,4 +123,4 @@
{{js "js/load-map.js"}}
{{/if}}
-{{/zone}}
\ No newline at end of file
+{{/zone}}
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/img/device_icons/windows_app_icon.png b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/img/device_icons/windows_app_icon.png
new file mode 100644
index 0000000000..b373460318
Binary files /dev/null and b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/img/device_icons/windows_app_icon.png differ
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js
index ac2a06be8b..0928e4d4ba 100755
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js
@@ -23,6 +23,7 @@ var InitiateViewOption = null;
var deviceIdentifier = deviceId.data("deviceid");
var deviceType = deviceId.data("type");
var ownership = deviceId.data("ownership");
+ var devStatus = deviceId.data("status");
var payload = [deviceIdentifier];
var operationTable;
var serviceUrl;
@@ -34,7 +35,7 @@ var InitiateViewOption = null;
serviceUrl = "/api/device-mgt/android/v1.0/admin/devices/info";
}
- if (serviceUrl) {
+ if (serviceUrl && ("REMOVED" !== devStatus)) {
invokerUtil.post(
serviceUrl,
payload,
@@ -290,6 +291,8 @@ var InitiateViewOption = null;
viewModel["appContext"] = context;
var content = template(viewModel);
$("#applications-list-container").html(content);
+ var iconSource = $("#applications-list-container").data("public-uri") + "/img/device_icons/windows_app_icon.png";
+ $("#applications-list-container img").attr("src",iconSource);
} else {
$("#applications-list-container").
html("
Download our virtual Android device, enroll it with WSO2 - Device Cloud and try it out!
+ {{#if isCloud}} + Device Cloud + {{else}} + IoT Server + {{/if}}and try it out!Need help? Read WSO2 - IoT Server documentation.
+ {{#if isVirtual}} + href="https://docs.wso2.com/display/IoTS310/Android+Virtual+Device" + {{else}} + href="https://docs.wso2.com/display/IoTS310/Android" + {{/if}} + target="_blank">WSO2 IoT Server documentation. {{/if}}- Device {{device.name}} - {{#if device.model}} - - ( {{device.vendor}} {{device.model}} ) - - {{/if}} -
+ {{#zone "device-thumbnail"}} + {{/zone}} - {{#zone "overview-section"}} -+ {{device.owner}}'s {{device.name}} + + + +
+ {{#if device.model}} +{{device.vendor}} {{device.model}}
+ {{/if}} +Ownership - {{device.ownership}}
+Device is + + {{#equal device.status "ACTIVE"}}Active{{/equal}} + {{#equal device.status "INACTIVE"}}Inactive{{/equal}} + {{#equal device.status "BLOCKED"}}Blocked{{/equal}} + {{#equal device.status "REMOVED"}}Removed{{/equal}} + {{#equal device.status "UNREACHABLE"}}Unreachable{{/equal}} + +
{{/zone}} - {{#zone "device-opetations"}} {{#if device.isNotRemoved}} -Device Operations
+{{device.BatteryLevel.value}}%
+ {{/if}} + {{#if device.ramUsage}} +{{device.ramUsage.value}} MB
+ {{/if}} + {{#if device.internalMemory}} +{{device.internalMemory.value}} GB +
+ {{/if}} + {{else}} +Battery, RAM and Storage related information are not + available yet.
+ {{/if}} {{/zone}} - {{#zone "device-details-tab-contents"}} -