From 95834b2de7161ed7950653961442205d1feb2f01 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 23 Mar 2023 12:41:39 +0100 Subject: [PATCH] fixed styles --- .../godmode/agentes/configure_field.php | 219 ++++++++++-------- .../alerts/configure_alert_template.php | 26 +-- pandora_console/godmode/groups/group_list.php | 10 +- .../modules/manage_network_templates.php | 2 +- pandora_console/godmode/reporting/graphs.php | 2 +- pandora_console/godmode/setup/os.list.php | 36 ++- .../godmode/users/configure_user.php | 1 + pandora_console/include/ajax/module.php | 2 +- .../include/javascript/tree/TreeController.js | 17 +- pandora_console/include/styles/menu.css | 9 - .../agentes/interface_view.functions.php | 2 +- .../incidents/list_integriaims_incidents.php | 2 +- pandora_console/views/dashboard/list.php | 2 +- 13 files changed, 196 insertions(+), 134 deletions(-) diff --git a/pandora_console/godmode/agentes/configure_field.php b/pandora_console/godmode/agentes/configure_field.php index 3e38e5af2b..33aac95ccf 100755 --- a/pandora_console/godmode/agentes/configure_field.php +++ b/pandora_console/godmode/agentes/configure_field.php @@ -57,14 +57,33 @@ if ($id_field) { $combo_values = $field['combo_values'] ? $field['combo_values'] : ''; $is_combo_enable = $config['is_combo_enable']; $is_link_enabled = $field['is_link_enabled']; - ui_print_page_header(__('Update agent custom field'), 'images/custom_field.png', false, '', true, ''); + $header_title = __('Update agent custom field'); } else { - ui_print_page_header(__('Create agent custom field'), 'images/custom_field.png', false, '', true, ''); + $header_title = __('Create agent custom field'); } -$table = new stdClass(); -$table->class = 'databox'; -$table->id = 'configure_field'; +ui_print_standard_header( + $header_title, + 'images/custom_field.png', + false, + '', + true, + [], + [ + [ + 'link' => 'index.php?sec=gagente&sec2=godmode/agentes/fields_manager', + 'label' => __('Resources'), + ], + [ + 'link' => 'index.php?sec=gagente&sec2=godmode/agentes/fields_manager', + 'label' => __('Custom field'), + ], + [ + 'link' => '', + 'label' => __('Edit'), + ], + ] +); echo "