restyling

This commit is contained in:
daniel 2023-02-23 11:00:38 +01:00
parent c1342fb6a1
commit e672ba141b
2 changed files with 42 additions and 29 deletions

View File

@ -521,17 +521,25 @@ a.pandora_pagination.current:hover {
margin: 0 1em; margin: 0 1em;
} }
table.nueva-clase td > div { table.filter-table-adv {
max-width: 1024px;
}
table.filter-table-adv td > div {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: normal; align-items: normal;
} }
table.nueva-clase td > div label { table.filter-table-adv td > div label {
color: #161628; color: #161628;
font-size: 13px; font-size: 13px;
line-height: 16px; line-height: 16px;
text-align: left; text-align: left;
margin-bottom: 10px; margin-bottom: 10px;
} }
/*
padding-right: calc(100% - 1024px);
*/

View File

@ -232,36 +232,40 @@ $searchForm .= '<form method="post" action="?sec=view&sec2=operation/agentes/est
$table = new stdClass(); $table = new stdClass();
$table->width = '100%'; $table->width = '100%';
$table->class = 'nueva-clase'; $table->size = [];
$table->size[0] = '33%';
$table->size[1] = '33%';
$table->size[2] = '33%';
$table->class = 'filter-table-adv';
$table->data['group'][0] = '<div>'; $table->data['group'][0] = html_print_label_input_block(
$table->data['group'][0] .= '<label>'.__('Group').'</label>'; __('Group'),
$table->data['group'][0] .= html_print_select_groups( html_print_select_groups(
false, false,
$access, $access,
true, true,
'group_id', 'group_id',
$group_id, $group_id,
'this.form.submit()', 'this.form.submit()',
'', '',
'', '',
true, true,
false, false,
true, true,
'', '',
false false
)
); );
$table->data['group'][0] .= '</div>';
$table->data['group'][1] = '<div>'; $table->data['group'][1] = html_print_label_input_block(
$table->data['group'][1] .= '<label>'.__('Recursion').'</label>'; __('Recursion'),
$table->data['group'][1] .= html_print_checkbox_switch( html_print_checkbox_switch(
'recursion', 'recursion',
1, 1,
$recursion, $recursion,
true true
)
); );
$table->data['group'][1] .= '</div>';
$table->data['group'][2] = html_print_label_input_block( $table->data['group'][2] = html_print_label_input_block(
__('Status'), __('Status'),
@ -276,7 +280,8 @@ $table->data['group'][2] = html_print_label_input_block(
false, false,
true, true,
'', '',
false false,
'width: 100%'
) )
); );