diff --git a/pandora_console/godmode/setup/links.php b/pandora_console/godmode/setup/links.php
index f1a5e9fca2..7bd589fe27 100644
--- a/pandora_console/godmode/setup/links.php
+++ b/pandora_console/godmode/setup/links.php
@@ -25,7 +25,20 @@ if (! check_acl($config['id_user'], 0, 'PM') && ! is_user_admin($config['id_user
}
// Header
-ui_print_page_header(__('Link management'), 'images/extensions.png', false, '', true, '');
+ui_print_standard_header(
+ __('Admin tools'),
+ 'images/extensions.png',
+ false,
+ '',
+ true,
+ [],
+ [
+ [
+ 'link' => '',
+ 'label' => __('Link management'),
+ ],
+ ]
+);
if (isset($_POST['create'])) {
@@ -98,7 +111,7 @@ if ((isset($_GET['form_add'])) or (isset($_GET['form_edit']))) {
$link = '';
}
- echo '
';
+ echo '';
- echo "";
- echo "";
if (isset($_GET['form_add']) === true) {
$actionForPerform = __('Create');
$iconForPerform = 'wand';
@@ -131,16 +169,14 @@ if ((isset($_GET['form_add'])) or (isset($_GET['form_edit']))) {
$iconForPerform = 'update';
}
- html_print_div(
- [
- 'class' => 'action-buttons',
- 'content' => html_print_submit_button(
- $actionForPerform,
- 'crtbutton',
- false,
- [ 'icon' => $iconForPerform ]
- ),
- ],
+ html_print_action_buttons(
+ html_print_submit_button(
+ $actionForPerform,
+ 'crtbutton',
+ false,
+ [ 'icon' => $iconForPerform ],
+ true
+ )
);
echo ' |
';
@@ -185,16 +221,14 @@ if ((isset($_GET['form_add'])) or (isset($_GET['form_edit']))) {
echo "";
echo " |
';
diff --git a/pandora_console/include/class/Diagnostics.class.php b/pandora_console/include/class/Diagnostics.class.php
index 02bec5060d..f7a660f2c4 100644
--- a/pandora_console/include/class/Diagnostics.class.php
+++ b/pandora_console/include/class/Diagnostics.class.php
@@ -155,13 +155,19 @@ class Diagnostics extends Wizard
];
// Header.
- ui_print_page_header(
- __('%s Diagnostic tool', $this->product_name),
+ ui_print_standard_header(
+ __('Admin tools'),
'images/gm_massive_operations.png',
false,
'',
true,
- $header_buttons
+ $header_buttons,
+ [
+ [
+ 'link' => '',
+ 'label' => __('%s Diagnostic tool', $this->product_name),
+ ],
+ ]
);
// Print all Methods Diagnostic Info.
@@ -1569,7 +1575,7 @@ class Diagnostics extends Wizard
[
'id' => $tableId,
'class' => 'info_table caption_table',
- 'style' => 'width: 100%',
+ 'style' => 'width: 99%',
'columns' => $columns,
'column_names' => $columnNames,
'ajax_data' => [
diff --git a/pandora_console/include/styles/diagnostics.css b/pandora_console/include/styles/diagnostics.css
index 6591adabff..706038cbd0 100644
--- a/pandora_console/include/styles/diagnostics.css
+++ b/pandora_console/include/styles/diagnostics.css
@@ -8,8 +8,8 @@
text-align: center;
font-size: 1.5em;
font-weight: bolder;
- color: #fff;
- background: #282828;
+ color: #000;
+ background: var(--secondary-color);
padding: 8px;
}
diff --git a/pandora_console/include/styles/omnishell.css b/pandora_console/include/styles/omnishell.css
index 03810e9a89..7d97fdd866 100644
--- a/pandora_console/include/styles/omnishell.css
+++ b/pandora_console/include/styles/omnishell.css
@@ -489,14 +489,6 @@ li > .select2-selection {
padding: 0px !important;
}
-.box-flat {
- margin: 20px;
-}
-
-.mrgn_20px {
- margin: 20px !important;
-}
-
.omnishell_results_wrapper {
max-width: 100% !important;
}
@@ -547,10 +539,6 @@ ul.datatable_filter > li > div.action-buttons > button {
height: auto !important;
}
-.action_buttons_right_content {
- padding-left: 20px;
-}
-
#image-1,
#image-2 {
padding-left: 0px !important;
@@ -560,10 +548,6 @@ ul.datatable_filter > li > div.action-buttons > button {
margin-bottom: 10px !important;
}
-.dataTables_length {
- margin-bottom: 50px !important;
-}
-
.item_status_tree_view {
position: initial;
}