SNMP console view fix

This commit is contained in:
Jonathan 2023-02-24 12:00:02 +01:00
parent 5e25f96c76
commit c56aac317a
3 changed files with 41 additions and 5 deletions

View File

@ -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) {

View File

@ -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 {

View File

@ -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;
}