Adding proper error message when no device type is avaialble

revert-70aa11f8
Rasika Perera 8 years ago
parent 56a81e431c
commit 056f6d2f4e

@ -142,7 +142,13 @@ function loadDevices(searchType, searchParam){
} }
} else { } else {
$('#device-grid').addClass('hidden'); $('#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>' +
'&nbsp;&nbsp;Quick Startup Guide</a></div>');
} }
$(".icon .text").res_text(0.2); $(".icon .text").res_text(0.2);

Loading…
Cancel
Save