diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index dfd2fbc30d..ee61cdaf79 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -516,14 +516,22 @@ if ($tab == 'tree') { $table = new StdClass(); $table->width = '100%'; $table->class = 'info_table'; + $table->headstyle = []; $table->head = []; $table->head[0] = __('ID'); + $table->headstyle[0] = 'min-width: 100px;'; $table->head[1] = __('Name'); + $table->headstyle[1] = 'min-width: 100px;'; $table->head[2] = __('Icon'); + $table->headstyle[2] = 'min-width: 100px;'; $table->head[3] = __('Alerts'); + $table->headstyle[3] = 'min-width: 100px;'; $table->head[4] = __('Parent'); + $table->headstyle[4] = 'min-width: 100px;'; $table->head[5] = __('Description'); + $table->headstyle[5] = 'min-width: 100px;'; $table->head[6] = __('Actions'); + $table->headstyle[6] = 'min-width: 100px;'; $table->align = []; $table->align[0] = 'left'; $table->align[2] = 'left'; diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index e8af78ed62..ffd980bf11 100755 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -760,6 +760,9 @@ switch ($action) { $table->head = []; $table->align = []; + $table->headstyle = []; + $table->style = []; + $table->align[2] = 'left'; $table->align[3] = 'left'; $table->align[4] = 'left'; @@ -775,7 +778,9 @@ switch ($action) { $table->size[4] = '2%'; $table->size[5] = '2%'; $table->size[6] = '2%'; - $table->size['csv'] = '5%'; + $table->size[7] = '5%'; + $table->headstyle[7] = 'min-width: 30px;'; + $table->style[7] = 'text-align: center;'; $next = 4; // Calculate dinamically the number of the column. @@ -814,7 +819,6 @@ switch ($action) { // $table->size = array (); $table->size[$next] = '10%'; $table->align[$next] = 'left'; - $table->headstyle[$next] = 'text-align:left;'; } $columnview = false; @@ -996,7 +1000,6 @@ switch ($action) { $table->head[$next] = ''.__('Op.').''.html_print_checkbox('all_delete', 0, false, true, false); $table->size = []; // $table->size[$next] = '80px'; - $table->style[$next] = 'text-align:left;'; } if ($edit) {