Minor fixes

This commit is contained in:
Jose Gonzalez 2023-03-13 09:35:12 +01:00
parent 60f8c9bc95
commit bbec6a92a4
3 changed files with 17 additions and 14 deletions

View File

@ -262,10 +262,7 @@ if ($is_management_allowed === true) {
[ 'icon' => 'next' ],
true
),
[
'type' => 'form_action',
'right_content' => $tablePagination,
]
[ 'right_content' => $tablePagination ]
);
echo '</form>';

View File

@ -727,8 +727,8 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
false,
false,
'',
'white-box-content',
'white_table_flex margin-bottom-10 border-bottom-gray'
'white-box-content mrgn_top_0 mrgn_btn_0px',
'white_table_flex'
);
if ($config['agentaccess']) {
@ -747,8 +747,8 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
true,
false,
'',
'white-box-content border-bottom-gray',
'white_table_flex margin-top-10 margin-bottom-10'
'white-box-content mrgn_top_0 mrgn_btn_0px border-bottom-gray',
'white_table_flex'
);
}
@ -920,8 +920,8 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
true,
false,
'',
'white-box-content border-bottom-gray',
'white_table_flex margin-top-10 margin-bottom-10'
'white-box-content mrgn_top_0 mrgn_btn_0px border-bottom-gray',
'white_table_flex'
);
if (empty($server_data) === false && is_metaconsole() === true) {

View File

@ -4327,7 +4327,10 @@ function ui_toggle(
$image_a = html_print_image(
$img_a,
true,
[ 'style' => 'rotate: '.$rotateA ],
[
'class' => 'mrgn_right_10px',
'style' => 'rotate: '.$rotateA,
],
true
);
} else {
@ -4338,7 +4341,10 @@ function ui_toggle(
$image_b = html_print_image(
$img_b,
true,
[ 'style' => 'rotate: '.$rotateB ],
[
'class' => 'mrgn_right_10px',
'style' => 'margin-right:10px; rotate: '.$rotateB,
],
true
);
} else {
@ -4401,7 +4407,7 @@ function ui_toggle(
$original,
true,
[
'class' => 'float-left main_menu_icon',
'class' => 'float-left main_menu_icon mrgn_right_10px',
'style' => 'object-fit: contain; margin-right:10px; rotate:'.$imageRotate,
'title' => $title,
'id' => 'image_'.$uniqid,
@ -4433,7 +4439,7 @@ function ui_toggle(
$original,
true,
[
'class' => 'main_menu_icon',
'class' => 'main_menu_icon mrgn_right_10px',
'style' => 'object-fit: contain; float:right; margin-right:10px; rotate:'.$imageRotate,
'title' => $title,
'id' => 'image_'.$uniqid,