parent
aada09de10
commit
935b429198
75
components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.view/public/js/policy-view.js → components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.view/public/js/view.js
75
components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.view/public/js/policy-view.js → components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.view/public/js/view.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,460 +1,568 @@
|
|||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<div class="wr-hidden-operations-nav col-lg-4">
|
<div class="wr-hidden-operations-nav col-lg-4">
|
||||||
<a href="javascript:void(0)" onclick="showAdvanceOperation('passcode-policy', this)" class="selected">
|
<a href="javascript:void(0)" onclick="showAdvanceOperation('passcode-policy', this)" class="selected">
|
||||||
<span class="wr-hidden-operations-icon fw-stack">
|
<span class="wr-hidden-operations-icon fw-stack">
|
||||||
<i class="fw fw-key fw-stack-2x"></i>
|
<i class="fw fw-key fw-stack-2x"></i>
|
||||||
</span>
|
</span>
|
||||||
Passcode Policy
|
Passcode Policy
|
||||||
<span id="passcode-policy-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
<span id="passcode-policy-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<span id="passcode-policy-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
<span id="passcode-policy-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<span id="passcode-policy-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
|
<span id="passcode-policy-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
|
||||||
</a>
|
</a>
|
||||||
<a href="javascript:void(0)" onclick="showAdvanceOperation('camera', this)">
|
<a href="javascript:void(0)" onclick="showAdvanceOperation('camera', this)">
|
||||||
<span class="wr-hidden-operations-icon fw-stack">
|
<span class="wr-hidden-operations-icon fw-stack">
|
||||||
<i class="fw fw-block fw-stack-2x"></i>
|
<i class="fw fw-block fw-stack-2x"></i>
|
||||||
</span>
|
</span>
|
||||||
Restrictions on Camera
|
Restrictions on Camera
|
||||||
<span id="camera-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
<span id="camera-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<span id="camera-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
<span id="camera-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<span class="camera-error status-icon hidden"><i class="fw fw-error"></i></span>
|
<span class="camera-error status-icon hidden"><i class="fw fw-error"></i></span>
|
||||||
</a>
|
</a>
|
||||||
<a href="javascript:void(0)" onclick="showAdvanceOperation('encrypt-storage', this)">
|
<a href="javascript:void(0)" onclick="showAdvanceOperation('encrypt-storage', this)">
|
||||||
<span class="wr-hidden-operations-icon fw-stack">
|
<span class="wr-hidden-operations-icon fw-stack">
|
||||||
<i class="fw fw-security fw-stack-2x"></i>
|
<i class="fw fw-security fw-stack-2x"></i>
|
||||||
</span>
|
</span>
|
||||||
Encryption Settings
|
Encryption Settings
|
||||||
<span id="encrypt-storage-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
<span id="encrypt-storage-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<span id="encrypt-storage-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
<span id="encrypt-storage-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<span id="encrypt-storage-error" class="encryption-error status-icon hidden"><i class="fw fw-error"></i></span>
|
<span id="encrypt-storage-error" class="encryption-error status-icon hidden"><i class="fw fw-error"></i></span>
|
||||||
</a>
|
</a>
|
||||||
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('wifi', this)">-->
|
<a href="javascript:void(0)" onclick="showAdvanceOperation('app-restriction', this)">
|
||||||
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
<span class="fw-stack fw-lg">
|
||||||
<!--<i class="fw fw-wifi fw-stack-2x"></i>-->
|
<i class="fw fw-application fw-stack-1x"></i>
|
||||||
<!--</span>-->
|
<i class="fw fw-block fw-stack-2x"></i>
|
||||||
<!--Wi-Fi Settings-->
|
</span>
|
||||||
<!--<span id="wifi-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>-->
|
Applications Restrictions
|
||||||
<!--<span id="wifi-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>-->
|
<span id="app-restriction-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<!--<span id="wifi-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>-->
|
<span id="app-restriction-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
|
||||||
<!--</a>-->
|
<span id="app-restriction-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
|
||||||
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('install-apps', this)">-->
|
</a>
|
||||||
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('wifi', this)">-->
|
||||||
<!--<i class="fw fw-application fw-stack-2x"></i>-->
|
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
||||||
<!--</span>-->
|
<!--<i class="fw fw-wifi fw-stack-2x"></i>-->
|
||||||
<!--App Installations-->
|
<!--</span>-->
|
||||||
<!--</a>-->
|
<!--Wi-Fi Settings-->
|
||||||
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('blacklist-apps', this)">-->
|
<!--<span id="wifi-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>-->
|
||||||
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
<!--<span id="wifi-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>-->
|
||||||
<!--<i class="fw fw-block fw-stack-2x"></i>-->
|
<!--<span id="wifi-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>-->
|
||||||
<!--</span>-->
|
<!--</a>-->
|
||||||
<!--App Blacklisting-->
|
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('install-apps', this)">-->
|
||||||
<!--</a>-->
|
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
||||||
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('web-clips', this)">-->
|
<!--<i class="fw fw-application fw-stack-2x"></i>-->
|
||||||
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
<!--</span>-->
|
||||||
<!--<i class="fw fw-website fw-stack-2x"></i>-->
|
<!--App Installations-->
|
||||||
<!--</span>-->
|
<!--</a>-->
|
||||||
<!--Web clips-->
|
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('blacklist-apps', this)">-->
|
||||||
<!--</a>-->
|
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
||||||
</div>
|
<!--<i class="fw fw-block fw-stack-2x"></i>-->
|
||||||
|
<!--</span>-->
|
||||||
|
<!--App Blacklisting-->
|
||||||
|
<!--</a>-->
|
||||||
|
<!--<a href="javascript:void(0)" onclick="showAdvanceOperation('web-clips', this)">-->
|
||||||
|
<!--<span class="wr-hidden-operations-icon fw-stack">-->
|
||||||
|
<!--<i class="fw fw-website fw-stack-2x"></i>-->
|
||||||
|
<!--</span>-->
|
||||||
|
<!--Web clips-->
|
||||||
|
<!--</a>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="wr-hidden-operations-content col-lg-8">
|
<div class="wr-hidden-operations-content col-lg-8">
|
||||||
<!-- passcode-policy -->
|
<!-- passcode-policy -->
|
||||||
<div class="wr-hidden-operation" data-operation="passcode-policy" style="display: block">
|
<div class="wr-hidden-operation" data-operation="passcode-policy" style="display: block">
|
||||||
<div class="panel panel-default operation-data" data-operation="passcode-policy" data-operation-code="PASSCODE_POLICY">
|
<div class="panel panel-default operation-data" data-operation="passcode-policy" data-operation-code="PASSCODE_POLICY">
|
||||||
<div id="passcode-policy-heading" class="panel-heading" role="tab">
|
<div id="passcode-policy-heading" class="panel-heading" role="tab">
|
||||||
<h2 class="sub-title panel-title">
|
<h2 class="sub-title panel-title">
|
||||||
Passcode Policy
|
Passcode Policy
|
||||||
<label id="passcode-policy-lbl" class="wr-input-control switch hidden" data-toggle="collapse" data-target="#passcode-policy-body">
|
<label id="passcode-policy-lbl" class="wr-input-control switch hidden" data-toggle="collapse" data-target="#passcode-policy-body">
|
||||||
<input type="checkbox" />
|
<input type="checkbox" />
|
||||||
<span class="helper"></span>
|
<span class="helper"></span>
|
||||||
<span class="text"></span>
|
<span class="text"></span>
|
||||||
</label>
|
</label>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="panel-title-description">
|
<div class="panel-title-description">
|
||||||
This configuration can be used to set a passcode policy to an Windows Device.
|
This configuration can be used to set a passcode policy to an Windows Device.
|
||||||
Once this configuration profile is installed on a device, corresponding users will not be able
|
Once this configuration profile is installed on a device, corresponding users will not be able
|
||||||
to modify these settings on their devices.
|
to modify these settings on their devices.
|
||||||
</div>
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="passcode-policy-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="passcode-policy-body">
|
</h2>
|
||||||
|
</div>
|
||||||
|
<div id="passcode-policy-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="passcode-policy-body">
|
||||||
|
|
||||||
<div id="passcode-policy-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
<div id="passcode-policy-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
||||||
<i class="icon fw fw-error"></i><span></span>
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-control checkbox">
|
<label class="wr-input-control checkbox">
|
||||||
<input id="passcode-policy-allow-simple" type="checkbox" class="form-control operationDataKeys" data-key="passcodePolicyAllowSimple" checked="checked" disabled/>
|
<input id="passcode-policy-allow-simple" type="checkbox" class="form-control operationDataKeys" data-key="passcodePolicyAllowSimple" checked="checked" disabled/>
|
||||||
<span class="helper" title="Permit the use of repeating, ascending and descending character sequences">
|
<span class="helper" title="Permit the use of repeating, ascending and descending character sequences">
|
||||||
Allow simple value
|
Allow simple value
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-control checkbox">
|
<label class="wr-input-control checkbox">
|
||||||
<input id="passcode-policy-require-alphanumeric" type="checkbox" class="form-control operationDataKeys" data-key="passcodePolicyRequireAlphanumeric" checked="checked" disabled/>
|
<input id="passcode-policy-require-alphanumeric" type="checkbox" class="form-control operationDataKeys" data-key="passcodePolicyRequireAlphanumeric" checked="checked" disabled/>
|
||||||
<span class="helper" title="Require passcode to contain both letters and numbers">
|
<span class="helper" title="Require passcode to contain both letters and numbers">
|
||||||
Require alphanumeric value
|
Require alphanumeric value
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-label" for="passcode-policy-min-length">
|
<label class="wr-input-label" for="passcode-policy-min-length">
|
||||||
Minimum passcode length
|
Minimum passcode length
|
||||||
<span class="helper" title="Minimum number of characters allowed in a passcode">
|
<span class="helper" title="Minimum number of characters allowed in a passcode">
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<select id="passcode-policy-min-length" class="form-control operationDataKeys" data-key="passcodePolicyMinLength" data-default="0" disabled>
|
<select id="passcode-policy-min-length" class="form-control operationDataKeys" data-key="passcodePolicyMinLength" data-default="0" disabled>
|
||||||
<option value="" selected="selected">
|
<option value="" selected="selected">
|
||||||
None
|
None
|
||||||
</option>
|
</option>
|
||||||
<option value="1">01</option>
|
<option value="1">01</option>
|
||||||
<option value="2">02</option>
|
<option value="2">02</option>
|
||||||
<option value="3">03</option>
|
<option value="3">03</option>
|
||||||
<option value="4">04</option>
|
<option value="4">04</option>
|
||||||
<option value="5">05</option>
|
<option value="5">05</option>
|
||||||
<option value="6">06</option>
|
<option value="6">06</option>
|
||||||
<option value="7">07</option>
|
<option value="7">07</option>
|
||||||
<option value="8">08</option>
|
<option value="8">08</option>
|
||||||
<option value="9">09</option>
|
<option value="9">09</option>
|
||||||
<option value="10">10</option>
|
<option value="10">10</option>
|
||||||
<option value="11">11</option>
|
<option value="11">11</option>
|
||||||
<option value="12">12</option>
|
<option value="12">12</option>
|
||||||
<option value="13">13</option>
|
<option value="13">13</option>
|
||||||
<option value="14">14</option>
|
<option value="14">14</option>
|
||||||
<option value="15">15</option>
|
<option value="15">15</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-label" for="passcode-policy-min-complex-chars">
|
<label class="wr-input-label" for="passcode-policy-min-complex-chars">
|
||||||
Minimum number of complex characters
|
Minimum number of complex characters
|
||||||
<span class="helper" title="Minimum number of complex or non-alphanumeric characters allowed in a passcode">
|
<span class="helper" title="Minimum number of complex or non-alphanumeric characters allowed in a passcode">
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<select id="passcode-policy-min-complex-chars" class="form-control operationDataKeys" data-key="passcodePolicyMinComplexChars" data-default="0" disabled>
|
<select id="passcode-policy-min-complex-chars" class="form-control operationDataKeys" data-key="passcodePolicyMinComplexChars" data-default="0" disabled>
|
||||||
<option value="" selected="selected">
|
<option value="" selected="selected">
|
||||||
None
|
None
|
||||||
</option>
|
</option>
|
||||||
<option value="1">01</option>
|
<option value="1">01</option>
|
||||||
<option value="2">02</option>
|
<option value="2">02</option>
|
||||||
<option value="3">03</option>
|
<option value="3">03</option>
|
||||||
<option value="4">04</option>
|
<option value="4">04</option>
|
||||||
<option value="5">05</option>
|
<option value="5">05</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-label" for="passcode-policy-max-passcode-age-in-days">
|
<label class="wr-input-label" for="passcode-policy-max-passcode-age-in-days">
|
||||||
Maximum passcode age in days
|
Maximum passcode age in days
|
||||||
<span class="helper" title="Number of days after which a passcode must be changed">
|
<span class="helper" title="Number of days after which a passcode must be changed">
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
( Should be in between 1-to-730 days or none )
|
( Should be in between 1-to-730 days or none )
|
||||||
</label>
|
</label>
|
||||||
<input id="passcode-policy-max-passcode-age-in-days" type="text" class="form-control operationDataKeys" data-key="passcodePolicyMaxPasscodeAgeInDays" maxlength="3" placeholder="[ Requires Number Input ]" disabled>
|
<input id="passcode-policy-max-passcode-age-in-days" type="text" class="form-control operationDataKeys" data-key="passcodePolicyMaxPasscodeAgeInDays" maxlength="3" placeholder="[ Requires Number Input ]" disabled>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-label" for="passcode-policy-passcode-history">
|
<label class="wr-input-label" for="passcode-policy-passcode-history">
|
||||||
Passcode history
|
Passcode history
|
||||||
<span class="helper" title="Number of consequent unique passcodes to be used before reuse">
|
<span class="helper" title="Number of consequent unique passcodes to be used before reuse">
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
( Should be in between 1-to-50 passcodes or none )
|
( Should be in between 1-to-50 passcodes or none )
|
||||||
</label>
|
</label>
|
||||||
<input id="passcode-policy-passcode-history" type="text" class="form-control operationDataKeys" data-key="passcodePolicyPasscodeHistory" maxlength="2" placeholder="[ Requires Number Input ]" disabled>
|
<input id="passcode-policy-passcode-history" type="text" class="form-control operationDataKeys" data-key="passcodePolicyPasscodeHistory" maxlength="2" placeholder="[ Requires Number Input ]" disabled>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-input-control">
|
<div class="wr-input-control">
|
||||||
<label class="wr-input-label" for="passcodePolicyMaxFailedAttempts">
|
<label class="wr-input-label" for="passcodePolicyMaxFailedAttempts">
|
||||||
Maximum number of failed attempts
|
Maximum number of failed attempts
|
||||||
<span class="helper" title="Maximum number of passcode entry attempts allowed before all data on a device will be erased">
|
<span class="helper" title="Maximum number of passcode entry attempts allowed before all data on a device will be erased">
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<select id="passcode-policy-max-failed-attempts" class="form-control operationDataKeys" data-key="passcodePolicyMaxFailedAttempts" data-default="0" disabled>
|
<select id="passcode-policy-max-failed-attempts" class="form-control operationDataKeys" data-key="passcodePolicyMaxFailedAttempts" data-default="0" disabled>
|
||||||
<option value="" selected="selected">
|
<option value="" selected="selected">
|
||||||
None
|
None
|
||||||
</option>
|
</option>
|
||||||
<option value="3">03</option>
|
<option value="3">03</option>
|
||||||
<option value="4">04</option>
|
<option value="4">04</option>
|
||||||
<option value="5">05</option>
|
<option value="5">05</option>
|
||||||
<option value="6">06</option>
|
<option value="6">06</option>
|
||||||
<option value="7">07</option>
|
<option value="7">07</option>
|
||||||
<option value="8">08</option>
|
<option value="8">08</option>
|
||||||
<option value="9">09</option>
|
<option value="9">09</option>
|
||||||
<option value="10">10</option>
|
<option value="10">10</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /passcode-policy -->
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /passcode-policy -->
|
||||||
|
|
||||||
<!-- camera -->
|
<!-- camera -->
|
||||||
<div class="wr-hidden-operation" data-operation="camera">
|
<div class="wr-hidden-operation" data-operation="camera">
|
||||||
<div class="panel panel-default operation-data" data-operation="camera" data-operation-code="CAMERA">
|
<div class="panel panel-default operation-data" data-operation="camera" data-operation-code="CAMERA">
|
||||||
<div id="camera-heading" class="panel-heading" role="tab">
|
<div id="camera-heading" class="panel-heading" role="tab">
|
||||||
<h2 class="sub-title panel-title">
|
<h2 class="sub-title panel-title">
|
||||||
Restrictions on Camera
|
Restrictions on Camera
|
||||||
<label class="wr-input-control switch hidden" data-toggle="collapse" data-target="#camera-body">
|
<label class="wr-input-control switch hidden" data-toggle="collapse" data-target="#camera-body">
|
||||||
<input type="checkbox" />
|
<input type="checkbox" />
|
||||||
<span class="helper"></span>
|
<span class="helper"></span>
|
||||||
<span class="text"></span>
|
<span class="text"></span>
|
||||||
</label>
|
</label>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="panel-title-description">
|
<div class="panel-title-description">
|
||||||
This configuration can be used to restrict the usage of camera on an Windows device together with all the applications using the camera.
|
This configuration can be used to restrict the usage of camera on an Windows device together with all the applications using the camera.
|
||||||
Once this configuration profile is installed on a device, corresponding users will not be able
|
Once this configuration profile is installed on a device, corresponding users will not be able
|
||||||
to modify these settings on their devices.
|
to modify these settings on their devices.
|
||||||
</div>
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="camera-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="camera-body">
|
</h2>
|
||||||
<div id="camera-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
</div>
|
||||||
<i class="icon fw fw-error"></i><span></span>
|
<div id="camera-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="camera-body">
|
||||||
</div>
|
<div id="camera-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
||||||
Un-check following checkbox in case you need to disable camera.
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
<br>
|
</div>
|
||||||
<br>
|
Un-check following checkbox in case you need to disable camera.
|
||||||
<div class="wr-input-control">
|
<br>
|
||||||
<label class="wr-input-control checkbox">
|
<br>
|
||||||
<input id="camera-enabled" type="checkbox" class="operationDataKeys" data-key="cameraEnabled" checked="checked" disabled/>
|
<div class="wr-input-control">
|
||||||
|
<label class="wr-input-control checkbox">
|
||||||
|
<input id="camera-enabled" type="checkbox" class="operationDataKeys" data-key="cameraEnabled" checked="checked" disabled/>
|
||||||
<span class="helper" title="Having this checked would enable Usage of phone camera in the device.">
|
<span class="helper" title="Having this checked would enable Usage of phone camera in the device.">
|
||||||
Allow use of camera
|
Allow use of camera
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
</div>
|
</div>
|
||||||
<!-- /camera -->
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /camera -->
|
||||||
|
|
||||||
<!-- encrypt-storage -->
|
<!-- encrypt-storage -->
|
||||||
<div class="wr-hidden-operation" data-operation="encrypt-storage">
|
<div class="wr-hidden-operation" data-operation="encrypt-storage">
|
||||||
<div class="panel panel-default operation-data" data-operation="encrypt-storage" data-operation-code="ENCRYPT_STORAGE">
|
<div class="panel panel-default operation-data" data-operation="encrypt-storage" data-operation-code="ENCRYPT_STORAGE">
|
||||||
<div id="encrypt-storage-heading" class="panel-heading" role="tab">
|
<div id="encrypt-storage-heading" class="panel-heading" role="tab">
|
||||||
<h2 class="sub-title panel-title">
|
<h2 class="sub-title panel-title">
|
||||||
Encryption Settings
|
Encryption Settings
|
||||||
<label class="wr-input-control switch hidden" data-toggle="collapse" data-target="#encrypt-storage-body">
|
<label class="wr-input-control switch hidden" data-toggle="collapse" data-target="#encrypt-storage-body">
|
||||||
<input type="checkbox" />
|
<input type="checkbox" />
|
||||||
<span class="helper"></span>
|
<span class="helper"></span>
|
||||||
<span class="text"></span>
|
<span class="text"></span>
|
||||||
</label>
|
</label>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="panel-title-description">
|
<div class="panel-title-description">
|
||||||
This configuration can be used to encrypt data on an Windows device, when the device is locked and
|
This configuration can be used to encrypt data on an Windows device, when the device is locked and
|
||||||
make it readable when the passcode is entered. Once this configuration profile is installed on a device,
|
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.
|
corresponding users will not be able to modify these settings on their devices.
|
||||||
</div>
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="encrypt-storage-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="encrypt-storage-body">
|
</h2>
|
||||||
<div id="encrypt-storage-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
</div>
|
||||||
<i class="icon fw fw-error"></i><span></span>
|
<div id="encrypt-storage-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="encrypt-storage-body">
|
||||||
</div>
|
<div id="encrypt-storage-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
||||||
Un-check following checkbox in case you need to disable storage-encryption.
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
<br>
|
</div>
|
||||||
<br>
|
Un-check following checkbox in case you need to disable storage-encryption.
|
||||||
<div class="wr-input-control">
|
<br>
|
||||||
<label class="wr-input-control checkbox">
|
<br>
|
||||||
<input id="encrypt-storage-enabled" type="checkbox" class="operationDataKeys" data-key="encryptStorageEnabled" checked="checked" disabled/>
|
<div class="wr-input-control">
|
||||||
|
<label class="wr-input-control checkbox">
|
||||||
|
<input id="encrypt-storage-enabled" type="checkbox" class="operationDataKeys" data-key="encryptStorageEnabled" checked="checked" disabled/>
|
||||||
<span class="helper" title="Having this checked would enable Storage-encryption in the device">
|
<span class="helper" title="Having this checked would enable Storage-encryption in the device">
|
||||||
Enable storage-encryption
|
Enable storage-encryption
|
||||||
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /encrypt-storage -->
|
||||||
|
|
||||||
|
<!--app-restriction-->
|
||||||
|
<div class="wr-hidden-operation" data-operation="app-restriction">
|
||||||
|
<div class="panel panel-default operation-data" data-operation="app-restriction" data-operation-code="APP-RESTRICTION">
|
||||||
|
<div id="app-restriction-heading" class="panel-heading" role="tab">
|
||||||
|
<h2 class="sub-title panel-title">
|
||||||
|
Application Restriction Settings
|
||||||
|
<label class="wr-input-control switch hidden" data-toggle="collapse" data-target="#app-restriction-body">
|
||||||
|
<input type="checkbox" />
|
||||||
|
<span class="helper"></span>
|
||||||
|
<span class="text"></span>
|
||||||
|
</label>
|
||||||
|
<hr>
|
||||||
|
<div class="panel-title-description">
|
||||||
|
This configuration can be used to create a black list or white list of applications.
|
||||||
|
</div>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
<div id="app-restriction-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="app-restriction-body">
|
||||||
|
|
||||||
|
<div id="app-restriction-feature-error-msg" class="alert alert-danger hidden" role="alert">
|
||||||
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<select id="app-restriction-type" class="form-control operationDataKeys" data-key="restrictionType" disabled>
|
||||||
|
<option value="" selected="selected">
|
||||||
|
None
|
||||||
|
</option>
|
||||||
|
<option value="black-list">Black List</option>
|
||||||
|
<option value="white-list">White List</option>
|
||||||
|
</select>
|
||||||
|
<br>
|
||||||
|
<div class="wr-input-control">
|
||||||
|
<label class="wr-input-label" for="restricted-applications">
|
||||||
|
Restricted Application List
|
||||||
|
<span class="helper" title="Add an application to restrict.">
|
||||||
|
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
|
||||||
|
</span>
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
<a href="#restricted-applications-grid" class="grid-input-add hidden" data-click-event="add-form">
|
||||||
|
<span class="icon fw-stack">
|
||||||
|
<i class="fw fw-add fw-stack-1x"></i>
|
||||||
|
<i class="fw fw-ring fw-stack-2x"></i>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
Add Application
|
||||||
|
</a>
|
||||||
|
</label>
|
||||||
|
<div id="restricted-applications" class="operationDataKeys grouped-array-input multi-column-key-value-pair-array" data-key="restrictedApplications" data-column-count="2">
|
||||||
|
<table class="table table-responsive table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>No:</th>
|
||||||
|
<th>Application Name/Description</th>
|
||||||
|
<th>Package Name</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody data-add-form-container="#restricted-applications-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="#restricted-applications-grid">
|
||||||
|
<tr data-add-form-element="clone">
|
||||||
|
<td data-title="No:">
|
||||||
|
<span class="index"></span>
|
||||||
|
</td>
|
||||||
|
<td data-title="App Name">
|
||||||
|
<input type="text" class="form-control grid-input-text" data-child-key="appName" maxlength="100" data-default="" placeholder="[ Application Name or Description ]" disabled/>
|
||||||
|
</td>
|
||||||
|
<td data-title="Package Name">
|
||||||
|
<input type="text" class="form-control grid-input-text" data-child-key="packageName" maxlength="100" data-default="" placeholder="[ Package Name of Application ]" disabled/>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class="list-group-item-actions hidden">
|
||||||
|
<a href="#restricted-applications-grid" class="grid-input-remove" data-click-event="remove-form">
|
||||||
|
<span class="fw-stack helper" title="Remove Entry">
|
||||||
|
<i class="fw fw-ring fw-stack-2x"></i>
|
||||||
|
<i class="fw fw-delete fw-stack-1x"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /encrypt-storage -->
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--/app-restriction-->
|
||||||
|
|
||||||
<!-- wi-fi -->
|
<!-- wi-fi -->
|
||||||
<!--<div class="wr-hidden-operation" data-operation="wifi">-->
|
<!--<div class="wr-hidden-operation" data-operation="wifi">-->
|
||||||
<!--<div class="panel panel-default operation-data" data-operation="wifi" data-operation-code="WIFI">-->
|
<!--<div class="panel panel-default operation-data" data-operation="wifi" data-operation-code="WIFI">-->
|
||||||
<!--<div id="wifi-heading" class="panel-heading" role="tab">-->
|
<!--<div id="wifi-heading" class="panel-heading" role="tab">-->
|
||||||
<!--<h2 class="sub-title panel-title">-->
|
<!--<h2 class="sub-title panel-title">-->
|
||||||
<!--Wi-Fi Settings-->
|
<!--Wi-Fi Settings-->
|
||||||
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#wifi-body">-->
|
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#wifi-body">-->
|
||||||
<!--<input type="checkbox" />-->
|
<!--<input type="checkbox" />-->
|
||||||
<!--<span class="helper"></span>-->
|
<!--<span class="helper"></span>-->
|
||||||
<!--<span class="text"></span>-->
|
<!--<span class="text"></span>-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--<hr>-->
|
<!--<hr>-->
|
||||||
<!--<div class="panel-title-description">-->
|
<!--<div class="panel-title-description">-->
|
||||||
<!--This configurations can be used to configure Wi-Fi access on an Android device.-->
|
<!--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-->
|
<!--Once this configuration profile is installed on a device, corresponding users will not be able-->
|
||||||
<!--to modify these settings on their devices.-->
|
<!--to modify these settings on their devices.-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</h2>-->
|
<!--</h2>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div id="wifi-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="wifi-body">-->
|
<!--<div id="wifi-body" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="wifi-body">-->
|
||||||
<!--<!–<div class="cloneable">–>-->
|
<!--<!–<div class="cloneable">–>-->
|
||||||
<!--<!–<a href="#" class="multi-view add enabled">–>-->
|
<!--<!–<a href="#" class="multi-view add enabled">–>-->
|
||||||
<!--<!–<span class="icon fw-stack">–>-->
|
<!--<!–<span class="icon fw-stack">–>-->
|
||||||
<!--<!–<i class="fw fw-add fw-stack-1x"></i>–>-->
|
<!--<!–<i class="fw fw-add fw-stack-1x"></i>–>-->
|
||||||
<!--<!–<i class="fw fw-ring fw-stack-2x"></i>–>-->
|
<!--<!–<i class="fw fw-ring fw-stack-2x"></i>–>-->
|
||||||
<!--<!–</span>–>-->
|
<!--<!–</span>–>-->
|
||||||
<!--<!–</a>–>-->
|
<!--<!–</a>–>-->
|
||||||
<!--<!–<a href="#" class="multi-view remove disabled">–>-->
|
<!--<!–<a href="#" class="multi-view remove disabled">–>-->
|
||||||
<!--<!–<span class="icon fw-stack">–>-->
|
<!--<!–<span class="icon fw-stack">–>-->
|
||||||
<!--<!–<i class="fw fw-minus fw-stack-1x"></i>–>-->
|
<!--<!–<i class="fw fw-minus fw-stack-1x"></i>–>-->
|
||||||
<!--<!–<i class="fw fw-ring fw-stack-2x"></i>–>-->
|
<!--<!–<i class="fw fw-ring fw-stack-2x"></i>–>-->
|
||||||
<!--<!–</span>–>-->
|
<!--<!–</span>–>-->
|
||||||
<!--<!–</a>–>-->
|
<!--<!–</a>–>-->
|
||||||
<!--<!–Wi-Fi Setting :–>-->
|
<!--<!–Wi-Fi Setting :–>-->
|
||||||
<!--<!–<br>–>-->
|
<!--<!–<br>–>-->
|
||||||
<!--<!–<br>–>-->
|
<!--<!–<br>–>-->
|
||||||
<!--Please note that * sign represents required fields of data.-->
|
<!--Please note that * sign represents required fields of data.-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--<div id="wifi-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
<!--<div id="wifi-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
||||||
<!--<i class="icon fw fw-error"></i><span></span>-->
|
<!--<i class="icon fw fw-error"></i><span></span>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<label class="wr-input-label" for="wifi-ssid">-->
|
<!--<label class="wr-input-label" for="wifi-ssid">-->
|
||||||
<!--Service Set Identifier (SSID) *-->
|
<!--Service Set Identifier (SSID) *-->
|
||||||
<!--<span class="helper" title="Identification of the wireless network to be configured.">-->
|
<!--<span class="helper" title="Identification of the wireless network to be configured.">-->
|
||||||
<!--<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>-->
|
<!--<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>-->
|
||||||
<!--</span>-->
|
<!--</span>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--( should be 1-to-30 characters long )-->
|
<!--( should be 1-to-30 characters long )-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--<input id="wifi-ssid" type="text" class="form-control operationDataKeys" data-key="wifiSSID" maxlength="100" placeholder="[ Required field ]"/>-->
|
<!--<input id="wifi-ssid" type="text" class="form-control operationDataKeys" data-key="wifiSSID" maxlength="100" placeholder="[ Required field ]"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<label class="wr-input-label" for="wifi-password">-->
|
<!--<label class="wr-input-label" for="wifi-password">-->
|
||||||
<!--Password-->
|
<!--Password-->
|
||||||
<!--<span class="helper" title="Password for the wireless network.">-->
|
<!--<span class="helper" title="Password for the wireless network.">-->
|
||||||
<!--<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>-->
|
<!--<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>-->
|
||||||
<!--</span>-->
|
<!--</span>-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--<input id="wifi-password" type="text" class="form-control operationDataKeys" data-key="wifiPassword" maxlength="100" placeholder="[ Optional field ]"/>-->
|
<!--<input id="wifi-password" type="text" class="form-control operationDataKeys" data-key="wifiPassword" maxlength="100" placeholder="[ Optional field ]"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<!–</div>–>-->
|
<!--<!–</div>–>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!-- /wi-fi -->
|
<!-- /wi-fi -->
|
||||||
|
|
||||||
<!-- install-applications -->
|
<!-- install-applications -->
|
||||||
<!--<div class="wr-hidden-operation" data-operation="install-apps">-->
|
<!--<div class="wr-hidden-operation" data-operation="install-apps">-->
|
||||||
<!--<div class="panel panel-default operation-data" data-operation="INSTALL_APPLICATION">-->
|
<!--<div class="panel panel-default operation-data" data-operation="INSTALL_APPLICATION">-->
|
||||||
<!--<div class="panel-heading" role="tab">-->
|
<!--<div class="panel-heading" role="tab">-->
|
||||||
<!--<h2 class="sub-title panel-title">-->
|
<!--<h2 class="sub-title panel-title">-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!-- App Installations-->
|
<!-- App Installations-->
|
||||||
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installApp">-->
|
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installApp">-->
|
||||||
<!--<input type="checkbox" />-->
|
<!--<input type="checkbox" />-->
|
||||||
<!--<span class="helper"></span>-->
|
<!--<span class="helper"></span>-->
|
||||||
<!--<span class="text"></span>-->
|
<!--<span class="text"></span>-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--</h2>-->
|
<!--</h2>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div id="installApp" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="installApp">-->
|
<!--<div id="installApp" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="installApp">-->
|
||||||
<!--<div id="install-app-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
<!--<div id="install-app-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
||||||
<!--<i class="icon fw fw-error"></i><span></span>-->
|
<!--<i class="icon fw fw-error"></i><span></span>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<label class="wr-input-label" title="Application Identifier">App Identifier<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
<!--<label class="wr-input-label" title="Application Identifier">App Identifier<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
||||||
|
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<input type="text" class="form-control operationDataKeys" id="package-name" data-key="packageName" placeholder="Enter App Identifier"/>-->
|
<!--<input type="text" class="form-control operationDataKeys" id="package-name" data-key="packageName" placeholder="Enter App Identifier"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<label class="wr-input-control dropdown">-->
|
<!--<label class="wr-input-control dropdown">-->
|
||||||
<!--<span class="helper" title="App Type">App Type<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></span>-->
|
<!--<span class="helper" title="App Type">App Type<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></span>-->
|
||||||
<!--<select class="form-control col-sm-8 operationDataKeys appTypesInput" id="type" data-key="type">-->
|
<!--<select class="form-control col-sm-8 operationDataKeys appTypesInput" id="type" data-key="type">-->
|
||||||
<!--<option>Public</option>-->
|
<!--<option>Public</option>-->
|
||||||
<!--<option>Enterprise</option>-->
|
<!--<option>Enterprise</option>-->
|
||||||
<!--</select>-->
|
<!--</select>-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<label class="wr-input-label" title="URL">URL<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
<!--<label class="wr-input-label" title="URL">URL<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
||||||
|
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<input type="text" class="form-control operationDataKeys" id="url" data-key="url" placeholder="Enter URL"/>-->
|
<!--<input type="text" class="form-control operationDataKeys" id="url" data-key="url" placeholder="Enter URL"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!-- /install-applications -->
|
<!-- /install-applications -->
|
||||||
|
|
||||||
<!-- /uninstall-applications -->
|
<!-- /uninstall-applications -->
|
||||||
<!--<div class="wr-hidden-operation" data-operation="uninstall-apps">-->
|
<!--<div class="wr-hidden-operation" data-operation="uninstall-apps">-->
|
||||||
<!--<div class="panel panel-default operation-data" data-operation="UNINSTALL_APPLICATION">-->
|
<!--<div class="panel panel-default operation-data" data-operation="UNINSTALL_APPLICATION">-->
|
||||||
<!--<div class="panel-heading" role="tab">-->
|
<!--<div class="panel-heading" role="tab">-->
|
||||||
<!--<h2 class="sub-title panel-title">-->
|
<!--<h2 class="sub-title panel-title">-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!-- App Uninstallations-->
|
<!-- App Uninstallations-->
|
||||||
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#uninstallApp">-->
|
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#uninstallApp">-->
|
||||||
<!--<input type="checkbox" />-->
|
<!--<input type="checkbox" />-->
|
||||||
<!--<span class="helper"></span>-->
|
<!--<span class="helper"></span>-->
|
||||||
<!--<span class="text"></span>-->
|
<!--<span class="text"></span>-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--</h2>-->
|
<!--</h2>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div id="uninstallApp" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="uninstallApp">-->
|
<!--<div id="uninstallApp" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="uninstallApp">-->
|
||||||
<!--<div id="uninstall-app-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
<!--<div id="uninstall-app-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
||||||
<!--<i class="icon fw fw-error"></i><span></span>-->
|
<!--<i class="icon fw fw-error"></i><span></span>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<label class="wr-input-label" title="Application Identifier">App Identifier<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
<!--<label class="wr-input-label" title="Application Identifier">App Identifier<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
||||||
<!--<!--span>Identification of the wireless network to connect to</span-->
|
<!--<!--span>Identification of the wireless network to connect to</span-->
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<input type="text" class="form-control operationDataKeys" id="package-name" data-key="packageName" placeholder="Enter App Identifier"/>-->
|
<!--<input type="text" class="form-control operationDataKeys" id="package-name" data-key="packageName" placeholder="Enter App Identifier"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!-- /uninstall-applications -->
|
<!-- /uninstall-applications -->
|
||||||
|
|
||||||
<!-- /web-clips -->
|
<!-- /web-clips -->
|
||||||
<!--<div class="wr-hidden-operation" data-operation="web-clips">-->
|
<!--<div class="wr-hidden-operation" data-operation="web-clips">-->
|
||||||
<!--<div class="panel panel-default operation-data" data-operation="WEBCLIP">-->
|
<!--<div class="panel panel-default operation-data" data-operation="WEBCLIP">-->
|
||||||
<!--<div class="panel-heading" role="tab">-->
|
<!--<div class="panel-heading" role="tab">-->
|
||||||
<!--<h2 class="sub-title panel-title">-->
|
<!--<h2 class="sub-title panel-title">-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!-- Web clips-->
|
<!-- Web clips-->
|
||||||
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installWebClip">-->
|
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installWebClip">-->
|
||||||
<!--<input type="checkbox" />-->
|
<!--<input type="checkbox" />-->
|
||||||
<!--<span class="helper"></span>-->
|
<!--<span class="helper"></span>-->
|
||||||
<!--<span class="text"></span>-->
|
<!--<span class="text"></span>-->
|
||||||
<!--</label>-->
|
<!--</label>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--<br>-->
|
<!--<br>-->
|
||||||
<!--</h2>-->
|
<!--</h2>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<div id="installWebClip" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="installWebClip">-->
|
<!--<div id="installWebClip" class="panel-collapse panel-body collapse" role="tabpanel" aria-labelledby="installWebClip">-->
|
||||||
<!--<div id="install-webclip-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
<!--<div id="install-webclip-feature-error-msg" class="alert alert-danger hidden" role="alert">-->
|
||||||
<!--<i class="icon fw fw-error"></i><span></span>-->
|
<!--<i class="icon fw fw-error"></i><span></span>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<label class="wr-input-label" title="Title of the web clip">Title<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
<!--<label class="wr-input-label" title="Title of the web clip">Title<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<input type="text" class="form-control operationDataKeys" id="title" data-key="title" placeholder="Enter Title"/>-->
|
<!--<input type="text" class="form-control operationDataKeys" id="title" data-key="title" placeholder="Enter Title"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--<label class="wr-input-label" title="URL">URL<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
<!--<label class="wr-input-label" title="URL">URL<span class="wr-help-tip glyphicon glyphicon-question-sign"></span></label>-->
|
||||||
<!--<div class="wr-input-control">-->
|
<!--<div class="wr-input-control">-->
|
||||||
<!--<input type="text" class="form-control operationDataKeys" id="url" data-key="url" placeholder="Enter URL"/>-->
|
<!--<input type="text" class="form-control operationDataKeys" id="url" data-key="url" placeholder="Enter URL"/>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<!-- /web-clips -->
|
<!-- /web-clips -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -1,25 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
* Version 2.0 (the "License"); you may not use this file except
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* in compliance with the License.
|
* in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||||
* KIND, either express or implied. See the License for the
|
* either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onRequest(context) {
|
function onRequest(context) {
|
||||||
var log = new Log("policy-view-edit-unit backend js");
|
// var log = new Log("policy-view-edit-unit backend js");
|
||||||
log.debug("calling policy-view-edit-unit");
|
|
||||||
var userModule = require("/app/modules/business-controllers/user.js")["userModule"];
|
// var userModule = require("/app/modules/business-controllers/user.js")["userModule"];
|
||||||
context.roles = userModule.getRoles().content;
|
// context.roles = userModule.getRoles();
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version" : "1.0.0"
|
"version" : "1.0.0",
|
||||||
|
"extends" : "cdmf.unit.policy.view"
|
||||||
}
|
}
|
Loading…
Reference in new issue