mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
color updates
This commit is contained in:
parent
c741020538
commit
2f5265fcbb
@ -248,16 +248,16 @@ function mainModuleGroups()
|
|||||||
$color = '#FFA631';
|
$color = '#FFA631';
|
||||||
// Orange when the cell for this model group and agent has at least one alert fired.
|
// Orange when the cell for this model group and agent has at least one alert fired.
|
||||||
} else if ($array_data[$key][$k]['critical_module_count'] != 0) {
|
} else if ($array_data[$key][$k]['critical_module_count'] != 0) {
|
||||||
$color = '#FC4444';
|
$color = '#e63c52';
|
||||||
// Red when the cell for this model group and agent has at least one module in critical state and the rest in any state.
|
// Red when the cell for this model group and agent has at least one module in critical state and the rest in any state.
|
||||||
} else if ($array_data[$key][$k]['warning_module_count'] != 0) {
|
} else if ($array_data[$key][$k]['warning_module_count'] != 0) {
|
||||||
$color = '#FAD403';
|
$color = '#f3b200';
|
||||||
// Yellow when the cell for this model group and agent has at least one in warning state and the rest in green state.
|
// Yellow when the cell for this model group and agent has at least one in warning state and the rest in green state.
|
||||||
} else if ($array_data[$key][$k]['unknown_module_count'] != 0) {
|
} else if ($array_data[$key][$k]['unknown_module_count'] != 0) {
|
||||||
$color = '#B2B2B2 ';
|
$color = '#B2B2B2 ';
|
||||||
// Grey when the cell for this model group and agent has at least one module in unknown state and the rest in any state.
|
// Grey when the cell for this model group and agent has at least one module in unknown state and the rest in any state.
|
||||||
} else if ($array_data[$key][$k]['normal_module_count'] != 0) {
|
} else if ($array_data[$key][$k]['normal_module_count'] != 0) {
|
||||||
$color = '#80BA27';
|
$color = '#82b92e';
|
||||||
// Green when the cell for this model group and agent has OK state all modules.
|
// Green when the cell for this model group and agent has OK state all modules.
|
||||||
} else if ($array_data[$key][$k]['notInit_module_count'] != 0) {
|
} else if ($array_data[$key][$k]['notInit_module_count'] != 0) {
|
||||||
$color = '#5BB6E5';
|
$color = '#5BB6E5';
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
#drop_file a {
|
#drop_file a {
|
||||||
background-color: #80ba27;
|
background-color: #82b92e;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -137,11 +137,11 @@ switch ($config['dbtype']) {
|
|||||||
|
|
||||||
|
|
||||||
// Color constants.
|
// Color constants.
|
||||||
define('COL_CRITICAL', '#FC4444');
|
define('COL_CRITICAL', '#e63c52');
|
||||||
define('COL_WARNING', '#FAD403');
|
define('COL_WARNING', '#f3b200');
|
||||||
define('COL_WARNING_DARK', '#FFB900');
|
define('COL_WARNING_DARK', '#FFB900');
|
||||||
define('COL_NORMAL', '#80BA27');
|
define('COL_NORMAL', '#82b92e');
|
||||||
define('COL_NOTINIT', '#3BA0FF');
|
define('COL_NOTINIT', '#4a83f3');
|
||||||
define('COL_UNKNOWN', '#B2B2B2');
|
define('COL_UNKNOWN', '#B2B2B2');
|
||||||
define('COL_DOWNTIME', '#976DB1');
|
define('COL_DOWNTIME', '#976DB1');
|
||||||
define('COL_IGNORED', '#DDD');
|
define('COL_IGNORED', '#DDD');
|
||||||
@ -149,7 +149,7 @@ define('COL_ALERTFIRED', '#FFA631');
|
|||||||
define('COL_MINOR', '#F099A2');
|
define('COL_MINOR', '#F099A2');
|
||||||
define('COL_MAJOR', '#C97A4A');
|
define('COL_MAJOR', '#C97A4A');
|
||||||
define('COL_INFORMATIONAL', '#E4E4E4');
|
define('COL_INFORMATIONAL', '#E4E4E4');
|
||||||
define('COL_MAINTENANCE', '#3BA0FF');
|
define('COL_MAINTENANCE', '#4a83f3');
|
||||||
|
|
||||||
define('COL_GRAPH1', '#C397F2');
|
define('COL_GRAPH1', '#C397F2');
|
||||||
define('COL_GRAPH2', '#FFE66C');
|
define('COL_GRAPH2', '#FFE66C');
|
||||||
|
@ -1807,9 +1807,9 @@ function networkmap_links_to_js_links(
|
|||||||
|
|
||||||
if (($relation['parent_type'] == NODE_MODULE) && ($relation['child_type'] == NODE_MODULE)) {
|
if (($relation['parent_type'] == NODE_MODULE) && ($relation['child_type'] == NODE_MODULE)) {
|
||||||
if (($item['status_start'] == AGENT_MODULE_STATUS_CRITICAL_BAD) || ($item['status_end'] == AGENT_MODULE_STATUS_CRITICAL_BAD)) {
|
if (($item['status_start'] == AGENT_MODULE_STATUS_CRITICAL_BAD) || ($item['status_end'] == AGENT_MODULE_STATUS_CRITICAL_BAD)) {
|
||||||
$item['link_color'] = '#FC4444';
|
$item['link_color'] = '#e63c52';
|
||||||
} else if (($item['status_start'] == AGENT_MODULE_STATUS_WARNING) || ($item['status_end'] == AGENT_MODULE_STATUS_WARNING)) {
|
} else if (($item['status_start'] == AGENT_MODULE_STATUS_WARNING) || ($item['status_end'] == AGENT_MODULE_STATUS_WARNING)) {
|
||||||
$item['link_color'] = '#FAD403';
|
$item['link_color'] = '#f3b200';
|
||||||
}
|
}
|
||||||
|
|
||||||
$agent = agents_get_agent_id_by_module_id(
|
$agent = agents_get_agent_id_by_module_id(
|
||||||
@ -1837,9 +1837,9 @@ function networkmap_links_to_js_links(
|
|||||||
}
|
}
|
||||||
} else if ($relation['child_type'] == NODE_MODULE) {
|
} else if ($relation['child_type'] == NODE_MODULE) {
|
||||||
if ($item['status_start'] == AGENT_MODULE_STATUS_CRITICAL_BAD) {
|
if ($item['status_start'] == AGENT_MODULE_STATUS_CRITICAL_BAD) {
|
||||||
$item['link_color'] = '#FC4444';
|
$item['link_color'] = '#e63c52';
|
||||||
} else if ($item['status_start'] == AGENT_MODULE_STATUS_WARNING) {
|
} else if ($item['status_start'] == AGENT_MODULE_STATUS_WARNING) {
|
||||||
$item['link_color'] = '#FAD403';
|
$item['link_color'] = '#f3b200';
|
||||||
}
|
}
|
||||||
|
|
||||||
$agent2 = agents_get_agent_id_by_module_id(
|
$agent2 = agents_get_agent_id_by_module_id(
|
||||||
@ -1864,9 +1864,9 @@ function networkmap_links_to_js_links(
|
|||||||
}
|
}
|
||||||
} else if ($relation['parent_type'] == NODE_MODULE) {
|
} else if ($relation['parent_type'] == NODE_MODULE) {
|
||||||
if ($item['status_end'] == AGENT_MODULE_STATUS_CRITICAL_BAD) {
|
if ($item['status_end'] == AGENT_MODULE_STATUS_CRITICAL_BAD) {
|
||||||
$item['link_color'] = '#FC4444';
|
$item['link_color'] = '#e63c52';
|
||||||
} else if ($item['status_end'] == AGENT_MODULE_STATUS_WARNING) {
|
} else if ($item['status_end'] == AGENT_MODULE_STATUS_WARNING) {
|
||||||
$item['link_color'] = '#FAD403';
|
$item['link_color'] = '#f3b200';
|
||||||
}
|
}
|
||||||
|
|
||||||
$agent = agents_get_agent_id_by_module_id(
|
$agent = agents_get_agent_id_by_module_id(
|
||||||
|
@ -4270,16 +4270,16 @@ function reporting_get_agents_by_status($data, $graph_width=250, $graph_height=1
|
|||||||
|
|
||||||
$agent_data = [];
|
$agent_data = [];
|
||||||
$agent_data[0] = html_print_image('images/agent_critical.png', true, ['title' => __('Agents critical')]);
|
$agent_data[0] = html_print_image('images/agent_critical.png', true, ['title' => __('Agents critical')]);
|
||||||
$agent_data[1] = "<a style='color: ".COL_CRITICAL.";' href='".$links['agents_critical']."'><b><span style='font-size: 12pt; font-weight: bold; color: #FC4444;'>".format_numeric($data['agent_critical']).'</span></b></a>';
|
$agent_data[1] = "<a style='color: ".COL_CRITICAL.";' href='".$links['agents_critical']."'><b><span style='font-size: 12pt; font-weight: bold; color: #e63c52;'>".format_numeric($data['agent_critical']).'</span></b></a>';
|
||||||
|
|
||||||
$agent_data[2] = html_print_image('images/agent_warning.png', true, ['title' => __('Agents warning')]);
|
$agent_data[2] = html_print_image('images/agent_warning.png', true, ['title' => __('Agents warning')]);
|
||||||
$agent_data[3] = "<a style='color: ".COL_WARNING.";' href='".$links['agents_warning']."'><b><span style='font-size: 12pt; font-weight: bold; color: #FAD403;'>".format_numeric($data['agent_warning']).'</span></b></a>';
|
$agent_data[3] = "<a style='color: ".COL_WARNING.";' href='".$links['agents_warning']."'><b><span style='font-size: 12pt; font-weight: bold; color: #f3b200;'>".format_numeric($data['agent_warning']).'</span></b></a>';
|
||||||
|
|
||||||
$table_agent->data[] = $agent_data;
|
$table_agent->data[] = $agent_data;
|
||||||
|
|
||||||
$agent_data = [];
|
$agent_data = [];
|
||||||
$agent_data[0] = html_print_image('images/agent_ok.png', true, ['title' => __('Agents ok')]);
|
$agent_data[0] = html_print_image('images/agent_ok.png', true, ['title' => __('Agents ok')]);
|
||||||
$agent_data[1] = "<a style='color: ".COL_NORMAL.";' href='".$links['agents_ok']."'><b><span style='font-size: 12pt; font-weight: bold; color: #80BA27;'>".format_numeric($data['agent_ok']).'</span></b></a>';
|
$agent_data[1] = "<a style='color: ".COL_NORMAL.";' href='".$links['agents_ok']."'><b><span style='font-size: 12pt; font-weight: bold; color: #82b92e;'>".format_numeric($data['agent_ok']).'</span></b></a>';
|
||||||
|
|
||||||
$agent_data[2] = html_print_image('images/agent_unknown.png', true, ['title' => __('Agents unknown')]);
|
$agent_data[2] = html_print_image('images/agent_unknown.png', true, ['title' => __('Agents unknown')]);
|
||||||
$agent_data[3] = "<a style='color: ".COL_UNKNOWN.";' href='".$links['agents_unknown']."'><b><span style='font-size: 12pt; font-weight: bold; color: #B2B2B2;'>".format_numeric($data['agent_unknown']).'</span></b></a>';
|
$agent_data[3] = "<a style='color: ".COL_UNKNOWN.";' href='".$links['agents_unknown']."'><b><span style='font-size: 12pt; font-weight: bold; color: #B2B2B2;'>".format_numeric($data['agent_unknown']).'</span></b></a>';
|
||||||
@ -4367,13 +4367,13 @@ function reporting_get_events($data, $links=false)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (defined('METACONSOLE')) {
|
if (defined('METACONSOLE')) {
|
||||||
$table_events->style[0] = 'background-color:#FC4444';
|
$table_events->style[0] = 'background-color:#e63c52';
|
||||||
$table_events->data[0][0] = html_print_image('images/module_event_critical.png', true, ['title' => __('Critical events')]);
|
$table_events->data[0][0] = html_print_image('images/module_event_critical.png', true, ['title' => __('Critical events')]);
|
||||||
$table_events->data[0][0] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['critical']."'>".format_numeric($data['critical']).'</a>';
|
$table_events->data[0][0] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['critical']."'>".format_numeric($data['critical']).'</a>';
|
||||||
$table_events->style[1] = 'background-color:#FAD403';
|
$table_events->style[1] = 'background-color:#f3b200';
|
||||||
$table_events->data[0][1] = html_print_image('images/module_event_warning.png', true, ['title' => __('Warning events')]);
|
$table_events->data[0][1] = html_print_image('images/module_event_warning.png', true, ['title' => __('Warning events')]);
|
||||||
$table_events->data[0][1] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['warning']."'>".format_numeric($data['warning']).'</a>';
|
$table_events->data[0][1] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['warning']."'>".format_numeric($data['warning']).'</a>';
|
||||||
$table_events->style[2] = 'background-color:#80BA27';
|
$table_events->style[2] = 'background-color:#82b92e';
|
||||||
$table_events->data[0][2] = html_print_image('images/module_event_ok.png', true, ['title' => __('OK events')]);
|
$table_events->data[0][2] = html_print_image('images/module_event_ok.png', true, ['title' => __('OK events')]);
|
||||||
$table_events->data[0][2] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['normal']."'>".format_numeric($data['normal']).'</a>';
|
$table_events->data[0][2] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['normal']."'>".format_numeric($data['normal']).'</a>';
|
||||||
$table_events->style[3] = 'background-color:#B2B2B2';
|
$table_events->style[3] = 'background-color:#B2B2B2';
|
||||||
@ -4381,11 +4381,11 @@ function reporting_get_events($data, $links=false)
|
|||||||
$table_events->data[0][3] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['unknown']."'>".format_numeric($data['unknown']).'</a>';
|
$table_events->data[0][3] .= ' '."<a style='color:#FFF; font-size: 12pt; font-weight: bold;".$style."' href='".$links['unknown']."'>".format_numeric($data['unknown']).'</a>';
|
||||||
} else {
|
} else {
|
||||||
$table_events->data[0][0] = html_print_image('images/module_critical.png', true, ['title' => __('Critical events')]);
|
$table_events->data[0][0] = html_print_image('images/module_critical.png', true, ['title' => __('Critical events')]);
|
||||||
$table_events->data[0][0] .= ' '."<a style='color: #FC4444;".$style."' href='".$links['critical']."'><b><span style='font-size: 12pt; font-weight: bold; color: #FC4444;'>".format_numeric($data['critical']).'</span></b></a>';
|
$table_events->data[0][0] .= ' '."<a style='color: #e63c52;".$style."' href='".$links['critical']."'><b><span style='font-size: 12pt; font-weight: bold; color: #e63c52;'>".format_numeric($data['critical']).'</span></b></a>';
|
||||||
$table_events->data[0][1] = html_print_image('images/module_warning.png', true, ['title' => __('Warning events')]);
|
$table_events->data[0][1] = html_print_image('images/module_warning.png', true, ['title' => __('Warning events')]);
|
||||||
$table_events->data[0][1] .= ' '."<a style='color: #FAD403;".$style."' href='".$links['warning']."'><b><span style='font-size: 12pt; font-weight: bold; color: #FAD403;'>".format_numeric($data['warning']).'</span></b></a>';
|
$table_events->data[0][1] .= ' '."<a style='color: #f3b200;".$style."' href='".$links['warning']."'><b><span style='font-size: 12pt; font-weight: bold; color: #f3b200;'>".format_numeric($data['warning']).'</span></b></a>';
|
||||||
$table_events->data[0][2] = html_print_image('images/module_ok.png', true, ['title' => __('OK events')]);
|
$table_events->data[0][2] = html_print_image('images/module_ok.png', true, ['title' => __('OK events')]);
|
||||||
$table_events->data[0][2] .= ' '."<a style='color: #80BA27;".$style."' href='".$links['normal']."'><b style='font-size: 12pt; font-weight: bold; color: #80BA27;'>".format_numeric($data['normal']).'</b></a>';
|
$table_events->data[0][2] .= ' '."<a style='color: #82b92e;".$style."' href='".$links['normal']."'><b style='font-size: 12pt; font-weight: bold; color: #82b92e;'>".format_numeric($data['normal']).'</b></a>';
|
||||||
$table_events->data[0][3] = html_print_image('images/module_unknown.png', true, ['title' => __('Unknown events')]);
|
$table_events->data[0][3] = html_print_image('images/module_unknown.png', true, ['title' => __('Unknown events')]);
|
||||||
$table_events->data[0][3] .= ' '."<a style='color: #B2B2B2;".$style."' href='".$links['unknown']."'><b><span style='font-size: 12pt; font-weight: bold; color: #B2B2B2;'>".format_numeric($data['unknown']).'</span></b></a>';
|
$table_events->data[0][3] .= ' '."<a style='color: #B2B2B2;".$style."' href='".$links['unknown']."'><b><span style='font-size: 12pt; font-weight: bold; color: #B2B2B2;'>".format_numeric($data['unknown']).'</span></b></a>';
|
||||||
}
|
}
|
||||||
|
@ -641,7 +641,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||||||
$progress,
|
$progress,
|
||||||
'100%',
|
'100%',
|
||||||
'1.5',
|
'1.5',
|
||||||
'#80ba27',
|
'#82b92e',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$table->data['next_contact'] = $row;
|
$table->data['next_contact'] = $row;
|
||||||
|
@ -2726,7 +2726,7 @@ function ui_progress(
|
|||||||
$progress,
|
$progress,
|
||||||
$width='100%',
|
$width='100%',
|
||||||
$height='2.5',
|
$height='2.5',
|
||||||
$color='#80ba27',
|
$color='#82b92e',
|
||||||
$return=true,
|
$return=true,
|
||||||
$text=''
|
$text=''
|
||||||
) {
|
) {
|
||||||
|
@ -1966,7 +1966,7 @@ function visual_map_print_item(
|
|||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo "<tr style='background-color:whitesmoke;height:90%;'>";
|
echo "<tr style='background-color:whitesmoke;height:90%;'>";
|
||||||
echo '<td>';
|
echo '<td>';
|
||||||
echo "<div style='margin-left:2%;color: #FFF;font-size: 12px;display:inline;background-color:#FC4444;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>".remove_right_zeros(number_format($stat_agent_cr, 2)).'%</div>';
|
echo "<div style='margin-left:2%;color: #FFF;font-size: 12px;display:inline;background-color:#e63c52;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>".remove_right_zeros(number_format($stat_agent_cr, 2)).'%</div>';
|
||||||
echo "<div style='background-color:white;color: black ;font-size: 12px;display:inline;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>Critical</div>";
|
echo "<div style='background-color:white;color: black ;font-size: 12px;display:inline;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>Critical</div>";
|
||||||
echo "<div style='margin-left:2%;color: #FFF;font-size: 12px;display:inline;background-color:#f8db3f;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>".remove_right_zeros(number_format($stat_agent_wa, 2)).'%</div>';
|
echo "<div style='margin-left:2%;color: #FFF;font-size: 12px;display:inline;background-color:#f8db3f;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>".remove_right_zeros(number_format($stat_agent_wa, 2)).'%</div>';
|
||||||
echo "<div style='background-color:white;color: black ;font-size: 12px;display:inline;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>Warning</div>";
|
echo "<div style='background-color:white;color: black ;font-size: 12px;display:inline;position:relative;height:80%;width:9.4%;height:80%;border-radius:2px;text-align:center;padding:5px;'>Warning</div>";
|
||||||
|
@ -152,12 +152,12 @@ function pandoraFlotPieCustom(
|
|||||||
colors = colors.split(separator);
|
colors = colors.split(separator);
|
||||||
}
|
}
|
||||||
var colors_data = [
|
var colors_data = [
|
||||||
"#FC4444",
|
"#e63c52",
|
||||||
"#FFA631",
|
"#FFA631",
|
||||||
"#FAD403",
|
"#f3b200",
|
||||||
"#5BB6E5",
|
"#5BB6E5",
|
||||||
"#F2919D",
|
"#F2919D",
|
||||||
"#80BA27"
|
"#82b92e"
|
||||||
];
|
];
|
||||||
var color = null;
|
var color = null;
|
||||||
for (var i = 0; i < data.length; i++) {
|
for (var i = 0; i < data.length; i++) {
|
||||||
@ -380,12 +380,12 @@ function pandoraFlotHBars(
|
|||||||
max
|
max
|
||||||
) {
|
) {
|
||||||
var colors_data = [
|
var colors_data = [
|
||||||
"#FC4444",
|
"#e63c52",
|
||||||
"#FFA631",
|
"#FFA631",
|
||||||
"#FAD403",
|
"#f3b200",
|
||||||
"#5BB6E5",
|
"#5BB6E5",
|
||||||
"#F2919D",
|
"#F2919D",
|
||||||
"#80BA27"
|
"#82b92e"
|
||||||
];
|
];
|
||||||
values = values.split(separator2);
|
values = values.split(separator2);
|
||||||
font = font
|
font = font
|
||||||
@ -639,7 +639,7 @@ function pandoraFlotVBars(
|
|||||||
var colors_data =
|
var colors_data =
|
||||||
colors.length > 0
|
colors.length > 0
|
||||||
? colors
|
? colors
|
||||||
: ["#FFA631", "#FC4444", "#FAD403", "#5BB6E5", "#F2919D", "#80BA27"];
|
: ["#FFA631", "#e63c52", "#f3b200", "#5BB6E5", "#F2919D", "#82b92e"];
|
||||||
var datas = new Array();
|
var datas = new Array();
|
||||||
|
|
||||||
for (i = 0; i < values.length; i++) {
|
for (i = 0; i < values.length; i++) {
|
||||||
@ -2681,13 +2681,13 @@ function pandoraFlotArea(
|
|||||||
if (events_data.event_type.search("alert") >= 0) {
|
if (events_data.event_type.search("alert") >= 0) {
|
||||||
extra_color = "#FFA631";
|
extra_color = "#FFA631";
|
||||||
} else if (events_data.event_type.search("critical") >= 0) {
|
} else if (events_data.event_type.search("critical") >= 0) {
|
||||||
extra_color = "#FC4444";
|
extra_color = "#e63c52";
|
||||||
} else if (events_data.event_type.search("warning") >= 0) {
|
} else if (events_data.event_type.search("warning") >= 0) {
|
||||||
extra_color = "#FAD403";
|
extra_color = "#f3b200";
|
||||||
} else if (events_data.event_type.search("unknown") >= 0) {
|
} else if (events_data.event_type.search("unknown") >= 0) {
|
||||||
extra_color = "#3BA0FF";
|
extra_color = "#4a83f3";
|
||||||
} else if (events_data.event_type.search("normal") >= 0) {
|
} else if (events_data.event_type.search("normal") >= 0) {
|
||||||
extra_color = "#80BA27";
|
extra_color = "#82b92e";
|
||||||
} else {
|
} else {
|
||||||
extra_color = "#ffffff";
|
extra_color = "#ffffff";
|
||||||
}
|
}
|
||||||
|
@ -190,8 +190,8 @@ function d3_bullet_chart(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bullet { font: 7px sans-serif; }
|
.bullet { font: 7px sans-serif; }
|
||||||
.bullet .marker.s0 { stroke: #FC4444; stroke-width: 2px; }
|
.bullet .marker.s0 { stroke: #e63c52; stroke-width: 2px; }
|
||||||
.bullet .marker.s1 { stroke: #FAD403; stroke-width: 2px; }
|
.bullet .marker.s1 { stroke: #f3b200; stroke-width: 2px; }
|
||||||
.bullet .marker.s2 { stroke: steelblue; stroke-width: 2px; }
|
.bullet .marker.s2 { stroke: steelblue; stroke-width: 2px; }
|
||||||
.bullet .tick line { stroke: #666; stroke-width: .5px; }
|
.bullet .tick line { stroke: #666; stroke-width: .5px; }
|
||||||
.bullet .range.s0 { fill: #ddd; }
|
.bullet .range.s0 { fill: #ddd; }
|
||||||
|
@ -1614,9 +1614,9 @@ function print_phases_donut(recipient, phases) {
|
|||||||
.insert("path")
|
.insert("path")
|
||||||
.style("fill", function(d) {
|
.style("fill", function(d) {
|
||||||
if (d.data.value == 0) {
|
if (d.data.value == 0) {
|
||||||
return "#80BA27";
|
return "#82b92e";
|
||||||
} else {
|
} else {
|
||||||
return "#FC4444";
|
return "#e63c52";
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.attr("class", "slice");
|
.attr("class", "slice");
|
||||||
|
@ -669,7 +669,7 @@ function update_link(row_index, id_link) {
|
|||||||
temp_link["arrow_start"] = "module";
|
temp_link["arrow_start"] = "module";
|
||||||
temp_link["id_module_start"] = interface_source;
|
temp_link["id_module_start"] = interface_source;
|
||||||
temp_link["status_start"] = data["status"];
|
temp_link["status_start"] = data["status"];
|
||||||
temp_link["link_color"] = data["status"] == "1" ? "#FC4444" : "#999";
|
temp_link["link_color"] = data["status"] == "1" ? "#e63c52" : "#999";
|
||||||
} else {
|
} else {
|
||||||
temp_link["arrow_start"] = "";
|
temp_link["arrow_start"] = "";
|
||||||
temp_link["id_agent_start"] = interface_source;
|
temp_link["id_agent_start"] = interface_source;
|
||||||
@ -679,7 +679,7 @@ function update_link(row_index, id_link) {
|
|||||||
temp_link["arrow_end"] = "module";
|
temp_link["arrow_end"] = "module";
|
||||||
temp_link["id_module_end"] = interface_target;
|
temp_link["id_module_end"] = interface_target;
|
||||||
temp_link["status_end"] = data["status"];
|
temp_link["status_end"] = data["status"];
|
||||||
temp_link["link_color"] = data["status"] == "1" ? "#FC4444" : "#999";
|
temp_link["link_color"] = data["status"] == "1" ? "#e63c52" : "#999";
|
||||||
} else {
|
} else {
|
||||||
temp_link["arrow_end"] = "";
|
temp_link["arrow_end"] = "";
|
||||||
temp_link["id_agent_end"] = interface_target;
|
temp_link["id_agent_end"] = interface_target;
|
||||||
@ -2329,7 +2329,7 @@ function add_interface_link_js() {
|
|||||||
temp_link["id_module_start"] = source_value;
|
temp_link["id_module_start"] = source_value;
|
||||||
temp_link["status_start"] = data["status_start"];
|
temp_link["status_start"] = data["status_start"];
|
||||||
temp_link["link_color"] =
|
temp_link["link_color"] =
|
||||||
data["status_start"] == "1" ? "#FC4444" : "#999";
|
data["status_start"] == "1" ? "#e63c52" : "#999";
|
||||||
} else {
|
} else {
|
||||||
temp_link["arrow_start"] = "";
|
temp_link["arrow_start"] = "";
|
||||||
temp_link["id_agent_start"] = source_value;
|
temp_link["id_agent_start"] = source_value;
|
||||||
@ -2340,7 +2340,7 @@ function add_interface_link_js() {
|
|||||||
temp_link["id_module_end"] = target_value;
|
temp_link["id_module_end"] = target_value;
|
||||||
temp_link["status_end"] = data["status_end"];
|
temp_link["status_end"] = data["status_end"];
|
||||||
temp_link["link_color"] =
|
temp_link["link_color"] =
|
||||||
data["status_end"] == "1" ? "#FC4444" : "#999";
|
data["status_end"] == "1" ? "#e63c52" : "#999";
|
||||||
} else {
|
} else {
|
||||||
temp_link["arrow_end"] = "";
|
temp_link["arrow_end"] = "";
|
||||||
temp_link["id_agent_end"] = target_value;
|
temp_link["id_agent_end"] = target_value;
|
||||||
|
@ -1599,7 +1599,7 @@ function paint_graph_status(
|
|||||||
.attr("y", height_x - 30)
|
.attr("y", height_x - 30)
|
||||||
.attr("width", 10)
|
.attr("width", 10)
|
||||||
.attr("height", 10)
|
.attr("height", 10)
|
||||||
.style("fill", "#fc4444");
|
.style("fill", "#e63c52");
|
||||||
|
|
||||||
//styles for number and axes
|
//styles for number and axes
|
||||||
svg
|
svg
|
||||||
@ -1683,7 +1683,7 @@ function paint_graph_status(
|
|||||||
)
|
)
|
||||||
.attr("width", 300)
|
.attr("width", 300)
|
||||||
.attr("height", (max_c - min_c) * position)
|
.attr("height", (max_c - min_c) * position)
|
||||||
.style("fill", "#fc4444");
|
.style("fill", "#e63c52");
|
||||||
} else {
|
} else {
|
||||||
svg
|
svg
|
||||||
.append("g")
|
.append("g")
|
||||||
@ -1695,7 +1695,7 @@ function paint_graph_status(
|
|||||||
.attr("y", height_x + 200 - (min_c - range_min) * position)
|
.attr("y", height_x + 200 - (min_c - range_min) * position)
|
||||||
.attr("width", 300)
|
.attr("width", 300)
|
||||||
.attr("height", (min_c - range_min) * position)
|
.attr("height", (min_c - range_min) * position)
|
||||||
.style("fill", "#fc4444");
|
.style("fill", "#e63c52");
|
||||||
svg
|
svg
|
||||||
.append("g")
|
.append("g")
|
||||||
.append("rect")
|
.append("rect")
|
||||||
@ -1709,7 +1709,7 @@ function paint_graph_status(
|
|||||||
"height",
|
"height",
|
||||||
(range_max - min_c) * position - (max_c - min_c) * position
|
(range_max - min_c) * position - (max_c - min_c) * position
|
||||||
)
|
)
|
||||||
.style("fill", "#fc4444");
|
.style("fill", "#e63c52");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
d3.select("#svg_dinamic rect").remove();
|
d3.select("#svg_dinamic rect").remove();
|
||||||
|
@ -44,7 +44,7 @@ function form_upload(homeurl) {
|
|||||||
"<li>" +
|
"<li>" +
|
||||||
'<input type="text" id="input-progress" ' +
|
'<input type="text" id="input-progress" ' +
|
||||||
'value="0" data-width="55" data-height="55" ' +
|
'value="0" data-width="55" data-height="55" ' +
|
||||||
'data-fgColor="#80BA27" data-readOnly="1" ' +
|
'data-fgColor="#82b92e" data-readOnly="1" ' +
|
||||||
'data-bgColor="#3E4043" />' +
|
'data-bgColor="#3E4043" />' +
|
||||||
"<p></p><span></span>" +
|
"<p></p><span></span>" +
|
||||||
"</li>"
|
"</li>"
|
||||||
|
@ -355,7 +355,7 @@ final class Group extends Item
|
|||||||
'color: #FFF;',
|
'color: #FFF;',
|
||||||
'font-size: 12px;',
|
'font-size: 12px;',
|
||||||
'display: inline;',
|
'display: inline;',
|
||||||
'background-color: #FC4444;',
|
'background-color: #e63c52;',
|
||||||
'position: relative;',
|
'position: relative;',
|
||||||
'height: 80%;',
|
'height: 80%;',
|
||||||
'width: 9.4%;',
|
'width: 9.4%;',
|
||||||
@ -389,7 +389,7 @@ final class Group extends Item
|
|||||||
$html .= '<td>';
|
$html .= '<td>';
|
||||||
|
|
||||||
// Critical.
|
// Critical.
|
||||||
$html .= '<div style="'.$valueStyle.'background-color: #FC4444;">';
|
$html .= '<div style="'.$valueStyle.'background-color: #e63c52;">';
|
||||||
$html .= \number_format($agentStats['critical'], 2).'%';
|
$html .= \number_format($agentStats['critical'], 2).'%';
|
||||||
$html .= '</div>';
|
$html .= '</div>';
|
||||||
$html .= '<div style="'.$nameStyle.'">'.__('Critical').'</div>';
|
$html .= '<div style="'.$nameStyle.'">'.__('Critical').'</div>';
|
||||||
|
@ -114,7 +114,7 @@ li:hover ul {
|
|||||||
|
|
||||||
.submenu_selected {
|
.submenu_selected {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
box-shadow: inset 4px 0 #80ba27;
|
box-shadow: inset 4px 0 #82b92e;
|
||||||
}
|
}
|
||||||
.selected.submenu_selected {
|
.selected.submenu_selected {
|
||||||
background-color: #202020;
|
background-color: #202020;
|
||||||
@ -279,7 +279,7 @@ ul li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu li.selected {
|
.menu li.selected {
|
||||||
box-shadow: inset 4px 0 #80ba27;
|
box-shadow: inset 4px 0 #82b92e;
|
||||||
}
|
}
|
||||||
|
|
||||||
.operation {
|
.operation {
|
||||||
|
@ -504,7 +504,7 @@ select:-internal-list-box {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.no-padding-imp {
|
.no-padding-imp {
|
||||||
padding: 0;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
.no-margin {
|
.no-margin {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -922,7 +922,7 @@ td.datos2f9 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.warning * {
|
.warning * {
|
||||||
color: #fad403;
|
color: #f3b200;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help {
|
.help {
|
||||||
@ -2127,7 +2127,7 @@ td.cellUnknown {
|
|||||||
}
|
}
|
||||||
|
|
||||||
td.cellNotInit {
|
td.cellNotInit {
|
||||||
background: #3ba0ff;
|
background: #4a83f3;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2185,13 +2185,13 @@ tr.group_view_data,
|
|||||||
|
|
||||||
tr.group_view_crit,
|
tr.group_view_crit,
|
||||||
.group_view_crit {
|
.group_view_crit {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.group_view_ok,
|
tr.group_view_ok,
|
||||||
.group_view_ok {
|
.group_view_ok {
|
||||||
background-color: #80ba27;
|
background-color: #82b92e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2206,12 +2206,12 @@ tr.group_view_warn,
|
|||||||
tr.group_view_warn.a,
|
tr.group_view_warn.a,
|
||||||
a.group_view_warn,
|
a.group_view_warn,
|
||||||
tr.a.group_view_warn {
|
tr.a.group_view_warn {
|
||||||
background-color: #fad403;
|
background-color: #f3b200;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.group_view_warn {
|
a.group_view_warn {
|
||||||
color: #fad403;
|
color: #f3b200;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2233,7 +2233,7 @@ tr.group_view_unk,
|
|||||||
.datos_green a,
|
.datos_green a,
|
||||||
.datos_greenf9 a,
|
.datos_greenf9 a,
|
||||||
.datos_green * {
|
.datos_green * {
|
||||||
background-color: #80ba27;
|
background-color: #82b92e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.datos_red,
|
.datos_red,
|
||||||
@ -2241,14 +2241,14 @@ tr.group_view_unk,
|
|||||||
.datos_red a,
|
.datos_red a,
|
||||||
.datos_redf9 a,
|
.datos_redf9 a,
|
||||||
.datos_red * {
|
.datos_red * {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.datos_yellow,
|
.datos_yellow,
|
||||||
.datos_yellowf9,
|
.datos_yellowf9,
|
||||||
.datos_yellow * {
|
.datos_yellow * {
|
||||||
background-color: #fad403;
|
background-color: #f3b200;
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3846,7 +3846,7 @@ span.log_zone_line {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span.log_zone_line_error {
|
span.log_zone_line_error {
|
||||||
color: #fc4444;
|
color: #e63c52;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* global */
|
/* global */
|
||||||
@ -4379,7 +4379,7 @@ div#dialog_messages table th:last-child {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.notification-ball-new-messages {
|
.notification-ball-new-messages {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-wrapper {
|
#notification-wrapper {
|
||||||
@ -5455,19 +5455,19 @@ div#bullets_modules div {
|
|||||||
background: #ffa631;
|
background: #ffa631;
|
||||||
}
|
}
|
||||||
.red_background {
|
.red_background {
|
||||||
background: #fc4444;
|
background: #e63c52;
|
||||||
}
|
}
|
||||||
.yellow_background {
|
.yellow_background {
|
||||||
background: #fad403;
|
background: #f3b200;
|
||||||
}
|
}
|
||||||
.grey_background {
|
.grey_background {
|
||||||
background: #b2b2b2;
|
background: #b2b2b2;
|
||||||
}
|
}
|
||||||
.blue_background {
|
.blue_background {
|
||||||
background: #3ba0ff;
|
background: #4a83f3;
|
||||||
}
|
}
|
||||||
.green_background {
|
.green_background {
|
||||||
background: #80ba27;
|
background: #82b92e;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* First row in agent view */
|
/* First row in agent view */
|
||||||
|
@ -1119,7 +1119,7 @@ td.datos2f9 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.warning * {
|
.warning * {
|
||||||
color: #fad403;
|
color: #f3b200;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help {
|
.help {
|
||||||
@ -2261,7 +2261,7 @@ div.cellUnknown {
|
|||||||
div.cellNotInit {
|
div.cellNotInit {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: #3ba0ff;
|
background: #4a83f3;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2324,7 +2324,7 @@ tr.group_view_data,
|
|||||||
|
|
||||||
tr.group_view_crit,
|
tr.group_view_crit,
|
||||||
.group_view_crit {
|
.group_view_crit {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2353,12 +2353,12 @@ tr.group_view_warn,
|
|||||||
tr.group_view_warn.a,
|
tr.group_view_warn.a,
|
||||||
a.group_view_warn,
|
a.group_view_warn,
|
||||||
tr.a.group_view_warn {
|
tr.a.group_view_warn {
|
||||||
background-color: #fad403;
|
background-color: #f3b200;
|
||||||
color: #3f3f3f;
|
color: #3f3f3f;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.group_view_warn {
|
a.group_view_warn {
|
||||||
color: #fad403;
|
color: #f3b200;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.group_view_alrm,
|
tr.group_view_alrm,
|
||||||
@ -2387,14 +2387,14 @@ tr.group_view_unk,
|
|||||||
.datos_red a,
|
.datos_red a,
|
||||||
.datos_redf9 a,
|
.datos_redf9 a,
|
||||||
.datos_red * {
|
.datos_red * {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.datos_yellow,
|
.datos_yellow,
|
||||||
.datos_yellowf9,
|
.datos_yellowf9,
|
||||||
.datos_yellow * {
|
.datos_yellow * {
|
||||||
background-color: #fad403;
|
background-color: #f3b200;
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -961,7 +961,7 @@ div#cont {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.termframe {
|
.termframe {
|
||||||
background-color: #80ba27;
|
background-color: #82b92e;
|
||||||
}
|
}
|
||||||
|
|
||||||
table,
|
table,
|
||||||
@ -1121,7 +1121,7 @@ td.datos2f9 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.warning * {
|
.warning * {
|
||||||
color: #fad403;
|
color: #f3b200;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help {
|
.help {
|
||||||
@ -1242,7 +1242,7 @@ div.title_line {
|
|||||||
#menu_tab_frame,
|
#menu_tab_frame,
|
||||||
#menu_tab_frame_view {
|
#menu_tab_frame_view {
|
||||||
display: block;
|
display: block;
|
||||||
border-bottom: 1px solid #80ba27;
|
border-bottom: 1px solid #82b92e;
|
||||||
/* float:left; */
|
/* float:left; */
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
max-height: 42px;
|
max-height: 42px;
|
||||||
@ -2254,7 +2254,7 @@ div.cellUnknown {
|
|||||||
div.cellNotInit {
|
div.cellNotInit {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: #3ba0ff;
|
background: #4a83f3;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2317,7 +2317,7 @@ tr.group_view_data,
|
|||||||
|
|
||||||
tr.group_view_crit,
|
tr.group_view_crit,
|
||||||
.group_view_crit {
|
.group_view_crit {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2329,7 +2329,7 @@ tr.group_view_normal,
|
|||||||
}
|
}
|
||||||
tr.group_view_ok,
|
tr.group_view_ok,
|
||||||
.group_view_ok {
|
.group_view_ok {
|
||||||
background-color: #80ba27;
|
background-color: #82b92e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2346,12 +2346,12 @@ tr.group_view_warn,
|
|||||||
tr.group_view_warn.a,
|
tr.group_view_warn.a,
|
||||||
a.group_view_warn,
|
a.group_view_warn,
|
||||||
tr.a.group_view_warn {
|
tr.a.group_view_warn {
|
||||||
background-color: #fad403;
|
background-color: #f3b200;
|
||||||
color: #3f3f3f;
|
color: #3f3f3f;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.group_view_warn {
|
a.group_view_warn {
|
||||||
color: #fad403;
|
color: #f3b200;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.group_view_alrm,
|
tr.group_view_alrm,
|
||||||
@ -2372,7 +2372,7 @@ tr.group_view_unk,
|
|||||||
.datos_green a,
|
.datos_green a,
|
||||||
.datos_greenf9 a,
|
.datos_greenf9 a,
|
||||||
.datos_green * {
|
.datos_green * {
|
||||||
background-color: #80ba27;
|
background-color: #82b92e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.datos_red,
|
.datos_red,
|
||||||
@ -2380,14 +2380,14 @@ tr.group_view_unk,
|
|||||||
.datos_red a,
|
.datos_red a,
|
||||||
.datos_redf9 a,
|
.datos_redf9 a,
|
||||||
.datos_red * {
|
.datos_red * {
|
||||||
background-color: #fc4444;
|
background-color: #e63c52;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.datos_yellow,
|
.datos_yellow,
|
||||||
.datos_yellowf9,
|
.datos_yellowf9,
|
||||||
.datos_yellow * {
|
.datos_yellow * {
|
||||||
background-color: #fad403;
|
background-color: #f3b200;
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@ div.progress_main {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 2.5em;
|
height: 2.5em;
|
||||||
border: 1px solid #80ba27;
|
border: 1px solid #82b92e;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.progress {
|
div.progress {
|
||||||
width: 0%;
|
width: 0%;
|
||||||
background: #80ba27;
|
background: #82b92e;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@
|
|||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
padding-right: 0px;
|
padding-right: 9px;
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
padding-bottom: 7px;
|
padding-bottom: 7px;
|
||||||
}
|
}
|
||||||
|
@ -168,5 +168,5 @@ div#cont {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*.termframe{
|
/*.termframe{
|
||||||
background-color: #80BA27;
|
background-color: #82b92e;
|
||||||
}*/
|
}*/
|
||||||
|
@ -156,16 +156,16 @@ echo '<table cellpadding="0" cellspacing="0" border="0" width="100%" class="data
|
|||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo "<tr height=70px'>";
|
echo "<tr height=70px'>";
|
||||||
echo "<td align='center'>";
|
echo "<td align='center'>";
|
||||||
echo "<span id='sumary' style='background-color:#FC4444;'>".$total_agent_critical.'%</span>';
|
echo "<span id='sumary' style='background-color:#e63c52;'>".$total_agent_critical.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#FAD403;'>".$total_agent_warning.'%</span>';
|
echo "<span id='sumary' style='background-color:#f3b200;'>".$total_agent_warning.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#80BA27;'>".$total_agent_ok.'%</span>';
|
echo "<span id='sumary' style='background-color:#82b92e;'>".$total_agent_ok.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#B2B2B2;'>".$total_agent_unknown.'%</span>';
|
echo "<span id='sumary' style='background-color:#B2B2B2;'>".$total_agent_unknown.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#5bb6e5;'>".$total_not_init.'%</span>';
|
echo "<span id='sumary' style='background-color:#5bb6e5;'>".$total_not_init.'%</span>';
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo "<td align='center'>";
|
echo "<td align='center'>";
|
||||||
echo "<span id='sumary' style='background-color:#FC4444;'>".$total_critical.'%</span>';
|
echo "<span id='sumary' style='background-color:#e63c52;'>".$total_critical.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#FAD403;'>".$total_warning.'%</span>';
|
echo "<span id='sumary' style='background-color:#f3b200;'>".$total_warning.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#80BA27;'>".$total_ok.'%</span>';
|
echo "<span id='sumary' style='background-color:#82b92e;'>".$total_ok.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#B2B2B2;'>".$total_unknown.'%</span>';
|
echo "<span id='sumary' style='background-color:#B2B2B2;'>".$total_unknown.'%</span>';
|
||||||
echo "<span id='sumary' style='background-color:#5bb6e5;'>".$total_monitor_not_init.'%</span>';
|
echo "<span id='sumary' style='background-color:#5bb6e5;'>".$total_monitor_not_init.'%</span>';
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
|
@ -91,11 +91,11 @@ if ($group_rep == 2) {
|
|||||||
if ($res['event_type'] == 'alert_fired') {
|
if ($res['event_type'] == 'alert_fired') {
|
||||||
$table->rowstyle[$key] = 'background: #FFA631;';
|
$table->rowstyle[$key] = 'background: #FFA631;';
|
||||||
} else if ($res['event_type'] == 'going_up_critical' || $res['event_type'] == 'going_down_critical') {
|
} else if ($res['event_type'] == 'going_up_critical' || $res['event_type'] == 'going_down_critical') {
|
||||||
$table->rowstyle[$key] = 'background: #FC4444;';
|
$table->rowstyle[$key] = 'background: #e63c52;';
|
||||||
} else if ($res['event_type'] == 'going_up_warning' || $res['event_type'] == 'going_down_warning') {
|
} else if ($res['event_type'] == 'going_up_warning' || $res['event_type'] == 'going_down_warning') {
|
||||||
$table->rowstyle[$key] = 'background: #FAD403;';
|
$table->rowstyle[$key] = 'background: #f3b200;';
|
||||||
} else if ($res['event_type'] == 'going_up_normal' || $res['event_type'] == 'going_down_normal') {
|
} else if ($res['event_type'] == 'going_up_normal' || $res['event_type'] == 'going_down_normal') {
|
||||||
$table->rowstyle[$key] = 'background: #80BA27;';
|
$table->rowstyle[$key] = 'background: #82b92e;';
|
||||||
} else if ($res['event_type'] == 'going_unknown') {
|
} else if ($res['event_type'] == 'going_unknown') {
|
||||||
$table->rowstyle[$key] = 'background: #B2B2B2;';
|
$table->rowstyle[$key] = 'background: #B2B2B2;';
|
||||||
}
|
}
|
||||||
@ -990,12 +990,12 @@ if ($group_rep == 2) {
|
|||||||
html_print_button(__('Execute event response'), 'submit_event_response', false, 'execute_event_response(true);', 'class="sub next"');
|
html_print_button(__('Execute event response'), 'submit_event_response', false, 'execute_event_response(true);', 'class="sub next"');
|
||||||
echo "<span id='response_loading_dialog' style='display:none'>".html_print_image('images/spinner.gif', true).'</span>';
|
echo "<span id='response_loading_dialog' style='display:none'>".html_print_image('images/spinner.gif', true).'</span>';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo '<span id="max_custom_event_resp_msg" style="display:none; color:#FC4444; line-height: 200%;">';
|
echo '<span id="max_custom_event_resp_msg" style="display:none; color:#e63c52; line-height: 200%;">';
|
||||||
echo __(
|
echo __(
|
||||||
'A maximum of %s event custom responses can be selected',
|
'A maximum of %s event custom responses can be selected',
|
||||||
$config['max_execution_event_response']
|
$config['max_execution_event_response']
|
||||||
).'</span>';
|
).'</span>';
|
||||||
echo '<span id="max_custom_selected" style="display:none; color:#FC4444; line-height: 200%;">';
|
echo '<span id="max_custom_selected" style="display:none; color:#e63c52; line-height: 200%;">';
|
||||||
echo __(
|
echo __(
|
||||||
'Please, select an event'
|
'Please, select an event'
|
||||||
).'</span>';
|
).'</span>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user