restyling

This commit is contained in:
daniel 2023-02-24 10:46:46 +01:00
parent 6d8b3c9b66
commit 3575e199b0
5 changed files with 14 additions and 15 deletions

View File

@ -448,10 +448,8 @@ function mainAgentsModules()
$filter_update = html_print_submit_button(__('Update item'), 'edit_item', false, 'class="sub upd"', true);
$onheader = [
'updated_time' => $updated_time,
'fullscreen' => $fullscreen,
'combo_module_groups' => $filter_module_groups,
'combo_groups' => $filter_groups,
'updated_time' => $updated_time,
'fullscreen' => $fullscreen,
];
/*
@ -467,7 +465,7 @@ function mainAgentsModules()
false,
'',
false,
(array) $updated_time,
$onheader,
[
[
'link' => '',
@ -479,12 +477,6 @@ function mainAgentsModules()
],
]
);
echo '<table class="w100p">';
echo '<tr>';
echo "<td> <span class='float-right'>".$fullscreen['text'].'</span> </td>';
echo '</tr>';
echo '</table>';
} else {
if ($full_agents_id[0]) {
$full_modules = urlencode(implode(';', $full_modules_selected));
@ -600,6 +592,7 @@ function mainAgentsModules()
$show_filters .= '</tr>';
$show_filters .= '</table>';
$show_filters .= '</form>';
ui_toggle(
$show_filters,
__('Filters ').ui_print_help_tip(__('Secondary groups and agent subgroups will be taken into account.'), true),
@ -758,7 +751,7 @@ function mainAgentsModules()
return;
}
echo '<table cellpadding="4" cellspacing="4" border="0" class="agents_modules_table w100p">';
echo '<table cellpadding="4" cellspacing="4" border="0" class="agents_modules_table w100p mrgn_btn_20px">';
echo '<tr>';

View File

@ -3784,7 +3784,8 @@ function ui_print_datatable(array $parameters)
}
// Move elements to table_action_buttons bar.
$(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers"));
$(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > #table_events_length"));
$(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > .dataTables_length"));
$(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > .dt-buttons"));
if (json.error) {
console.error(json.error);

View File

@ -1659,6 +1659,10 @@ td.datos2_id {
padding-bottom: 1px;
}
.p020 {
padding: 0 20px;
}
.w130,
#table-agent-configuration select {
width: 130px;

View File

@ -63,7 +63,7 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
$table = new StdClass();
$table->width = '100%';
$table->class = 'filter-table-adv';
$table->class = 'filter-table-adv p020';
$table->size = [];
$table->size[0] = '33%';
$table->size[1] = '33%';

View File

@ -439,7 +439,7 @@ if ($agent_view_page === true) {
[
'id' => 'alerts_status_datatable',
'class' => 'info_table',
'style' => 'width: 100%',
'style' => 'width: 99%',
'columns' => $columns,
'column_names' => $column_names,
'no_sortable_columns' => $no_sortable_columns,
@ -457,6 +457,7 @@ if ($agent_view_page === true) {
'zeroRecords' => __('No alerts found'),
'emptyTable' => __('No alerts found'),
'search_button_class' => 'sub filter float-right',
'filter_main_class' => 'box-flat white_table_graph fixed_filter_bar',
'form' => [
'html' => printFormFilterAlert(
$id_group,