|
|
|
@ -46,26 +46,24 @@
|
|
|
|
|
<div class="col-md-12 wr-page-content">
|
|
|
|
|
<div>
|
|
|
|
|
<span id="permission" data-permission="{{permissions.list}}"></span>
|
|
|
|
|
{{unit "cdmf.unit.device.operation-mod"}}
|
|
|
|
|
{{#if deviceCount}}
|
|
|
|
|
<div id="loading-content" class="col-centered">
|
|
|
|
|
<i class="fw fw-settings fw-spin fw-2x"></i>
|
|
|
|
|
Loading subscriptions . . .
|
|
|
|
|
<br>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="device-listing-status" class="raw hidden">
|
|
|
|
|
<div id="topics-listing-status" class="raw hidden">
|
|
|
|
|
<ul style="list-style-type: none;">
|
|
|
|
|
<li class="message message-info">
|
|
|
|
|
<h4>
|
|
|
|
|
<i class="icon fw fw-info"></i>
|
|
|
|
|
<a id="device-listing-status-msg"></a>
|
|
|
|
|
<a id="topics-listing-status-msg"></a>
|
|
|
|
|
</h4>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="device-table">
|
|
|
|
|
<div id="topics-table">
|
|
|
|
|
<table class="table table-striped table-hover list-table display responsive nowrap data-table hidden"
|
|
|
|
|
id="device-grid1">
|
|
|
|
|
id="topics-grid">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr class="sort-row">
|
|
|
|
|
<th class="no-sort"></th>
|
|
|
|
@ -86,11 +84,6 @@
|
|
|
|
|
<th data-for="By SubscriptionIdentifier" class="select-filter"></th>
|
|
|
|
|
<!--<th class="no-sort"></th>-->
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="bulk-action-row">
|
|
|
|
|
<th colspan="7">
|
|
|
|
|
<ul class="tiles"></ul>
|
|
|
|
|
</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="ast-container">
|
|
|
|
|
|
|
|
|
@ -110,136 +103,6 @@
|
|
|
|
|
<a href="#">By localSubscriptionIdentifier</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{else}}
|
|
|
|
|
<div id="ast-container" class="ast-container list-view">
|
|
|
|
|
<div class="ctrl-info-panel col-centered text-center wr-login">
|
|
|
|
|
<h3 class="text-muted">
|
|
|
|
|
<i class="fw fw-devices fw-3x"></i>
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
<div id="edit-device-modal-content" class="hide">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h3 class="pull-left modal-title">
|
|
|
|
|
Please enter new name for the device?
|
|
|
|
|
</h3>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i
|
|
|
|
|
class="fw fw-cancel"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body add-margin-top-2x add-margin-bottom-2x">
|
|
|
|
|
<input id="edit-device-name" style="color:#3f3f3f;padding:5px" type="text"
|
|
|
|
|
value=""
|
|
|
|
|
placeholder="Type here" size="60">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
<a href="#" id="edit-device-yes-link" class="btn-operations">
|
|
|
|
|
Rename
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<a href="#" id="edit-device-cancel-link" class="btn-operations">
|
|
|
|
|
Cancel
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="edit-device-200-content" class="hide">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h3 class="pull-left modal-title">
|
|
|
|
|
Device was successfully updated.
|
|
|
|
|
</h3>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i
|
|
|
|
|
class="fw fw-cancel"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body add-margin-top-2x add-margin-bottom-2x">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
|
|
|
|
|
<div id="edit-device-200-content" class="hide">
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
|
<h3>Device was successfully updated.</h3>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="device-400-content" class="hide">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
|
<h3>Exception at backend. Try Later.</h3>
|
|
|
|
|
<br />
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
<a href="#" id="device-400-link" class="btn-operations">
|
|
|
|
|
Ok
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="device-403-content" class="hide">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
|
<h3>Operation not permitted.</h3>
|
|
|
|
|
<br />
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
<a href="#" id="device-403-link" class="btn-operations">
|
|
|
|
|
Ok
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="device-409-content" class="hide">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
|
<h3>Device does not exist.</h3>
|
|
|
|
|
<br />
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
<a href="#" id="remove-device-409-link" class="btn-operations">
|
|
|
|
|
Ok
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="no-device-selected" class="hide">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-5 col-md-6 col-centered">
|
|
|
|
|
<h3>Please select one ore more devices in order to perform this
|
|
|
|
|
operation.</h3>
|
|
|
|
|
<br/>
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
<a href="#" id="no-device-selected-link" class="btn-operations">
|
|
|
|
|
Ok
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|