92 lines
5.2 KiB
Smarty
92 lines
5.2 KiB
Smarty
{**
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This file is licenced under the Software License Agreement.
|
|
* With the purchase or the installation of the software in your application
|
|
* you accept the licence agreement.
|
|
*
|
|
* You must not modify, adapt or create derivative works of this source code
|
|
*
|
|
* @author PrestaHelp.com
|
|
* @copyright 2019 PrestaHelp
|
|
* @license LICENSE.txt
|
|
*}
|
|
|
|
<style type="text/css">
|
|
.form-group{
|
|
clear:both;overflow: hidden;margin-bottom: 10px;
|
|
}
|
|
</style>
|
|
<h2>Integracja z Inpost</h2>
|
|
<form method="post">
|
|
<fieldset>
|
|
<legend><i class="icon-cog"></i> {l s='Install settings' mod='inpostship'}</legend>
|
|
<div>
|
|
|
|
<p class="alert alert-warning">UWAGA! Jeśli wybierzesz TAK to zostaną dodani nowi przewoźnicy.</p>
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Dodaj nowych przewoźników' mod='inpostship'}:</label>
|
|
<div class="col-lg-5">
|
|
<span class="switch prestashop-switch fixedd-width-lg">
|
|
<input id="ac1_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIERS" value="1" type="radio" checked="checked" />
|
|
<label class="radioCheck" for="ac1_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="ac1_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIERS" value="0" type="radio" />
|
|
<label class="radioCheck" for="ac1_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
<p class="alert alert-info">Włącz następujących przewoźników.</p>
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Inpost Paczkomaty 24' mod='inpostship'}:</label>
|
|
<div class="col-lg-5">
|
|
<span class="switch prestashop-switch fixedd-width-lg">
|
|
<input id="ic1_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_1" value="1" type="radio" {if $isic1 == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic1_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="ic1_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_1" value="0" type="radio" {if $isic1 == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic1_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Inpost Paczkomaty 24- pobranie' mod='inpostship'}:</label>
|
|
<div class="col-lg-5">
|
|
<span class="switch prestashop-switch fixedd-width-lg">
|
|
<input id="ic2_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_2" value="1" type="radio" {if $isic2 == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic2_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="ic2_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_2" value="0" type="radio" {if $isic2 == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic2_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group disabled">
|
|
<label class="control-label col-lg-3 text-right">{l s='Kurier Inpost' mod='inpostship'}:</label>
|
|
<div class="col-lg-5">
|
|
<span class="switch prestashop-switch fixedd-width-lg">
|
|
<input id="ic3_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_3" value="1" type="radio" {if $isic3 == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic3_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="ic3_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_3" value="0" type="radio" {if $isic3 == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic3_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group disabled">
|
|
<label class="control-label col-lg-3 text-right">{l s='Kurier Inpost - pobranie' mod='inpostship'}:</label>
|
|
<div class="col-lg-5">
|
|
<span class="switch prestashop-switch fixedd-width-lg">
|
|
<input id="ic4_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_4" value="1" type="radio" {if $isic4 == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic4_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="ic4_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_4" value="0" type="radio" {if $isic4 == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="ic4_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<button id="configuration_form_submit_btn" class="btn btn-default pull-right" type="submit" value="1" name="submitSaveSettings"><i class="process-icon-save"></i> {l s='Save' mod='inpostship'}</button>
|
|
</div>
|
|
</fieldset>
|
|
</form> |