Merge branch 'ent-7903-colores-distintos-en-estado-not-init-agentes-modulos-vista-tactical-view' into 'develop'
Fix not init color See merge request artica/pandorafms!4604
This commit is contained in:
commit
1612b5d063
|
@ -5346,7 +5346,7 @@ 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_notinit.png', true, ['title' => __('Agents not init')]);
|
$agent_data[0] = html_print_image('images/agent_notinit.png', true, ['title' => __('Agents not init')]);
|
||||||
$agent_data[1] = "<a style='color: ".COL_NOTINIT.";' href='".$links['agents_not_init']."'><b><span class='blue_color_ligther font_12pt bolder big_data'>".format_numeric($data['agent_not_init']).'</span></b></a>';
|
$agent_data[1] = "<a style='color: ".COL_NOTINIT.";' href='".$links['agents_not_init']."'><b><span class='blue_color font_12pt bolder big_data'>".format_numeric($data['agent_not_init']).'</span></b></a>';
|
||||||
|
|
||||||
$agent_data[2] = '';
|
$agent_data[2] = '';
|
||||||
$agent_data[3] = '';
|
$agent_data[3] = '';
|
||||||
|
|
|
@ -335,7 +335,7 @@ function pandoraFlotHBars(
|
||||||
"#e63c52",
|
"#e63c52",
|
||||||
"#FFA631",
|
"#FFA631",
|
||||||
"#f3b200",
|
"#f3b200",
|
||||||
"#5BB6E5",
|
"#4a83f3",
|
||||||
"#F2919D",
|
"#F2919D",
|
||||||
"#82b92e"
|
"#82b92e"
|
||||||
];
|
];
|
||||||
|
|
|
@ -350,7 +350,7 @@ class GroupsStatusWidget extends Widget
|
||||||
// Agent Not Init.
|
// Agent Not Init.
|
||||||
$table->data[2][1] = $this->getCellCounter(
|
$table->data[2][1] = $this->getCellCounter(
|
||||||
$stats['agent_not_init'],
|
$stats['agent_not_init'],
|
||||||
'#5bb6e5'
|
'#4a83f3'
|
||||||
);
|
);
|
||||||
|
|
||||||
$data .= html_print_table($table, true);
|
$data .= html_print_table($table, true);
|
||||||
|
@ -424,7 +424,7 @@ class GroupsStatusWidget extends Widget
|
||||||
// Modules Not Init.
|
// Modules Not Init.
|
||||||
$table->data[2][1] = $this->getCellCounter(
|
$table->data[2][1] = $this->getCellCounter(
|
||||||
$stats['monitor_not_init'],
|
$stats['monitor_not_init'],
|
||||||
'#5bb6e5'
|
'#4a83f3'
|
||||||
);
|
);
|
||||||
|
|
||||||
$data .= html_print_table($table, true);
|
$data .= html_print_table($table, true);
|
||||||
|
|
|
@ -1357,7 +1357,7 @@ td.datos2f9 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.blue {
|
.blue {
|
||||||
color: #5ab7e5;
|
color: #4a83f3;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.black {
|
.black {
|
||||||
|
@ -2506,7 +2506,7 @@ tr.group_view_ok,
|
||||||
|
|
||||||
tr.group_view_not_init,
|
tr.group_view_not_init,
|
||||||
.group_view_not_init {
|
.group_view_not_init {
|
||||||
background-color: #5bb6e5;
|
background-color: #4a83f3;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7301,6 +7301,10 @@ div.graph div.legend table {
|
||||||
background-color: #5bb6e5;
|
background-color: #5bb6e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bg_4a83f3 {
|
||||||
|
background-color: #4a83f3;
|
||||||
|
}
|
||||||
|
|
||||||
.bg_aaaaaa {
|
.bg_aaaaaa {
|
||||||
background-color: #aaaaaa;
|
background-color: #aaaaaa;
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,7 +175,7 @@ tr.group_view_crit,
|
||||||
|
|
||||||
.group_view_not_init,
|
.group_view_not_init,
|
||||||
.group_view_not_init * {
|
.group_view_not_init * {
|
||||||
background-color: #5ab7e5 !important;
|
background-color: #4a83f3 !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -186,14 +186,14 @@ echo '<table cellpadding="0" cellspacing="0" border="0" width="100%" class="data
|
||||||
echo "<span id='sumary' class='yellow_background'>".$total_agent_warning.'%</span>';
|
echo "<span id='sumary' class='yellow_background'>".$total_agent_warning.'%</span>';
|
||||||
echo "<span id='sumary' class='green_background'>".$total_agent_ok.'%</span>';
|
echo "<span id='sumary' class='green_background'>".$total_agent_ok.'%</span>';
|
||||||
echo "<span id='sumary' class='bg_B2B2B2'>".$total_agent_unknown.'%</span>';
|
echo "<span id='sumary' class='bg_B2B2B2'>".$total_agent_unknown.'%</span>';
|
||||||
echo "<span id='sumary' class='bg_5bb6e5'>".$total_not_init.'%</span>';
|
echo "<span id='sumary' class='blue'>".$total_not_init.'%</span>';
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo "<td align='center'>";
|
echo "<td align='center'>";
|
||||||
echo "<span id='sumary' class='red_background'>".$total_critical.'%</span>';
|
echo "<span id='sumary' class='red_background'>".$total_critical.'%</span>';
|
||||||
echo "<span id='sumary' class='yellow_background'>".$total_warning.'%</span>';
|
echo "<span id='sumary' class='yellow_background'>".$total_warning.'%</span>';
|
||||||
echo "<span id='sumary' class='green_background'>".$total_ok.'%</span>';
|
echo "<span id='sumary' class='green_background'>".$total_ok.'%</span>';
|
||||||
echo "<span id='sumary' class='bg_B2B2B2'>".$total_unknown.'%</span>';
|
echo "<span id='sumary' class='bg_B2B2B2'>".$total_unknown.'%</span>';
|
||||||
echo "<span id='sumary' class='bg_5bb6e5'>".$total_monitor_not_init.'%</span>';
|
echo "<span id='sumary' class='bg_4a83f3'>".$total_monitor_not_init.'%</span>';
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
|
|
Loading…
Reference in New Issue