Add UI changes to enroll COPE using QR code

merge-requests/123/head
sandarudr 5 years ago
parent 37016f71d6
commit 9c34babe97

@ -166,6 +166,7 @@
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
<br> <br>
( ex: www.abc.com:8280 )
</label> </label>
<input id="android-kiosk-config-server-ip" type="text" class="form-control" > <input id="android-kiosk-config-server-ip" type="text" class="form-control" >

@ -108,7 +108,7 @@ function generateKIOSKQRCode(qrCodeClass) {
function(data) { function(data) {
data = JSON.parse(data); data = JSON.parse(data);
if (data != null && data.configuration != null) { if (data != null && data.configuration != null) {
if (ownership_type == "COSU") { if (ownership_type == "COSU" || ownership_type == "COPE") {
for (var i = 0; i < data.configuration.length; i++) { for (var i = 0; i < data.configuration.length; i++) {
var config = data.configuration[i]; var config = data.configuration[i];
if (config.name === kioskConfigs["adminComponentName"]) { if (config.name === kioskConfigs["adminComponentName"]) {

@ -85,7 +85,7 @@
<hr> <hr>
<h3>Step 02 - Enroll the Android Agent.</h3><br> <h3>Step 02 - Enroll the Android Agent.</h3><br>
<p>Your device can be enrolled with Entgra IoTS automatically via QR code or manually by a wizard. <p>Your device can be enrolled with Entgra IoTS automatically via QR code or manually by a wizard.
To enroll automatically; first download agent as mentioned in Step 1 then proceed with the ENROLL WITH QR option from the device setup activity. To enroll automatically, first download and install the agent as mentioned in Step 1 then proceed with the ENROLL WITH QR option from the device setup activity.
Thereafter select the ownership configuration and scan the generated QR to complete the process. Thereafter select the ownership configuration and scan the generated QR to complete the process.
To enroll manually; select the Manual enrollment option from the setup activity and follow the succeeding steps.</p> To enroll manually; select the Manual enrollment option from the setup activity and follow the succeeding steps.</p>
<br> <br>

Loading…
Cancel
Save