Minor visual fixes
This commit is contained in:
parent
dc216ff788
commit
bb6bf85537
|
@ -216,7 +216,7 @@ if ($option == '') {
|
|||
|
||||
$alertstab = [
|
||||
'text' => '<a href="'.$url.'&tab=massive_alerts">'.html_print_image(
|
||||
'images/bell.png',
|
||||
'images/alert@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Alerts operations'),
|
||||
|
@ -228,7 +228,7 @@ $alertstab = [
|
|||
|
||||
$userstab = [
|
||||
'text' => '<a href="'.$url.'&tab=massive_users">'.html_print_image(
|
||||
'images/user.png',
|
||||
'images/user.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Users operations'),
|
||||
|
@ -240,7 +240,7 @@ $userstab = [
|
|||
|
||||
$agentstab = [
|
||||
'text' => '<a href="'.$url.'&tab=massive_agents">'.html_print_image(
|
||||
'images/agent.png',
|
||||
'images/agents@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Agents operations'),
|
||||
|
@ -252,7 +252,7 @@ $agentstab = [
|
|||
|
||||
$modulestab = [
|
||||
'text' => '<a href="'.$url.'&tab=massive_modules">'.html_print_image(
|
||||
'images/module.png',
|
||||
'images/modules@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Modules operations'),
|
||||
|
@ -264,7 +264,7 @@ $modulestab = [
|
|||
|
||||
$pluginstab = [
|
||||
'text' => '<a href="'.$url.'&tab=massive_plugins">'.html_print_image(
|
||||
'images/plugin.png',
|
||||
'images/plugins@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Plugins operations'),
|
||||
|
|
|
@ -248,7 +248,7 @@ if (check_login()) {
|
|||
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->cellstyle[0][3] = 'vertical-align: middle;';
|
||||
|
||||
|
|
|
@ -12169,24 +12169,11 @@ function reporting_get_stats_alerts($data, $links=false)
|
|||
$tdata[3] = html_print_div(
|
||||
[
|
||||
'title' => __('Fired alerts'),
|
||||
'style' => 'background-color: '.COL_CRITICAL,
|
||||
'class' => 'alert_background_state main_menu_icon invert_filter',
|
||||
'style' => 'background-color: '.COL_ALERTFIRED,
|
||||
'class' => 'alert_background_state main_menu_icon',
|
||||
],
|
||||
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] = '<a style="color: '.COL_ALERTFIRED.';" class="big_data" href="'.$urls['monitor_alerts_fired'].'">'.$tdata[4].'</a>';
|
||||
$table_al->rowclass[] = '';
|
||||
|
|
Loading…
Reference in New Issue