// Add row break to color element

This commit is contained in:
Jerome Nadaud
2013-09-26 16:43:57 +02:00
parent bc80846d7d
commit fa2f10ffc6
2 changed files with 23 additions and 13 deletions
@@ -528,13 +528,17 @@
{elseif $input.type == 'asso_shop' && isset($asso_shop) && $asso_shop}
{$asso_shop}
{elseif $input.type == 'color'}
<div class="input-group col-lg-2">
<input type="color"
data-hex="true"
{if isset($input.class)}class="{$input.class}"
{else}class="color mColorPickerInput"{/if}
name="{$input.name}"
value="{$fields_value[$input.name]|escape:'htmlall':'UTF-8'}" />
<div class="col-lg-2">
<div class="row">
<div class="input-group">
<input type="color"
data-hex="true"
{if isset($input.class)}class="{$input.class}"
{else}class="color mColorPickerInput"{/if}
name="{$input.name}"
value="{$fields_value[$input.name]|escape:'htmlall':'UTF-8'}" />
</div>
</div>
</div>
{elseif $input.type == 'date'}
<div class="row">
+12 -6
View File
@@ -73,7 +73,8 @@ class AdminStatusesControllerCore extends AdminController
$this->fields_list = array(
'id_order_state' => array(
'title' => $this->l('ID'),
'align' => 'center'
'align' => 'center',
'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Name'),
@@ -85,7 +86,8 @@ class AdminStatusesControllerCore extends AdminController
'align' => 'center',
'image' => 'os',
'orderby' => false,
'search' => false
'search' => false,
'class' => 'fixed-width-xs'
),
'send_email' => array(
'title' => $this->l('Send email to customer'),
@@ -95,7 +97,8 @@ class AdminStatusesControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'delivery' => array(
'title' => $this->l('Delivery'),
@@ -105,7 +108,8 @@ class AdminStatusesControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
)
,
'invoice' => array(
@@ -116,7 +120,8 @@ class AdminStatusesControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'template' => array(
'title' => $this->l('Email template')
@@ -140,7 +145,8 @@ class AdminStatusesControllerCore extends AdminController
$this->fields_list = array(
'id_order_return_state' => array(
'title' => $this->l('ID'),
'align' => 'center'
'align' => 'center',
'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Name'),