// Advanced parameters bootstrap design
This commit is contained in:
@@ -38,13 +38,13 @@ class AdminBackupControllerCore extends AdminController
|
||||
parent::__construct();
|
||||
|
||||
$this->fields_list = array (
|
||||
'date' => array('title' => $this->l('Date'), 'type' => 'datetime', 'width' => 120, 'align' => 'right'),
|
||||
'date' => array('title' => $this->l('Date'), 'type' => 'datetime'),
|
||||
'age' => array('title' => $this->l('Age')),
|
||||
'filename' => array('title' => $this->l('File name'), 'width' => 200),
|
||||
'filesize' => array('title' => $this->l('File size'))
|
||||
'filename' => array('title' => $this->l('File name')),
|
||||
'filesize' => array('title' => $this->l('File size'), 'class' => 'fixed-width-sm')
|
||||
);
|
||||
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'), 'icon' => 'icon-trash'));
|
||||
|
||||
$this->fields_options = array(
|
||||
'general' => array(
|
||||
|
||||
@@ -40,7 +40,7 @@ class AdminEmailsControllerCore extends AdminController
|
||||
$this->fields_options = array(
|
||||
'email' => array(
|
||||
'title' => $this->l('Email'),
|
||||
'icon' => 'email',
|
||||
'icon' => 'icon-envelope',
|
||||
'fields' => array(
|
||||
'PS_MAIL_EMAIL_MESSAGE' => array(
|
||||
'title' => $this->l('Send email to'),
|
||||
@@ -78,7 +78,6 @@ class AdminEmailsControllerCore extends AdminController
|
||||
),
|
||||
'smtp' => array(
|
||||
'title' => $this->l('Email'),
|
||||
'icon' => 'email',
|
||||
'top' => '<div id="smtp" style="display: '.((Configuration::get('PS_MAIL_METHOD') == 2) ? 'block' : 'none').';">',
|
||||
'bottom' => '</div>',
|
||||
'fields' => array(
|
||||
@@ -147,7 +146,6 @@ class AdminEmailsControllerCore extends AdminController
|
||||
),
|
||||
'test' => array(
|
||||
'title' => $this->l('Test your email configuration'),
|
||||
'icon' => 'email',
|
||||
'fields' => array(
|
||||
'PS_SHOP_EMAIL' => array(
|
||||
'title' => $this->l('Send a test email to'),
|
||||
|
||||
@@ -45,9 +45,9 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
$this->context = Context::getContext();
|
||||
|
||||
$this->fields_list = array(
|
||||
'id_request_sql' => array('title' => $this->l('ID'), 'width' => 25),
|
||||
'name' => array('title' => $this->l('Name'), 'width' => 300),
|
||||
'sql' => array('title' => $this->l('Request'), 'width' => 500)
|
||||
'id_request_sql' => array('title' => $this->l('ID'), 'class' => 'fixed-width-xs'),
|
||||
'name' => array('title' => $this->l('Name')),
|
||||
'sql' => array('title' => $this->l('Request'))
|
||||
);
|
||||
|
||||
$this->fields_options = array(
|
||||
@@ -95,8 +95,6 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
|
||||
if ($this->display == 'options')
|
||||
unset($this->toolbar_btn['new']);
|
||||
else
|
||||
unset($this->toolbar_btn['save']);
|
||||
}
|
||||
|
||||
public function renderList()
|
||||
@@ -127,7 +125,8 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
{
|
||||
$this->fields_form = array(
|
||||
'legend' => array(
|
||||
'title' => $this->l('Request')
|
||||
'title' => $this->l('Request'),
|
||||
'icon' => 'icon-cog'
|
||||
),
|
||||
'input' => array(
|
||||
array(
|
||||
@@ -212,6 +211,8 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
$view['key'] = $tab_key;
|
||||
$view['results'] = $results;
|
||||
|
||||
$this->toolbar_title = $obj->name;
|
||||
|
||||
$request_sql = new RequestSql();
|
||||
$view['attributes'] = $request_sql->attributes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user