1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Page/Menu Overview column widths

This commit is contained in:
Cameron 2017-03-25 15:32:10 -07:00
parent 4463de3a37
commit 3a85433249
2 changed files with 12 additions and 3 deletions

View File

@ -638,20 +638,29 @@ class page_admin_ui extends e_admin_ui
$this->sortField = false;
$this->fields['menu_title']['width'] = 'auto';
$this->fields['menu_image']['readParms'] = 'thumb=60x55';
$this->fields['menu_image']['width'] = 'auto';
$this->fields['page_title']['width'] = 'auto';
$this->fields['options']['type'] = 'method';
foreach($this->fields as $k=>$fld)
foreach($this->fieldpref as $k)
{
$this->fields[$k]['nolist'] = false;
if($k === 'page_id')
{
continue;
}
if(strpos($k,'menu_') === 0)
{
$this->fields[$k]['class'] = 'menu-field '.$fld['class'];
$this->fields[$k]['class'] = 'menu-field '.$this->fields[$k]['class'];
}
$this->fields[$k]['width'] = '13%';
}
}

View File

@ -1549,7 +1549,7 @@ body#admin-menus #sc-admin-help .panel-body {
.e-image-preview { display:inline-block }
td img.thumbnail { margin-bottom:0 }