diff --git a/xCAT-UI/css/style.css b/xCAT-UI/css/style.css index 8f47ffcce..6ee975199 100644 --- a/xCAT-UI/css/style.css +++ b/xCAT-UI/css/style.css @@ -689,31 +689,28 @@ table a:hover { /*--------------- Provision and monitor forms ---------------*/ .monitornormal { - border: 2px outset #7FFFD4; background: #66CD00; cursor: pointer; } .mornitorwarning { background: #FFD700; - border: 2px outset #EEEE00; cursor: pointer; } .monitorerror { background: #FF3030; - border: 2px outset #FF4040; } .monitorunknown { background: #8B8B7A; - border: 2px outset #858585; } .monitornodeli { - width: 16px; - height: 16px; + width: 10px; + height: 10px; float: left; + border: 1px solid white; } .monitorsumdiv { diff --git a/xCAT-UI/js/monitor/gangliamon.js b/xCAT-UI/js/monitor/gangliamon.js index 2ffc87373..184937860 100644 --- a/xCAT-UI/js/monitor/gangliamon.js +++ b/xCAT-UI/js/monitor/gangliamon.js @@ -154,14 +154,18 @@ function checkGangliaRunning(data){ groupsSelectStr += ''; //help info - var helpStr = '
aaa
'; + var helpStr = '' + + '' + + '' + + '' + + '' + + '
Normal Heavy Load Error Unknown
'; //pass checking - var showStr = '

Grid Overview

' + - '[Hide]
' + + var showStr = '

Grid Overview

' + + '[Hide]

' + '
' + - '

Nodes Current Status

' + - ' ?' + + '

Nodes Current Status

' + helpStr + '
' + '
Nodes in Group:' + groupsSelectStr + ' order by: ' + @@ -194,29 +198,6 @@ function checkGangliaRunning(data){ drawGangliaNodesArea($(this).val()); }); - //bind the info click enent - $('#gangliamon #nodehelp').bind('click', function(){ - var helpStr = '' + - '' + - '' + - '' + - '' + - '
Normal
Heavy Load
Can not get status longer than 3 minutes
Unknown
'; - var helpDia = $('
'); - helpDia.append(helpStr); - helpDia.dialog({ - modal: true, - width: 350, - title: 'Node Status Help Info', - close: function(){$(this).remove();}, - buttons: { - 'Close': function(){ - $(this).dialog('close'); - } - } - }); - }); - //bind the hide/show buttion event $('#gangliamon #hidesup').bind('click', function(){ var a = $(this).text();