diff --git a/pandora_console/extensions/quick_shell.php b/pandora_console/extensions/quick_shell.php
index 7cbb5607e1..a01283eb25 100644
--- a/pandora_console/extensions/quick_shell.php
+++ b/pandora_console/extensions/quick_shell.php
@@ -202,7 +202,7 @@ function quickShell()
'arguments' => [
'type' => 'submit',
'label' => __('Connect'),
- 'attributes' => 'class="sub next"',
+ 'attributes' => ['icon' => 'cog'],
],
],
],
diff --git a/pandora_console/godmode/agentes/agent_template.php b/pandora_console/godmode/agentes/agent_template.php
index 31e6de29b5..b4313aee88 100644
--- a/pandora_console/godmode/agentes/agent_template.php
+++ b/pandora_console/godmode/agentes/agent_template.php
@@ -185,7 +185,21 @@ echo "
";
html_print_select($select, 'template_id', '', '', '', 0, false, false, true, '', false, 'max-width: 200px !important');
echo ' | ';
echo '';
-html_print_submit_button(__('Assign'), 'crt', false, 'class="sub next mgn_tp_0"');
+html_print_div(
+ [
+ 'class' => 'action-buttons',
+ 'content' => html_print_submit_button(
+ __('Assign'),
+ 'crt',
+ false,
+ [
+ 'icon' => 'wand',
+ 'mode' => 'mini',
+ ],
+ true
+ ),
+ ]
+);
echo ' | ';
echo '
';
echo '';
diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php
index b91b1556bc..df45d9da73 100644
--- a/pandora_console/godmode/agentes/modificar_agente.php
+++ b/pandora_console/godmode/agentes/modificar_agente.php
@@ -375,7 +375,7 @@ html_print_submit_button(
false,
[
'icon' => 'search',
- 'mode' => 'mini',
+ 'mode' => 'secondary mini',
]
);
echo '';
@@ -963,10 +963,7 @@ if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
__('Create agent'),
'crt-2',
false,
- [
- 'icon' => 'cog',
- 'mode' => 'secondary',
- ],
+ [ 'icon' => 'next' ],
true
),
]
diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php
index 35f50687db..e846562795 100644
--- a/pandora_console/godmode/agentes/module_manager.php
+++ b/pandora_console/godmode/agentes/module_manager.php
@@ -80,7 +80,15 @@ if (($policy_page !== false) || (isset($agent) === true)) {
echo '';
echo "";
-html_print_submit_button(__('Filter'), 'filter', false, 'class="sub search"');
+html_print_submit_button(
+ __('Filter'),
+ 'filter',
+ false,
+ [
+ 'icon' => 'search',
+ 'mode' => 'secondary mini',
+ ]
+);
echo ' | ';
echo " | ";
echo '';
@@ -232,7 +240,7 @@ if (($policy_page) || (isset($agent))) {
false,
[
'icon' => 'next',
- 'mode' => 'secondary',
+ 'mode' => 'mini secondary',
]
);
echo '';
@@ -1283,33 +1291,43 @@ if (check_acl_one_of_groups($config['id_user'], $all_groups, 'AW')) {
html_print_table($table);
-if (check_acl_one_of_groups($config['id_user'], $all_groups, 'AW')) {
- echo '';
-
+if ((bool) check_acl_one_of_groups($config['id_user'], $all_groups, 'AW') === true) {
html_print_input_hidden('submit_modules_action', 1);
- html_print_select(
+ html_print_div(
[
- 'disable' => 'Disable selected modules',
- 'delete' => 'Delete selected modules',
- ],
- 'module_action',
- '',
- '',
- '',
- 0,
- false,
- false,
- false
+ 'class' => 'action-buttons',
+ 'content' => html_print_submit_button(
+ __('Execute action'),
+ 'submit_modules_action',
+ false,
+ [
+ 'icon' => 'next',
+ 'mode' => 'link',
+ ],
+ true
+ ).html_print_select(
+ [
+ 'disable' => 'Disable selected modules',
+ 'delete' => 'Delete selected modules',
+ ],
+ 'module_action',
+ '',
+ '',
+ '',
+ 0,
+ true,
+ false,
+ false,
+ '',
+ false,
+ false,
+ false,
+ 300
+ ),
+ ]
);
- html_print_submit_button(
- __('Execute action'),
- 'submit_modules_action',
- false,
- 'class="sub next"'
- );
- echo '
';
echo '';
}
?>
@@ -1317,7 +1335,7 @@ if (check_acl_one_of_groups($config['id_user'], $all_groups, 'AW')) {