$('#checkServiceStatus').click(function(){
$.get(createLink('zanode', 'ajaxGetServiceStatus', 'nodeID=' + nodeID), function(response)
{
var resultData = JSON.parse(response);
let html = "
" + zanodeLang.init.statusTitle + "
";
let isSuccess = true
for (let key in resultData.data) {
if(resultData.data[key] == 'ready'){
html += "●" + key + ' ' + zanodeLang.init[resultData.data[key]] + "
"
}else{
isSuccess = false
html += "●" + key + ' ' + zanodeLang.init[resultData.data[key]] + "
"
}
};
if(!isSuccess){
html += '' + zanodeLang.init.initFailNoticeTitle + '
';
html += ''
}
$('#statusContainer').html(html)
if(isSuccess) showModal();
});
return
})