On rajoute les derniers modules et on modifie les CSS
This commit is contained in:
@@ -404,22 +404,14 @@
|
||||
<span>{l s='Country' mod='colissimo'}</span>
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="sender_country" class="chosen fixed-width-lg" style="display: none;">
|
||||
<select id="colissimo-country" name="sender_country" class="cls-chosen fixed-width-xl" style="display: none;">
|
||||
{foreach from=$address_countries key=iso item=name}
|
||||
<option value="{$iso|escape:'html':'UTF-8'}"
|
||||
{if $form_data['sender_country'] == $iso }selected{/if}>
|
||||
{$name|escape:'html':'UTF-8'}
|
||||
</option>
|
||||
<option value="{$iso|escape:'html':'UTF-8'}"
|
||||
{if $form_data['sender_country'] == $iso }selected{/if}>
|
||||
{$name|escape:'html':'UTF-8'}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<div class="chosen-container chosen-container-single chosen-container-single-nosearch"
|
||||
style="width: 250px;"
|
||||
title="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-9 col-lg-offset-3"></div>
|
||||
</div>
|
||||
@@ -576,7 +568,6 @@
|
||||
id="return-address2"
|
||||
name="return_address2"
|
||||
class="input fixed-width-xxl"
|
||||
required="required"
|
||||
value="{$form_data['return_address2']|escape:'htmlall':'UTF-8'}"
|
||||
data-maxchar="35"
|
||||
maxlength="35">
|
||||
@@ -596,7 +587,6 @@
|
||||
id="return-address3"
|
||||
name="return_address3"
|
||||
class="input fixed-width-xxl"
|
||||
required="required"
|
||||
value="{$form_data['return_address3']|escape:'htmlall':'UTF-8'}"
|
||||
data-maxchar="35"
|
||||
maxlength="35">
|
||||
@@ -616,7 +606,6 @@
|
||||
id="return-address4"
|
||||
name="return_address4"
|
||||
class="input fixed-width-xxl"
|
||||
required="required"
|
||||
value="{$form_data['return_address4']|escape:'htmlall':'UTF-8'}"
|
||||
data-maxchar="35"
|
||||
maxlength="35">
|
||||
@@ -664,7 +653,7 @@
|
||||
<span>{l s='Country' mod='colissimo'}</span>
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="return_country" class="chosen fixed-width-lg" style="display: none;">
|
||||
<select name="return_country" class="cls-chosen fixed-width-lg" style="display: none;">
|
||||
{foreach from=$address_countries key=iso item=name}
|
||||
<option value="{$iso|escape:'html':'UTF-8'}"
|
||||
{if $form_data['return_country'] == $iso }selected{/if}>
|
||||
@@ -672,20 +661,6 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<div class="chosen-container chosen-container-single chosen-container-single-nosearch"
|
||||
style="width: 100%;"
|
||||
title="">
|
||||
<a class="chosen-single" tabindex="-1">
|
||||
<span>France</span>
|
||||
<div><b></b></div>
|
||||
</a>
|
||||
<div class="chosen-drop">
|
||||
<div class="chosen-search">
|
||||
<input type="text" autocomplete="off" readonly="">
|
||||
</div>
|
||||
<ul class="chosen-results"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-9 col-lg-offset-3"></div>
|
||||
</div>
|
||||
@@ -729,7 +704,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<button type="submit" class="btn btn-default pull-right" name="submitColissimoreturnAddressConfigForm">
|
||||
<button type="submit" class="btn btn-default pull-right" name="submitColissimoReturnAddressConfigForm">
|
||||
<i class="process-icon-save"></i> {l s='Save' mod='colissimo'}
|
||||
</button>
|
||||
</div>
|
||||
@@ -757,5 +732,9 @@
|
||||
testWSCredentials(colissimoCheckCredentials);
|
||||
});
|
||||
});
|
||||
|
||||
$('select.cls-chosen').each(function(k, item){
|
||||
$(item).chosen({disable_search_threshold: 5, search_contains: true, width: '200px', });
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
Reference in New Issue
Block a user