@ -1511,28 +1511,33 @@
This policy can be used to configure the profile of COSU Devices.
</div>
</div>
<div id="cosu-profile-configuration-body" class="panel-collapse panel-body collapse"
role="tabpanel"
<div id="cosu-profile-configuration-body" class="panel-collapse panel-body collapse" role="tabpanel"
aria-labelledby="cosu-profile-configuration-body">
<hr/>
<div id="cosu-profile-configuration-feature-error-msg" class="alert alert-danger hidden" role="alert">
<div id="cosu-profile-configuration-feature-error-msg" class="alert alert-danger hidden"
role="alert">
<i class="icon fw fw-error"></i><span></span>
</div>
<div id="cosu-profile-restrict-device-operation-time-configuration" class="panel">
<form class="form-horizontal">
<div class="form-group">
<div class="col-sm-12 form-inline">
<label class="control-label">Restrict device operation time</label>
<label class="switch">
<input type="checkbox" id="gridGuideToggle" data-toggle="collapse"
data-target="#cosu-profile-restrict-operation-time" >
<h2 class="sub-title panel-title"
style="padding: 0px; padding-right:15px; font-size:15px; margin-left:15px;">
Restrict Device Operation Time
<label class="wr-input-control checkbox">
<input id="cosu-profile-device-restrict-operation-time" type="checkbox"
class="non-advance-operation operationDataKeys"
data-key="isDeviceRestrictOperationTimeEnabled"
onchange="changeDivVisibility('cosu-profile-restrict-operation-time', this)"/>
<span class="helper"></span>
<span class="text"></span>
</label>
</div>
</h2 >
</div>
<div id="cosu-profile-restrict-operation-time" class="panel-collapse panel-body collapse"
role="tabpanel">
<div class="wr-input-control">
<label class="wr-input-label" for="cosu-profile-configuration-start-time ">
<label class="wr-input-label">
Start Time
<span class="helper" title="Start time for the device">
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -1540,7 +1545,7 @@
</label>
<select id="cosu-profile-configuration-start-time"
class="form-control operationDataKeys"
data-key="cosuProfileOperation RestrictionStartTime">
data-key="cosuProfileRestrictionStartTime" data-default="480 ">
<option value="1440">12:00 Midnight</option>
<option value="30">12:30 AM</option>
<option value="60">1:00 AM</option>
@ -1557,7 +1562,7 @@
<option value="390">6:30 AM</option>
<option value="420">7:00 AM</option>
<option value="450">7:30 AM</option>
<option value="480">8:00 AM</option>
<option value="480" selected="selected ">8:00 AM</option>
<option value="510">8:30 AM</option>
<option value="540">9:00 AM</option>
<option value="570">9:30 AM</option>
@ -1600,7 +1605,7 @@
</label>
<select id="cosu-profile-configuration-end-time"
class="form-control operationDataKeys"
data-key="cosuProfileOperation RestrictionEndTime" data-default="0">
data-key="cosuProfileRestrictionEndTime" data-default="102 0">
<option value="1440">12:00 Midnight</option>
<option value="30">12:30 AM</option>
<option value="60">1:00 AM</option>
@ -1635,7 +1640,7 @@
<option value="930">3:30 PM</option>
<option value="960">4:00 PM</option>
<option value="990">4:30 PM</option>
<option value="1020">5:00 PM</option>
<option value="1020" selected="selected ">5:00 PM</option>
<option value="1050">5:30 PM</option>
<option value="1080">6:00 PM</option>
<option value="1110">6:30 PM</option>
@ -1661,14 +1666,18 @@
</div>
</div>
</form>
</div>
<div id="cosu-profile-device-global-configuration" class="panel">
<form class="form-horizontal">
<div class="form-group">
<h2 class="sub-title panel-title"
style="padding: 0px; padding-right:15px; font-size:15px; margin-left:15px;">
Device Global Configuration
<label class="wr-input-control switch" data-toggle="collapse"
data-target="#cosu-profile-device-global-operation">
<input type="checkbox" class="non-advance-operation" />
<label class="wr-input-control checkbox">
<input id="cosu-profile-device-global-config" type="checkbox"
class="non-advance-operation operationDataKeys"
data-key="isDeviceGlobalConfigEnabled"
onchange="changeDivVisibility('cosu-profile-device-global-operation', this)"/>
<span class="helper"></span>
<span class="text"></span>
</label>
@ -1677,17 +1686,18 @@
<div id="cosu-profile-device-global-operation" class="panel-collapse panel-body collapse"
role="tabpanel">
<form class="form-horizontal">
<div class="wr-input-control">
<label class="wr-input-label">
Launcher background image
<span class="helper" title="This is the image that will be displayed in kiosk background.">
<span class="helper"
title="This is the image that will be displayed in kiosk background.">
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
</label>
<input id="cosu-global-config-kiosk-background-image" type="text"
class="form-control operationDataKeys" data-key="kioskBackgroundImage"
maxlength="100" placeholder="[ Should be a valid URL of jpg or jpeg or png]"/>
maxlength="100"
placeholder="[ Should be a valid URL of jpg or jpeg or png ]"/>
</div>
<div class="wr-input-control">
<label class="wr-input-label">
@ -1698,8 +1708,8 @@
</label>
<input id="cosu-global-config-kiosk-logo-image" type="text"
class="form-control operationDataKeys" data-key="kioskLogoImage"
maxlength="100" placeholder="[ Should be a valid URL ending with .jpg, .png,
.jpeg"/>
maxlength="100"
placeholder="[ Should be a valid URL ending with .jpg, .png, .jpeg ] "/>
</div>
<div class="wr-input-control">
<label class="wr-input-label">
@ -1712,18 +1722,22 @@
class="form-control operationDataKeys" data-key="kioskAppName"
maxlength="100" placeholder="Name to appear on the agent"/>
</div>
<div class="wr-input-control">
<div id="cosu-profile-idle-media-configuration" class="panel">
<div class="wr-input-control sub-title panel-title"
style="padding: 0px; padding-right:15px; font-size:15px;">
Is idle media enabled
<span class="wr-help-tip glyphicon glyphicon-question-sign"
title="Is idle media enabled"></span>
<label class="wr-input-control checkbox">
<input id="cosu-global-config-is-idle-graphics-enabled" type="checkbox"
class="form-control operationDataKeys" data-key="isIdleGraphicsEnabled"
class="form-control operationDataKeys"
data-key="isIdleGraphicsEnabled"
onchange="changeDivVisibility('idle-properties', this)"/>
<span class="helper" title="Is idle media enabled">
Is idle media enabled
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
<span class="helper"></span>
</label>
</div>
<div id="idle-properties">
<div id="idle-properties"class="panel-collapse panel-body collapse-config"
role="tabpanel" style="display: none;" >
<div class="wr-input-control">
<label class="wr-input-label">
Media to display while idle
@ -1733,9 +1747,9 @@
</label>
<input id="cosu-global-config-idle-media-url" type="text"
class="form-control operationDataKeys" data-key="idleMediaURL"
maxlength="100" placeholder="[ Should be a valid URL ending with .jpg, .png, .jpeg, .mp4, .3gp, .wmv, .mkv ]"/>
maxlength="100"
placeholder="[ Should be a valid URL ending with .jpg, .png, .jpeg, .mp4, .3gp, .wmv, .mkv ]"/>
</div>
<div class="wr-input-control">
<label class="wr-input-label">
Idle graphic begin after(seconds)
@ -1748,38 +1762,132 @@
maxlength="100" placeholder="[ Idle timeout in seconds ]"/>
</div>
</div>
<div class="wr-input-control">
</div>
<!--COSU profile user app configuration-->
<div id="cosu-profile-user-app-configuration" class="panel">
<div class="wr-input-control sub-title panel-title"
style="padding: 0px; padding-right:15px; font-size:15px;">
Is multi-user device
<span class="wr-help-tip glyphicon glyphicon-question-sign"
title="Is multi-user device"></span>
<label class="wr-input-control checkbox">
<input id="cosu-global-config-is-multi-user-device" type="checkbox"
class="form-control operationDataKeys" data-key="isMultiUserDevice"
onchange="changeDivVisibility('cosu-global-config-is-is-login-required-div', this)"/>
<span class="helper" title="Is multi-user device">
Is multi-user device
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
class="form-control operationDataKeys cosu-profile-config"
data-key="isMultiUserDevice"
onchange="changeDivVisibility('cosu-global-config-multi-user-enabled', this)"/>
<span class="helper"></span>
</label>
</div>
<div id="cosu-global-config-is-is-login-required-div">
<div id="cosu-global-config-multi-user-enabled"
class="panel-collapse panel-body collapse-config specific-cosu-global-config-multi-user-enabled"
role="tabpanel" style="display: none;">
<div class="wr-input-control">
<label class="wr-input-control checkbox">
<input id="cosu-global-config-is-is-login-required" type="checkbox"
class="form-control operationDataKeys"
data-key="isLoginRequired"/>
<span class="helper" title="Is login needed for user switch">
data-key="isLoginRequired" checked="check ed"/>
<span class="helper" title="Is login needed for user switch. ">
Is login needed for user switch
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
</label>
</div>
</div>
<div>
<ul class="message message-info">
<i class="icon fw fw-info"></i>
<a id="cosu-profile-user-app-configuration-msg">
Provide comma separated package name or web clip details for applications.<br/>
eg: com.google.android.apps.maps, { "identity":"http:entgra.io/","title":"entgra-webclip"}
</a>
</ul>
</div>
<br>
<div class="wr-input-control">
<label class="wr-input-label">
Primary User Apps
<span class="helper">
<span class="wr-help-tip glyphicon glyphicon-question-sign"
title="Primary User is the user to which the device is enrolled."></span>
</span>
</label>
<input id="cosu-user-app-config-primary-user" type="text"
class="form-control operationDataKeys"
data-key="primaryUserApps" placeholder="[ Applications ]"/>
</div>
<a href="#cosu-global-config-multi-user-app-config-grid"
class="btn btn-secondary grid-input-add"
data-click-event="add-form">
<span class="icon fw-stack">
<i class="fw fw-add fw-stack-1x"></i>
<i class="fw fw-circle-outline fw-stack-2x"></i>
</span>
Add User Apps
</a>
<div id="cosu-user-app-config"
class="operationDataKeys grouped-array-input multi-column-key-value-pair-array"
data-key="userAppConfigurations" data-column-count="2">
<table class="table table-responsive table-striped">
<thead>
<tr>
<th>No:</th>
<th>User</th>
<th>Applications</th>
<th></th>
</tr>
</thead>
<tbody data-add-form-container="#cosu-global-config-multi-user-app-config-grid">
<tr data-help-text="add-form">
<td colspan="4">
No entries added yet.
</td>
</tr>
</tbody>
</table>
<table class="template hidden">
<tbody data-add-form="#cosu-global-config-multi-user-app-config-grid">
<tr data-add-form-element="clone">
<td data-title="No:">
<span class="index"></span>
</td>
<td data-title="User">
<input type="text" class="form-control grid-input-text"
data-child-key="username"
maxlength="100" placeholder="[ username ]"/>
</td>
<td data-title="Applications">
<input type="text" class="form-control grid-input-text"
rows="2" data-child-key="visibleAppList"
title="visibleAppList">
</td>
<td>
<span class="list-group-item-actions">
<a href="#cosu-global-config-multi-user-app-config-grid"
class="grid-input-remove"
data-click-event="remove-form">
<span class="fw-stack helper" title="Remove Entry">
<i class="fw fw-circle-outline fw-stack-2x"></i>
<i class="fw fw-delete fw-stack-1x"></i>
</span>
</a>
</span>
</td>
</tr>
</tbody>
</table>
</div>
<span id="cosu-profile-app-configs-storeapps"
data-storeapps=" {{ json storeapps }} " hidden></span>
</div>
</div>
<!--COSU profile user app configuration-->
<div class="wr-input-control">
<label class="wr-input-label">
Device display orientation
<span class="helper" title="Device display orientation">
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
</label>
<select id="cosu-profile-orientation"
<select id="cosu-profile-display -orientation"
class="form-control operationDataKeys"
data-key="displayOrientation" data-default="auto">
<option value="auto">Auto</option>
@ -1787,20 +1895,21 @@
<option value="landscape">Landscape</option>
</select>
</div>
<br><br>
<div class="form-group">
<h2 class="col-sm-12 form-inline sub-title panel-title"
style="padding: 0px; padding-right:15px; font-size:13px; margin-left:10px;">
Browser Properties
<label class="wr-input-control switch" data-toggle="collapse"
data-target="#cosu-browser-property">
<input type="checkbox" />
<div id="cosu-profile-browser-property-configurations" class="panel">
<div class="wr-input-control sub-title panel-title"
style="padding: 0px; padding-right:15px; font-size:15px;">
Enable Browser Properties
<span class="wr-help-tip glyphicon glyphicon-question-sign"
title="Browser Properties"></span>
<label class="wr-input-control checkbox">
<input type="checkbox"
onchange="changeDivVisibility('cosu-browser-property', this)"
data-key="isBrowserPropertyEnabled"
class="form-control operationDataKeys"/>
<span class="helper"></span>
<span class="text"></span>
</label>
</h2>
</div>
<div id="cosu-browser-property" class="panel-collapse panel-body collapse"
<div id="cosu-browser-property" class="panel-collapse panel-body collapse collapse-config "
role="tabpanel">
<div class="wr-input-control">
<label class="wr-input-label">
@ -1818,7 +1927,8 @@
<input id="cosu-browser-property-top-bar-enabled" type="checkbox"
class="form-control operationDataKeys"
data-key="isTopBarEnabled"/>
<span class="helper" title="Enabled top control bar that displays all the controllers such as address bar, home button and forwards controllers">
<span class="helper"
title="Enabled top control bar that displays all the controllers such as address bar, home button and forwards controllers">
Enabled top control bar
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
@ -1886,7 +1996,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-lock-to-primary-url" type="checkbox"
class="form-control operationDataKeys"
data-key="lockToPrimaryURL"/>
data-key="lockToPrimaryURL" checked />
<span class="helper" title="Only allowed to visit the pirmary url.">
Only allowed to visit the pirmary url
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -1898,7 +2008,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-is-javascript-enabled" type="checkbox"
class="form-control operationDataKeys"
data-key="isJavascriptEnabled"/>
data-key="isJavascriptEnabled" checked />
<span class="helper" title="Is javascript enabled.">
Is javascript enabled
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -2034,7 +2144,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-is-loads-images-automatically" type="checkbox"
class="form-control operationDataKeys"
data-key="isLoadsImagesAutomatically"/>
data-key="isLoadsImagesAutomatically" checked />
<span class="helper" title="Sets whether the browser should load image resources(through network and cached). Note that this method controls loading of all images, including those embedded using the data URI scheme.">
Should load images
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -2067,7 +2177,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-is-support-zoom-enabled" type="checkbox"
class="form-control operationDataKeys"
data-key="isSupportZoomEnabled"/>
data-key="isSupportZoomEnabled" checked />
<span class="helper" title="Sets whether the browser should support zooming using its on-screen zoom controls and gestures.">
Support zooming
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -2168,7 +2278,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-is-media-playback-requires-user-gesture" type="checkbox"
class="form-control operationDataKeys"
data-key="isMediaPlaybackRequiresUserGesture"/>
data-key="isMediaPlaybackRequiresUserGesture" checked />
<span class="helper" title="Sets whether the browser requires a user gesture to play media. If false, the browser can play media without user consent">
Does media playback requires user consent
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -2179,7 +2289,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-is-safe-browsing-enabled" type="checkbox"
class="form-control operationDataKeys"
data-key="isSafeBrowsingEnabled"/>
data-key="isSafeBrowsingEnabled" checked />
<span class="helper" title="Sets whether safe browsing is enabled. Safe browsing allows browser to protect against malware and phishing attacks by verifying the links.">
Is safe browsing enabled
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -2190,7 +2300,7 @@
<label class="wr-input-control checkbox">
<input id="cosu-browser-property-is-use-wide-view-port" type="checkbox"
class="form-control operationDataKeys"
data-key="isUseWideViewPort"/>
data-key="isUseWideViewPort" checked />
<span class="helper" title="Sets whether the browser should enable support for the viewport HTML meta tag or should use a wide viewport. When the value of the setting is false, the layout width is always set to the width of the browser control in device-independent (CSS) pixels. When the value is true and the page contains the viewport meta tag, the value of the width specified in the tag is used. If the page does not contain the tag or does not provide a width, then a wide viewport will be used.">
Use wide view port
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
@ -2226,8 +2336,8 @@
</select>
</div>
</div>
</div>
</form>
<br/>
<div>
<ul class="message message-info">
<i class="icon fw fw-info"></i>
@ -2241,7 +2351,7 @@
</div>
</div>
</div>
</div>
<!--COSU profile configuration-->
<!-- cosu-system-update-policy -->