2010-08-09 Sergio Martin <sergio.martin@artica.es>

* extensions/agents_modules.php: Added the meaning of the colours



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-08-09 10:24:30 +00:00
parent b4e7b4d556
commit 11f72379e7
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-08-09 Sergio Martin <sergio.martin@artica.es>
* extensions/agents_modules.php: Added the meaning of the colours
2010-08-09 Sergio Martin <sergio.martin@artica.es>
* extensions/module_groups.php: Fixed the status colors of

View File

@ -183,6 +183,31 @@ function mainAgentsModules() {
}
echo "</table>";
echo "<p>" . __("The colours meaning:") .
"<ul style='float: left;'>" .
'<li style="clear: both;">
<div style="float: left; background: #ffa300; height: 20px; width: 80px;margin-right: 5px; margin-bottom: 5px;">&nbsp;</div>' .
__("Orange cell when the module have fired alerts.") .
'</li>' .
'<li style="clear: both;">
<div style="float: left; background: #cc0000; height: 20px; width: 80px;margin-right: 5px; margin-bottom: 5px;">&nbsp;</div>' .
__("Red cell when the module have critical state.") .
'</li>' .
'<li style="clear: both;">
<div style="float: left; background: #fce94f; height: 20px; width: 80px;margin-right: 5px; margin-bottom: 5px;">&nbsp;</div>' .
__("Yellow cell when the module have warning state.") .
'</li>' .
'<li style="clear: both;">
<div style="float: left; background: #babdb6; height: 20px; width: 80px;margin-right: 5px; margin-bottom: 5px;">&nbsp;</div>' .
__("Grey cell when the module have unknown state.") .
'</li>' .
'<li style="clear: both;">
<div style="float: left; background: #8ae234; height: 20px; width: 80px;margin-right: 5px; margin-bottom: 5px;">&nbsp;</div>' .
__("Green cell when the module have normal state.") .
'</li>' .
"</ul>" .
"</p>";
}
add_operation_menu_option(__("Agents/Modules view"), 'estado', '');