added a div around default admin site configuration and some default styling for it

This commit is contained in:
Ralf Becker 2014-02-05 17:26:17 +00:00
parent 66cddfbd61
commit 60adf9ff47
2 changed files with 11 additions and 2 deletions

View File

@ -262,13 +262,14 @@ class uiconfig
($GLOBALS['egw']->acl->check('site_config_access',2,'admin') ? '' : ($GLOBALS['egw']->acl->check('site_config_access',2,'admin') ? '' :
html::submit_button('save', 'Save'). html::submit_button('save', 'Save').
html::submit_button('apply', 'Apply'))); html::submit_button('apply', 'Apply')));
$t->set_var('cancel', html::submit_button('cancel', lang('Cancel')).'</div>'); $t->set_var('cancel', html::submit_button('cancel', 'Cancel').'</div>');
// render the page // render the page
$GLOBALS['egw']->framework->render( $GLOBALS['egw']->framework->render(
'<div id="admin-config-'.$appname.'" class="admin-config">'.
$t->parse('out','header'). $t->parse('out','header').
$t->fp('out','body'). $t->fp('out','body').
$t->fp('out','footer'), $t->fp('out','footer').'</div>',
null,true null,true
); );
} }

View File

@ -941,4 +941,12 @@ div.client_error_log tr.hidden td.stack > div {
} }
div.client_error_log tr td.stack > div { div.client_error_log tr td.stack > div {
white-space: pre; white-space: pre;
}
/**
* configuration
*/
div.admin-config form > table {
width: 100%;
padding: 5px;
} }