Merge branch 'ent-9662-second-round' of brutus.artica.es:artica/pandorafms into ent-9662-second-round

This commit is contained in:
Jonathan 2023-03-30 10:26:36 +02:00
commit ace79d3ac1
10 changed files with 22 additions and 24 deletions

View File

@ -267,7 +267,7 @@ if (db_get_num_rows($sql) == 0) {
$data[5] .= '</b></a>&nbsp;&nbsp;';
// Force refresh module
$data[5] .= '<a href="index.php?sec=estado&sec2=godmode/agentes/configurar_agente&tab=inventory&id_agente='.$id_agente.'&force_inventory_module='.$row['id_agent_module_inventory'].'">';
$data[5] .= html_print_image('images/change-active.svg', true, ['border' => '0', 'title' => __('Force'), 'class' => 'main_menu_icon invert_filter']).'</b></a>';
$data[5] .= html_print_image('images/force@svg.svg', true, ['border' => '0', 'title' => __('Force'), 'class' => 'main_menu_icon invert_filter']).'</b></a>';
array_push($table->data, $data);
}

View File

@ -208,7 +208,7 @@ foreach ($servers as $server) {
if ($server['type'] === 'data') {
$data[8] .= '<a href="'.ui_get_full_url('index.php?sec=gservers&sec2=godmode/servers/modificar_server&refr=0&server_reset_counts='.$server['id_server']).'">';
$data[8] .= html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Reset module status and fired alert counts'),
@ -219,7 +219,7 @@ foreach ($servers as $server) {
} else if ($server['type'] === 'enterprise snmp') {
$data[8] .= '<a href="'.ui_get_full_url('index.php?sec=gservers&sec2=godmode/servers/modificar_server&refr=0&server_reset_snmp_enterprise='.$server['id_server']).'">';
$data[8] .= html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Claim back SNMP modules'),

View File

@ -673,7 +673,7 @@ class DiscoveryTaskList extends HTML
$data[0] .= ');" >';
$data[0] .= html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force'),

View File

@ -810,10 +810,7 @@ class HostDevices extends Wizard
'name' => 'interval_manual_defined',
'return' => true,
],
'extra' => '<div id="interval_manual_container"><div class="time_selection_container mrgn_top_20px">'.ui_print_help_tip(
__('The minimum recomended interval for Recon Task is 5 minutes'),
true
).html_print_extended_select_for_time(
'extra' => '<div id="interval_manual_container"><div class="time_selection_container mrgn_top_20px">'.html_print_extended_select_for_time(
'interval',
$this->task['interval_sweep'],
'',

View File

@ -1279,7 +1279,7 @@ if (check_login()) {
if ((int) $module['flag'] === 0) {
$additionalLinkAction = '&amp;flag=1';
$linkCaption = __('Force checks');
$imgaction = 'images/target.png';
$imgaction = 'images/force@svg.svg';
} else {
$additionalLinkAction = '';
$linkCaption = __('Refresh');

View File

@ -524,7 +524,7 @@ class CustomNetScan extends Wizard
// Schedule.
$form['inputs'][] = [
'label' => __('Interval').ui_print_help_tip(
__('Manual interval means that it will be executed only On-demand'),
__('Manual interval means that it will be executed only On-demand').', '.__('The minimum recomended interval for Recon Task is 5 minutes'),
true
),
'class' => 'input-interval',
@ -549,9 +549,6 @@ class CustomNetScan extends Wizard
true,
false,
false
).ui_print_help_tip(
__('The minimum recomended interval for Recon Task is 5 minutes'),
true
).'</span>',
];

View File

@ -530,7 +530,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -568,7 +568,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -623,7 +623,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -715,7 +715,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -751,7 +751,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -797,7 +797,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -839,7 +839,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),
@ -873,7 +873,7 @@ function cron_list_table()
$task['id']
),
'content' => html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force run'),

View File

@ -4560,7 +4560,7 @@ function events_page_details($event, $server_id=0)
true,
[
'title' => __('Go to data overview'),
'class' => 'invert_filter',
'class' => 'invert_filter main_menu_icon',
]
);
} else {
@ -4569,7 +4569,7 @@ function events_page_details($event, $server_id=0)
true,
[
'title' => __('Go to data overview'),
'class' => 'invert_filter',
'class' => 'invert_filter main_menu_icon',
'style' => 'opacity: .5',
]
);

View File

@ -1600,3 +1600,7 @@ a.pandora_pagination,
.info_table > tbody > tr > td {
border-bottom: 1px solid #3f3f3f;
}
.font-title-font {
color: #fff;
}

View File

@ -216,7 +216,7 @@ $table_agent_header .= '<div class="icono_right">'.$status_img.'</div>';
$table_agent_header .= '&nbsp;&nbsp;';
$table_agent_header .= '<a href="'.$model->url.'&op=force&id='.$cluster->id();
$table_agent_header .= '">'.html_print_image(
'images/change-active.svg',
'images/force@svg.svg',
true,
[
'title' => __('Force cluster status calculation'),