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:
Daniel Rodriguez 2022-01-04 11:47:46 +00:00
commit 1612b5d063
6 changed files with 13 additions and 9 deletions

View File

@ -5346,7 +5346,7 @@ function reporting_get_agents_by_status($data, $graph_width=250, $graph_height=1
$agent_data = [];
$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[3] = '';

View File

@ -335,7 +335,7 @@ function pandoraFlotHBars(
"#e63c52",
"#FFA631",
"#f3b200",
"#5BB6E5",
"#4a83f3",
"#F2919D",
"#82b92e"
];

View File

@ -350,7 +350,7 @@ class GroupsStatusWidget extends Widget
// Agent Not Init.
$table->data[2][1] = $this->getCellCounter(
$stats['agent_not_init'],
'#5bb6e5'
'#4a83f3'
);
$data .= html_print_table($table, true);
@ -424,7 +424,7 @@ class GroupsStatusWidget extends Widget
// Modules Not Init.
$table->data[2][1] = $this->getCellCounter(
$stats['monitor_not_init'],
'#5bb6e5'
'#4a83f3'
);
$data .= html_print_table($table, true);

View File

@ -1357,7 +1357,7 @@ td.datos2f9 {
font-weight: bold;
}
.blue {
color: #5ab7e5;
color: #4a83f3;
font-weight: bold;
}
.black {
@ -2506,7 +2506,7 @@ tr.group_view_ok,
tr.group_view_not_init,
.group_view_not_init {
background-color: #5bb6e5;
background-color: #4a83f3;
color: #fff;
}
@ -7301,6 +7301,10 @@ div.graph div.legend table {
background-color: #5bb6e5;
}
.bg_4a83f3 {
background-color: #4a83f3;
}
.bg_aaaaaa {
background-color: #aaaaaa;
}

View File

@ -175,7 +175,7 @@ tr.group_view_crit,
.group_view_not_init,
.group_view_not_init * {
background-color: #5ab7e5 !important;
background-color: #4a83f3 !important;
color: #fff !important;
}

View File

@ -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='green_background'>".$total_agent_ok.'%</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 align='center'>";
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='green_background'>".$total_ok.'%</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 '</tr>';
echo '</table>';