diff --git a/pandora_console/include/class/SnmpConsole.class.php b/pandora_console/include/class/SnmpConsole.class.php index 9e99cad7ef..7104958234 100644 --- a/pandora_console/include/class/SnmpConsole.class.php +++ b/pandora_console/include/class/SnmpConsole.class.php @@ -389,7 +389,7 @@ class SnmpConsole extends HTML [ 'id' => $tableId, 'class' => 'info_table', - 'style' => 'width: 100%', + 'style' => 'width: 99%', 'columns' => $columns, 'column_names' => $column_names, 'ajax_url' => $this->ajaxController, @@ -420,6 +420,7 @@ class SnmpConsole extends HTML 'fields' => $show_alerts, 'return' => true, 'selected' => $this->filter_alert, + 'style' => 'widht:100% !important', ], [ 'label' => __('Severity'), @@ -430,6 +431,7 @@ class SnmpConsole extends HTML 'fields' => $severities, 'return' => true, 'selected' => $this->filter_severity, + 'style' => 'widht:100%', ], [ 'label' => __('Free search'), @@ -448,6 +450,7 @@ class SnmpConsole extends HTML 'fields' => $status_array, 'return' => true, 'selected' => $this->filter_status, + 'style' => 'widht:100%', ], [ 'label' => __('Group by Enterprise String/IP'), @@ -483,6 +486,29 @@ class SnmpConsole extends HTML ], ], ], + 'pagination_options' => [ + [ + $config['block_size'], + 5, + 10, + 25, + 100, + 200, + 500, + 1000, + ], + [ + $config['block_size'], + 5, + 10, + 25, + 100, + 200, + 500, + 1000, + ], + ], + 'filter_main_class' => 'box-flat white_table_graph fixed_filter_bar', ] ); } catch (Exception $e) { diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 002c371b2e..f5b0810d67 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -6647,7 +6647,7 @@ form#form-filter-interfaces ul li.select-interfaces { } li .select2 { - max-width: 400px !important; + width: 100% !important; } div.graph td.legendLabel { @@ -10955,7 +10955,7 @@ pre.external_tools_output { margin-right: 10px; font-size: 10pt; } - +/* .filter_table input, .table_modal_alternate input, table.table_modal_alternate @@ -10964,7 +10964,7 @@ table.table_modal_alternate > span.select2-selection { height: 32px !important; } - +*/ .fixed_filter_bar .select2-selection__arrow, .filter_table .select2-selection__arrow, table.table_modal_alternate .select2-selection__arrow { diff --git a/pandora_console/include/styles/tables.css b/pandora_console/include/styles/tables.css index 8ac69ffa7d..82f0b5c3f6 100644 --- a/pandora_console/include/styles/tables.css +++ b/pandora_console/include/styles/tables.css @@ -401,7 +401,6 @@ a.pandora_pagination.current:hover { flex: 1; } .filter_input_datatable label { - width: 93px; max-width: 100%; } .filter_input_datatable .select2.select2-container { @@ -654,3 +653,14 @@ td#save_filter_form-1-0 > input#text-id_name, td#save_filter_form-1-1 > span { width: 300px !important; } + +div.filter-datatable-submain > form > ul > li { + display: grid; +} + +div.filter-datatable-submain > form > ul > li > label { + margin-bottom: 10px; + font-weight: bold; + line-height: 16px; + font-size: 13px; +}