From 0c494912a4ed9d89ae514ad5ede9fcbed3010186 Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Fri, 30 Aug 2013 11:51:57 +0200 Subject: [PATCH] // BO fix product tabs --- admin-dev/themes/default/css/admin-theme.css | 3 - admin-dev/themes/default/css/admin-theme.sass | 3 - .../controllers/products/associations.tpl | 152 +++++++++--------- .../products/helpers/form/form.tpl | 2 +- .../controllers/products/informations.tpl | 5 +- .../template/controllers/products/pack.tpl | 116 ++++++------- 6 files changed, 134 insertions(+), 147 deletions(-) diff --git a/admin-dev/themes/default/css/admin-theme.css b/admin-dev/themes/default/css/admin-theme.css index cfe5570a8..0fbc3ee52 100644 --- a/admin-dev/themes/default/css/admin-theme.css +++ b/admin-dev/themes/default/css/admin-theme.css @@ -6675,9 +6675,6 @@ html, body { margin: 0 0 -60px 0; background-color: #f8f8f8; } -.container-fluid, .row-fluid { - width: 100%; } - #content { padding: 90px 20px 0; margin-left: 240px; diff --git a/admin-dev/themes/default/css/admin-theme.sass b/admin-dev/themes/default/css/admin-theme.sass index ecd73c304..878360c0b 100755 --- a/admin-dev/themes/default/css/admin-theme.sass +++ b/admin-dev/themes/default/css/admin-theme.sass @@ -140,9 +140,6 @@ html, body background-color: $bg-content-color //background-image: url('../img/patterns/bedge_grunge.png') // texture -.container-fluid, .row-fluid - width: 100% - #content padding: 90px 20px 0 margin-left: 240px diff --git a/admin-dev/themes/default/template/controllers/products/associations.tpl b/admin-dev/themes/default/template/controllers/products/associations.tpl index 069065032..b8086fda1 100644 --- a/admin-dev/themes/default/template/controllers/products/associations.tpl +++ b/admin-dev/themes/default/template/controllers/products/associations.tpl @@ -24,92 +24,84 @@ *}
-
- -

{l s='Associations'}

- - {include file="controllers/products/multishop/check_fields.tpl" product_tab="Associations"} -
- {l s='Please select a default category.'} -
- -
- {include file="controllers/products/multishop/checkbox.tpl" field="category_box" type="category_box"} - -
-
- {$category_tree} -
- - {l s='Create new category'} - +

{l s='Associations'}

+ {include file="controllers/products/multishop/check_fields.tpl" product_tab="Associations"} +
+ {l s='Please select a default category.'} +
+
+ {include file="controllers/products/multishop/checkbox.tpl" field="category_box" type="category_box"} + +
+
+ {$category_tree}
+ + {l s='Create new category'} +
- -
- {include file="controllers/products/multishop/checkbox.tpl" field="id_category_default" type="default"} - -
- -
-
- -
- -
- - - -
- -
- -
-
-
- {* @todo : donot use 3 foreach, but assign var *} - {foreach from=$accessories item=accessory} - {$accessory.name|escape:'htmlall':'UTF-8'}{if !empty($accessory.reference)}{$accessory.reference}{/if} - - - +
+
+ {include file="controllers/products/multishop/checkbox.tpl" field="id_category_default" type="default"} + +
+ +
+
+
+ +
+ + + +
+ +
+
+
+ {* @todo : donot use 3 foreach, but assign var *} + {foreach from=$accessories item=accessory} + {$accessory.name|escape:'htmlall':'UTF-8'}{if !empty($accessory.reference)}{$accessory.reference}{/if} + + + + {/foreach} +
- -
- -
-
-
- -
- +
+
+ +
+
+
+ +
+
diff --git a/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl index 7c39d30ee..bdb22cef8 100644 --- a/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl @@ -63,7 +63,7 @@ {/block} {block name="defaultForm"} -
+
{foreach $product_tabs key=numStep item=tab} diff --git a/admin-dev/themes/default/template/controllers/products/informations.tpl b/admin-dev/themes/default/template/controllers/products/informations.tpl index f56637599..6b908eab7 100644 --- a/admin-dev/themes/default/template/controllers/products/informations.tpl +++ b/admin-dev/themes/default/template/controllers/products/informations.tpl @@ -264,7 +264,7 @@ {include file="controllers/products/multishop/checkbox.tpl" only_checkbox="true" field="online_only" type="default"}
{/if} -
+

@@ -281,7 +281,8 @@

-
+ +
{include file="controllers/products/multishop/checkbox.tpl" field="condition" type="default"}
diff --git a/admin-dev/themes/default/template/controllers/products/pack.tpl b/admin-dev/themes/default/template/controllers/products/pack.tpl index aa8dfbf17..7e37ac1d0 100644 --- a/admin-dev/themes/default/template/controllers/products/pack.tpl +++ b/admin-dev/themes/default/template/controllers/products/pack.tpl @@ -27,69 +27,69 @@ var msg_select_one = "{l s='Please select at least one product.' js=1}"; var msg_set_quantity = "{l s='Please set a quantity to add a product.' js=1}"; - -

{l s='Pack'}

-
{l s='You cannot add combinations to a pack.'}
-
- - -
+
+ +

{l s='Pack'}

+
{l s='You cannot add combinations to a pack.'}
-
- -
- -
- - +
+ +
-
- -
- -
- × - + +
+ +
+ +
+ + +
-
- -
-
- + +
+ +
+ × + +
-
- - - - -
- -
- -
-
    - {foreach $pack_items as $pack_item} -
  • - - {$pack_item.pack_quantity} x {$pack_item.name} -
  • - {/foreach} -
+
+
+ +
-
+ + + + +
+ +
+
    + {foreach $pack_items as $pack_item} +
  • + + {$pack_item.pack_quantity} x {$pack_item.name} +
  • + {/foreach} +
+
+
+