Commit fd1f3ba9 authored by bMancone's avatar bMancone

// Added translations + new design for AdminStockCover & AdminStockInstantState

parent a88c1005
......@@ -208,6 +208,14 @@ form#product_form, form#access_form, form#cart_rule_form { background-color:#e
.filter-module .select-filter { float:left;}
.filter-module .button-filter { float:right;}
/*FILTER STOCK*/
.filter-stock { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:25px;}
.filter-stock #stock_cover {float:left; margin-right:30px;}
.filter-stock #stock_instant_state {float:left; margin-right:30px;}
.filter-stock label {width:auto;}
.filter-stock .select-filter { float:left;}
.filter-stock .button-filter { float:right;}
/*ADDONS LOGIN*/
#addons_login_div { background: #EBEDF4 url(lock.png) no-repeat scroll left 5px;}
#addons_login_div form#addons_login_form { float:right;}
......
{extends file="helper/list/list_header.tpl"}
{block name=leadin}
{block name=override_header}
<div class="filter-stock">
<form id="stock_cover" type="get">
<input type="hidden" name="controller" value="AdminStockCover" />
<input type="hidden" name="token" value="{$token}" />
{if count($stock_cover_periods) > 1}
<div id="stock_cover_form_period">
<label for="coverage_period">{l s="Select a period:"}</label>
<select name="coverage_period" onChange="$(this).parent().parent().submit();">
<label for="coverage_period">{l s="Select a period and a warehouse:"}</label>
<select name="coverage_period" onChange="$(this).parent().submit();">
{foreach from=$stock_cover_periods key=k item=i}
<option {if $i == $stock_cover_cur_period} selected="selected"{/if} value="{$i}">{$k}</option>
{/foreach}
</select>
</div>
{/if}
{if count($stock_cover_warehouses) > 1}
<div id="stock_cover_form_warehouse">
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
<select name="id_warehouse" onChange="$(this).parent().parent().submit();">
<select name="id_warehouse" onChange="$(this).parent().submit();">
{foreach from=$stock_cover_warehouses key=k item=i}
<option {if $i.id_warehouse == $stock_cover_cur_warehouse} selected="selected"{/if} value="{$i.id_warehouse}">{$i.name}</option>
{/foreach}
</select>
</div>
{/if}
</form>
</div>
{/block}
{extends file="helper/list/list_header.tpl"}
{block name=leadin}
{block name=override_header}
<div class="filter-stock">
<form id="stock_instant_state" type="get">
<input type="hidden" name="controller" value="AdminStockInstantState" />
<input type="hidden" name="token" value="{$token}" />
......@@ -14,4 +15,5 @@
</div>
{/if}
</form>
</div>
{/block}
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment