Merge branch 'ent-7171-iconos-poco-visibles-en-monitor-detail-black-theme' into 'develop'

Ent 7171 iconos poco visibles en monitor detail black theme

See merge request artica/pandorafms!3929
This commit is contained in:
Daniel Rodriguez 2021-03-30 09:51:04 +00:00
commit 8a62fa67ad
5 changed files with 12 additions and 5 deletions

View File

@ -840,6 +840,7 @@ class AgentsAlerts extends HTML
'label' => __('Full screen'),
'id' => 'img-full-screen',
'surround_start' => '<div id="full_screen_refresh_box">',
'attributes' => 'style="margin-left: 0px"',
'arguments' => [
'type' => 'button',
'return' => true,

View File

@ -730,7 +730,7 @@ function filemanager_file_explorer(
&& (! is_dir($fileinfo['realpath']) || count(scandir($fileinfo['realpath'])) < 3) && (!$readOnly)
) {
$data[4] .= '<form method="post" action="'.$url.'" style="">';
$data[4] .= '<input type="image" src="images/cross.png" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
$data[4] .= '<input type="image" class="invert_filter" src="images/cross.png" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
$data[4] .= html_print_input_hidden('filename', $fileinfo['realpath'], true);
$data[4] .= html_print_input_hidden('hash', md5($fileinfo['realpath'].$config['dbpass']), true);
$data[4] .= html_print_input_hidden('delete_file', 1, true);

View File

@ -663,12 +663,17 @@ function ui_print_group_icon($id_group, $return=false, $path='groups_small', $st
if (empty($icon)) {
$output .= '<span title="'.groups_get_name($id_group, true).'">&nbsp;&nbsp;</span>';
} else {
$class = 'bot';
if ($icon === 'transmit') {
$class .= ' invert_filter';
}
$output .= html_print_image(
'images/'.$path.'/'.$icon.'.png',
true,
[
'style' => $style,
'class' => 'bot',
'class' => $class,
'alt' => groups_get_name($id_group, true),
'title' => groups_get_name($id_group, true),
],

View File

@ -1396,7 +1396,7 @@ if (!empty($result)) {
}
if (in_array('data_type', $show_fields) || is_metaconsole()) {
$data[2] = html_print_image('images/'.modules_show_icon_type($row['module_type']), true);
$data[2] = html_print_image('images/'.modules_show_icon_type($row['module_type']), true, ['class' => 'invert_filter']);
$agent_groups = is_metaconsole() ? $row['groups_in_server'] : agents_get_all_groups_agent($row['id_agent'], $row['id_group']);
if (check_acl_one_of_groups($config['id_user'], $agent_groups, 'AW')) {
$show_edit_icon = true;
@ -1630,7 +1630,7 @@ if (!empty($result)) {
$data[8] = get_module_realtime_link_graph($row);
if (!is_snapshot_data($row['datos'])) {
$data[8] .= '<a href="javascript:'.$link.'">'.html_print_image('images/chart.png', true, ['border' => '0', 'alt' => '']).'</a>';
$data[8] .= '<a href="javascript:'.$link.'">'.html_print_image('images/chart.png', true, ['border' => '0', 'alt' => '', 'class' => 'invert_filter']).'</a>';
}
$data[8] .= '<a href="javascript: show_module_detail_dialog('.$row['id_agente_modulo'].', '.$row['id_agent'].', \''.$row['server_name'].'\', 0, '.SECONDS_1DAY.', \''.$row['module_name'].'\')">'.html_print_image(
@ -1639,6 +1639,7 @@ if (!empty($result)) {
[
'border' => '0',
'alt' => '',
'class' => 'invert_filter',
]
).'</a>';

View File

@ -1501,7 +1501,7 @@ if ($is_sap) {
}
// External Tools tab.
$external_tools['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=external_tools&id_agente='.$id_agente.'">'.html_print_image('images/nettool.png', true, ['title' => __('External Tools')]).'</a>';
$external_tools['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=external_tools&id_agente='.$id_agente.'">'.html_print_image('images/nettool.png', true, ['title' => __('External Tools'), 'class' => 'invert_filter']).'</a>';
if ($tab == 'external_tools') {
$external_tools['active'] = true;
} else {