// changes to table width

This commit is contained in:
tDidierjean
2011-11-04 12:52:52 +00:00
parent f98f8b3249
commit 38bd34ffdf
3 changed files with 25 additions and 19 deletions
@@ -52,11 +52,11 @@ class AdminCategoriesControllerCore extends AdminController
'id_category' => array( 'id_category' => array(
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'align' => 'center', 'align' => 'center',
'width' => 30 'width' => 20
), ),
'name' => array( 'name' => array(
'title' => $this->l('Name'), 'title' => $this->l('Name'),
'width' => 100 'width' => 'auto'
), ),
'description' => array( 'description' => array(
'title' => $this->l('Description'), 'title' => $this->l('Description'),
@@ -77,6 +77,7 @@ class AdminCategoriesControllerCore extends AdminController
'active' => 'status', 'active' => 'status',
'align' => 'center', 'align' => 'center',
'type' => 'bool', 'type' => 'bool',
'width' => 70,
'orderby' => false 'orderby' => false
) )
); );
@@ -53,31 +53,36 @@ class AdminManufacturersControllerCore extends AdminController
'title' => $this->l('ID'), 'title' => $this->l('ID'),
'width' => 25 'width' => 25
), ),
'name' => array(
'title' => $this->l('Name'),
'width' => 200
),
'logo' => array( 'logo' => array(
'title' => $this->l('Logo'), 'title' => $this->l('Logo'),
'image' => 'm', 'image' => 'm',
'orderby' => false, 'orderby' => false,
'search' => false 'search' => false,
'width' => 150,
'align' => 'center',
),
'name' => array(
'title' => $this->l('Name'),
'width' => 'auto'
), ),
'addresses' => array( 'addresses' => array(
'title' => $this->l('Addresses'), 'title' => $this->l('Addresses'),
'tmpTableFilter' => true, 'tmpTableFilter' => true,
'width' => 20 'width' => 20,
'align' => 'center',
), ),
'products' => array( 'products' => array(
'title' => $this->l('Products'), 'title' => $this->l('Products'),
'tmpTableFilter' => true, 'tmpTableFilter' => true,
'width' => 20 'width' => 20,
'align' => 'center',
), ),
'active' => array( 'active' => array(
'title' => $this->l('Enabled'), 'title' => $this->l('Enabled'),
'width' => 25, 'width' => 70,
'active' => 'status', 'active' => 'status',
'type' => 'bool', 'type' => 'bool',
'align' => 'center',
'orderby' => false 'orderby' => false
) )
); );
@@ -148,7 +153,7 @@ class AdminManufacturersControllerCore extends AdminController
), ),
'manufacturer_name' => array( 'manufacturer_name' => array(
'title' => $this->l('Manufacturer'), 'title' => $this->l('Manufacturer'),
'width' => 100 'width' => 'auto'
), ),
'firstname' => array( 'firstname' => array(
'title' => $this->l('First name'), 'title' => $this->l('First name'),
@@ -45,10 +45,10 @@ class AdminSuppliersControllerCore extends AdminController
$this->fieldsDisplay = array( $this->fieldsDisplay = array(
'id_supplier' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), 'id_supplier' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
'name' => array('title' => $this->l('Name'), 'width' => 120), 'logo' => array('title' => $this->l('Logo'), 'width' => 150, 'align' => 'center', 'image' => 'su', 'orderby' => false, 'search' => false),
'logo' => array('title' => $this->l('Logo'), 'align' => 'center', 'image' => 'su', 'orderby' => false, 'search' => false), 'name' => array('title' => $this->l('Name'), 'width' => 'auto'),
'products' => array('title' => $this->l('Number of products'), 'align' => 'right', 'filter_type' => 'int', 'tmpTableFilter' => true), 'products' => array('title' => $this->l('Number of products'), 'width' => 70, 'align' => 'right', 'filter_type' => 'int', 'tmpTableFilter' => true),
'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false) 'active' => array('title' => $this->l('Enabled'), 'width' => 70, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false)
); );
parent::__construct(); parent::__construct();