// Btn-primary replacement
This commit is contained in:
1 parent
766e409476
commit
f336cc599b
26 files changed
+34
-36
No files matched your search
@@ -29,9 +29,7 @@
|
|||||||
{include file='controllers/cart_rules/actions.tpl'}
|
{include file='controllers/cart_rules/actions.tpl'}
|
||||||
{include file="footer_toolbar.tpl"}
|
{include file="footer_toolbar.tpl"}
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary btn-large pull-right" name="submitAddcart_rule" id="{$table|escape}_form_submit_btn">
|
<button type="submit" class="btn btn-default pull-right" name="submitAddcart_rule" id="{$table|escape}_form_submit_btn">{l s='Save'}
|
||||||
<i class="icon-save"></i>
|
|
||||||
{l s='Save'}
|
|
||||||
</button>
|
</button>
|
||||||
<!--<input type="submit" value="{l s='Save and stay'}" class="button" name="submitAddcart_ruleAndStay" id="" />-->
|
<!--<input type="submit" value="{l s='Save and stay'}" class="button" name="submitAddcart_ruleAndStay" id="" />-->
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -361,7 +361,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<button type="submit" id="submitCustomerNote" class="btn btn-primary pull-right" disabled="disabled" /><i class="icon-save"></i> {l s='Save'}</button>
|
<button type="submit" id="submitCustomerNote" class="btn btn-default pull-right" disabled="disabled" /><i class="icon-save"></i> {l s='Save'}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span id="note_feedback"></span>
|
<span id="note_feedback"></span>
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-9 col-lg-push-3">
|
<div class="col-lg-9 col-lg-push-3">
|
||||||
<input type="Submit" name="submitRegenerate{$table}" value="{l s='Regenerate thumbnails'}" class="btn btn-primary" onclick="return confirm('{l s='Are you sure?'}');" />
|
<input type="Submit" name="submitRegenerate{$table}" value="{l s='Regenerate thumbnails'}" class="btn btn-default" onclick="return confirm('{l s='Are you sure?'}');" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12 pull-right">
|
<div class="col-lg-12 pull-right">
|
||||||
<input type="Submit" name="submitMoveImages{$table}" value="{l s='Move images'}" class="btn btn-primary" onclick="return confirm('{l s='Are you sure?'}');" />
|
<input type="Submit" name="submitMoveImages{$table}" value="{l s='Move images'}" class="btn btn-default" onclick="return confirm('{l s='Are you sure?'}');" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
<input type="hidden" name="id_module" value="{$id_module}" />
|
<input type="hidden" name="id_module" value="{$id_module}" />
|
||||||
<input type="hidden" name="id_hook" value="{$id_hook}" />
|
<input type="hidden" name="id_hook" value="{$id_hook}" />
|
||||||
{/if}
|
{/if}
|
||||||
<input type="submit" value="{l s='Save'}" name="{if $edit_graft}submitEditGraft{else}submitAddToHook{/if}" id="{$table}_form_submit_btn" class="btn btn-primary" />
|
<input type="submit" value="{l s='Save'}" name="{if $edit_graft}submitEditGraft{else}submitAddToHook{/if}" id="{$table}_form_submit_btn" class="btn btn-default" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -119,7 +119,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pull-right">
|
<div class="row pull-right">
|
||||||
<button type="submit" class="btn btn-primary" name="submitModule{$list['name_id']}">
|
<button type="submit" class="btn btn-default" name="submitModule{$list['name_id']}">
|
||||||
<i class="icon-save"></i>
|
<i class="icon-save"></i>
|
||||||
{l s='Save restrictions'}
|
{l s='Save restrictions'}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -258,7 +258,7 @@
|
|||||||
|
|
||||||
<input type="hidden" name="id_product_attribute" id="id_product_attribute" value="0" />
|
<input type="hidden" name="id_product_attribute" id="id_product_attribute" value="0" />
|
||||||
<input type="hidden" name="key_tab" id="key_tab" value="Informations" />
|
<input type="hidden" name="key_tab" id="key_tab" value="Informations" />
|
||||||
<button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-primary">{l s='Save'}</button>
|
<button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-default">{l s='Save'}</button>
|
||||||
{include file="footer_toolbar.tpl"}
|
{include file="footer_toolbar.tpl"}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<input type="submit" class="btn btn-primary" name="submitBulk" id="submitBulk" value="{l s='Apply'}" />
|
<input type="submit" class="btn btn-default" name="submitBulk" id="submitBulk" value="{l s='Apply'}" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{else}
|
{else}
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<input type="submit" class="btn btn-primary" name="submitBulk{$key}{$table}" value="{$params.text}" {if isset($params.confirm)}onclick="return confirm('{$params.confirm}');"{/if} />
|
<input type="submit" class="btn btn-default" name="submitBulk{$key}{$table}" value="{$params.text}" {if isset($params.confirm)}onclick="return confirm('{$params.confirm}');"{/if} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|||||||
@@ -57,6 +57,6 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<button class="btn btn-primary pull-right" type="submit" name="submitFields"><i class="icon-save"></i> {l s='Save'}</button>
|
<button class="btn btn-default pull-right" type="submit" name="submitFields"><i class="icon-save"></i> {l s='Save'}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@@ -149,7 +149,7 @@ class AdminAddressesControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save '),
|
'title' => $this->l('Save '),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$id_customer = (int)Tools::getValue('id_customer');
|
$id_customer = (int)Tools::getValue('id_customer');
|
||||||
|
|||||||
@@ -491,7 +491,7 @@ class AdminCategoriesControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn-primary'
|
'class' => 'btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ class AdminCmsCategoriesControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->tpl_form_vars['PS_ALLOW_ACCENTED_CHARS_URL'] = (int)Configuration::get('PS_ALLOW_ACCENTED_CHARS_URL');
|
$this->tpl_form_vars['PS_ALLOW_ACCENTED_CHARS_URL'] = (int)Configuration::get('PS_ALLOW_ACCENTED_CHARS_URL');
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ class AdminCmsControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ class AdminContactsControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save '),
|
'title' => $this->l('Save '),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ class AdminCurrenciesControllerCore extends AdminController
|
|||||||
|
|
||||||
$this->fields_form['submit'] = array(
|
$this->fields_form['submit'] = array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
);
|
);
|
||||||
|
|
||||||
return parent::renderForm();
|
return parent::renderForm();
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class AdminDeliverySlipControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Generate PDF file'),
|
'title' => $this->l('Generate PDF file'),
|
||||||
'class' => 'btn btn-primary',
|
'class' => 'btn btn-default',
|
||||||
'icon' => 'icon-download-alt'
|
'icon' => 'icon-download-alt'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ class AdminGendersControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ class AdminGroupsControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save '),
|
'title' => $this->l('Save '),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
),
|
),
|
||||||
'input' => array(
|
'input' => array(
|
||||||
array(
|
array(
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ class AdminImagesControllerCore extends AdminController
|
|||||||
'visibility' => Shop::CONTEXT_ALL
|
'visibility' => Shop::CONTEXT_ALL
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'submit' => array('title' => $this->l('Save '), 'class' => 'btn btn-primary'),
|
'submit' => array('title' => $this->l('Save '), 'class' => 'btn btn-default'),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -326,7 +326,7 @@ class AdminImagesControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ class AdminMetaControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return parent::renderForm();
|
return parent::renderForm();
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class AdminSlipControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Generate PDF file'),
|
'title' => $this->l('Generate PDF file'),
|
||||||
'class' => 'btn btn-primary',
|
'class' => 'btn btn-default',
|
||||||
'id' => 'submitPrint',
|
'id' => 'submitPrint',
|
||||||
'icon' => 'icon-download-alt'
|
'icon' => 'icon-download-alt'
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
if (($value = $this->getFieldValue($this->object, 'price')) != -1)
|
if (($value = $this->getFieldValue($this->object, 'price')) != -1)
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ class AdminStockConfigurationControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -302,7 +302,7 @@ class AdminStockConfigurationControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -339,7 +339,7 @@ class AdminStockConfigurationControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ class AdminStockManagementControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Add to stock'),
|
'title' => $this->l('Add to stock'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->fields_value['usable'] = 1;
|
$this->fields_value['usable'] = 1;
|
||||||
@@ -409,7 +409,7 @@ class AdminStockManagementControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Remove from stock'),
|
'title' => $this->l('Remove from stock'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
@@ -531,7 +531,7 @@ class AdminStockManagementControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Transfer'),
|
'title' => $this->l('Transfer'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ class AdminTaxRulesGroupControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save and stay'),
|
'title' => $this->l('Save and stay'),
|
||||||
'class' => 'btn btn-primary',
|
'class' => 'btn btn-default',
|
||||||
'stay' => true
|
'stay' => true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -337,7 +337,7 @@ class AdminTaxRulesGroupControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save and stay'),
|
'title' => $this->l('Save and stay'),
|
||||||
'class' => 'btn btn-primary',
|
'class' => 'btn btn-default',
|
||||||
'stay' => true
|
'stay' => true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ class AdminTaxesControllerCore extends AdminController
|
|||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
'title' => $this->l('Save'),
|
'title' => $this->l('Save'),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ class AdminWebserviceControllerCore extends AdminController
|
|||||||
|
|
||||||
$this->fields_form['submit'] = array(
|
$this->fields_form['submit'] = array(
|
||||||
'title' => $this->l('Save '),
|
'title' => $this->l('Save '),
|
||||||
'class' => 'btn btn-primary'
|
'class' => 'btn btn-default'
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!($obj = $this->loadObject(true)))
|
if (!($obj = $this->loadObject(true)))
|
||||||
|
|||||||
Reference in new issue
Block a user