fixing device status

kamidu 8 years ago
parent 1e87a36273
commit fe71036794

@ -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…
Cancel
Save