|
|
@ -15,17 +15,16 @@
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
under the License.
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
<span class="page-sub-title">
|
|
|
|
<span class="page-sub-title">
|
|
|
|
Policy List by priority order
|
|
|
|
Policy List by priority order
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<span id="policy-listing-status-msg">{{policyListingStatusMsg}}</span>
|
|
|
|
<span id="policy-listing-status-msg">{{policyListingStatusMsg}}</span>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="wr-list-group wr-sortable policy-list">
|
|
|
|
<div class="wr-list-group wr-sortable policy-list">
|
|
|
|
{{#each policyListToView}}
|
|
|
|
{{#each policyListToView}}
|
|
|
|
<span class="list-group-item " place="place_{{id}}" id="{{id}}">
|
|
|
|
<span class="list-group-item " place="place_{{id}}" id="{{id}}">
|
|
|
@ -40,15 +39,7 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="wr-list-icon">
|
|
|
|
<span class="wr-list-icon">
|
|
|
|
{{#equal platform "android"}}
|
|
|
|
<i class=" fw fw-{{platform}}"></i>
|
|
|
|
<i class=" fw fw-android"></i>
|
|
|
|
|
|
|
|
{{/equal}}
|
|
|
|
|
|
|
|
{{#equal platform "windows"}}
|
|
|
|
|
|
|
|
<i class=" fw fw-windows"></i>
|
|
|
|
|
|
|
|
{{/equal}}
|
|
|
|
|
|
|
|
{{#equal platform "ios"}}
|
|
|
|
|
|
|
|
<i class=" fw fw-apple"></i>
|
|
|
|
|
|
|
|
{{/equal}}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="wr-list-desc">
|
|
|
|
<span class="wr-list-desc">
|
|
|
|
<h3 class="wr-list-name">{{name}}</h3>
|
|
|
|
<h3 class="wr-list-name">{{name}}</h3>
|
|
|
@ -62,19 +53,20 @@
|
|
|
|
<b>Ownership Type : </b> {{ownershipType}}
|
|
|
|
<b>Ownership Type : </b> {{ownershipType}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{#if roles}}
|
|
|
|
{{#equal roles "None"}}
|
|
|
|
<div class="wr-desc-list-configs highlight col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
|
|
|
<div class="wr-desc-list-configs highlight col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<b>Assigned Role(s) : </b> {{roles}}
|
|
|
|
<b>Assigned User(s) : </b> {{users}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
{{/equal}}
|
|
|
|
|
|
|
|
{{#equal users "None"}}
|
|
|
|
<div class="wr-desc-list-configs highlight col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
|
|
|
<div class="wr-desc-list-configs highlight col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<b>Assigned User(s) : </b> {{users}}
|
|
|
|
<b>Assigned Role(s) : </b> {{roles}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/equal}}
|
|
|
|
<div class="wr-desc-list-configs col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
|
|
|
<div class="wr-desc-list-configs col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<b>Compliance Type :</b> {{compliance}}
|
|
|
|
<b>Compliance Type :</b> {{compliance}}
|
|
|
@ -89,8 +81,7 @@
|
|
|
|
{{#equal noPolicy false}}
|
|
|
|
{{#equal noPolicy false}}
|
|
|
|
<div id="save-new-priorities-button" class="wr-input-control wr-btn-grp">
|
|
|
|
<div id="save-new-priorities-button" class="wr-input-control wr-btn-grp">
|
|
|
|
<button class="wr-btn hide" id="sortUpdateBtn" data-policycount="{{policyCount}}"
|
|
|
|
<button class="wr-btn hide" id="sortUpdateBtn" data-policycount="{{policyCount}}"
|
|
|
|
data-enabled="{{saveNewPrioritiesButtonEnabled}}" disabled>Save New Priority
|
|
|
|
data-enabled="{{saveNewPrioritiesButtonEnabled}}" disabled>Save New Priority Order
|
|
|
|
Order
|
|
|
|
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button class="wr-btn" id="applyChangesBtn">Apply Changes to Devices</button>
|
|
|
|
<button class="wr-btn" id="applyChangesBtn">Apply Changes to Devices</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -98,18 +89,17 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="change-policy-modal-content" class="hide">
|
|
|
|
<div id="apply-changes-modal-content" class="hide">
|
|
|
|
<div class="content">
|
|
|
|
<div class="content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<h3>Do you really want to apply changes to all policies?</h3>
|
|
|
|
<h3>Do you really want to apply changes to all policies?</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="javascript:void(0)" id="change-policy-yes-link" class="btn-operations">
|
|
|
|
<a href="javascript:void(0)" id="apply-changes-yes-link" class="btn-operations">
|
|
|
|
Yes
|
|
|
|
Yes
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<a href="javascript:void(0)" id="change-policy-cancel-link"
|
|
|
|
<a href="javascript:void(0)" id="apply-changes-cancel-link" class="btn-operations">
|
|
|
|
class="btn-operations">
|
|
|
|
|
|
|
|
No
|
|
|
|
No
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -118,15 +108,14 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="change-policy-success-content" class="hide">
|
|
|
|
<div id="apply-changes-success-content" class="hide">
|
|
|
|
<div class="content">
|
|
|
|
<div class="content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<h3>Done. Changes applied successfully.</h3>
|
|
|
|
<h3>Done. Changes applied successfully.</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="javascript:void(0)" id="change-policy-success-link"
|
|
|
|
<a href="javascript:void(0)" id="apply-changes-success-link" class="btn-operations">
|
|
|
|
class="btn-operations">
|
|
|
|
|
|
|
|
Ok
|
|
|
|
Ok
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -135,15 +124,14 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="change-policy-error-content" class="hide">
|
|
|
|
<div id="apply-changes-error-content" class="hide">
|
|
|
|
<div class="content">
|
|
|
|
<div class="content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<h3>An unexpected error occurred. Please try again later.</h3>
|
|
|
|
<h3>An unexpected error occurred. Please try again later.</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="javascript:void(0)" id="change-policy-error-link"
|
|
|
|
<a href="javascript:void(0)" id="apply-changes-error-link" class="btn-operations">
|
|
|
|
class="btn-operations">
|
|
|
|
|
|
|
|
Ok
|
|
|
|
Ok
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -159,8 +147,7 @@
|
|
|
|
<h3>An unexpected error occurred. Please try again later.</h3>
|
|
|
|
<h3>An unexpected error occurred. Please try again later.</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="javascript:void(0)" id="remove-policy-error-link"
|
|
|
|
<a href="javascript:void(0)" id="remove-policy-error-link" class="btn-operations">
|
|
|
|
class="btn-operations">
|
|
|
|
|
|
|
|
Ok
|
|
|
|
Ok
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -176,8 +163,7 @@
|
|
|
|
<h3>Done. New Policy priorities were successfully updated.</h3>
|
|
|
|
<h3>Done. New Policy priorities were successfully updated.</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="javascript:void(0)" id="save-policy-priorities-success-link"
|
|
|
|
<a href="javascript:void(0)" id="save-policy-priorities-success-link" class="btn-operations">
|
|
|
|
class="btn-operations">
|
|
|
|
|
|
|
|
Ok
|
|
|
|
Ok
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -191,11 +177,8 @@
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
<h3>An unexpected error occurred. Please try again later.</h3>
|
|
|
|
<h3>An unexpected error occurred. Please try again later.</h3>
|
|
|
|
<h4 class="message-from-server"></h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="javascript:void(0)" id="save-policy-priorities-error-link"
|
|
|
|
<a href="javascript:void(0)" id="save-policy-priorities-error-link" class="btn-operations">
|
|
|
|
class="btn-operations">
|
|
|
|
|
|
|
|
Ok
|
|
|
|
Ok
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -203,6 +186,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "bottomJs"}}
|
|
|
|
{{#zone "bottomJs"}}
|
|
|
|
{{js "js/policy-priority.js"}}
|
|
|
|
{{js "js/policy-priority.js"}}
|
|
|
|