Updating Device Listing - EMM UI

revert-dabc3590
dilanua 8 years ago
parent a4ef821dc1
commit 9d486a5a0a

@ -138,20 +138,19 @@
</div> </div>
<div id="no-device-view" class="ast-container list-view hidden"> <div id="no-device-view" class="ast-container list-view hidden">
<div class="ctrl-info-panel col-centered text-center wr-login"> <div class="ctrl-info-panel col-centered text-center wr-login">
<h2>You don't have any device registered at the moment.</h2> <h2>You do not have any device enrolled at the moment.</h2>
<br/>
<p class="text-center"> <p class="text-center">
<a href="javascript:toggleEnrollment()" class="wr-btn"> <a href="javascript:toggleEnrollment()" class="wr-btn">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-mobile fw-stack-1x"></i> <i class="fw fw-mobile fw-stack-1x"></i>
<span class="fw-stack fw-move-right fw-move-bottom"> <span class="fw-stack fw-move-right fw-move-bottom">
<i class="fw fw-circle fw-stack-2x fw-stroke fw-inverse"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-circle fw-stack-2x"></i> <i class="fw fw-circle fw-stack-2x fw-stroke text-info"></i>
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x fw-inverse"></i>
</span> </span>
</span> </span>
Enroll New Device &nbsp;&nbsp;Enroll New Device
</a> </a>
</p> </p>
</div> </div>

@ -228,7 +228,7 @@ function initPage() {
function (data) { function (data) {
if (data) { if (data) {
data = JSON.parse(data); data = JSON.parse(data);
if (data.devices.length > 0) { if (data["count"] > 0) {
$(".bulk-action-row").removeClass('hidden'); $(".bulk-action-row").removeClass('hidden');
loadDevices(); loadDevices();
} else { } else {

Loading…
Cancel
Save