Improving the ux of devic listing page

revert-dabc3590
kamidu 8 years ago
parent 5753c5107f
commit e135764f30

@ -36,7 +36,7 @@
{{#zone "navbarActions"}} {{#zone "navbarActions"}}
{{!-- #if permissions.enroll --}} {{!-- #if permissions.enroll --}}
<li> <li id = "enroll-btn">
<a href="javascript:toggleEnrollment()"> <a href="javascript:toggleEnrollment()">
<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>
@ -51,7 +51,7 @@
</a> </a>
</li> </li>
{{!-- /if --}} {{!-- /if --}}
<li> <li id = "advanced-search-btn">
<a href="{{appContext}}devices/search"> <a href="{{appContext}}devices/search">
<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>

@ -452,6 +452,8 @@ function initPage() {
$("#loading-content").remove(); $("#loading-content").remove();
$("#device-table").remove(); $("#device-table").remove();
$("#no-device-view").removeClass(' hidden'); $("#no-device-view").removeClass(' hidden');
$("#advanced-search-btn").addClass(' hidden');
$("#enroll-btn").addClass(' hidden');
} }
} }
}, function (message) { }, function (message) {

Loading…
Cancel
Save