diff --git a/module/zahost/css/view.css b/module/zahost/css/view.css index 3fa66474b0..ebc4b1ff72 100644 --- a/module/zahost/css/view.css +++ b/module/zahost/css/view.css @@ -13,6 +13,7 @@ .fail{color:red;} .dot-symbol{padding-right:10px;} #statusContainer{margin:0px 0px 10px 0px;} -#checkServiceStatus{background-color:unset;} +#checkServiceStatus{background-color: #ffffff;} +#checkServiceStatus:hover{background-color: #f0fdfb;} .service-check{margin-top: 0px;} .checkStatus{color: #313c52;} diff --git a/module/zahost/js/view.js b/module/zahost/js/view.js index aaaa2fb28c..c452fffd48 100644 --- a/module/zahost/js/view.js +++ b/module/zahost/js/view.js @@ -1,6 +1,7 @@ ajaxGetServiceStatus(); function ajaxGetServiceStatus() { + $('#serviceContent').addClass('loading'); $.get(createLink('zahost', 'ajaxGetServiceStatus', 'hostID=' + hostID), function(response) { var resultData = JSON.parse(response); @@ -31,6 +32,10 @@ function ajaxGetServiceStatus() $('.result .init-fail').addClass('hide') $('.result .init-success').removeClass('hide') } + + setTimeout(function() { + $('#serviceContent').removeClass('loading'); + }, 500); }); return diff --git a/module/zahost/view/view.html.php b/module/zahost/view/view.html.php index 2811489b2c..e6377146c4 100644 --- a/module/zahost/view/view.html.php +++ b/module/zahost/view/view.html.php @@ -102,7 +102,7 @@ zahost->init->statusTitle;?> -