mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Adding proper error message when no device type is avaialble
This commit is contained in:
parent
56a81e431c
commit
056f6d2f4e
@ -142,7 +142,13 @@ function loadDevices(searchType, searchParam){
|
||||
}
|
||||
} else {
|
||||
$('#device-grid').addClass('hidden');
|
||||
$('#device-listing-status-msg').text('No device is available to be displayed.');
|
||||
$('#device-listing-status-msg').html(
|
||||
'<div class="col-centered text-center"><h3 class="text-muted"><i class="fw fw-mobile fw-3x"></i>' +
|
||||
'</h3><h3 class="text-muted">No device type is available to be displayed.</h3>' +
|
||||
'<a href="https://docs.wso2.com/display/IoTS100/Quick+Start+Guide" target="_blank" ' +
|
||||
'class="btn-operations btn-default"><span class="fw-stack">' +
|
||||
'<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-document fw-stack-1x"></i></span>' +
|
||||
' Quick Startup Guide</a></div>');
|
||||
}
|
||||
|
||||
$(".icon .text").res_text(0.2);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user