Merge branch 'ent-6271-mejoras-de-ui-en-setup' into 'develop'

Multicolumn setup for performance and visual settings

See merge request artica/pandorafms!3921
This commit is contained in:
Daniel Rodriguez 2021-04-06 17:47:39 +00:00
commit 0fc3cb8714
3 changed files with 976 additions and 937 deletions

View File

@ -44,6 +44,9 @@ if (! check_acl($config['id_user'], 0, 'PM')
return;
}
// Load needed resources.
ui_require_css_file('setup.multicolumn');
$update_config = get_parameter('update_config', 0);
if ($update_config == 1 && $config['history_db_enabled'] == 1) {
if (! isset($config['history_db_connection'])
@ -649,7 +652,7 @@ $table_other->data[16][1] = html_print_input_text(
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>';
html_print_table($table_status);
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;
}