Multicolumn setup for performance and visual settings

This commit is contained in:
fbsanchez 2021-03-16 13:00:24 +01:00
parent f880e0632d
commit 2862afb7f5
3 changed files with 976 additions and 937 deletions

View File

@ -41,6 +41,9 @@ if (! check_acl($config['id_user'], 0, 'PM')
return; return;
} }
// Load needed resources.
ui_require_css_file('setup.multicolumn');
$update_config = get_parameter('update_config', 0); $update_config = get_parameter('update_config', 0);
if ($update_config == 1 && $config['history_db_enabled'] == 1) { if ($update_config == 1 && $config['history_db_enabled'] == 1) {
if (! isset($config['history_db_connection']) if (! isset($config['history_db_connection'])
@ -679,7 +682,7 @@ $table_other->data[16][1] = html_print_input_text(
echo '<form id="form_setup" method="post">'; echo '<form id="form_setup" method="post">';
echo '<fieldset>'; echo '<fieldset class="full-column">';
echo '<legend>'.__('Database maintenance status').' '.ui_print_help_icon('database_maintenance_status_tab', true).'</legend>'; echo '<legend>'.__('Database maintenance status').' '.ui_print_help_icon('database_maintenance_status_tab', true).'</legend>';
html_print_table($table_status); html_print_table($table_status);
echo '</fieldset>'; echo '</fieldset>';

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
#form_setup {
display: flex;
flex-direction: row;
justify-items: baseline;
justify-content: space-between;
flex-wrap: wrap;
}
fieldset {
background-color: #fff;
border: 1px solid #e2e2e2;
padding: 0.5em;
margin: 0px 1em;
margin-bottom: 20px;
position: relative;
border-radius: 5px;
flex: 1 1 700px;
}
.full-column {
width: 100%;
flex: none;
margin: 0 0 20px;
}