mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixing device status
This commit is contained in:
parent
46f418bafb
commit
a5a222ead6
@ -288,6 +288,9 @@ function loadDevices(searchType, searchParam) {
|
|||||||
case 'REMOVED' :
|
case 'REMOVED' :
|
||||||
html = '<span><i class="fw fw-delete icon-danger"></i> Removed</span>';
|
html = '<span><i class="fw fw-delete icon-danger"></i> Removed</span>';
|
||||||
break;
|
break;
|
||||||
|
case 'UNREACHABLE' :
|
||||||
|
html = '<span><i class="fw fw-warning icon-warning"></i> Unreachable</span>';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
@ -461,11 +464,11 @@ function loadDevices(searchType, searchParam) {
|
|||||||
attachDeviceEvents();
|
attachDeviceEvents();
|
||||||
|
|
||||||
|
|
||||||
// if ($('.advance-search').length < 1) {
|
if ($('.advance-search').length < 1) {
|
||||||
// $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
|
$(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
|
||||||
// .after('<a href="' + context + '/devices/search"' +
|
.after('<a href="' + context + '/devices/search"' +
|
||||||
// ' class="advance-search add-padding-3x">Advance Search</a>');
|
' class="advance-search add-padding-3x">Advance Search</a>');
|
||||||
// }
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"placeholder": "Search By Device Name",
|
"placeholder": "Search By Device Name",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user