-
+
\ No newline at end of file
diff --git a/pandora_console/images/unlinkpolicy.svg b/pandora_console/images/unlinkpolicy.svg
new file mode 100644
index 0000000000..affa12c8e7
--- /dev/null
+++ b/pandora_console/images/unlinkpolicy.svg
@@ -0,0 +1,8 @@
+
+
\ No newline at end of file
diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php
index 5d6caccbac..86787142d4 100755
--- a/pandora_console/include/ajax/module.php
+++ b/pandora_console/include/ajax/module.php
@@ -1135,7 +1135,7 @@ if (check_login()) {
if ((bool) $linked === true) {
if ((bool) $adopt === true) {
- $img = 'images/policies_brick.png';
+ $img = 'images/policies_brick.svg';
$title = '('.__('Adopted').') '.$name_policy;
} else {
$img = 'images/policy@svg.svg';
@@ -1143,10 +1143,10 @@ if (check_login()) {
}
} else {
if ((bool) $adopt === true) {
- $img = 'images/policies_not_brick.png';
+ $img = 'images/policies_not_brick.svg';
$title = '('.__('Unlinked').') ('.__('Adopted').') '.$name_policy;
} else {
- $img = 'images/unlinkpolicy.png';
+ $img = 'images/unlinkpolicy.svg';
$title = '('.__('Unlinked').') '.$name_policy;
}
}
diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php
index f0ed200bc9..177536c358 100755
--- a/pandora_console/include/functions_ui.php
+++ b/pandora_console/include/functions_ui.php
@@ -1337,7 +1337,7 @@ function ui_format_alert_row(
} else {
$module_linked = policies_is_module_linked($alert['id_agent_module']);
if ($module_linked === '0') {
- $img = 'images/unlinkpolicy.png';
+ $img = 'images/unlinkpolicy.svg';
} else {
$img = 'images/policy@svg.svg';
}
diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php
index 372a636044..cbf85b5ce8 100755
--- a/pandora_console/operation/agentes/estado_monitores.php
+++ b/pandora_console/operation/agentes/estado_monitores.php
@@ -56,11 +56,11 @@ if (is_ajax() === true) {
echo '';
if (tags_get_module_policy_tags($tag, $id_agente_modulo)) {
html_print_image(
- 'images/policies_mc.png',
+ 'images/policy@svg.svg',
false,
[
'style' => 'vertical-align: middle;',
- 'class' => 'invert_filter',
+ 'class' => 'invert_filter main_menu_icon',
]
);
}
diff --git a/pandora_console/operation/agentes/pandora_networkmap.view.php b/pandora_console/operation/agentes/pandora_networkmap.view.php
index 3cbe53e815..e417f345fc 100644
--- a/pandora_console/operation/agentes/pandora_networkmap.view.php
+++ b/pandora_console/operation/agentes/pandora_networkmap.view.php
@@ -1765,18 +1765,18 @@ if (is_ajax() === true) {
if ($linked) {
if ($adopt) {
- $img = 'images/policies_brick.png';
+ $img = 'images/policies_brick.svg';
$title = __('(Adopt) ').$name_policy;
} else {
- $img = 'images/policies_mc.png';
+ $img = 'images/policy@svg.svg';
$title = $name_policy;
}
} else {
if ($adopt) {
- $img = 'images/policies_not_brick.png';
+ $img = 'images/policies_not_brick.svg';
$title = __('(Unlinked) (Adopt) ').$name_policy;
} else {
- $img = 'images/unlinkpolicy.png';
+ $img = 'images/unlinkpolicy.svg';
$title = __('(Unlinked) ').$name_policy;
}
}
diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php
index 1ad19bb38e..2a5ffd5b7a 100644
--- a/pandora_console/operation/agentes/status_monitor.php
+++ b/pandora_console/operation/agentes/status_monitor.php
@@ -1682,24 +1682,31 @@ if (empty($result) === false) {
if ($linked) {
if ($adopt) {
- $img = 'images/policies_brick.png';
+ $img = 'images/policies_brick.svg';
$title = __('(Adopt) ').$policyInfo['name_policy'];
} else {
- $img = 'images/policies_mc.png';
+ $img = 'images/policy@svg.svg';
$title = $policyInfo['name_policy'];
}
} else {
if ($adopt) {
- $img = 'images/policies_not_brick.png';
+ $img = 'images/policies_not_brick.svg';
$title = __('(Unlinked) (Adopt) ').$policyInfo['name_policy'];
} else {
- $img = 'images/unlinkpolicy.png';
+ $img = 'images/unlinkpolicy.svg';
$title = __('(Unlinked) ').$policyInfo['name_policy'];
}
}
if (is_metaconsole()) {
- $data[0] = ''.html_print_image($img, true, ['title' => $title]).'';
+ $data[0] = ''.html_print_image(
+ $img,
+ true,
+ [
+ 'title' => $title,
+ 'class' => 'main_menu_icon',
+ ]
+ ).'';
} else {
$data[0] = ''.html_print_image($img, true, ['title' => $title]).'';
}
diff --git a/pandora_console/operation/search_main.php b/pandora_console/operation/search_main.php
index ac841fa703..c565007e2f 100644
--- a/pandora_console/operation/search_main.php
+++ b/pandora_console/operation/search_main.php
@@ -142,7 +142,7 @@ $table->data[0][11] = " __('Visual consoles')]);
$table->data[0][13] = "".sprintf(__('%s Found'), $totalMaps).'';
if (enterprise_installed()) {
- $table->data[0][14] = html_print_image('images/policies_mc.png', true, ['title' => __('Policies')]);
+ $table->data[0][14] = html_print_image('images/policy@svg.svg', true, ['title' => __('Policies'), 'class' => 'main_menu_icon']);
$table->data[0][15] = "".sprintf(__('%s Found'), $totalPolicies).'';
}
diff --git a/pandora_console/operation/search_policies.php b/pandora_console/operation/search_policies.php
index 3e3a2313b2..10c403e358 100644
--- a/pandora_console/operation/search_policies.php
+++ b/pandora_console/operation/search_policies.php
@@ -45,25 +45,34 @@ if (!$policies || !$searchpolicies) {
switch ($policie['status']) {
case POLICY_UPDATED:
$status = html_print_image(
- 'images/policies_ok.png',
+ 'images/policies_ok.svg',
true,
- ['title' => __('Policy updated')]
+ [
+ 'title' => __('Policy updated'),
+ 'class' => 'main_menu_icon',
+ ]
);
break;
case POLICY_PENDING_DATABASE:
$status = html_print_image(
- 'images/policies_error_db.png',
+ 'images/policies_error_db.svg',
true,
- ['title' => __('Pending update policy only database')]
+ [
+ 'title' => __('Pending update policy only database'),
+ 'class' => 'main_menu_icon',
+ ]
);
break;
case POLICY_PENDING_ALL:
$status = html_print_image(
- 'images/policies_error.png',
+ 'images/policies_error.svg',
true,
- ['title' => __('Pending update policy')]
+ [
+ 'title' => __('Pending update policy'),
+ 'class' => 'main_menu_icon',
+ ]
);
break;
}
diff --git a/pandora_console/operation/search_results.php b/pandora_console/operation/search_results.php
index d2f6f751b7..38ae15be1c 100644
--- a/pandora_console/operation/search_results.php
+++ b/pandora_console/operation/search_results.php
@@ -168,9 +168,12 @@ if ($searchModules) {
if ($searchPolicies) {
$policies_tab = [
'text' => "".html_print_image(
- 'images/policies_mc.png',
+ 'images/policy@svg.svg',
true,
- ['title' => __('Policies')]
+ [
+ 'title' => __('Policies'),
+ 'class' => 'main_menu_icon',
+ ]
).'',
'active' => $searchTab == 'policies',
];
|