//Porting more components to bootstrap
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<div class="conf">{l s='Beginning the download ...'}</div>
|
||||
<div class="alert">{l s='Beginning the download ...'}</div>
|
||||
|
||||
<p>{l s='Backup files should automatically download.'}</p>
|
||||
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
<div class="control-group">
|
||||
<label class="control-label">{l s='Limit to a single customer'}</label>
|
||||
<label class="control-label">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
title="{l s='Optional: The cart rule will be available to everyone if you leave this field blank.'}">
|
||||
{l s='Limit to a single customer'}
|
||||
</span>
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input type="hidden" id="id_customer" name="id_customer" value="{$currentTab->getFieldValue($currentObject, 'id_customer')|intval}" />
|
||||
<input type="text" id="customerFilter" class="input-large" name="customerFilter" value="{$customerFilter|escape:'htmlall':'UTF-8'}" />
|
||||
<span class="help-block">{l s='Optional: The cart rule will be available to everyone if you leave this field blank.'}</span>
|
||||
<input type="text" id="customerFilter" class="input-xlarge" name="customerFilter" value="{$customerFilter|escape:'htmlall':'UTF-8'}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">{l s='Valid'}</label>
|
||||
<label class="control-label">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
title="{l s='The default period is one month.'}">
|
||||
{l s='Valid'}
|
||||
</span>
|
||||
</label>
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on">{l s='From'}</span>
|
||||
@@ -20,12 +29,16 @@
|
||||
<input type="text" class="datepicker input-medium" name="date_to"
|
||||
value="{if $currentTab->getFieldValue($currentObject, 'date_to')}{$currentTab->getFieldValue($currentObject, 'date_to')|escape}{else}{$defaultDateTo}{/if}" />
|
||||
</div>
|
||||
<span class="help-block">{l s='The default period is one month.'}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">{l s='Minimum amount'}</label>
|
||||
<label class="control-label">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
title="{l s='You can choose a minimum amount for the cart either with or without the taxes and shipping.'}">
|
||||
{l s='Minimum amount'}
|
||||
</span>
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-mini" name="minimum_amount" value="{$currentTab->getFieldValue($currentObject, 'minimum_amount')|floatval}" />
|
||||
<select name="minimum_amount_currency" class="input-small">
|
||||
@@ -40,7 +53,7 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select name="minimum_amount_tax" class="input-medium">
|
||||
<select name="minimum_amount_tax" class="input-small">
|
||||
<option value="0" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_tax') == 0}selected="selected"{/if}>{l s='Tax excluded'}</option>
|
||||
<option value="1" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_tax') == 1}selected="selected"{/if}>{l s='Tax included'}</option>
|
||||
</select>
|
||||
@@ -48,29 +61,35 @@
|
||||
<option value="0" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_shipping') == 0}selected="selected"{/if}>{l s='Shipping excluded'}</option>
|
||||
<option value="1" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_shipping') == 1}selected="selected"{/if}>{l s='Shipping included'}</option>
|
||||
</select>
|
||||
<span class="help-block">{l s='You can choose a minimum amount for the cart either with or without the taxes and shipping.'}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">{l s='Total available'}</label>
|
||||
<label class="control-label">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
title="{l s='The cart rule will be applied to the first "X" customers only.'}">
|
||||
{l s='Total available'}
|
||||
</span>
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-mini" name="quantity" value="{$currentTab->getFieldValue($currentObject, 'quantity')|intval}" />
|
||||
<span class="help-inline">{l s='The cart rule will be applied to the first "X" customers only.'}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">{l s='Total available for each user.'}</label>
|
||||
<label class="control-label">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
title="{l s='A customer will only be able to use the cart rule "X" time(s).'}">
|
||||
{l s='Total available for each user.'}
|
||||
</span>
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-mini" name="quantity_per_user" value="{$currentTab->getFieldValue($currentObject, 'quantity_per_user')|intval}" />
|
||||
<span class="help-inline">{l s='A customer will only be able to use the cart rule "X" time(s).'}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
|
||||
{if $countries.unselected|@count + $countries.selected|@count > 1}
|
||||
<div class="controls well">
|
||||
<label class="checkbox">
|
||||
|
||||
@@ -52,8 +52,10 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input class="input-medium" type="text" id="code" name="code" value="{$currentTab->getFieldValue($currentObject, 'code')|escape}" />
|
||||
<a href="javascript:gencode(8);" class="btn"><i class="icon-random"></i> {l s='Generate random code'}</a>
|
||||
<div class="input-append">
|
||||
<input class="input-medium" type="text" id="code" name="code" value="{$currentTab->getFieldValue($currentObject, 'code')|escape}" />
|
||||
<a href="javascript:gencode(8);" class="btn"><i class="icon-random"></i> {l s='Generate'}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
<p>{l s='Click to synchronize mail automatically'}</p>
|
||||
<div id="ajax_loader"></div>
|
||||
<div class="error" style="display:none" id="ajax_error"></div>
|
||||
<div class="conf" style="display:none" id="ajax_conf"></div>
|
||||
<div class="alert" style="display:none" id="ajax_conf"></div>
|
||||
</div>
|
||||
</fieldset><br/>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
if (json.missing.length || json.updated.length)
|
||||
$('#changedFiles').html('<div class="alert alert-block">{l s='Changed/missing files have been detected.'}</div>');
|
||||
else
|
||||
$('#changedFiles').html('<div class="conf">{l s='No change has been detected in your files'}</div>');
|
||||
$('#changedFiles').html('<div class="alert">{l s='No change has been detected in your files'}</div>');
|
||||
|
||||
$.each(tab, function(key, lang)
|
||||
{
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<p class="desc">{if isset($module->description) && $module->description ne ''}{l s='Description'} : {$module->description}{else} {/if}</p>
|
||||
{if isset($module->message)}<div class="conf">{$module->message}</div>{/if}
|
||||
{if isset($module->message)}<div class="alert">{$module->message}</div>{/if}
|
||||
<div class="row-actions-module">
|
||||
{if !isset($module->not_on_disk)}
|
||||
{$module->optionsHtml}
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
{if $show_quantities == true}
|
||||
<div class="alert alert-block" id="available_quantity_ajax_msg" style="display: none;"></div>
|
||||
<div class="error" id="available_quantity_ajax_error_msg" style="display: none;"></div>
|
||||
<div class="conf" id="available_quantity_ajax_success_msg" style="display: none;"></div>
|
||||
<div class="alert" id="available_quantity_ajax_success_msg" style="display: none;"></div>
|
||||
|
||||
<table cellpadding="5" style="width:100%">
|
||||
<tbody>
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
{if $up_filename}
|
||||
<input type="hidden" id="virtual_product_filename" name="virtual_product_filename" value="{$up_filename}" />
|
||||
{/if}
|
||||
<div class="conf">
|
||||
<div class="alert">
|
||||
<script>
|
||||
delete_this_file = '{l s='Delete this file'}';
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user