Minor visual fixes

This commit is contained in:
Jose Gonzalez 2023-03-10 12:48:31 +01:00
parent dc216ff788
commit bb6bf85537
3 changed files with 8 additions and 21 deletions

View File

@ -216,7 +216,7 @@ if ($option == '') {
$alertstab = [ $alertstab = [
'text' => '<a href="'.$url.'&tab=massive_alerts">'.html_print_image( 'text' => '<a href="'.$url.'&tab=massive_alerts">'.html_print_image(
'images/bell.png', 'images/alert@svg.svg',
true, true,
[ [
'title' => __('Alerts operations'), 'title' => __('Alerts operations'),
@ -228,7 +228,7 @@ $alertstab = [
$userstab = [ $userstab = [
'text' => '<a href="'.$url.'&tab=massive_users">'.html_print_image( 'text' => '<a href="'.$url.'&tab=massive_users">'.html_print_image(
'images/user.png', 'images/user.svg',
true, true,
[ [
'title' => __('Users operations'), 'title' => __('Users operations'),
@ -240,7 +240,7 @@ $userstab = [
$agentstab = [ $agentstab = [
'text' => '<a href="'.$url.'&tab=massive_agents">'.html_print_image( 'text' => '<a href="'.$url.'&tab=massive_agents">'.html_print_image(
'images/agent.png', 'images/agents@svg.svg',
true, true,
[ [
'title' => __('Agents operations'), 'title' => __('Agents operations'),
@ -252,7 +252,7 @@ $agentstab = [
$modulestab = [ $modulestab = [
'text' => '<a href="'.$url.'&tab=massive_modules">'.html_print_image( 'text' => '<a href="'.$url.'&tab=massive_modules">'.html_print_image(
'images/module.png', 'images/modules@svg.svg',
true, true,
[ [
'title' => __('Modules operations'), 'title' => __('Modules operations'),
@ -264,7 +264,7 @@ $modulestab = [
$pluginstab = [ $pluginstab = [
'text' => '<a href="'.$url.'&tab=massive_plugins">'.html_print_image( 'text' => '<a href="'.$url.'&tab=massive_plugins">'.html_print_image(
'images/plugin.png', 'images/plugins@svg.svg',
true, true,
[ [
'title' => __('Plugins operations'), 'title' => __('Plugins operations'),

View File

@ -248,7 +248,7 @@ if (check_login()) {
false, false,
false false
); );
$formtable->data[0][3] = "<a href='javascript: show_module_detail_dialog(".$module_id.', '.$agentId.', "'.$server_name.'", 0, -1,"'.modules_get_agentmodule_name($module_id)."\")'>".html_print_image('images/refresh.png', true, ['style' => 'vertical-align: middle;', 'border' => '0', 'class' => 'invert_filter' ]).'</a>'; $formtable->data[0][3] = "<a href='javascript: show_module_detail_dialog(".$module_id.', '.$agentId.', "'.$server_name.'", 0, -1,"'.modules_get_agentmodule_name($module_id)."\")'>".html_print_image('images/refresh@svg.svg', true, ['style' => 'vertical-align: middle;', 'border' => '0', 'class' => 'main_menu_icon invert_filter' ]).'</a>';
$formtable->rowspan[0][3] = 2; $formtable->rowspan[0][3] = 2;
$formtable->cellstyle[0][3] = 'vertical-align: middle;'; $formtable->cellstyle[0][3] = 'vertical-align: middle;';

View File

@ -12169,24 +12169,11 @@ function reporting_get_stats_alerts($data, $links=false)
$tdata[3] = html_print_div( $tdata[3] = html_print_div(
[ [
'title' => __('Fired alerts'), 'title' => __('Fired alerts'),
'style' => 'background-color: '.COL_CRITICAL, 'style' => 'background-color: '.COL_ALERTFIRED,
'class' => 'alert_background_state main_menu_icon invert_filter', 'class' => 'alert_background_state main_menu_icon',
], ],
true true
); );
/*
html_print_image(
'images/bell_error.png',
true,
[
'title' => __('Fired alerts'),
'class' => 'invert_filter',
],
false,
false,
false,
true
);*/
$tdata[4] = $data['monitor_alerts_fired'] <= 0 ? '-' : $data['monitor_alerts_fired']; $tdata[4] = $data['monitor_alerts_fired'] <= 0 ? '-' : $data['monitor_alerts_fired'];
$tdata[4] = '<a style="color: '.COL_ALERTFIRED.';" class="big_data" href="'.$urls['monitor_alerts_fired'].'">'.$tdata[4].'</a>'; $tdata[4] = '<a style="color: '.COL_ALERTFIRED.';" class="big_data" href="'.$urls['monitor_alerts_fired'].'">'.$tdata[4].'</a>';
$table_al->rowclass[] = ''; $table_al->rowclass[] = '';