[+] FO : New Responsive, Bootstrap template

This commit is contained in:
Damien Metzger
2013-10-23 16:56:02 +02:00
parent 16dfea95e3
commit 69d5cb4ccd
639 changed files with 64771 additions and 7 deletions
@@ -0,0 +1,81 @@
{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{capture name=path}{l s='Check payment' mod='cheque'}{/capture}
<h1 class="page-heading">{l s='Order summary' mod='cheque'}</h1>
{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}
{if isset($nbProducts) && $nbProducts <= 0}
<p class="alert alert-warning">{l s='Your shopping cart is empty.'}</p>
{else}
<form action="{$link->getModuleLink('cheque', 'validation', [], true)|escape:'html'}" method="post">
<div class="box cheque-box">
<h3 class="page-subheading">{l s='Check payment' mod='cheque'}</h3>
<p class="cheque-indent">
<strong class="dark">{l s='You have chosen to pay by check.' mod='cheque'} {l s='Here is a short summary of your order:' mod='cheque'}</strong>
</p>
<p>
- {l s='The total amount of your order comes to:' mod='cheque'}
<span id="amount" class="price">{displayPrice price=$total}</span>
{if $use_taxes == 1}
{l s='(tax incl.)' mod='cheque'}
{/if}
</p>
<p>
-
{if isset($currencies) && $currencies|@count > 1}
{l s='We accept several currencies to receive payments by check.' mod='cheque'}
<br />
<div class="form-group">
<label>{l s='Choose one of the following:' mod='cheque'}</label>
<select id="currency_payement" class="form-control" name="currency_payement" onchange="setCurrency($('#currency_payement').val());">
{foreach from=$currencies item=currency}
<option value="{$currency.id_currency}" {if isset($currencies) && $currency.id_currency == $cust_currency}selected="selected"{/if}>{$currency.name}</option>
{/foreach}
</select>
</div>
{else}
{l s='We allow the following currencies to be sent by check:' mod='cheque'}&nbsp;<b>{$currencies.0.name}</b>
<input type="hidden" name="currency_payement" value="{$currencies.0.id_currency}" />
{/if}
</p>
<p>
- {l s='Check owner and address information will be displayed on the next page.' mod='cheque'}
<br />
- {l s='Please confirm your order by clicking \'I confirm my order\'' mod='cheque'}.
</p>
</div>
<p class="cart_navigation clearfix" id="cart_navigation">
<a href="{$link->getPageLink('order', true, NULL, "step=3")|escape:'html'}" class="button-exclusive btn btn-default"><i class="icon-chevron-left"></i>{l s='Other payment methods' mod='cheque'}</a>
<button type="submit" class="button btn btn-default button-medium"><span>{l s='I confirm my order' mod='cheque'}<i class="icon-chevron-right right"></i></span></button>
</p>
</form>
{/if}
@@ -0,0 +1,31 @@
{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="alert alert-info">
<img src="../modules/cheque/cheque.jpg" style="float:left; margin-right:15px;" width="86" height="49">
<p><strong>{l s="This module allows you to accept payments by check."}</strong></p>
<p>{l s="If the client chooses this payment method, the order status will change to 'Waiting for payment.'"}</p>
<p>{l s="You will need to manually confirm the order as soon as you receive a check."}</p>
</div>
@@ -0,0 +1,33 @@
{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="row">
<div class="col-xs-12 col-md-6">
<p class="payment_module">
<a class="cheque" href="{$link->getModuleLink('cheque', 'payment', [], true)|escape:'html'}" title="{l s='Pay by check.' mod='cheque'}">
{l s='Pay by check (order processing will take more time).' mod='cheque'}
</a>
</p>
</div>
</div>
@@ -0,0 +1,47 @@
{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $status == 'ok'}
<p class="alert alert-success">{l s='Your order on %s is complete.' sprintf=$shop_name mod='cheque'}</p>
<div class="box order-confirmation">
<h3 class="page-subheading">{l s='Your check must include:' mod='cheque'}</h3>
- {l s='Payment ammount.' mod='cheque'} <span class="price"><strong>{$total_to_pay}</strong></span>
<br />- {l s='Payable to the order of' mod='cheque'} <strong>{if $chequeName}{$chequeName}{else}___________{/if}</strong>
<br />- {l s='Mail to' mod='cheque'} <strong>{if $chequeAddress}{$chequeAddress}{else}___________{/if}</strong>
{if !isset($reference)}
<br />- {l s='Do not forget to insert your order number #%d.' sprintf=$id_order mod='cheque'}
{else}
<br />- {l s='Do not forget to insert your order reference %s.' sprintf=$reference mod='cheque'}
{/if}
<br />- {l s='An email has been sent to you with this information.' mod='cheque'}
<br />- <strong>{l s='Your order will be sent as soon as we receive your payment.' mod='cheque'}</strong>
<br />- {l s='For any questions or for further information, please contact our' mod='cheque'} <a href="{$link->getPageLink('contact', true)|escape:'html'}">{l s='customer service department.' mod='cheque'}</a>.
</div>
{else}
<p class="alert alert-warning">
{l s='We have noticed that there is a problem with your order. If you think this is an error, you can contact our' mod='cheque'}
<a href="{$link->getPageLink('contact', true)|escape:'html'}">{l s='customer service department.' mod='cheque'}</a>.
</p>
{/if}