diff --git a/module/zahost/css/view.css b/module/zahost/css/view.css
index 5d092fc6e2..3c5509e705 100644
--- a/module/zahost/css/view.css
+++ b/module/zahost/css/view.css
@@ -21,3 +21,4 @@
.icon-refresh {font-size: 15px;}
.load-indicator:after {top: 33%;}
.btn.disabled i {color: #fff;}
+#statusContainer{min-height: 120px;}
diff --git a/module/zahost/js/view.js b/module/zahost/js/view.js
index 2b07966f7c..4b42db6e78 100644
--- a/module/zahost/js/view.js
+++ b/module/zahost/js/view.js
@@ -35,6 +35,7 @@ function ajaxGetServiceStatus()
setTimeout(function() {
$('#serviceContent').removeClass('loading');
+ $(".service-status, .status-notice").show()
}, 500);
});
return
diff --git a/module/zahost/view/view.html.php b/module/zahost/view/view.html.php
index 3eaf1ef3f8..012802c1c8 100644
--- a/module/zahost/view/view.html.php
+++ b/module/zahost/view/view.html.php
@@ -105,10 +105,7 @@
-
●KVM
-
●Nginx
-
●noVNC
-
●Websockify
+
createLink('zahost', 'browseImage', "hostID=$zahost->id", '', true), $lang->zahost->image->downloadImage, '', "class='iframe'");?>
diff --git a/module/zanode/css/view.css b/module/zanode/css/view.css
index e89553f2ce..66481a016a 100644
--- a/module/zanode/css/view.css
+++ b/module/zanode/css/view.css
@@ -17,3 +17,4 @@
.node-not-wrap{white-space: nowrap;}
.btn-info {background-color: unset;}
.btn.disabled i {color: #fff;}
+#serviceContent{min-height: 120px;}
diff --git a/module/zanode/js/view.js b/module/zanode/js/view.js
index 9472d8a65a..27bd683563 100644
--- a/module/zanode/js/view.js
+++ b/module/zanode/js/view.js
@@ -2,11 +2,11 @@ var checkInterval;
var intervalTimes = 0;
$('#checkServiceStatus').click(function(){
- $('#serviceContent').addClass('loading');
checkServiceStatus();
})
function checkServiceStatus(){
+ $('#serviceContent').addClass('loading');
$.get(createLink('zanode', 'ajaxGetServiceStatus', 'nodeID=' + nodeID), function(response)
{
var resultData = JSON.parse(response);
@@ -99,6 +99,7 @@ function checkServiceStatus(){
}
setTimeout(function() {
$('#serviceContent').removeClass('loading');
+ $(".service-status, .status-notice").show()
}, 500);
});
return
diff --git a/module/zanode/view/view.html.php b/module/zanode/view/view.html.php
index 63837c1590..8626e03604 100644
--- a/module/zanode/view/view.html.php
+++ b/module/zanode/view/view.html.php
@@ -129,20 +129,20 @@ $account = strpos($zanode->osName, "windows") ? $config->zanode->defaultWinAccou
-
+
●
ZenAgent
zanode->initializing; ?>
-
+
-
+
zanode->init->initSuccessNoticeTitle, "{$lang->zanode->manual}", html::a(helper::createLink('testcase', 'automation', "", '', true), $lang->zanode->automation, '', "class='iframe' title='{$lang->zanode->automation}' data-width='50%'", '')); ?>
zanode->init->initFailNoticeTitle . '
' . $lang->zanode->init->initFailNoticeDesc;?>