theme
42
www/themes/chocolatdemariage/404.tpl
Normal file
@ -0,0 +1,42 @@
|
||||
{capture name=path}{l s='404'}{/capture}
|
||||
{capture name=title}{l s='oops !'}{/capture}
|
||||
{capture name=subtitle}{l s='We\'re sorry, but the Web address you\'ve entered is no longer available.'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title subtitle=$smarty.capture.subtitle type='account'}
|
||||
|
||||
<div class="ctn main">
|
||||
<div class="offset-md2 md8">
|
||||
<div class="box">
|
||||
<div class="shadow"></div>
|
||||
<div class="inner">
|
||||
<h3 class="title">{l s='Rechercher un produit'}</h3>
|
||||
<form action="{$link->getPageLink('search')|escape:'html':'UTF-8'}" method="post" class="search-product">
|
||||
<fieldset>
|
||||
<div class="form-group text-center">
|
||||
<label>{l s='To find a product, please type its name in the field below.'}</label>
|
||||
<div class="row">
|
||||
<div class="md9">
|
||||
<input id="search_query" name="search_query" type="text" class="form-control grey" />
|
||||
</div>
|
||||
<div class="md3">
|
||||
<button type="submit" name="Submit" value="OK" class="btn">{l s='Search'}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear">
|
||||
<a class="btn btn2 icon-left" href="{$link->getPageLink('index')}">
|
||||
<i class="icon icon-arrow-left"></i>
|
||||
<span>{l s='Back to homepage'}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
152
www/themes/chocolatdemariage/address.tpl
Normal file
@ -0,0 +1,152 @@
|
||||
{capture name=path}{l s='Your addresses'}{/capture}
|
||||
{capture name=title}{l s='Your addresses'}{/capture}
|
||||
{capture name=subtitle}
|
||||
{if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))}
|
||||
{l s='Modify address'}
|
||||
{if isset($smarty.post.alias)}
|
||||
"{$smarty.post.alias}"
|
||||
{else}
|
||||
{if isset($address->alias)}"{$address->alias|escape:'html':'UTF-8'}"{/if}
|
||||
{/if}
|
||||
{else}
|
||||
{l s='To add a new address, please fill out the form below.'}
|
||||
{/if}
|
||||
{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title subtitle=$smarty.capture.subtitle type='account'}
|
||||
|
||||
{if isset($account_created)}
|
||||
<p class="alert alert-success">
|
||||
{l s='Your account has been created.'}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<div class="ctn account">
|
||||
<div class="row">
|
||||
{include file="$tpl_dir./menu-account.tpl"}
|
||||
|
||||
<div class="md9">
|
||||
<p class="pull-right label-required"><sup>*</sup>{l s='Required field'}</p>
|
||||
<form action="{$link->getPageLink('address', true)|escape:'html':'UTF-8'}" method="post" class="account-creation box" id="add_address">
|
||||
<div class="shadow"></div>
|
||||
<div class="inner">
|
||||
<h2 class="title">{if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}</h2>
|
||||
{assign var="stateExist" value=false}
|
||||
{assign var="postCodeExist" value=false}
|
||||
{assign var="dniExist" value=false}
|
||||
{assign var="homePhoneExist" value=false}
|
||||
{assign var="mobilePhoneExist" value=false}
|
||||
{assign var="atLeastOneExists" value=false}
|
||||
|
||||
<div class="form_content">
|
||||
<div class="row">
|
||||
<p class="required md6 form-group">
|
||||
<label for="firstname">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{if isset($address->firstname)}{$address->firstname|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="required md6 form-group">
|
||||
<label for="lastname">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{if isset($address->lastname)}{$address->lastname|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<p class="required md6 form-group">
|
||||
<label for="address1">{l s='Address'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{else}{if isset($address->address1)}{$address->address1|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="form-group md6 is_customer_param">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" class="form-control" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<p class="required md3 postcode form-group">
|
||||
<label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="postcode" id="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
</p>
|
||||
<p class="required md5 form-group">
|
||||
<label for="city">{l s='City'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{if isset($address->city)}{$address->city|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="required md4 select form-group">
|
||||
<label for="id_country">{l s='Country'} <sup>*</sup></label>
|
||||
<select name="id_country" id="id_country" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}"{if (isset($smarty.post.id_country) AND $smarty.post.id_country == $v.id_country) OR (isset($address->id_country) AND $address->id_country == $v.id_country) OR (!isset($address->id_country) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
<p class="required md5 id_state form-group">
|
||||
{assign var="stateExist" value=true}
|
||||
<label for="id_state">{l s='State'} <sup>*</sup></label>
|
||||
<select name="id_state" id="id_state" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<p class="required md6 form-group">
|
||||
<label for="phone_mobile">{l s='Home phone'} <sup>*</sup></label>
|
||||
<input type="tel" class="form-control" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{if isset($address->phone_mobile)}{$address->phone_mobile|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</p>
|
||||
<p class="required md6 form-group" id="address_alias">
|
||||
<label for="alias">{l s='Assign an address alias for future reference.'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{elseif isset($address->alias)}{$address->alias|escape:'html':'UTF-8'}{elseif !$select_address}{l s='My address'}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="hidden">
|
||||
{if isset($id_address)}<input type="hidden" name="id_address" value="{$id_address|intval}" />{/if}
|
||||
{if isset($back)}<input type="hidden" name="back" value="{$back}" />{/if}
|
||||
{if isset($mod)}<input type="hidden" name="mod" value="{$mod}" />{/if}
|
||||
{if isset($select_address)}<input type="hidden" name="select_address" value="{$select_address|intval}" />{/if}
|
||||
<input type="hidden" name="token" value="{$token}" />
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button type="submit" name="submitAddress" id="submitAddress" class="btn pull-right">
|
||||
<span>{l s='Save'}</span>
|
||||
</button>
|
||||
<a class="btn btn2 icon-left" href="{if isset($back)}{$link->getPageLink('order&step=1')}{else}{$link->getPageLink('addresses', true)|escape:'html':'UTF-8'}{/if}">
|
||||
<i class="icon icon-arrow-left"></i>
|
||||
<span>{l s='Back to your addresses'}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{strip}
|
||||
{if isset($smarty.post.id_state) && $smarty.post.id_state}
|
||||
{addJsDef idSelectedState=$smarty.post.id_state|intval}
|
||||
{else if isset($address->id_state) && $address->id_state}
|
||||
{addJsDef idSelectedState=$address->id_state|intval}
|
||||
{else}
|
||||
{addJsDef idSelectedState=false}
|
||||
{/if}
|
||||
{if isset($smarty.post.id_country) && $smarty.post.id_country}
|
||||
{addJsDef idSelectedCountry=$smarty.post.id_country|intval}
|
||||
{else if isset($address->id_country) && $address->id_country}
|
||||
{addJsDef idSelectedCountry=$address->id_country|intval}
|
||||
{else}
|
||||
{addJsDef idSelectedCountry=false}
|
||||
{/if}
|
||||
{if isset($countries)}
|
||||
{addJsDef countries=$countries}
|
||||
{/if}
|
||||
{if isset($vatnumber_ajax_call) && $vatnumber_ajax_call}
|
||||
{addJsDef vatnumber_ajax_call=$vatnumber_ajax_call}
|
||||
{/if}
|
||||
{/strip}
|
||||
|
||||
</main>
|
81
www/themes/chocolatdemariage/addresses.tpl
Normal file
@ -0,0 +1,81 @@
|
||||
{capture name=path}
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">
|
||||
{l s='My account'}
|
||||
</a>
|
||||
<span class="navigation-pipe">/</span><span>{l s='My addresses'}</span>
|
||||
{/capture}
|
||||
{capture name=title}{l s='My addresses'}{/capture}
|
||||
{capture name=subtitle}{l s='Be sure to update your personal information if it has changed.'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title subtitle=$smarty.capture.subtitle type='account'}
|
||||
|
||||
<div class="ctn account">
|
||||
<div class="row">
|
||||
{include file="$tpl_dir./menu-account.tpl" active='addresses'}
|
||||
|
||||
<div class="md9">
|
||||
|
||||
{if isset($multipleAddresses) && $multipleAddresses}
|
||||
{assign var="adrs_style" value=$addresses_style}
|
||||
<div class="row">
|
||||
{foreach from=$multipleAddresses item=address name=myLoop}
|
||||
<div class="md6">
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
<ul>
|
||||
<li>
|
||||
<h2 class="title">{$address.object.alias}</h2>
|
||||
</li>
|
||||
{foreach from=$address.ordered name=adr_loop item=pattern}
|
||||
{assign var=addressKey value=" "|explode:$pattern}
|
||||
<li>
|
||||
{foreach from=$addressKey item=key name="word_loop"}
|
||||
<span {if isset($addresses_style[$key])} class="{$addresses_style[$key]}"{/if}>
|
||||
{$address.formated[$key|replace:',':'']|escape:'html':'UTF-8'}
|
||||
</span>
|
||||
{/foreach}
|
||||
</li>
|
||||
{/foreach}
|
||||
<div class="box-footer">
|
||||
<a class="link" href="{$link->getPageLink('address', true, null, "id_address={$address.object.id|intval}&delete")|escape:'html':'UTF-8'}" onclick="return confirm('{l s='Are you sure?' js=1}');" title="{l s='Delete'}">
|
||||
<span>{l s='Delete'}</span><i class="icon icon-cross"></i>
|
||||
</a>
|
||||
<a class="link" href="{$link->getPageLink('address', true, null, "id_address={$address.object.id|intval}")|escape:'html':'UTF-8'}" title="{l s='Update'}">
|
||||
<span>{l s='Update'}</span>
|
||||
</a>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<a href="{$link->getPageLink('address', true)|escape:'html':'UTF-8'}" title="{l s='Add an address'}" class="btn icon-left">
|
||||
<i class="icon icon-plus"></i>
|
||||
<span>{l s='Add a new address'}</span>
|
||||
</a>
|
||||
|
||||
{else}
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
<h2 class="title">{l s='Your addresses'}</h2>
|
||||
<div class="box-content">
|
||||
<p class="alert alert-warning">{l s='No addresses are available.'}</p>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a class="btn" href="{$link->getPageLink('address', true)|escape:'html':'UTF-8'}">
|
||||
<span>{l s='Add a new address'}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
82
www/themes/chocolatdemariage/ajax-order-carrier.tpl
Normal file
@ -0,0 +1,82 @@
|
||||
<div id="order-carrier-list">
|
||||
<div id="HOOK_BEFORECARRIER">
|
||||
{if isset($carriers) && isset($HOOK_BEFORECARRIER)}
|
||||
{$HOOK_BEFORECARRIER}
|
||||
{/if}
|
||||
</div>
|
||||
{if isset($virtual_cart) && $virtual_cart}
|
||||
<input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
|
||||
{else}
|
||||
{if isset($delivery_option_list)}
|
||||
{foreach $delivery_option_list as $id_address => $option_list}
|
||||
<div class="delivery_options">
|
||||
{foreach $option_list as $key => $option}
|
||||
<div class="delivery-option clearfix delivery-{$key|replace:',':''} radio-box">
|
||||
<div class="inner valign-top">
|
||||
<div class="delivery-option-radio">
|
||||
<input id="delivery_option_{$id_address|intval}_{$option@index}" class="inline custom-input delivery_option_radio" type="radio" name="delivery_option[{$id_address|intval}]" data-key="{$key}" data-id_address="{$id_address|intval}" value="{$key}"{if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key} checked="checked"{/if} />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="delivery-option-desc">
|
||||
{foreach $option.carrier_list as $carrier}
|
||||
<span class="delivery-option-name">{$carrier.instance->name|escape:'htmlall':'UTF-8'}</span>
|
||||
{if isset($carrier.instance->place[$cookie->id_lang])}
|
||||
<span class="delivery-option-place">{$carrier.instance->place[$cookie->id_lang]|escape:'htmlall':'UTF-8'}</span>
|
||||
{/if}
|
||||
{if isset($carrier.instance->delay[$cookie->id_lang])}
|
||||
<span class="delivery-option-delay">{$carrier.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'}</span>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="delivery-option-img">
|
||||
{foreach $option.carrier_list as $carrier}
|
||||
{if $carrier.logo}
|
||||
<img class="hidden-xs hidden-xxs" src="{$carrier.logo|escape:'htmlall':'UTF-8'}" alt="{$carrier.instance->name|escape:'htmlall':'UTF-8'}"/>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="delivery-option-price">
|
||||
{if $option.total_price_with_tax && !$option.is_free && (!isset($free_shipping) || (isset($free_shipping) && !$free_shipping))}
|
||||
{if $use_taxes == 1}
|
||||
{if $priceDisplay == 1}
|
||||
{convertPrice price=$option.total_price_without_tax}
|
||||
{else}
|
||||
{convertPrice price=$option.total_price_with_tax}
|
||||
{/if}
|
||||
{else}
|
||||
{convertPrice price=$option.total_price_without_tax}
|
||||
{/if}
|
||||
{else}
|
||||
{l s='Free'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="hook_extracarrier" id="HOOK_EXTRACARRIER_{$id_address}">
|
||||
{if isset($HOOK_EXTRACARRIER_ADDR) && isset($HOOK_EXTRACARRIER_ADDR.$id_address)}{$HOOK_EXTRACARRIER_ADDR.$id_address}{/if}
|
||||
</div>
|
||||
{foreachelse}
|
||||
<p class="alert alert-warning" id="noCarrierWarning">
|
||||
{foreach $cart->getDeliveryAddressesWithoutCarriers(true) as $address}
|
||||
{if empty($address->alias)}
|
||||
{l s='No carriers available.'}
|
||||
{else}
|
||||
{l s='No carriers available for the address "%s".' sprintf=$address->alias}
|
||||
{/if}
|
||||
{if !$address@last}
|
||||
<br />
|
||||
{/if}
|
||||
{foreachelse}
|
||||
{l s='No carriers available.'}
|
||||
{/foreach}
|
||||
</p>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
||||
</div> <!-- end delivery_options_address -->
|
||||
|
616
www/themes/chocolatdemariage/authentication.tpl
Normal file
@ -0,0 +1,616 @@
|
||||
{capture name=path}{l s='Authentication'}{/capture}
|
||||
{capture name=title}{if !isset($email_create)}{l s='Authentication'}{else}{l s='Create an account'}{/if}{/capture}
|
||||
{if isset($back) && $back != 'my-account'}
|
||||
{assign var=type value='order-process'}
|
||||
{else}
|
||||
{assign var=type value='account'}
|
||||
{/if}
|
||||
{assign var=currentStep value='login'}
|
||||
{assign var='stateExist' value=false}
|
||||
{assign var="postCodeExist" value=false}
|
||||
{assign var="dniExist" value=false}
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title type=$type currentStep=$currentStep}
|
||||
<div class="auth section-content ">
|
||||
<div class="bg-white">
|
||||
<div class="ctn">
|
||||
<!-- Connexion -->
|
||||
<div class="box connexion">
|
||||
<div class="row valign-middle">
|
||||
<div class="offset-md1 md10 xxs12 titles">
|
||||
<h2 class="title-flowers center"><span>{l s='Already registered? Connect yourself'}</span></h2>
|
||||
</div>
|
||||
|
||||
<div class="offset-md1 md10 xxs12">
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}" method="post" id="login_form">
|
||||
<div class="row">
|
||||
<div class="form-group md5 sm4 xs6">
|
||||
<label for="email">{l s='Email address'}</label>
|
||||
<input class="is_required validate account_input form-control" data-validate="isEmail" type="email" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|stripslashes}{/if}" />
|
||||
</div>
|
||||
<div class="form-group md5 sm4 xs6">
|
||||
<label for="passwd">{l s='Password'}</label>
|
||||
<span><input class="is_required validate account_input form-control" type="password" data-validate="isPasswd" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|stripslashes}{/if}" /></span>
|
||||
<a class="link lost-password" href="{$link->getPageLink('password')|escape:'html':'UTF-8'}" title="{l s='Recover your forgotten password'}" rel="nofollow">{l s='Forgot your password?'}</a>
|
||||
</div>
|
||||
<div class="form-group md2 sm4 submit">
|
||||
<button type="submit" id="SubmitLogin" name="SubmitLogin" class="btn btn-full-width"><span>{l s='Sign in'}</span></button>
|
||||
</div>
|
||||
|
||||
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ctn">
|
||||
<div class="bg-grey registration-ctn">
|
||||
<!-- Registration -->
|
||||
<div class="box registration {if !isset($inOrderProcess) || !$inOrderProcess || !$PS_GUEST_CHECKOUT_ENABLED}pad{/if}" id="normal_checkout">
|
||||
<div >
|
||||
<div class="ctn ">
|
||||
<div class="row valign-bottom">
|
||||
<div class="{if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED}md7 {else}md10{/if} offset-md1">
|
||||
<h2 class="title-flowers center"><span>{l s='New customer? Subscribe!'}</span></h2>
|
||||
</div>
|
||||
{if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED}
|
||||
<div class="md4">
|
||||
<a href="#instant_checkout" class="btn-checkout open-panel valign-middle" data-hidden="#normal_checkout">
|
||||
<div class="icons">
|
||||
<i class="icon-user icon"></i>
|
||||
<i class="icon-arrow-right-slider icon"></i>
|
||||
</div>
|
||||
<div>
|
||||
{l s='Or order as a '}<span class="bold">{l s='guest'}</span>
|
||||
</div>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ctn">
|
||||
<div class="box-content">
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}?back={$back}" method="post" id="account-creation_form">
|
||||
<fieldset>
|
||||
<h2 class="title">{l s='Personnal information'}</h3>
|
||||
<p class="pull-right label-required">* {l s='Required field'}</p>
|
||||
{$HOOK_CREATE_ACCOUNT_TOP}
|
||||
<div class="row ">
|
||||
<div class="md4 sm12 form-group civilite">
|
||||
<label>{l s='Title'}</label>
|
||||
{foreach from=$genders key=k item=gender name=gender}
|
||||
<div>
|
||||
<label for="id_gender{$gender->id}" class="top">{$gender->name}</label>
|
||||
<input type="radio" name="id_gender" class="custom-input inline" id="id_gender{$gender->id}" value="{$gender->id}"
|
||||
{if isset($smarty.post.id_gender) && $smarty.post.id_gender == $gender->id || (!isset($smarty.post.id_gender) && $smarty.foreach.gender.first)}
|
||||
checked="checked"
|
||||
{/if}
|
||||
/>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="required form-group md4 sm6">
|
||||
<label for="customer_firstname">{l s='First name'} <sup>*</sup></label>
|
||||
<input onkeyup="$('#firstname').val(this.value);" type="text" class="is_required validate form-control" data-validate="isName" id="customer_firstname" name="customer_firstname" value="{if isset($smarty.post.customer_firstname)}{$smarty.post.customer_firstname}{/if}" />
|
||||
</div>
|
||||
<div class="required form-group md4 sm6">
|
||||
<label for="customer_lastname">{l s='Last name'} <sup>*</sup></label>
|
||||
<input onkeyup="$('#lastname').val(this.value);" type="text" class="is_required validate form-control" data-validate="isName" id="customer_lastname" name="customer_lastname" value="{if isset($smarty.post.customer_lastname)}{$smarty.post.customer_lastname}{/if}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="required form-group md4 sm6">
|
||||
<label for="email">{l s='Email'} <sup>*</sup></label>
|
||||
<input type="email" class="is_required validate form-control" data-validate="isEmail" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email}{/if}" />
|
||||
</div>
|
||||
|
||||
<div class="required md4 sm6 password form-group">
|
||||
<label for="passwd">{l s='Password'} <sup>*</sup></label>
|
||||
<input type="password" class="is_required validate form-control" data-validate="isPasswd" name="passwd" id="passwd" />
|
||||
</div>
|
||||
<div class="required md4 sm6 password form-group">
|
||||
<label for="passwd_confirm">{l s='Confirm password'} <sup>*</sup></label>
|
||||
<input type="password" class="is_required validate form-control" data-validate="isPasswd" name="passwd_confirm" id="passwd_confirm" />
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
{if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE}
|
||||
<fieldset class="delivery-address">
|
||||
<h2 class="title">{l s='Your delivery address'}</h2>
|
||||
<p class="pull-right label-required">* {l s='Required field'}</p>
|
||||
<div class="row">
|
||||
<p class="required md4 sm6 form-group">
|
||||
<label for="firstname">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
|
||||
</p>
|
||||
<p class="required md4 sm6 form-group">
|
||||
<label for="lastname">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
|
||||
</p>
|
||||
<p class="required md4 sm6 form-group">
|
||||
<label for="phone_mobile">{l s='Home phone'} <sup>*</sup></label>
|
||||
<input type="tel" class="form-control" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="required md8 sm12 form-group">
|
||||
<label for="address1">{l s='Address'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
|
||||
</p>
|
||||
<p class="form-group md4 sm12 is_customer_param">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" class="form-control" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="required md4 sm6 postcode form-group">
|
||||
<label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="postcode" id="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
</p>
|
||||
<p class="required md4 sm6 form-group">
|
||||
<label for="city">{l s='City'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}" />
|
||||
</p>
|
||||
<p class="required md4 sm6 select form-group">
|
||||
<label for="id_country">{l s='Country'} <sup>*</sup></label>
|
||||
<select name="id_country" id="id_country" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}"{if (isset($smarty.post.id_country) AND $smarty.post.id_country == $v.id_country) OR (!isset($smarty.post.id_country) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="required md5 id_state form-group">
|
||||
{assign var="stateExist" value=true}
|
||||
<label for="id_state">{l s='State'} <sup>*</sup></label>
|
||||
<select name="id_state" id="id_state" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<fieldset class="bg-blue">
|
||||
<div class="row valign-middle">
|
||||
|
||||
<p class="required md6 sm6 xs6 form-group" id="address_alias">
|
||||
<label for="alias">{l s='Assign an address alias for future reference.'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}{l s='My address'}{/if}" />
|
||||
</p>
|
||||
<div class="form-group trigger-invoice md6 sm6 xs6">
|
||||
<label for="">{l s='Invoice address'}</label>
|
||||
<div>
|
||||
<input type="checkbox" name="invoice_address" id="invoice_address" class="custom-input inline" value="1" checked="checked" />
|
||||
<label for="invoice_address">{l s='Use the same address for invoice'}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="account_creation invoice" style="display: none">
|
||||
<div >
|
||||
<h2 class="title">{l s='Your invoice address'}</h2>
|
||||
<div class="row">
|
||||
<p class="required md6 form-group">
|
||||
<label for="firstname_invoice">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="firstname_invoice" name="firstname_invoice" value="{if isset($smarty.post.firstname_invoice)}{$smarty.post.firstname_invoice}{/if}" />
|
||||
</p>
|
||||
<p class="required md6 form-group">
|
||||
<label for="lastname_invoice">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="lastname_invoice" name="lastname_invoice" value="{if isset($smarty.post.lastname_invoice)}{$smarty.post.lastname_invoice}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="required md6 form-group">
|
||||
<label for="address1_invoice">{l s='Address'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="address1_invoice" id="address1_invoice" value="{if isset($smarty.post.address1_invoice)}{$smarty.post.address1_invoice}{/if}" />
|
||||
</p>
|
||||
<p class="form-group md6 is_customer_param">
|
||||
<label for="address2_invoice">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" class="form-control" name="address2_invoice" id="address2_invoice" value="{if isset($smarty.post.address2_invoice)}{$smarty.post.address2_invoice}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="required md5 select form-group">
|
||||
<label for="id_country_invoice">{l s='Country'} <sup>*</sup></label>
|
||||
<select name="id_country_invoice" id="id_country_invoice" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}"{if (isset($smarty.post.id_country) AND $smarty.post.id_country == $v.id_country) OR (!isset($smarty.post.id_country) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
<p class="required md4 form-group">
|
||||
<label for="city_invoice">{l s='City'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="city_invoice" id="city_invoice" value="{if isset($smarty.post.city_invoice)}{$smarty.post.city_invoice}{/if}" />
|
||||
</p>
|
||||
<p class="required md3 postcode form-group">
|
||||
<label for="postcode_invoice">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="postcode_invoice" id="postcode_invoice" value="{if isset($smarty.post.postcode_invoice)}{$smarty.post.postcode_invoice}{/if}" onkeyup="$('#postcode_invoice').val($('#postcode_invoice').val().toUpperCase());" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
<p class="required md6 id_state_invoice form-group">
|
||||
{assign var="stateExist" value=true}
|
||||
<label for="id_state_invoice">{l s='State'} <sup>*</sup></label>
|
||||
<select name="id_state_invoice" id="id_state_invoice" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="required md6 form-group">
|
||||
<label for="phone_mobile_invoice">{l s='Home phone'} <sup>*</sup></label>
|
||||
<input type="tel" class="form-control" name="phone_mobile_invoice" id="phone_mobile_invoice" value="{if isset($smarty.post.phone_mobile_invoice)}{$smarty.post.phone_mobile_invoice}{/if}" />
|
||||
</p>
|
||||
<p class="required md6 form-group" id="address_alias">
|
||||
<label for="alias_invoice">{l s='Assign an address alias for future reference.'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="alias_invoice" id="alias_invoice" value="{if isset($smarty.post.alias_invoice)}{$smarty.post.alias_invoice}{else}{l s='My invoice address'}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
<fieldset class="newsletter">
|
||||
<div class="row valign-middle">
|
||||
<div class=" md8">
|
||||
{if isset($newsletter) && $newsletter}
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<input type="checkbox" name="newsletter" id="newsletter" class="custom-input inline" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($optin) && $optin}
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<input class="custom-input inline" type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if} />
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
<div class="submit md4 xxs12 clearfix">
|
||||
<input type="hidden" name="email_create" value="1" />
|
||||
<input type="hidden" name="is_new_customer" value="1" />
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
|
||||
<button type="submit" name="submitAccount" id="submitAccount" class="btn btn-higher pull-right">
|
||||
<span>{l s='Register'}</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box registration" id="instant_checkout">
|
||||
<div>
|
||||
|
||||
{if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED}
|
||||
<div class="ctn ">
|
||||
<div class="row valign-bottom">
|
||||
<div class="md7 offset-md1 titles">
|
||||
<h2 class="title center">{l s='Instant checkout'}</h2>
|
||||
<span class="subtitle center">{l s='Inscrivez-vous lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod'}</span>
|
||||
</div>
|
||||
<div class="md4">
|
||||
<a href="#normal_checkout" class="btn-checkout open-panel valign-middle" data-hidden="#instant_checkout">
|
||||
<div class="icons">
|
||||
<i class="icon-user icon"></i>
|
||||
<i class="icon-arrow-right-slider icon"></i>
|
||||
</div>
|
||||
<div>
|
||||
{l s='Or create an '} <span class="bold">{l s='account'}</span>
|
||||
</div>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ctn">
|
||||
<form action="{$link->getPageLink('authentication', true, NULL, "back=$back")|escape:'html':'UTF-8'}" method="post" id="new_account_form" class="box-content">
|
||||
<fieldset>
|
||||
|
||||
|
||||
<h2 class="title">{l s='Informations'}</h3>
|
||||
<span class="label-required pull-right"><sup>*</sup>{l s='Required field'}</span>
|
||||
|
||||
<div class="form_content">
|
||||
|
||||
|
||||
<div id="opc_account_form" style="display: block; ">
|
||||
<div class="row">
|
||||
<div class="sm12">
|
||||
<div class="clearfix form-group civilite">
|
||||
<label>{l s='Title'}</label>
|
||||
{foreach from=$genders key=k item=gender}
|
||||
<div>
|
||||
<label for="id_gender{$gender->id}" class="top">{$gender->name}</label>
|
||||
<input type="radio" name="id_gender" class="custom-input inline" id="id_gender{$gender->id}" value="{$gender->id}" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == $gender->id}checked="checked"{/if} />
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- Account -->
|
||||
|
||||
|
||||
<div class="required form-group sm4">
|
||||
<label for="firstname">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" class="is_required validate form-control" data-validate="isName" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
|
||||
</div>
|
||||
<div class="required form-group sm4">
|
||||
<label for="lastname">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" class="is_required validate form-control" data-validate="isName" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
|
||||
</div>
|
||||
<div class="required form-group sm4">
|
||||
<label for="guest_email">{l s='Email address'} <sup>*</sup></label>
|
||||
<input type="text" class="is_required validate form-control" data-validate="isEmail" id="guest_email" name="guest_email" value="{if isset($smarty.post.guest_email)}{$smarty.post.guest_email}{/if}" />
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<fieldset class="delivery-address">
|
||||
|
||||
<h3 class="title">{l s='Delivery address'}</h3>
|
||||
<span class="label-required pull-right"><sup>*</sup>{l s='Required field'}</span>
|
||||
<div class="row addressFields">
|
||||
{foreach from=$dlv_all_fields item=field_name}
|
||||
|
||||
{if $field_name eq "address1"}
|
||||
<div class="required form-group md12 sm12">
|
||||
<label for="address1">{l s='Address'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "address2"}
|
||||
<div class="form-group is_customer_param md6 sm12">
|
||||
<label for="address2">{l s='Address (Line 2)'}{if in_array($field_name, $required_fields)} <sup>*</sup>{/if}</label>
|
||||
<input type="text" class="form-control" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" />
|
||||
</div>
|
||||
<div class="{if isset($one_phone_at_least) && $one_phone_at_least}required {/if}form-group md6 sm6">
|
||||
<label for="phone_mobile">{l s='Mobile phone'}{if isset($one_phone_at_least) && $one_phone_at_least} <sup>*</sup>{/if}</label>
|
||||
<input type="text" class="form-control" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "postcode"}
|
||||
{assign var='postCodeExist' value=true}
|
||||
<div class="required postcode form-group md4 sm6">
|
||||
<label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="validate form-control" name="postcode" id="postcode" data-validate="isPostCode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}"/>
|
||||
</div>
|
||||
{elseif $field_name eq "city"}
|
||||
<div class="required form-group md4 sm6">
|
||||
<label for="city">{l s='City'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}" />
|
||||
</div>
|
||||
<!-- if customer hasn't update his layout address, country has to be verified but it's deprecated -->
|
||||
{elseif $field_name eq "Country:name" || $field_name eq "country"}
|
||||
<div class="required select form-group md4 sm6">
|
||||
<label for="id_country">{l s='Country'} <sup>*</sup></label>
|
||||
<select name="id_country" id="id_country" class="form-control custom-input">
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}"{if (isset($smarty.post.id_country) AND $smarty.post.id_country == $v.id_country) OR (!isset($smarty.post.id_country) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $stateExist eq false}
|
||||
<div class="required id_state select unvisible form-group md4 sm6">
|
||||
<label for="id_state">{l s='State'} <sup>*</sup></label>
|
||||
<select name="id_state" id="id_state" class="form-control custom-input">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
{if $postCodeExist eq false}
|
||||
<div class="required postcode unvisible form-group md4 sm6">
|
||||
<label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="validate form-control" name="postcode" id="postcode" data-validate="isPostCode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}"/>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="alias" id="alias" value="{l s='My address'}" />
|
||||
<input type="hidden" name="is_new_customer" id="is_new_customer" value="0" />
|
||||
|
||||
</fieldset>
|
||||
<fieldset class="bg-blue">
|
||||
<div >
|
||||
<input type="checkbox" name="invoice_address" id="invoice_address" checked="checked" autocomplete="off" class="custom-input inline opc"/>
|
||||
<label for="invoice_address">{l s='Use the same address for invoice'}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset id="opc_invoice_address" class="unvisible row">
|
||||
|
||||
<div >
|
||||
{assign var=stateExist value=false}
|
||||
{assign var=postCodeExist value=false}
|
||||
{assign var=dniExist value=false}
|
||||
<div class="col-sm-12"><h3 class="title2">{l s='Invoice address'}</h3></div>
|
||||
{foreach from=$inv_all_fields item=field_name}
|
||||
|
||||
{if $field_name eq "firstname"}
|
||||
<div class="required form-group col-sm-6">
|
||||
<label for="firstname_invoice">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="firstname_invoice" name="firstname_invoice" value="{if isset($smarty.post.firstname_invoice) && $smarty.post.firstname_invoice}{$smarty.post.firstname_invoice}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "lastname"}
|
||||
<div class="required form-group col-sm-6">
|
||||
<label for="lastname_invoice">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" id="lastname_invoice" name="lastname_invoice" value="{if isset($smarty.post.lastname_invoice) && $smarty.post.lastname_invoice}{$smarty.post.lastname_invoice}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "address1"}
|
||||
<div class="required form-group col-sm-6">
|
||||
<label for="address1_invoice">{l s='Address'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="address1_invoice" id="address1_invoice" value="{if isset($smarty.post.address1_invoice) && $smarty.post.address1_invoice}{$smarty.post.address1_invoice}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "address2"}
|
||||
<div class="form-group is_customer_param col-sm-6">
|
||||
<label for="address2_invoice">{l s='Address (Line 2)'}{if in_array($field_name, $required_fields)} <sup>*</sup>{/if}</label>
|
||||
<input type="text" class="form-control" name="address2_invoice" id="address2_invoice" value="{if isset($smarty.post.address2_invoice) && $smarty.post.address2_invoice}{$smarty.post.address2_invoice}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "postcode"}
|
||||
{$postCodeExist = true}
|
||||
<div class="required postcode_invoice form-group col-sm-3">
|
||||
<label for="postcode_invoice">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="validate form-control" name="postcode_invoice" id="postcode_invoice" data-validate="isPostCode" value="{if isset($smarty.post.postcode_invoice) && $smarty.post.postcode_invoice}{$smarty.post.postcode_invoice}{/if}"/>
|
||||
</div>
|
||||
{elseif $field_name eq "city"}
|
||||
<div class="required form-group col-sm-6">
|
||||
<label for="city_invoice">{l s='City'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="city_invoice" id="city_invoice" value="{if isset($smarty.post.city_invoice) && $smarty.post.city_invoice}{$smarty.post.city_invoice}{/if}" />
|
||||
</div>
|
||||
{elseif $field_name eq "country" || $field_name eq "Country:name"}
|
||||
<div class="required form-group col-sm-3">
|
||||
<label for="id_country_invoice">{l s='Country'} <sup>*</sup></label>
|
||||
<select name="id_country_invoice" id="id_country_invoice" class="form-control custom-input">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}"{if (isset($smarty.post.id_country_invoice) && $smarty.post.id_country_invoice == $v.id_country) OR (!isset($smarty.post.id_country_invoice) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{elseif $field_name eq "state" || $field_name eq 'State:name'}
|
||||
{$stateExist = true}
|
||||
<div class="required id_state_invoice form-group col-sm-6" style="display:none;">
|
||||
<label for="id_state_invoice">{l s='State'} <sup>*</sup></label>
|
||||
<select name="id_state_invoice" id="id_state_invoice" class="form-control custom-input">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if !$postCodeExist}
|
||||
<div class="required postcode_invoice form-group unvisible col-sm-6">
|
||||
<label for="postcode_invoice">{l s='Zip/Postal Code'} <sup>*</sup></label>
|
||||
<input type="text" class="form-control" name="postcode_invoice" id="postcode_invoice" value="{if isset($smarty.post.postcode_invoice) && $smarty.post.postcode_invoice}{$smarty.post.postcode_invoice}{/if}"/>
|
||||
</div>
|
||||
{/if}
|
||||
{if !$stateExist}
|
||||
<div class="required id_state_invoice form-group unvisible col-sm-6">
|
||||
<label for="id_state_invoice">{l s='State'} <sup>*</sup></label>
|
||||
<select name="id_state_invoice" id="id_state_invoice" class="form-control custom-input">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="{if isset($one_phone_at_least) && $one_phone_at_least}required {/if}form-group col-sm-6">
|
||||
<label for="phone_mobile_invoice">{l s='Mobile phone'}{if isset($one_phone_at_least) && $one_phone_at_least} <sup>*</sup>{/if}</label>
|
||||
<input type="text" class="form-control" name="phone_mobile_invoice" id="phone_mobile_invoice" value="{if isset($smarty.post.phone_mobile_invoice) && $smarty.post.phone_mobile_invoice}{$smarty.post.phone_mobile_invoice}{/if}" />
|
||||
</div>
|
||||
<input type="hidden" name="alias_invoice" id="alias_invoice" value="{l s='My Invoice address'}" />
|
||||
</div>
|
||||
<!-- END Account -->
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<fieldset class="newsletter">
|
||||
<div class=" md8">
|
||||
{if isset($newsletter) && $newsletter}
|
||||
|
||||
<div class="form-group">
|
||||
<input class="custom-input inline" type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} />
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
{if isset($optin) && $optin}
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<input class="custom-input inline" type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if} />
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
<div class="md4">
|
||||
{$HOOK_CREATE_ACCOUNT_FORM}
|
||||
<p class="cart_navigation required submit clearfix">
|
||||
|
||||
<input type="hidden" name="display_guest_checkout" value="1" />
|
||||
<button type="submit" class="button btn btn-default pull-right" name="submitGuestAccount" id="submitGuestAccount">
|
||||
<span>
|
||||
{l s='Proceed to checkout'}
|
||||
<i class="icon-chevron-right right"></i>
|
||||
</span>
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{strip}
|
||||
{if isset($smarty.post.id_state) && $smarty.post.id_state}
|
||||
{addJsDef idSelectedState=$smarty.post.id_state|intval}
|
||||
{else if isset($address->id_state) && $address->id_state}
|
||||
{addJsDef idSelectedState=$address->id_state|intval}
|
||||
{else}
|
||||
{addJsDef idSelectedState=false}
|
||||
{/if}
|
||||
{if isset($smarty.post.id_state_invoice) && isset($smarty.post.id_state_invoice) && $smarty.post.id_state_invoice}
|
||||
{addJsDef idSelectedStateInvoice=$smarty.post.id_state_invoice|intval}
|
||||
{else}
|
||||
{addJsDef idSelectedStateInvoice=false}
|
||||
{/if}
|
||||
{if isset($smarty.post.id_country) && $smarty.post.id_country}
|
||||
{addJsDef idSelectedCountry=$smarty.post.id_country|intval}
|
||||
{else if isset($address->id_country) && $address->id_country}
|
||||
{addJsDef idSelectedCountry=$address->id_country|intval}
|
||||
{else}
|
||||
{addJsDef idSelectedCountry=false}
|
||||
{/if}
|
||||
{if isset($smarty.post.id_country_invoice) && isset($smarty.post.id_country_invoice) && $smarty.post.id_country_invoice}
|
||||
{addJsDef idSelectedCountryInvoice=$smarty.post.id_country_invoice|intval}
|
||||
{else}
|
||||
{addJsDef idSelectedCountryInvoice=false}
|
||||
{/if}
|
||||
{if isset($countries)}
|
||||
{addJsDef countries=$countries}
|
||||
{/if}
|
||||
{if isset($vatnumber_ajax_call) && $vatnumber_ajax_call}
|
||||
{addJsDef vatnumber_ajax_call=$vatnumber_ajax_call}
|
||||
{/if}
|
||||
{/strip}
|
38
www/themes/chocolatdemariage/best-sales.tpl
Normal file
@ -0,0 +1,38 @@
|
||||
{capture name=path}{l s='Top sellers'}{/capture}
|
||||
{capture name=title}{l s='Top sellers'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title type=''}
|
||||
|
||||
<div class="products ctn">
|
||||
<div class="row">
|
||||
<aside class="filters md3">
|
||||
{hook h='displayFilters'}
|
||||
</aside>
|
||||
|
||||
{if $products}
|
||||
<section class="md9">
|
||||
<div class="product-sort clearfix valign-middle">
|
||||
<div class="nb-products">
|
||||
{if $nb_products > 1}
|
||||
{l s='Il y a '} <span>{$nb_products} {l s='produits'}</span>
|
||||
{else}
|
||||
{l s='Il y a '} <span>{$nb_products} {l s='produit'}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{include file="./product-sort.tpl"}
|
||||
</div>
|
||||
<div class="products-list">
|
||||
<div class="row">
|
||||
{include file="./product-list.tpl" products=$products nbProduct=3}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{include file="./pagination.tpl" paginationId='bottom'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
33
www/themes/chocolatdemariage/breadcrumb.tpl
Normal file
@ -0,0 +1,33 @@
|
||||
<!-- Breadcrumb -->
|
||||
<div class="crumb valign-bottom">
|
||||
<div class="back valign-middle s18">
|
||||
<i class="icon icon-arrow-left"></i>
|
||||
<span>{l s='Back'}</span>
|
||||
</div>
|
||||
<div>
|
||||
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
|
||||
|
||||
<a class="home" href="{$base_dir}" title="{l s='Return to Home'}">{l s='Home'}</a><span class="navigation-pipe">/</span>
|
||||
{if isset($path) AND $path}
|
||||
{if $path|strpos:'span' !== false}
|
||||
{$path|@replace:'<a ': '<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" '|@replace:'data-gg="">': '><span itemprop="title">'|@replace:'</a><span class="navigation-pipe">></span>': '</span></a></span><span class="navigation-pipe">/</span>'}</span>
|
||||
|
||||
{else}
|
||||
<span>{$path}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if isset($smarty.get.search_query) && isset($smarty.get.results) && $smarty.get.results > 1 && isset($smarty.server.HTTP_REFERER)}
|
||||
<div class="pull-right">
|
||||
<strong>
|
||||
{capture}{if isset($smarty.get.HTTP_REFERER) && $smarty.get.HTTP_REFERER}{$smarty.get.HTTP_REFERER}{elseif isset($smarty.server.HTTP_REFERER) && $smarty.server.HTTP_REFERER}{$smarty.server.HTTP_REFERER}{/if}{/capture}
|
||||
<a href="{$smarty.capture.default|escape:'html':'UTF-8'|secureReferrer|regex_replace:'/[\?|&]content_only=1/':''}" name="back">
|
||||
<i class="icon-chevron-left left"></i> {l s='Back to Search results for "%s" (%d other results)' sprintf=[$smarty.get.search_query,$smarty.get.results]}
|
||||
</a>
|
||||
</strong>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /Breadcrumb -->
|
52
www/themes/chocolatdemariage/category-cms-tree-branch.tpl
Normal file
@ -0,0 +1,52 @@
|
||||
{*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<li {if isset($last) && $last == 'true'}class="last"{/if}>
|
||||
<a href="{$node.link|escape:'html':'UTF-8'}" title="{$node.name|escape:'html':'UTF-8'}">{$node.name|escape:'html':'UTF-8'}<i class="icon"></i></a>
|
||||
{if isset($node.children) && $node.children|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.children item=child name=categoryCmsTreeBranch}
|
||||
{if isset($child.children) && $child.children|@count > 0 || isset($child.cms) && $child.cms|@count > 0}
|
||||
{if $smarty.foreach.categoryCmsTreeBranch.last && $node.cms|@count == 0}
|
||||
{include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child last='true'}
|
||||
{else}
|
||||
{include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child}
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if isset($node.cms) && $node.cms|@count > 0}
|
||||
{foreach from=$node.cms item=cms name=cmsTreeBranch}
|
||||
<li {if $smarty.foreach.cmsTreeBranch.last}class="last"{/if} ><a href="{$cms.link|escape:'html':'UTF-8'}" title="{$cms.meta_title|escape:'html':'UTF-8'}">{$cms.meta_title|escape:'html':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</ul>
|
||||
{elseif isset($node.cms) && $node.cms|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.cms item=cms name=cmsTreeBranch}
|
||||
<li {if $smarty.foreach.cmsTreeBranch.last}class="last"{/if} ><a href="{$cms.link|escape:'html':'UTF-8'}" title="{$cms.meta_title|escape:'html':'UTF-8'}">{$cms.meta_title|escape:'html':'UTF-8'}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</li>
|
38
www/themes/chocolatdemariage/category-count.tpl
Normal file
@ -0,0 +1,38 @@
|
||||
{*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{strip}
|
||||
<span class="heading-counter">
|
||||
{if (isset($category) && $category->id == 1) OR (isset($nb_products) && $nb_products == 0)}
|
||||
{l s='There are no products in this category.'}
|
||||
{else}
|
||||
{if isset($nb_products) && $nb_products == 1}
|
||||
{l s='There is 1 product.'}
|
||||
{elseif isset($nb_products)}
|
||||
{l s='There are %d products.' sprintf=$nb_products}
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
{/strip}
|
37
www/themes/chocolatdemariage/category-list.tpl
Normal file
@ -0,0 +1,37 @@
|
||||
{assign var=nbProduct value=count($products)}
|
||||
|
||||
{if isset($category)}
|
||||
{if $category->id AND $category->active}
|
||||
|
||||
{hook h='displayFilters' category=$category->id nbPieces=$category->available_pieces}
|
||||
|
||||
<main class="category-list">
|
||||
<!-- Sous-categorie -->
|
||||
{if isset($subcategories)}
|
||||
<section id="families" class="block">
|
||||
<div class="ctn children-categories-ctn">
|
||||
<div class="clearfix">
|
||||
{foreach from=$subcategories.children item=subcategory key=key}
|
||||
<div class="category-ctn{if $key%2} alt{/if} {if $key%4 == 0} clear{/if} md3 sm4 xs6 xxs12">
|
||||
<h3><a href="{$subcategory.link}" title="{$subcategory.name}">{$subcategory.name}</a></h3>
|
||||
{if !empty($subcategory.children)}
|
||||
<ul class="children-categories">
|
||||
{foreach from=$subcategory.children item=children name=children}
|
||||
<li><a href="{$children.link}" title="{$children.name}">{$children.name} <strong>({$children.nbProduct})</strong></a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
</main>
|
||||
|
||||
{elseif $category->id}
|
||||
<p class="alert alert-warning ctn">{l s='This category is currently unavailable.'}</p>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
41
www/themes/chocolatdemariage/category-tree-branch.tpl
Normal file
@ -0,0 +1,41 @@
|
||||
{*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<li {if isset($last) && $last == 'true'}class="last"{/if}>
|
||||
<a href="{$node.link|escape:'html':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:'html':'UTF-8'}">
|
||||
<span>{$node.name|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{if $node.children|@count > 0}
|
||||
<ul>
|
||||
{foreach from=$node.children item=child name=categoryTreeBranch}
|
||||
{if $smarty.foreach.categoryTreeBranch.last}
|
||||
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'}
|
||||
{else}
|
||||
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</li>
|
48
www/themes/chocolatdemariage/category.tpl
Normal file
@ -0,0 +1,48 @@
|
||||
{assign var=nbProduct value=count($products)}
|
||||
|
||||
{if isset($category)}
|
||||
{if $category->id AND $category->active}
|
||||
|
||||
<main>
|
||||
<div class="ctn">
|
||||
<div class="row">
|
||||
<aside class="filters md3">
|
||||
{hook h="displayAsideCategory"}
|
||||
</aside>
|
||||
|
||||
<section class="md9 block">
|
||||
<a href="#" class="switch-category hidden-lg hidden-md"><i class="icon icon-filter"></i>{l s='Changer de catégorie'}</a>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" category=$category type='category'}
|
||||
|
||||
{if $products}
|
||||
<div class="products-list">
|
||||
<div class="clearfix">
|
||||
{include file="./product-list-line.tpl" products=$products nbProduct=3}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include file="./pagination.tpl" paginationId='bottom'}
|
||||
</footer>
|
||||
{/if}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{if isset($category->long_description) && $category->long_description}
|
||||
<section id="more" class="long-desc block">
|
||||
<div class="ctn">
|
||||
<div class="inner cms-style">
|
||||
{$category->long_description}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
{elseif $category->id}
|
||||
<p class="alert alert-warning ctn">{l s='This category is currently unavailable.'}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
|
129
www/themes/chocolatdemariage/cms.tpl
Normal file
@ -0,0 +1,129 @@
|
||||
{capture name=path}{$cms->meta_title}{/capture}
|
||||
{capture name=title}{$cms->meta_title}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title type=''}
|
||||
|
||||
{if !isset($cms)}
|
||||
<div class="alert alert-danger">
|
||||
<div class="ctn">
|
||||
{l s='This page does not exist.'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($cms)}
|
||||
<div class="ctn main">
|
||||
<div class="row">
|
||||
<!-- Sous navigation -->
|
||||
{if isset($cms_pages) && !empty($cms_pages) && isset($cms_categories.children) && !empty($cms_categories.children) && !$content_only}
|
||||
<div class="md3 clearfix">
|
||||
<nav class="sub-nav-cms">
|
||||
<span class="title">{l s='Categories'}</span>
|
||||
<div class="content">
|
||||
<ul class="tree list-group">
|
||||
{foreach from=$cms_categories.children item=childrenCategory}
|
||||
<li {if $cms->id_cms_category == $childrenCategory.id_cms_category} class="open"{/if}>
|
||||
<span>{$childrenCategory.name}<i class="icon icon-plus"></i></span>
|
||||
<ul class="tree">
|
||||
{foreach from=$childrenCategory.cms item=cmsPage}
|
||||
<li>
|
||||
<a {if $cms->id == $cmsPage.id_cms} class="active" {/if}href="{$link->getCMSLink($cmsPage.id_cms, $cmsPage.link_rewrite)|escape:'html':'UTF-8'}">- {$cmsPage.meta_title|escape:'html':'UTF-8'}<i class="icon icon-arrow-right"></i></a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<!-- Contenu -->
|
||||
<div class="md9 {if $content_only} content_only{/if}">
|
||||
<div class="inner cms-style">
|
||||
{$cms->content}
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<!-- Contenu -->
|
||||
{if !empty($cms->matrices)}
|
||||
<div class="matrices" >
|
||||
{foreach from=$cms->matrices item=matrice name=matrice}
|
||||
{capture name='imgCms'}{$base_dir}img/cms/matrices/{$matrice.image[$id_lang]}.jpg{/capture}
|
||||
<div class="bg clearfix" {if $matrice.imgBackground[$id_lang] && $matrice.image[$id_lang] && Tools::fileExists($smarty.capture.imgCms)} style="background-image : url('{$smarty.capture.imgCms}'"{/if}>
|
||||
|
||||
<div class="cms-style matrice" style="{if $matrice.blockColor[$id_lang]}background-color: {$matrice.blockColor[$id_lang]};{/if} {if $matrice.textColor[$id_lang]}color : {$matrice.textColor[$id_lang]}{/if}">
|
||||
{if !$matrice.fullwidth[$id_lang]}
|
||||
<div class="ctn">
|
||||
<div class="row">
|
||||
{/if}
|
||||
<div class="offset-md2 md6 {if $matrice.imgPosition[$id_lang]}push-md3{/if}">
|
||||
|
||||
|
||||
{if $matrice.titre[$id_lang]}
|
||||
<h2 class="title">{$matrice.titre[$id_lang]}</h2>
|
||||
{/if}
|
||||
{if $matrice.soustitre[$id_lang]}
|
||||
<span>{$matrice.soustitre[$id_lang]}</span>
|
||||
{/if}
|
||||
|
||||
{if $matrice.content[$id_lang]}
|
||||
<div class="content" style="{if $matrice.textPosition[$id_lang]}text-align:right{/if}">{$matrice.content[$id_lang]}</div>
|
||||
{/if}
|
||||
|
||||
{if $matrice.content2[$id_lang]}
|
||||
<div class="content2">{$matrice.content2[$id_lang]}</div>
|
||||
{/if}
|
||||
|
||||
{if $matrice.link[$id_lang] && $matrice.linkLabel[$id_lang]}
|
||||
<a class="btn" href="{$matrice.link[$id_lang]}" {if $matrice.linkLabel[$id_lang]}title ="{$matrice.linkLabel[$id_lang]}"{/if}>
|
||||
{/if}
|
||||
|
||||
{if $matrice.linkLabel[$id_lang]}{$matrice.linkLabel[$id_lang]}{/if}
|
||||
|
||||
{if $matrice.link[$id_lang]}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
<div class="offset-md1 md3 {if $matrice.imgPosition[$id_lang]}pull-md8{/if}">
|
||||
{if $matrice.image[$id_lang] && !$matrice.imgBackground[$id_lang]}
|
||||
<div class="img">
|
||||
<img src="{$base_dir}img/cms/matrices/{$matrice.image[$id_lang]}.jpg" {if $matrice.linkLabel[$id_lang]}alt ="{$matrice.linkLabel[$id_lang]}"{/if} />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{if !$matrice.fullwidth[$id_lang]}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
<div class="md12 {if $content_only} content_only{/if}">
|
||||
<div class="inner cms-style">
|
||||
{$cms->content}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</section>
|
||||
</main>
|
||||
|
||||
{strip}
|
||||
{if isset($smarty.get.ad) && $smarty.get.ad}
|
||||
{addJsDefL name=ad}{$base_dir|cat:$smarty.get.ad|escape:'html':'UTF-8'}{/addJsDefL}
|
||||
{/if}
|
||||
{if isset($smarty.get.adtoken) && $smarty.get.adtoken}
|
||||
{addJsDefL name=adtoken}{$smarty.get.adtoken|escape:'html':'UTF-8'}{/addJsDefL}
|
||||
{/if}
|
||||
{/strip}
|
25
www/themes/chocolatdemariage/config.rb
Normal file
@ -0,0 +1,25 @@
|
||||
# Require any additional compass plugins here.
|
||||
|
||||
# Set this to the root of your project when deployed:
|
||||
http_path = "/"
|
||||
css_dir = "css"
|
||||
sass_dir = "sass"
|
||||
images_dir = "img"
|
||||
javascripts_dir = "js"
|
||||
fonts_dir = "font"
|
||||
|
||||
output_style = :nested
|
||||
environment = :development
|
||||
|
||||
# To enable relative paths to assets via compass helper functions. Uncomment:
|
||||
# relative_assets = true
|
||||
|
||||
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
||||
line_comments = false
|
||||
color_output = false
|
||||
|
||||
# If you prefer the indented syntax, you might want to regenerate this
|
||||
# project again passing --syntax sass, or you can uncomment this:
|
||||
# preferred_syntax = :sass
|
||||
# and then run:
|
||||
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
|
9
www/themes/chocolatdemariage/config.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<theme>
|
||||
<version value="1.4">
|
||||
<ccc available="true" />
|
||||
<guest_checkout available="true" />
|
||||
<one_page_checkout available="true" />
|
||||
<store_locator available="true" />
|
||||
</version>
|
||||
</theme>
|
127
www/themes/chocolatdemariage/contact-form.tpl
Normal file
@ -0,0 +1,127 @@
|
||||
{capture name=path}{l s='Contact'}{/capture}
|
||||
{capture name=title}{l s='Customer service'}{/capture}
|
||||
{capture name=subtitle}{l s='Toute notre équipe est à votre écoute.'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title subtitle=$smarty.capture.subtitle type=''}
|
||||
|
||||
{if isset($confirmation)}
|
||||
<div class="alert alert-success">
|
||||
<p class="ctn">{l s='Your message has been successfully sent to our team.'}</p>
|
||||
</div>
|
||||
<div class="ctn account">
|
||||
<a class="btn btn2 icon-left" href="{$base_dir}">
|
||||
<i class="icon icon-arrow-left"></i>
|
||||
<span>{l s='Home'}</span>
|
||||
</a>
|
||||
</div>
|
||||
{elseif isset($alreadySent)}
|
||||
<div class="alert alert-success">
|
||||
<p class="ctn">{l s='Your message has already been sent.'}</p>
|
||||
</div>
|
||||
<div class="ctn account">
|
||||
<a class="btn btn2 icon-left" href="{$base_dir}">
|
||||
<i class="icon icon-arrow-left"></i>
|
||||
<span>{l s='Home'}</span>
|
||||
</a>
|
||||
</div>
|
||||
{else}
|
||||
|
||||
|
||||
<div class="ctn main">
|
||||
<form action="{$request_uri}" method="post" class="contact-form-box clearfix" enctype="multipart/form-data">
|
||||
<div class="row">
|
||||
<div class="xs12 md5">
|
||||
<div class="form-group">
|
||||
<label for="id_contact">{l s='Subject Heading'}</label>
|
||||
{if isset($customerThread.id_contact)}
|
||||
{foreach from=$contacts item=contact}
|
||||
{if $contact.id_contact == $customerThread.id_contact}
|
||||
<input type="text" class="form-control" id="contact_name" name="contact_name" value="{$contact.name|escape:'html':'UTF-8'}" readonly="readonly" />
|
||||
<input type="hidden" name="id_contact" value="{$contact.id_contact}" />
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
<select id="id_contact" class="custom-input form-control" name="id_contact">
|
||||
<option value="0">{l s='-- Choose --'}</option>
|
||||
{foreach from=$contacts item=contact}
|
||||
<option value="{$contact.id_contact|intval}" {if isset($smarty.request.id_contact) && $smarty.request.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
<p class="form-group">
|
||||
<label for="email">{l s='Email address'}</label>
|
||||
{if isset($customerThread.email)}
|
||||
<input class="form-control grey" type="text" id="email" name="from" value="{$customerThread.email|escape:'html':'UTF-8'}" readonly="readonly" />
|
||||
{else}
|
||||
<input class="form-control grey validate" type="text" id="email" name="from" data-validate="isEmail" value="{$email|escape:'html':'UTF-8'}" />
|
||||
{/if}
|
||||
</p>
|
||||
{if !$PS_CATALOG_MODE}
|
||||
{if (!isset($customerThread.id_order) || $customerThread.id_order > 0)}
|
||||
<div class="form-group">
|
||||
<label>{l s='Order reference'}</label>
|
||||
{if !isset($customerThread.id_order) && isset($is_logged) && $is_logged}
|
||||
<select name="id_order" class="custom-input form-control">
|
||||
<option value="0">{l s='-- Choose --'}</option>
|
||||
{foreach from=$orderList item=order}
|
||||
<option value="{$order.value|intval}"{if $order.selected|intval} selected="selected"{/if}>{$order.label|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif !isset($customerThread.id_order) && empty($is_logged)}
|
||||
<input class="form-control grey" type="text" name="id_order" id="id_order" value="{if isset($customerThread.id_order) && $customerThread.id_order|intval > 0}{$customerThread.id_order|intval}{else}{if isset($smarty.post.id_order) && !empty($smarty.post.id_order)}{$smarty.post.id_order|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
{elseif $customerThread.id_order|intval > 0}
|
||||
<input class="form-control grey" type="text" name="id_order" id="id_order" value="{if isset($customerThread.reference) && $customerThread.reference}{$customerThread.reference|escape:'html':'UTF-8'}{else}{$customerThread.id_order|intval}{/if}" readonly="readonly" />
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($is_logged) && $is_logged}
|
||||
{if !isset($customerThread.id_product)}
|
||||
{foreach from=$orderedProductList key=id_order item=products name=products}
|
||||
<div id="{$id_order}_order_products" class="form-group unvisible">
|
||||
<label>{l s='Product'}</label>
|
||||
<select name="id_product" class="custom-input product_select form-control"{if !$smarty.foreach.products.first} style="display:none;"{/if}{if !$smarty.foreach.products.first} disabled="disabled"{/if}>
|
||||
<option value="0">{l s='-- Choose --'}</option>
|
||||
{foreach from=$products item=product}
|
||||
<option value="{$product.value|intval}">{$product.label|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{/foreach}
|
||||
{elseif $customerThread.id_product > 0}
|
||||
<input type="hidden" name="id_product" id="id_product" value="{$customerThread.id_product|intval}" readonly="readonly" />
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
{if $fileupload == 1}
|
||||
<p class="form-group">
|
||||
<label for="fileUpload">{l s='Attach File'}</label>
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
|
||||
<input type="file" name="fileUpload" id="fileUpload" class="custom-input form-control" />
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="xs12 md7">
|
||||
<div class="form-group">
|
||||
<label for="message">{l s='Message'}</label>
|
||||
<textarea class="form-control" id="message" name="message">{if isset($message)}{$message|escape:'html':'UTF-8'|stripslashes}{/if}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="submit clear">
|
||||
<button type="submit" name="submitMessage" id="submitMessage" class="btn icon-right pull-right">
|
||||
<i class="icon icon-arrow-right"></i>
|
||||
<span>{l s='Send'}</span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{addJsDefL name='filePlaceHolder'}{l s='No file selected' js=1}{/addJsDefL}
|
||||
{addJsDefL name='filePlaceHolderButton'}{l s='Choose File' js=1}{/addJsDefL}
|
273
www/themes/chocolatdemariage/css/autoload/fancybox.css
Normal file
@ -0,0 +1,273 @@
|
||||
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
|
||||
.fancybox-wrap,
|
||||
.fancybox-skin,
|
||||
.fancybox-outer,
|
||||
.fancybox-inner,
|
||||
.fancybox-image,
|
||||
.fancybox-wrap iframe,
|
||||
.fancybox-wrap object,
|
||||
.fancybox-nav,
|
||||
.fancybox-nav span,
|
||||
.fancybox-tmp
|
||||
{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
outline: none;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.fancybox-wrap {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 8020;
|
||||
}
|
||||
|
||||
.fancybox-skin {
|
||||
position: relative;
|
||||
background: #fff;
|
||||
color: #444;
|
||||
text-shadow: none;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.fancybox-opened {
|
||||
z-index: 8030;
|
||||
}
|
||||
|
||||
.fancybox-opened .fancybox-skin {
|
||||
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.fancybox-outer, .fancybox-inner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fancybox-inner {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fancybox-type-iframe .fancybox-inner {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.fancybox-error {
|
||||
color: #444;
|
||||
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.fancybox-image, .fancybox-iframe {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fancybox-image {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
||||
background-image: url('../../img/jquery/fancybox_sprite.png');
|
||||
}
|
||||
|
||||
#fancybox-loading {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -22px;
|
||||
margin-left: -22px;
|
||||
background-position: 0 -108px;
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
z-index: 8060;
|
||||
}
|
||||
|
||||
#fancybox-loading div {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: url('../../img/jquery/fancybox_loading.gif') center center no-repeat;
|
||||
}
|
||||
|
||||
.fancybox-close {
|
||||
position: absolute;
|
||||
top: -18px;
|
||||
right: -18px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
cursor: pointer;
|
||||
z-index: 8040;
|
||||
}
|
||||
|
||||
.fancybox-nav {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 40%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
z-index: 8040;
|
||||
}
|
||||
|
||||
.fancybox-prev {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.fancybox-next {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.fancybox-nav span {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 36px;
|
||||
height: 34px;
|
||||
margin-top: -18px;
|
||||
cursor: pointer;
|
||||
z-index: 8040;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.fancybox-prev span {
|
||||
left: 10px;
|
||||
background-position: 0 -36px;
|
||||
}
|
||||
|
||||
.fancybox-next span {
|
||||
right: 10px;
|
||||
background-position: 0 -72px;
|
||||
}
|
||||
|
||||
.fancybox-nav:hover span {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.fancybox-tmp {
|
||||
position: absolute;
|
||||
top: -99999px;
|
||||
left: -99999px;
|
||||
visibility: hidden;
|
||||
max-width: 99999px;
|
||||
max-height: 99999px;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Overlay helper */
|
||||
|
||||
.fancybox-lock {
|
||||
overflow: hidden !important;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.fancybox-lock body {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.fancybox-lock-test {
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
.fancybox-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
display: none;
|
||||
z-index: 8010;
|
||||
background: url('fancybox_overlay.png');
|
||||
}
|
||||
|
||||
.fancybox-overlay-fixed {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.fancybox-lock .fancybox-overlay {
|
||||
overflow: auto;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
/* Title helper */
|
||||
|
||||
.fancybox-title {
|
||||
visibility: hidden;
|
||||
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
position: relative;
|
||||
text-shadow: none;
|
||||
z-index: 8050;
|
||||
}
|
||||
|
||||
.fancybox-opened .fancybox-title {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.fancybox-title-float-wrap {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 50%;
|
||||
margin-bottom: -35px;
|
||||
z-index: 8050;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fancybox-title-float-wrap .child {
|
||||
display: inline-block;
|
||||
margin-right: -100%;
|
||||
padding: 2px 20px;
|
||||
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
-webkit-border-radius: 15px;
|
||||
-moz-border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
text-shadow: 0 1px 2px #222;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
line-height: 24px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.fancybox-title-outside-wrap {
|
||||
position: relative;
|
||||
margin-top: 10px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.fancybox-title-inside-wrap {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.fancybox-title-over-wrap {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
background: #000;
|
||||
background: rgba(0, 0, 0, .8);
|
||||
}
|
||||
|
||||
/*Retina graphics!*/
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
||||
only screen and (min--moz-device-pixel-ratio: 1.5),
|
||||
only screen and (min-device-pixel-ratio: 1.5){
|
||||
|
||||
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
||||
background-image: url('fancybox_sprite@2x.png');
|
||||
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
|
||||
}
|
||||
|
||||
#fancybox-loading div {
|
||||
background-image: url('fancybox_loading@2x.gif');
|
||||
background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
|
||||
}
|
||||
}
|
12
www/themes/chocolatdemariage/css/autoload/highdpi.css
Normal file
@ -0,0 +1,12 @@
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
|
||||
.replace-2x {
|
||||
font-size: 1px;
|
||||
}
|
||||
.example {
|
||||
background-image: url(../images/example2x.png);
|
||||
-webkit-background-size:13px 13px;
|
||||
-moz-background-size:13px 13px;
|
||||
-o-background-size:13px 13px;
|
||||
background-size:13px 13px;
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 1.7 KiB |
35
www/themes/chocolatdemariage/css/autoload/images/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 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/osl-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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
After Width: | Height: | Size: 98 B |
After Width: | Height: | Size: 97 B |
After Width: | Height: | Size: 113 B |
After Width: | Height: | Size: 82 B |
After Width: | Height: | Size: 89 B |
After Width: | Height: | Size: 88 B |
After Width: | Height: | Size: 113 B |
After Width: | Height: | Size: 86 B |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 5.2 KiB |
35
www/themes/chocolatdemariage/css/autoload/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
120
www/themes/chocolatdemariage/css/autoload/jquery.jqzoom.css
Normal file
@ -0,0 +1,120 @@
|
||||
.zoomPad{
|
||||
position:relative;
|
||||
float:left;
|
||||
z-index:99;
|
||||
cursor:crosshair;
|
||||
}
|
||||
|
||||
|
||||
.zoomPreload{
|
||||
-moz-opacity:0.8;
|
||||
opacity: 0.8;
|
||||
filter: alpha(opacity = 80);
|
||||
color: #333;
|
||||
font-size: 12px;
|
||||
font-family: Tahoma;
|
||||
text-decoration: none;
|
||||
border: 1px solid #CCC;
|
||||
background-color: white;
|
||||
padding: 8px;
|
||||
text-align:center;
|
||||
background-image: url(zoomloader.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 43px 30px;
|
||||
z-index:110;
|
||||
width:90px;
|
||||
height:43px;
|
||||
position:absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
* width:100px;
|
||||
* height:49px;
|
||||
}
|
||||
|
||||
|
||||
.zoomPup{
|
||||
overflow:hidden;
|
||||
background-color: #FFF;
|
||||
-moz-opacity:0.6;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity = 60);
|
||||
z-index:120;
|
||||
position:absolute;
|
||||
border:1px solid #CCC;
|
||||
z-index:101;
|
||||
cursor:crosshair;
|
||||
}
|
||||
|
||||
.zoomOverlay{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
background:#FFF;
|
||||
/*opacity:0.5;*/
|
||||
z-index:5000;
|
||||
width:100%;
|
||||
height:100%;
|
||||
display:none;
|
||||
z-index:101;
|
||||
}
|
||||
|
||||
.zoomWindow{
|
||||
position:absolute;
|
||||
left:110%;
|
||||
top:40px;
|
||||
background:#FFF;
|
||||
z-index:6000;
|
||||
height:auto;
|
||||
z-index:10000;
|
||||
z-index:110;
|
||||
}
|
||||
.zoomWrapper{
|
||||
position:relative;
|
||||
border:1px solid #999;
|
||||
z-index:110;
|
||||
}
|
||||
.zoomWrapperTitle{
|
||||
display:block;
|
||||
background:#999;
|
||||
color:#FFF;
|
||||
height:18px;
|
||||
line-height:18px;
|
||||
width:100%;
|
||||
overflow:hidden;
|
||||
text-align:center;
|
||||
font-size:10px;
|
||||
position:absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
z-index:120;
|
||||
-moz-opacity:0.6;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity = 60);
|
||||
}
|
||||
.zoomWrapperImage{
|
||||
display:block;
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
z-index:110;
|
||||
|
||||
}
|
||||
.zoomWrapperImage img{
|
||||
border:0px;
|
||||
display:block;
|
||||
position:absolute;
|
||||
z-index:101;
|
||||
}
|
||||
|
||||
.zoomIframe{
|
||||
z-index: -1;
|
||||
filter:alpha(opacity=0);
|
||||
-moz-opacity: 0.80;
|
||||
opacity: 0.80;
|
||||
position:absolute;
|
||||
display:block;
|
||||
}
|
||||
|
||||
/*********************************************************
|
||||
/ When clicking on thumbs jqzoom will add the class
|
||||
/ "zoomThumbActive" on the anchor selected
|
||||
/*********************************************************/
|
93
www/themes/chocolatdemariage/css/autoload/jquery.ui.core.css
vendored
Normal file
@ -0,0 +1,93 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.10.3
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright 2013 jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*/
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.ui-helper-reset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
font-size: 100%;
|
||||
list-style: none;
|
||||
}
|
||||
.ui-helper-clearfix:before,
|
||||
.ui-helper-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-helper-clearfix {
|
||||
min-height: 0; /* support: IE7 */
|
||||
}
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter:Alpha(Opacity=0);
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
73
www/themes/chocolatdemariage/css/autoload/jquery.ui.slider.css
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
/*!
|
||||
* jQuery UI Slider 1.10.3
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright 2013 jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Slider#theming
|
||||
*/
|
||||
.ui-slider {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
.ui-slider .ui-slider-handle {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
cursor: default;
|
||||
}
|
||||
.ui-slider .ui-slider-range {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
font-size: .7em;
|
||||
display: block;
|
||||
border: 0;
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
/* For IE8 - See #6727 */
|
||||
.ui-slider.ui-state-disabled .ui-slider-handle,
|
||||
.ui-slider.ui-state-disabled .ui-slider-range {
|
||||
filter: inherit;
|
||||
}
|
||||
|
||||
.ui-slider-horizontal {
|
||||
height: .8em;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-handle {
|
||||
top: -6px;
|
||||
margin-left: -.6em;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-range {
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-range-min {
|
||||
left: 0;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-range-max {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.ui-slider-vertical {
|
||||
width: .8em;
|
||||
height: 100px;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-handle {
|
||||
left: -.3em;
|
||||
margin-left: 0;
|
||||
margin-bottom: -.6em;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-range {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-range-min {
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-range-max {
|
||||
top: 0;
|
||||
}
|
405
www/themes/chocolatdemariage/css/autoload/jquery.ui.theme.css
vendored
Normal file
@ -0,0 +1,405 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.10.3
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright 2013 jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/
|
||||
*/
|
||||
|
||||
|
||||
/* Component ctns
|
||||
----------------------------------*/
|
||||
.ui-widget {
|
||||
font-family: Verdana,Arial,sans-serif/*{ffDefault}*/;
|
||||
font-size: 1.1em/*{fsDefault}*/;
|
||||
}
|
||||
.ui-widget .ui-widget {
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget input,
|
||||
.ui-widget select,
|
||||
.ui-widget textarea,
|
||||
.ui-widget button {
|
||||
font-family: Verdana,Arial,sans-serif/*{ffDefault}*/;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 2px solid #dbdbdb/*{borderColorContent}*/;
|
||||
background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
|
||||
color: #222222/*{fcContent}*/;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
color: #222222/*{fcContent}*/;
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #fff;
|
||||
color: #222222;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-widget-header a {
|
||||
color: #222222/*{fcHeader}*/;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
border: 1px solid #d3d3d3/*{borderColorDefault}*/;
|
||||
background: #e6e6e6;
|
||||
cursor: pointer;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #555555/*{fcDefault}*/;
|
||||
}
|
||||
.ui-state-default a,
|
||||
.ui-state-default a:link,
|
||||
.ui-state-default a:visited {
|
||||
color: #555555/*{fcDefault}*/;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover,
|
||||
.ui-widget-content .ui-state-hover,
|
||||
.ui-widget-header .ui-state-hover,
|
||||
.ui-state-focus,
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus {
|
||||
border: 1px solid #999999/*{borderColorHover}*/;
|
||||
background: #dadada;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #212121/*{fcHover}*/;
|
||||
}
|
||||
.ui-state-hover a,
|
||||
.ui-state-hover a:hover,
|
||||
.ui-state-hover a:link,
|
||||
.ui-state-hover a:visited {
|
||||
color: #212121/*{fcHover}*/;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
border: 1px solid #aaaaaa/*{borderColorActive}*/;
|
||||
background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #212121/*{fcActive}*/;
|
||||
}
|
||||
.ui-state-active a,
|
||||
.ui-state-active a:link,
|
||||
.ui-state-active a:visited {
|
||||
color: #212121/*{fcActive}*/;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight,
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #fcefa1/*{borderColorHighlight}*/;
|
||||
background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
|
||||
color: #363636/*{fcHighlight}*/;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
.ui-widget-content .ui-state-highlight a,
|
||||
.ui-widget-header .ui-state-highlight a {
|
||||
color: #363636/*{fcHighlight}*/;
|
||||
}
|
||||
.ui-state-error,
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #cd0a0a/*{borderColorError}*/;
|
||||
background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
|
||||
color: #cd0a0a/*{fcError}*/;
|
||||
}
|
||||
.ui-state-error a,
|
||||
.ui-widget-content .ui-state-error a,
|
||||
.ui-widget-header .ui-state-error a {
|
||||
color: #cd0a0a/*{fcError}*/;
|
||||
}
|
||||
.ui-state-error-text,
|
||||
.ui-widget-content .ui-state-error-text,
|
||||
.ui-widget-header .ui-state-error-text {
|
||||
color: #cd0a0a/*{fcError}*/;
|
||||
}
|
||||
.ui-priority-primary,
|
||||
.ui-widget-content .ui-priority-primary,
|
||||
.ui-widget-header .ui-priority-primary {
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-priority-secondary,
|
||||
.ui-widget-content .ui-priority-secondary,
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: .7;
|
||||
filter:Alpha(Opacity=70);
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui-state-disabled,
|
||||
.ui-widget-content .ui-state-disabled,
|
||||
.ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
filter:Alpha(Opacity=35);
|
||||
background-image: none;
|
||||
}
|
||||
.ui-state-disabled .ui-icon {
|
||||
filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
|
||||
}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/;
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/;
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/;
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/;
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/;
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/;
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/;
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-blank { background-position: 16px 16px; }
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
/* Corner radius */
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-left,
|
||||
.ui-corner-tl {
|
||||
border-top-left-radius: 2px/*{cornerRadius}*/;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-right,
|
||||
.ui-corner-tr {
|
||||
border-top-right-radius: 2px/*{cornerRadius}*/;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-left,
|
||||
.ui-corner-bl {
|
||||
border-bottom-left-radius: 2px/*{cornerRadius}*/;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-right,
|
||||
.ui-corner-br {
|
||||
border-bottom-right-radius: 2px/*{cornerRadius}*/;
|
||||
}
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
|
||||
opacity: .3/*{opacityOverlay}*/;
|
||||
filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/;
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/;
|
||||
padding: 8px/*{thicknessShadow}*/;
|
||||
background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
|
||||
opacity: .3/*{opacityShadow}*/;
|
||||
filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/;
|
||||
border-radius: 8px/*{cornerRadiusShadow}*/;
|
||||
}
|
3927
www/themes/chocolatdemariage/css/global.css
Normal file
35
www/themes/chocolatdemariage/css/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
1443
www/themes/chocolatdemariage/css/k2000.css
Normal file
948
www/themes/chocolatdemariage/css/plugins.css
Normal file
@ -0,0 +1,948 @@
|
||||
|
||||
/*************************************************************************************************************
|
||||
************************************* Flexslider ****************************************
|
||||
**************************************************************************************************************/
|
||||
@font-face {
|
||||
font-family: 'flexslider-icon';
|
||||
src: url('fonts/flexslider-icon.eot');
|
||||
src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.flex-container a:hover,
|
||||
.flex-slider a:hover,
|
||||
.flex-container a:focus,
|
||||
.flex-slider a:focus {
|
||||
outline: none;
|
||||
}
|
||||
.slides,
|
||||
.slides > li,
|
||||
.flex-control-nav,
|
||||
.flex-direction-nav {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.flex-pauseplay span {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.flexslider {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.flexslider .slides > li {
|
||||
display: none;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
.flexslider .slides img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.flexslider .slides:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
html[xmlns] .flexslider .slides {
|
||||
display: block;
|
||||
}
|
||||
* html .flexslider .slides {
|
||||
height: 1%;
|
||||
}
|
||||
.no-js .flexslider .slides > li:first-child {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* DEFAULT THEME */
|
||||
.flexslider {
|
||||
position: relative;
|
||||
zoom: 1;
|
||||
}
|
||||
.flexslider .slides {
|
||||
zoom: 1;
|
||||
}
|
||||
.flexslider .slides img {
|
||||
height: auto;
|
||||
}
|
||||
.flex-viewport {
|
||||
max-height: 2000px;
|
||||
-webkit-transition: all 1s ease;
|
||||
-moz-transition: all 1s ease;
|
||||
-ms-transition: all 1s ease;
|
||||
-o-transition: all 1s ease;
|
||||
transition: all 1s ease;
|
||||
}
|
||||
.loading .flex-viewport {
|
||||
max-height: 300px;
|
||||
}
|
||||
.carousel li {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.flex-direction-nav {
|
||||
*height: 0;
|
||||
}
|
||||
.flex-direction-nav a {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: -20px 0 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 10;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-ms-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.flex-direction-nav .flex-prev {
|
||||
left: -50px;
|
||||
}
|
||||
.flex-direction-nav .flex-next {
|
||||
right: -50px;
|
||||
text-align: right;
|
||||
}
|
||||
.flexslider:hover .flex-direction-nav .flex-prev {
|
||||
opacity: 0.7;
|
||||
left: -10px;
|
||||
}
|
||||
.flexslider:hover .flex-direction-nav .flex-prev:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.flexslider:hover .flex-direction-nav .flex-next {
|
||||
opacity: 0.7;
|
||||
right: -10px;
|
||||
}
|
||||
.flexslider:hover .flex-direction-nav .flex-next:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.flex-direction-nav .flex-disabled {
|
||||
opacity: 0!important;
|
||||
filter: alpha(opacity=0);
|
||||
cursor: default;
|
||||
}
|
||||
.flex-pauseplay a {
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
left: 10px;
|
||||
opacity: 0.8;
|
||||
z-index: 10;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
}
|
||||
.flex-pauseplay a:before {
|
||||
font-family: "flexslider-icon";
|
||||
font-size: 20px;
|
||||
display: inline-block;
|
||||
content: '\f004';
|
||||
}
|
||||
.flex-pauseplay a:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.flex-pauseplay a.flex-play:before {
|
||||
content: '\f003';
|
||||
}
|
||||
.flex-control-nav {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: -40px;
|
||||
text-align: center;
|
||||
}
|
||||
.flex-control-nav li {
|
||||
margin: 0 6px;
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
}
|
||||
.flex-control-paging li a {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
display: block;
|
||||
background: #666;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
cursor: pointer;
|
||||
text-indent: -9999px;
|
||||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
||||
-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
||||
-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
||||
-webkit-border-radius: 20px;
|
||||
-moz-border-radius: 20px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.flex-control-paging li a:hover {
|
||||
background: #333;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
.flex-control-paging li a.flex-active {
|
||||
background: #000;
|
||||
background: rgba(0, 0, 0, 0.9);
|
||||
cursor: default;
|
||||
}
|
||||
.flex-control-thumbs {
|
||||
margin: 5px 0 0;
|
||||
position: static;
|
||||
overflow: hidden;
|
||||
}
|
||||
.flex-control-thumbs li {
|
||||
width: 25%;
|
||||
float: left;
|
||||
margin: 0;
|
||||
}
|
||||
.flex-control-thumbs img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
opacity: .7;
|
||||
cursor: pointer;
|
||||
-webkit-transition: all 1s ease;
|
||||
-moz-transition: all 1s ease;
|
||||
-ms-transition: all 1s ease;
|
||||
-o-transition: all 1s ease;
|
||||
transition: all 1s ease;
|
||||
}
|
||||
.flex-control-thumbs img:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.flex-control-thumbs .flex-active {
|
||||
opacity: 1;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 860px) {
|
||||
.flex-direction-nav .flex-prev {
|
||||
opacity: 1;
|
||||
left: 10px;
|
||||
}
|
||||
.flex-direction-nav .flex-next {
|
||||
opacity: 1;
|
||||
right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************************************************************************************
|
||||
************************************* LightGallery ***************************************
|
||||
**************************************************************************************************************/
|
||||
|
||||
.lg-icon { font-family: 'icomoon' }
|
||||
|
||||
.lg-actions .lg-next, .lg-actions .lg-prev {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 1080;
|
||||
}
|
||||
.lg-actions .lg-next.disabled, .lg-actions .lg-prev.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover {
|
||||
color: #FFF;
|
||||
}
|
||||
.lg-actions .lg-next {
|
||||
right: 0px;
|
||||
}
|
||||
.lg-actions .lg-prev {
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes lg-right-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: -30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@-moz-keyframes lg-right-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: -30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@-ms-keyframes lg-right-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: -30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@keyframes lg-right-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: -30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes lg-left-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: 30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@-moz-keyframes lg-left-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: 30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@-ms-keyframes lg-left-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: 30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@keyframes lg-left-end {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
50% {
|
||||
left: 30px;
|
||||
}
|
||||
100% {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
.lg-outer.lg-right-end .lg-object {
|
||||
-webkit-animation: lg-right-end 0.3s;
|
||||
-o-animation: lg-right-end 0.3s;
|
||||
animation: lg-right-end 0.3s;
|
||||
position: relative;
|
||||
}
|
||||
.lg-outer.lg-left-end .lg-object {
|
||||
-webkit-animation: lg-left-end 0.3s;
|
||||
-o-animation: lg-left-end 0.3s;
|
||||
animation: lg-left-end 0.3s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lg-toolbar {
|
||||
z-index: 1080;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.lg-toolbar .lg-icon {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-size: 24px;
|
||||
height: 47px;
|
||||
line-height: 27px;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
width: 50px;
|
||||
text-decoration: none !important;
|
||||
outline: medium none;
|
||||
}
|
||||
.lg-toolbar .lg-icon:hover {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.lg-toolbar .lg-download {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lg-sub-html {
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
bottom: 0;
|
||||
color: #EEE;
|
||||
font-size: 16px;
|
||||
left: 0;
|
||||
padding: 10px 40px;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
z-index: 1080;
|
||||
}
|
||||
.lg-sub-html h4 {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.lg-sub-html p {
|
||||
font-size: 12px;
|
||||
margin: 5px 0 0;
|
||||
}
|
||||
|
||||
#lg-counter {
|
||||
color: #999;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
padding-left: 20px;
|
||||
padding-top: 12px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.lg-toolbar, .lg-prev, .lg-next {
|
||||
opacity: 1;
|
||||
-webkit-transition: -webkit-transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
-moz-transition: -moz-transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
-o-transition: -o-transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
transition: transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
}
|
||||
|
||||
.lg-hide-items .lg-prev {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(-10px, 0, 0);
|
||||
transform: translate3d(-10px, 0, 0);
|
||||
}
|
||||
.lg-hide-items .lg-next {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(10px, 0, 0);
|
||||
transform: translate3d(10px, 0, 0);
|
||||
}
|
||||
.lg-hide-items .lg-toolbar {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(0, -10px, 0);
|
||||
transform: translate3d(0, -10px, 0);
|
||||
}
|
||||
|
||||
body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object {
|
||||
-webkit-transform: scale3d(0.5, 0.5, 0.5);
|
||||
transform: scale3d(0.5, 0.5, 0.5);
|
||||
opacity: 0;
|
||||
-webkit-transition: -webkit-transform 250ms ease 0s, opacity 250ms !important;
|
||||
-moz-transition: -moz-transform 250ms ease 0s, opacity 250ms !important;
|
||||
-o-transition: -o-transform 250ms ease 0s, opacity 250ms !important;
|
||||
transition: transform 250ms ease 0s, opacity 250ms !important;
|
||||
-webkit-transform-origin: 50% 50%;
|
||||
-moz-transform-origin: 50% 50%;
|
||||
-ms-transform-origin: 50% 50%;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object {
|
||||
-webkit-transform: scale3d(1, 1, 1);
|
||||
transform: scale3d(1, 1, 1);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.lg-outer .lg-thumb-outer {
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 1080;
|
||||
max-height: 350px;
|
||||
-webkit-transform: translate3d(0, 100%, 0);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
-moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
-o-transition: -o-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
|
||||
}
|
||||
.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item {
|
||||
cursor: -webkit-grab;
|
||||
cursor: -moz-grab;
|
||||
cursor: -o-grab;
|
||||
cursor: -ms-grab;
|
||||
cursor: grab;
|
||||
}
|
||||
.lg-outer .lg-thumb-outer.lg-grabbing .lg-thumb-item {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: -moz-grabbing;
|
||||
cursor: -o-grabbing;
|
||||
cursor: -ms-grabbing;
|
||||
cursor: grabbing;
|
||||
}
|
||||
.lg-outer .lg-thumb-outer.lg-dragging .lg-thumb {
|
||||
-webkit-transition-duration: 0s !important;
|
||||
transition-duration: 0s !important;
|
||||
}
|
||||
.lg-outer.lg-thumb-open .lg-thumb-outer {
|
||||
-webkit-transform: translate3d(0, 0%, 0);
|
||||
transform: translate3d(0, 0%, 0);
|
||||
}
|
||||
.lg-outer .lg-thumb {
|
||||
padding: 10px 0;
|
||||
height: 100%;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
.lg-outer .lg-thumb-item {
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
border: 2px solid #FFF;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@media (min-width: 1025px) {
|
||||
.lg-outer .lg-thumb-item {
|
||||
-webkit-transition: border-color 0.25s ease;
|
||||
-o-transition: border-color 0.25s ease;
|
||||
transition: border-color 0.25s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.lg-outer .lg-thumb-item img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
}
|
||||
.lg-outer.lg-has-thumb .lg-item {
|
||||
padding-bottom: 120px;
|
||||
}
|
||||
.lg-outer.lg-can-toggle .lg-item {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.lg-outer.lg-pull-caption-up .lg-sub-html {
|
||||
-webkit-transition: bottom 0.25s ease;
|
||||
-o-transition: bottom 0.25s ease;
|
||||
transition: bottom 0.25s ease;
|
||||
}
|
||||
.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html {
|
||||
bottom: 100px;
|
||||
}
|
||||
.lg-outer .lg-toogle-thumb {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lg-progress-bar {
|
||||
background-color: #333;
|
||||
height: 5px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 1080;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.08s ease 0s;
|
||||
-moz-transition: opacity 0.08s ease 0s;
|
||||
-o-transition: opacity 0.08s ease 0s;
|
||||
transition: opacity 0.08s ease 0s;
|
||||
}
|
||||
.lg-progress-bar .lg-progress {
|
||||
background-color: #a90707;
|
||||
height: 5px;
|
||||
width: 0;
|
||||
}
|
||||
.lg-progress-bar.lg-start .lg-progress {
|
||||
width: 100%;
|
||||
}
|
||||
.lg-show-autoplay .lg-progress-bar {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.lg-autoplay-button:after {
|
||||
content: "\e01d";
|
||||
}
|
||||
.lg-show-autoplay .lg-autoplay-button:after {
|
||||
content: "\e01a";
|
||||
}
|
||||
|
||||
.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-img-wrap, .lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-image {
|
||||
-webkit-transition-duration: 0s;
|
||||
transition-duration: 0s;
|
||||
}
|
||||
.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
|
||||
-webkit-transition: -webkit-transform 0.3s ease 0s;
|
||||
-moz-transition: -moz-transform 0.3s ease 0s;
|
||||
-o-transition: -o-transform 0.3s ease 0s;
|
||||
transition: transform 0.3s ease 0s;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {
|
||||
-webkit-transform: scale3d(1, 1, 1);
|
||||
transform: scale3d(1, 1, 1);
|
||||
-webkit-transition: -webkit-transform 0.3s ease 0s, opacity 0.15s !important;
|
||||
-moz-transition: -moz-transform 0.3s ease 0s, opacity 0.15s !important;
|
||||
-o-transition: -o-transform 0.3s ease 0s, opacity 0.15s !important;
|
||||
transition: transform 0.3s ease 0s, opacity 0.15s !important;
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform-origin: 0 0;
|
||||
-ms-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
#lg-zoom-in:after {
|
||||
content: "\e311";
|
||||
}
|
||||
|
||||
#lg-zoom-out {
|
||||
opacity: 0.5;
|
||||
pointer-events: none;
|
||||
}
|
||||
#lg-zoom-out:after {
|
||||
content: "\e312";
|
||||
}
|
||||
.lg-zoomed #lg-zoom-out {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.lg-outer .lg-pager-outer {
|
||||
bottom: 60px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
z-index: 1080;
|
||||
height: 10px;
|
||||
}
|
||||
.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont {
|
||||
overflow: visible;
|
||||
}
|
||||
.lg-outer .lg-pager-cont {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
margin: 0 5px;
|
||||
}
|
||||
.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont {
|
||||
opacity: 1;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
.lg-outer .lg-pager-cont.lg-pager-active .lg-pager {
|
||||
box-shadow: 0 0 0 2px white inset;
|
||||
}
|
||||
.lg-outer .lg-pager-thumb-cont {
|
||||
background-color: #fff;
|
||||
color: #FFF;
|
||||
bottom: 100%;
|
||||
height: 83px;
|
||||
left: 0;
|
||||
margin-bottom: 20px;
|
||||
margin-left: -60px;
|
||||
opacity: 0;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
width: 120px;
|
||||
border-radius: 3px;
|
||||
-webkit-transition: opacity 0.15s ease 0s, -webkit-transform 0.15s ease 0s;
|
||||
-moz-transition: opacity 0.15s ease 0s, -moz-transform 0.15s ease 0s;
|
||||
-o-transition: opacity 0.15s ease 0s, -o-transform 0.15s ease 0s;
|
||||
transition: opacity 0.15s ease 0s, transform 0.15s ease 0s;
|
||||
-webkit-transform: translate3d(0, 5px, 0);
|
||||
transform: translate3d(0, 5px, 0);
|
||||
}
|
||||
.lg-outer .lg-pager-thumb-cont img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.lg-outer .lg-pager {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7) inset;
|
||||
display: block;
|
||||
height: 12px;
|
||||
-webkit-transition: box-shadow 0.3s ease 0s;
|
||||
-o-transition: box-shadow 0.3s ease 0s;
|
||||
transition: box-shadow 0.3s ease 0s;
|
||||
width: 12px;
|
||||
}
|
||||
.lg-outer .lg-pager:hover, .lg-outer .lg-pager:focus {
|
||||
box-shadow: 0 0 0 8px white inset;
|
||||
}
|
||||
.lg-outer .lg-caret {
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 10px dashed;
|
||||
bottom: -10px;
|
||||
display: inline-block;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.lg-fullscreen:after {
|
||||
content: "\e20c";
|
||||
}
|
||||
.lg-fullscreen-on .lg-fullscreen:after {
|
||||
content: "\e20d";
|
||||
}
|
||||
|
||||
.group {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.group:before, .group:after {
|
||||
display: table;
|
||||
content: "";
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.group:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.lg-outer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1050;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.15s ease 0s;
|
||||
-o-transition: opacity 0.15s ease 0s;
|
||||
transition: opacity 0.15s ease 0s;
|
||||
}
|
||||
.lg-outer * {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.lg-outer.lg-visible {
|
||||
opacity: 1;
|
||||
}
|
||||
.lg-outer.lg-css3 .lg-item.lg-prev-slide, .lg-outer.lg-css3 .lg-item.lg-next-slide, .lg-outer.lg-css3 .lg-item.lg-current {
|
||||
-webkit-transition-duration: inherit !important;
|
||||
transition-duration: inherit !important;
|
||||
-webkit-transition-timing-function: inherit !important;
|
||||
transition-timing-function: inherit !important;
|
||||
}
|
||||
.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide, .lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide, .lg-outer.lg-css3.lg-dragging .lg-item.lg-current {
|
||||
-webkit-transition-duration: 0s !important;
|
||||
transition-duration: 0s !important;
|
||||
opacity: 1;
|
||||
}
|
||||
.lg-outer.lg-grab img.lg-object {
|
||||
cursor: -webkit-grab;
|
||||
cursor: -moz-grab;
|
||||
cursor: -o-grab;
|
||||
cursor: -ms-grab;
|
||||
cursor: grab;
|
||||
}
|
||||
.lg-outer.lg-grabbing img.lg-object {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: -moz-grabbing;
|
||||
cursor: -o-grabbing;
|
||||
cursor: -ms-grabbing;
|
||||
cursor: grabbing;
|
||||
}
|
||||
.lg-outer .lg {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.lg-outer .lg-inner {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.lg-outer .lg-item {
|
||||
background: url("../img/loader.gif") no-repeat scroll center center transparent;
|
||||
display: none !important;
|
||||
}
|
||||
.lg-outer.lg-css3 .lg-prev-slide, .lg-outer.lg-css3 .lg-current, .lg-outer.lg-css3 .lg-next-slide {
|
||||
display: inline-block !important;
|
||||
}
|
||||
.lg-outer.lg-css .lg-current {
|
||||
display: inline-block !important;
|
||||
}
|
||||
.lg-outer .lg-item, .lg-outer .lg-img-wrap {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.lg-outer .lg-item:before, .lg-outer .lg-img-wrap:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
height: 50%;
|
||||
width: 1px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
.lg-outer .lg-img-wrap {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 0 5px;
|
||||
}
|
||||
.lg-outer .lg-item.lg-complete {
|
||||
background-image: none;
|
||||
}
|
||||
.lg-outer .lg-item.lg-current {
|
||||
z-index: 1060;
|
||||
}
|
||||
.lg-outer .lg-image {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
}
|
||||
.lg-outer.lg-show-after-load .lg-item .lg-object, .lg-outer.lg-show-after-load .lg-item .lg-video-play {
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.15s ease 0s;
|
||||
-o-transition: opacity 0.15s ease 0s;
|
||||
transition: opacity 0.15s ease 0s;
|
||||
}
|
||||
.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object, .lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play {
|
||||
opacity: 1;
|
||||
}
|
||||
.lg-outer .lg-empty-html {
|
||||
display: none;
|
||||
}
|
||||
.lg-outer.lg-hide-download #lg-download {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lg-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1040;
|
||||
background-color: #fff;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.15s ease 0s;
|
||||
-o-transition: opacity 0.15s ease 0s;
|
||||
transition: opacity 0.15s ease 0s;
|
||||
}
|
||||
.lg-backdrop.in {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.lg-css3.lg-no-trans .lg-prev-slide, .lg-css3.lg-no-trans .lg-next-slide, .lg-css3.lg-no-trans .lg-current {
|
||||
-webkit-transition: none 0s ease 0s !important;
|
||||
-moz-transition: none 0s ease 0s !important;
|
||||
-o-transition: none 0s ease 0s !important;
|
||||
transition: none 0s ease 0s !important;
|
||||
}
|
||||
.lg-css3.lg-use-css3 .lg-item {
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
.lg-css3.lg-use-left .lg-item {
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
.lg-css3.lg-fade .lg-item {
|
||||
opacity: 0;
|
||||
}
|
||||
.lg-css3.lg-fade .lg-item.lg-current {
|
||||
opacity: 1;
|
||||
}
|
||||
.lg-css3.lg-fade .lg-item.lg-prev-slide, .lg-css3.lg-fade .lg-item.lg-next-slide, .lg-css3.lg-fade .lg-item.lg-current {
|
||||
-webkit-transition: opacity 0.1s ease 0s;
|
||||
-moz-transition: opacity 0.1s ease 0s;
|
||||
-o-transition: opacity 0.1s ease 0s;
|
||||
transition: opacity 0.1s ease 0s;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-css3 .lg-item {
|
||||
opacity: 0;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide {
|
||||
-webkit-transform: translate3d(-100%, 0, 0);
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide {
|
||||
-webkit-transform: translate3d(100%, 0, 0);
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
|
||||
-webkit-transition: -webkit-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
-moz-transition: -moz-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
-o-transition: -o-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
transition: transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-left .lg-item {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide {
|
||||
left: -100%;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide {
|
||||
left: 100%;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-left .lg-item.lg-current {
|
||||
left: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide, .lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide, .lg-css3.lg-slide.lg-use-left .lg-item.lg-current {
|
||||
-webkit-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
-moz-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
-o-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
|
||||
}
|
1156
www/themes/chocolatdemariage/css/strapivarious.css
Normal file
121
www/themes/chocolatdemariage/discount.tpl
Normal file
@ -0,0 +1,121 @@
|
||||
{capture name=path}
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">{l s='My account'}<i class="icon"></i></a>
|
||||
<span class="navigation-pipe">/</span><span>{l s='My vouchers'}</span>
|
||||
{/capture}
|
||||
{capture name=title}{l s='My vouchers'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title type='account'}
|
||||
|
||||
<div class="ctn account">
|
||||
<div class="row">
|
||||
{include file="$tpl_dir./menu-account.tpl" active='discount'}
|
||||
|
||||
<div class="md9">
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
|
||||
<div class="box-content">
|
||||
{if isset($cart_rules) && count($cart_rules) && $nb_cart_rules}
|
||||
<div class="discount table-div">
|
||||
<div class="table-head">
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Code'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Qty'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Value'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Minimum'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Cumulative'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Expiration date'}</div>
|
||||
|
||||
<div class="sm12 xs12 hidden-lg hidden-md">{l s='Discount details'}</div>
|
||||
</div>
|
||||
{foreach from=$cart_rules item=discountDetail name=myLoop}
|
||||
<div class="table-row row{$smarty.foreach.myLoop.index % 2}">
|
||||
<div class="md2">
|
||||
<strong>{l s='Code'} : </strong>
|
||||
{$discountDetail.code}
|
||||
</div>
|
||||
<div class="md2">
|
||||
<strong>{l s='Qty'} : </strong>
|
||||
{$discountDetail.quantity_for_user}
|
||||
</div>
|
||||
<div class="md2">
|
||||
<strong>{l s='Value'} : </strong>
|
||||
{if $discountDetail.id_discount_type == 1}
|
||||
{$discountDetail.value|escape:'html':'UTF-8'}%
|
||||
{elseif $discountDetail.id_discount_type == 2}
|
||||
{convertPrice price=$discountDetail.value}
|
||||
{elseif $discountDetail.id_discount_type == 3}
|
||||
{l s='Free shipping'}
|
||||
{else}
|
||||
-
|
||||
{/if}
|
||||
</div>
|
||||
<div class="md2">
|
||||
<strong>{l s='Minimum'} : </strong>
|
||||
{if $discountDetail.minimal == 0}
|
||||
{l s='None'}
|
||||
{else}
|
||||
{convertPrice price=$discountDetail.minimal}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="md2">
|
||||
<strong>{l s='Cumulative'} : </strong>
|
||||
{if $discountDetail.cumulable == 1}{l s='Yes'}{else}{l s='No'}{/if}
|
||||
</div>
|
||||
<div class="md2">
|
||||
<strong>{l s='Expiration date'} : </strong>
|
||||
{dateFormat date=$discountDetail.date_to}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
<span>{l s='You do not have any vouchers.'}</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<script>
|
||||
var title = "{l s='Bon de réduction'}";
|
||||
var msg1 = "{l s='Votre code de réduction'}";
|
||||
var msg2 = "{l s='a été copié dans le presse-papier'}";
|
||||
</script>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
var clipboard = [];
|
||||
var c = $('#discount .link').length;
|
||||
for(var i = 0; i <c ; i++) {
|
||||
|
||||
clipboard[i] = new Clipboard('#copyLink'+i);
|
||||
|
||||
clipboard[i].on('success', function(e) {
|
||||
console.info('Action:', e.action);
|
||||
console.info('Text:', e.text);
|
||||
console.info('Trigger:', e.trigger);
|
||||
e.clearSelection();
|
||||
var msg = msg1 + '<b>'+ e.text +' </b>' + msg2;
|
||||
|
||||
fancyMsgBox(msg, title);
|
||||
|
||||
});
|
||||
}
|
||||
$('#discount .link2').click(function(){
|
||||
console.log('ok3');
|
||||
|
||||
var dat = $(this).data('input');
|
||||
$('#'+dat).trigger('click');
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
12
www/themes/chocolatdemariage/errors.tpl
Normal file
@ -0,0 +1,12 @@
|
||||
{if isset($errors) && $errors}
|
||||
<div class="alert alert-danger">
|
||||
<div class="ctn">
|
||||
<p>{if $errors|@count > 1}{l s='There are %d errors' sprintf=$errors|@count}{else}{l s='There is %d error' sprintf=$errors|@count}{/if}</p>
|
||||
<ol>
|
||||
{foreach from=$errors key=k item=error}
|
||||
<li>- {$error}</li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
BIN
www/themes/chocolatdemariage/fonts/icomoon.eot
Normal file
40
www/themes/chocolatdemariage/fonts/icomoon.svg
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
www/themes/chocolatdemariage/fonts/icomoon.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/icomoon.woff
Normal file
BIN
www/themes/chocolatdemariage/fonts/icomoon.woff2
Normal file
35
www/themes/chocolatdemariage/fonts/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Black.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-BlackItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Bold.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-BoldItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Hairline.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-HairlineItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Heavy.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-HeavyItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Italic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-LightItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Medium.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-MediumItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Semibold.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-SemiboldItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-Thin.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/Lato-ThinItalic.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/lato-light-webfont.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/lato-light-webfont.woff
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/lato-light-webfont.woff2
Normal file
BIN
www/themes/chocolatdemariage/fonts/lato/lato-regular-webfont.ttf
Normal file
BIN
www/themes/chocolatdemariage/fonts/staat/staat-bold-italic.otf
Normal file
BIN
www/themes/chocolatdemariage/fonts/staat/staat-bold-webfont.woff
Normal file
BIN
www/themes/chocolatdemariage/fonts/staat/staat-bold.otf
Normal file
41
www/themes/chocolatdemariage/footer.tpl
Normal file
@ -0,0 +1,41 @@
|
||||
{if !isset($content_only) || !$content_only}
|
||||
</div>
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
{if $page_name != 'order'}
|
||||
<div class="social">
|
||||
<div class="ctn">
|
||||
<div class="row row-flex">
|
||||
<div class="sm6">
|
||||
{hook h='displaySocial'}
|
||||
</div>
|
||||
<div class="sm6">
|
||||
{hook h='displayAdvConstructorFooter'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{hook h='displayReassurance'}
|
||||
<div class="footer-links">
|
||||
<div class="ctn">
|
||||
<div class="row">
|
||||
{hook h='displayLinks'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div class="cart-popup">
|
||||
{hook h="displayCartPopup"}
|
||||
</div>
|
||||
{hook h='endBody'}
|
||||
|
||||
{/if}
|
||||
|
||||
{include file="$tpl_dir./global.tpl"}
|
||||
<div id="gototop">
|
||||
<img src="{$img_dir}bt-haut.png" title="{l s='Go to top'}" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
54
www/themes/chocolatdemariage/global.tpl
Normal file
@ -0,0 +1,54 @@
|
||||
{*
|
||||
* 2007-2015 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-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{strip}
|
||||
{addJsDef isMobile=$mobile_device}
|
||||
{addJsDef baseDir=$content_dir}
|
||||
{addJsDef baseUri=$base_uri}
|
||||
{addJsDef static_token=$static_token}
|
||||
{addJsDef token=$token}
|
||||
{addJsDef priceDisplayPrecision=$priceDisplayPrecision*$currency->decimals}
|
||||
{addJsDef priceDisplayMethod=$priceDisplay}
|
||||
{addJsDef roundMode=$roundMode}
|
||||
{addJsDef currency=$currency}
|
||||
{addJsDef currencyRate=$currencyRate|floatval}
|
||||
{addJsDef currencySign=$currency->sign|html_entity_decode:2:"UTF-8"}
|
||||
{addJsDef currencyFormat=$currency->format|intval}
|
||||
{addJsDef currencyBlank=$currency->blank|intval}
|
||||
{addJsDef isLogged=$is_logged|intval}
|
||||
{addJsDef isGuest=$is_guest|intval}
|
||||
{addJsDef page_name=$page_name|escape:'html':'UTF-8'}
|
||||
{addJsDef contentOnly=$content_only|boolval}
|
||||
{if isset($cookie->id_lang)}
|
||||
{addJsDef id_lang=$cookie->id_lang|intval}
|
||||
{/if}
|
||||
{addJsDefL name=FancyboxI18nClose}{l s='Close'}{/addJsDefL}
|
||||
{addJsDefL name=FancyboxI18nNext}{l s='Next'}{/addJsDefL}
|
||||
{addJsDefL name=FancyboxI18nPrev}{l s='Previous'}{/addJsDefL}
|
||||
{addJsDef usingSecureMode=Tools::usingSecureMode()|boolval}
|
||||
{addJsDef ajaxsearch=Configuration::get('PS_SEARCH_AJAX')|boolval}
|
||||
{addJsDef instantsearch=Configuration::get('PS_INSTANT_SEARCH')|boolval}
|
||||
{addJsDef quickView=$quick_view|boolval}
|
||||
{addJsDef displayList=Configuration::get('PS_GRID_PRODUCT')|boolval}
|
||||
{/strip}
|
119
www/themes/chocolatdemariage/guest-tracking.tpl
Normal file
@ -0,0 +1,119 @@
|
||||
<main>
|
||||
{capture name=path}{l s='Guest Tracking'}{/capture}
|
||||
<section>
|
||||
<header class="page-heading">
|
||||
<div id="breadcrumbs">
|
||||
<div class="ctn">
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="ctn">
|
||||
<h1 itemprop="name">{l s='Guest Tracking'}</h1>
|
||||
</div>
|
||||
</header>
|
||||
{if isset($confirmation) && $confirmation}
|
||||
<p class="confirmation">
|
||||
{$confirmation}
|
||||
</p>
|
||||
{/if}
|
||||
<div class="main ctn">
|
||||
{if isset($order_collection)}
|
||||
{foreach $order_collection as $order}
|
||||
{assign var=order_state value=$order->getCurrentState()}
|
||||
{assign var=invoice value=$order->invoice}
|
||||
{assign var=order_history value=$order->order_history}
|
||||
{assign var=carrier value=$order->carrier}
|
||||
{assign var=address_invoice value=$order->address_invoice}
|
||||
{assign var=address_delivery value=$order->address_delivery}
|
||||
{assign var=inv_adr_fields value=$order->inv_adr_fields}
|
||||
{assign var=dlv_adr_fields value=$order->dlv_adr_fields}
|
||||
{assign var=invoiceAddressFormatedValues value=$order->invoiceAddressFormatedValues}
|
||||
{assign var=deliveryAddressFormatedValues value=$order->deliveryAddressFormatedValues}
|
||||
{assign var=currency value=$order->currency}
|
||||
{assign var=discounts value=$order->discounts}
|
||||
{assign var=invoiceState value=$order->invoiceState}
|
||||
{assign var=deliveryState value=$order->deliveryState}
|
||||
{assign var=products value=$order->products}
|
||||
{assign var=customizedDatas value=$order->customizedDatas}
|
||||
{assign var=HOOK_ORDERDETAILDISPLAYED value=$order->hook_orderdetaildisplayed}
|
||||
{if isset($order->total_old)}
|
||||
{assign var=total_old value=$order->total_old}
|
||||
{/if}
|
||||
{if isset($order->followup)}
|
||||
{assign var=followup value=$order->followup}
|
||||
{/if}
|
||||
|
||||
<div id="block-history">
|
||||
<div id="block-order-detail" class="std">
|
||||
{include file="./order-detail.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
<h2 id="guestToCustomer" class="page-heading">{l s='For more advantages...'}</h2>
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if isset($transformSuccess)}
|
||||
<p class="alert alert-success">{l s='Your guest account has been successfully transformed into a customer account. You can now log in as a registered shopper. '} <a href="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}">{l s='page.'}</a></p>
|
||||
{else}
|
||||
<form method="post" action="{$action|escape:'html':'UTF-8'}#guestToCustomer" class="std">
|
||||
<fieldset class="form-content">
|
||||
|
||||
<p><strong class="dark">{l s='Transform your guest account into a customer account and enjoy:'}</strong></p>
|
||||
<ul>
|
||||
<li> -{l s='Personalized and secure access'}</li>
|
||||
<li> -{l s='Fast and easy checkout'}</li>
|
||||
<li> -{l s='Easier merchandise return'}</li>
|
||||
</ul>
|
||||
<div class="row">
|
||||
<div class="xs12 sm5 md4 lg3">
|
||||
<div class="text form-group">
|
||||
<label><strong class="dark">{l s='Set your password:'}</strong></label>
|
||||
<input type="password" name="password" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="id_order" value="{if isset($order->id)}{$order->id}{else}{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'html':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'html':'UTF-8'}{/if}{/if}{/if}" />
|
||||
<input type="hidden" name="order_reference" value="{if isset($smarty.get.order_reference)}{$smarty.get.order_reference|escape:'html':'UTF-8'}{else}{if isset($smarty.post.order_reference)}{$smarty.post.order_reference|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
<input type="hidden" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'html':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
|
||||
<p>
|
||||
<button type="submit" name="submitTransformGuestToCustomer" class="btn icon-right">
|
||||
<i class="icon icon-arrow-right"></i>
|
||||
<span>{l s='Send'}</span>
|
||||
</button>
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
{else}
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
{if isset($show_login_link) && $show_login_link}
|
||||
<p><img src="{$img_dir}icon/userinfo.gif" alt="{l s='Information'}" class="icon" /><a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">{l s='Click here to log in to your customer account.'}</a><br /><br /></p>
|
||||
{/if}
|
||||
<form method="post" action="{$action|escape:'html':'UTF-8'}" class="std" id="guestTracking">
|
||||
<h2 class="page-subheading">{l s='To track your order, please enter the following information:'}</h2>
|
||||
<div class="form_content">
|
||||
<div class="text form-group">
|
||||
<label>{l s='Order Reference:'} </label>
|
||||
<input class="form-control" type="text" name="order_reference" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'html':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'html':'UTF-8'}{/if}{/if}" size="8" />
|
||||
<i>{l s='For example: QIIXJXNUI or QIIXJXNUI#1'}</i>
|
||||
</div>
|
||||
<div class="text form-group">
|
||||
<label>{l s='Email:'}</label>
|
||||
<input class="form-control" type="text" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'html':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'html':'UTF-8'}{/if}{/if}" />
|
||||
</div>
|
||||
<p>
|
||||
<button type="submit" name="submitGuestTracking" class="btn icon-right">
|
||||
<i class="icon icon-arrow-right"></i>
|
||||
<span>{l s='Send'}</span>
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
1
www/themes/chocolatdemariage/header-meta-fb.tpl
Normal file
@ -0,0 +1 @@
|
||||
<meta property="og:site_name" content="{$shop_name}" />
<meta property="og:title" content="{$meta_title|escape:'html':'UTF-8'}" />
<!-- Home -->
{if $page_name == 'index'}
<meta property="og:type" content="website" />
<meta property="og:url" content="{$base_uri}" />
<meta property="og:image" content="{$img_dir}logo-fb.png" />
{if isset($meta_description) AND $meta_description}
<meta property="og:description" content="{$meta_description|escape:'html':'UTF-8'}" />
{/if}
<!-- Categorie -->
{elseif $page_name == 'category' && isset($category)}
<meta property="og:type" content="website" />
<meta property="og:url" content="{$link->getCategoryLink($category->id)}" />
<meta property="og:image" content="{$base_dir}img/c/banners/{$category->id}.jpg" />
{if !empty($category->description)}
<meta property="og:description" content="{$category->description|strip_tags}" />
{/if}
<!-- Produit -->
{elseif $page_name == 'product' && isset($product)}
<meta property="og:type" content="product" />
<meta property="og:url" content="{$link->getProductLink($product->id)}" />
<meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')|escape:'html':'UTF-8'}" />
{if !empty($product->resume)}
<meta property="og:description" content="{$product->resume|strip_tags}" />
{elseif !empty($product->description)}
<meta property="og:description" content="{$product->description|strip_tags}" />
{/if}
{if isset($price)}
<meta property="product:price:amount" content="{$price}" />
{/if}
<meta property="product:price:currency" content="{$currency->iso_code}" />
{if isset($weight) && ($weight != 0)}
<meta property="product:weight:value" content="{$weight}" />
<meta property="product:weight:units" content="{$weight_unit}" />
{/if}
<!-- PSBlog -->
{elseif $page_name == 'module-psblog-posts'}
<meta property="og:type" content="article" />
<meta property="og:url" content="{BlogLink::linkPost($post->id, $post->link_rewrite)}" />
{if isset($post_images[0])}
<meta property="og:image" content="{$posts_img_path|escape:'html':'UTF-8'}thumb/{$post_images[0].img_name|escape:'html':'UTF-8'}" />
{/if}
<!-- Autres -->
{else}
<meta property="og:type" content="website" />
<meta property="og:image" content="{$img_dir}logo-fb.png" />
{if isset($meta_description) AND $meta_description}
<meta property="og:description" content="{$meta_description|escape:'html':'UTF-8'}" />
{/if}
{/if}
|
79
www/themes/chocolatdemariage/header.tpl
Normal file
@ -0,0 +1,79 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!--[if lt IE 7]> <html xmlns:og="http://ogp.me/ns#" class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
|
||||
<!--[if IE 7]><html xmlns:og="http://ogp.me/ns#" class="no-js lt-ie9 lt-ie8 ie7" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
|
||||
<!--[if IE 8]><html xmlns:og="http://ogp.me/ns#" class="no-js lt-ie9 ie8" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
|
||||
<!--[if gt IE 8]> <html xmlns:og="http://ogp.me/ns#" class="no-js ie9" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
|
||||
<html xmlns:og="http://ogp.me/ns#" lang="{$language_code|escape:'html':'UTF-8'}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>{$meta_title|escape:'html':'UTF-8'}</title>
|
||||
|
||||
{if isset($meta_description) AND $meta_description}
|
||||
<meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" />
|
||||
{/if}
|
||||
{if isset($meta_keywords) AND $meta_keywords}
|
||||
<meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" />
|
||||
{/if}
|
||||
|
||||
<meta name="generator" content="PrestaShop" />
|
||||
<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_dir}favicon.png" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$img_dir}favicon.png" />
|
||||
|
||||
{if isset($css_files)}
|
||||
{foreach from=$css_files key=css_uri item=media}
|
||||
<link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media}" />
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)}
|
||||
{$js_def}
|
||||
{foreach from=$js_files item=js_uri}
|
||||
<script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{$HOOK_HEADER}
|
||||
<link rel="stylesheet" href="http{if Tools::usingSecureMode()}s{/if}://fonts.googleapis.com/css?family=Open+Sans:300,600&subset=latin,latin-ext" type="text/css" media="all" />
|
||||
<!--[if IE 8]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
{include file="$tpl_dir./header-meta-fb.tpl"}
|
||||
|
||||
</head>
|
||||
<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso}">
|
||||
|
||||
{if !isset($content_only) || !$content_only}
|
||||
{if isset($restricted_country_mode) && $restricted_country_mode}
|
||||
<div id="restricted-country">
|
||||
<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country|escape:'html':'UTF-8'}</span></p>
|
||||
</div>
|
||||
{/if}
|
||||
{if $page_name == 'index'}{hook h='displaySlider'}{/if}
|
||||
|
||||
<div class="content-main">
|
||||
<header id="header" class="header-main animated-full notsticky">
|
||||
<div class="header-top">
|
||||
<div class="row valign-middle">
|
||||
<div class="header-top-left md5 sm4 xs4 xxs4">
|
||||
<a class="menu-action"><i class="icon icon-menu"></i></a>
|
||||
<a class="search-action hidden-lg hidden-md"><i class="icon icon-search"></i></a>
|
||||
{hook h="displayMenu"}
|
||||
</div>
|
||||
<div class="header-logo md2 sm4 xs4 xxs4">
|
||||
<a href="{if $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{$shop_name|escape:'html':'UTF-8'}">
|
||||
<img class="logo" src="{$img_dir}logo.png" alt="{$shop_name|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-top-right md5 sm4 xs4 xxs4 valign-middle">
|
||||
{hook h="displayTop"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="site-content">
|
||||
{/if}
|
81
www/themes/chocolatdemariage/history.tpl
Normal file
@ -0,0 +1,81 @@
|
||||
{capture name=path}
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">
|
||||
{l s='My account'}
|
||||
<i class="icon"></i>
|
||||
</a>
|
||||
<span class="navigation-pipe">/</span><span>{l s='Order history'}</span>
|
||||
{/capture}
|
||||
{capture name=title}{l s='Order history'}{/capture}
|
||||
{capture name=subtitle}{l s='Here you will find your past orders from account creation'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title subtitle=$smarty.capture.subtitle type='account'}
|
||||
|
||||
{if $slowValidation}
|
||||
<p class="alert alert-warning">{l s='If you have just placed an order, it may take a few minutes for it to be validated. Please refresh this page if your order is missing.'}</p>
|
||||
{/if}
|
||||
|
||||
<div class="ctn account">
|
||||
<div class="row">
|
||||
{include file="$tpl_dir./menu-account.tpl" active='history'}
|
||||
|
||||
<div class="md9">
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
<h2 class="title">{l s='Your orders'}</h2>
|
||||
<div class="box-content">
|
||||
{if $orders && count($orders)}
|
||||
<div class="table-div">
|
||||
<div class="table-head">
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Order reference'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Date'}</div>
|
||||
<div class="md2 hidden-sm hidden-xs hidden-xxs">{l s='Price'}</div>
|
||||
<div class="md3 hidden-sm hidden-xs hidden-xxs">{l s='Payment'}</div>
|
||||
<div class="md3 hidden-sm hidden-xs hidden-xxs">{l s='Status'}</div>
|
||||
|
||||
<div class="sm12 xs12 hidden-lg hidden-md">{l s='Orders details'}</div>
|
||||
</div>
|
||||
{foreach from=$orders item=order name=myLoop}
|
||||
<div class="table-row row{$smarty.foreach.myLoop.index % 2}">
|
||||
<div class="history_link md2">
|
||||
|
||||
<strong>{l s='Order reference'} : </strong>
|
||||
<a class="color-myaccount" href="{$link->getPageLink('order-detail', true, NULL, "id_order={$order.id_order}")|escape:'html':'UTF-8'}">
|
||||
{Order::getUniqReferenceOf($order.id_order)}
|
||||
</a>
|
||||
</div>
|
||||
<div data-value="{$order.date_add|regex_replace:"/[\-\:\ ]/":""}" class="history_date md2">
|
||||
<strong>{l s='Date'} : </strong>{dateFormat date=$order.date_add full=0}
|
||||
</div>
|
||||
<div class="history_price md2" data-value="{$order.total_paid}">
|
||||
<strong>{l s='Total price'} : </strong>
|
||||
<span class="price">
|
||||
{displayPrice price=$order.total_paid currency=$order.id_currency no_utf8=false convert=false}
|
||||
</span>
|
||||
</div>
|
||||
<div data-value="{$order.id_order_state}" class="history_state md3">
|
||||
<strong>{l s='Payment'} : </strong>
|
||||
{$order.payment|escape:'html':'UTF-8'}
|
||||
</div>
|
||||
<div data-value="{$order.id_order_state}" class="history_state md3">
|
||||
<strong>{l s='Status'} : </strong>
|
||||
{if isset($order.order_state)}
|
||||
{$order.order_state|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
<p class="alert alert-warning">{l s='You have not placed any orders.'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
182
www/themes/chocolatdemariage/identity.tpl
Normal file
@ -0,0 +1,182 @@
|
||||
{capture name=path}
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">{l s='My account'}</a>
|
||||
<span class="navigation-pipe">/</span><span>{l s='Your personal information'}</span>
|
||||
{/capture}
|
||||
{capture name=title}{l s='Your personal information'}{/capture}
|
||||
{capture name=subtitle}{l s='Please be sure to update your personal information if it has changed.'}{/capture}
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
{include file="$tpl_dir./page-heading.tpl" title=$smarty.capture.title subtitle=$smarty.capture.subtitle type='account'}
|
||||
|
||||
{if isset($confirmation) && $confirmation}
|
||||
<div class="alert alert-success">
|
||||
<div class="ctn">
|
||||
{l s='Your personal information has been successfully updated.'}
|
||||
{if isset($pwd_changed)}<br />{l s='Your password has been sent to your email:'} {$email}{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="ctn account">
|
||||
<div class="row">
|
||||
{include file="$tpl_dir./menu-account.tpl" active='identity'}
|
||||
|
||||
<div class="md9">
|
||||
<form action="{$link->getPageLink('identity', true)|escape:'html':'UTF-8'}" method="post" class="box">
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
<div class="box-content">
|
||||
<p class="label-required pull-right">
|
||||
<sup>*</sup>{l s='Required field'}
|
||||
</p>
|
||||
<h3 class="title">{l s='Your personal information'}</h3>
|
||||
<div class="clearfix form-group civilite">
|
||||
<label>{l s='Title'}</label>
|
||||
{foreach from=$genders key=k item=gender}
|
||||
<div>
|
||||
<label for="id_gender{$gender->id}" class="top">{$gender->name}</label>
|
||||
<input type="radio" class="custom-input inline" name="id_gender" id="id_gender{$gender->id}" value="{$gender->id}" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == $gender->id}checked="checked"{/if} />
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="required form-group sm6">
|
||||
<label for="customer_firstname">{l s='First name'} <sup>*</sup></label>
|
||||
<input type="text" class="is_required validate form-control" data-validate="isName" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
|
||||
</div>
|
||||
<div class="required form-group sm6">
|
||||
<label for="customer_lastname">{l s='Last name'} <sup>*</sup></label>
|
||||
<input type="text" class="is_required validate form-control" data-validate="isName" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="required form-group md6">
|
||||
<label for="email">{l s='Email'} <sup>*</sup></label>
|
||||
<input type="email" class="is_required validate form-control" data-validate="isEmail" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email}{/if}" />
|
||||
</div>
|
||||
<div class="form-group md6 birthdate nopadding clearfix">
|
||||
<label>{l s='Date of Birth'}</label>
|
||||
<div class="xs4 xxs4">
|
||||
<select id="days" name="days" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=day}
|
||||
<option value="{$day}" {if ($sl_day == $day)} selected="selected"{/if}>{$day} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
{l s='January'}
|
||||
{l s='February'}
|
||||
{l s='March'}
|
||||
{l s='April'}
|
||||
{l s='May'}
|
||||
{l s='June'}
|
||||
{l s='July'}
|
||||
{l s='August'}
|
||||
{l s='September'}
|
||||
{l s='October'}
|
||||
{l s='November'}
|
||||
{l s='December'}
|
||||
*}
|
||||
</div>
|
||||
<div class="xs4 xxs4">
|
||||
<select id="months" name="months" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=month}
|
||||
<option value="{$k}" {if ($sl_month == $k)} selected="selected"{/if}>{l s=$month} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div class="xs4 xxs4">
|
||||
<select id="years" name="years" class="custom-input form-control">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=year}
|
||||
<option value="{$year}" {if ($sl_year == $year)} selected="selected"{/if}>{$year} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
|
||||
{if isset($newsletter) && $newsletter}
|
||||
<div class="checkbox">
|
||||
|
||||
<input class="custom-input inline" type="checkbox" id="newsletter" name="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if}/>
|
||||
<label for="newsletter">
|
||||
{l s='Sign up for our newsletter!'}
|
||||
{if isset($required_fields) && array_key_exists('newsletter', $field_required)}
|
||||
<sup> *</sup>
|
||||
{/if}
|
||||
</label>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($optin) && $optin}
|
||||
<br/>
|
||||
<div class="checkbox">
|
||||
|
||||
<input class="custom-input inline" type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if}/>
|
||||
<label for="optin">
|
||||
{l s='Receive special offers from our partners!'}
|
||||
{if isset($required_fields) && array_key_exists('optin', $field_required)}
|
||||
<sup> *</sup>
|
||||
{/if}
|
||||
</label>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
<h3 class="title">{l s='Modifier mon mot de passe'}</h3>
|
||||
<div class="box-content">
|
||||
<div class="row">
|
||||
<div class="required sm6 password form-group">
|
||||
<label for="passwd">{l s='New password'} <sup>*</sup></label>
|
||||
<input type="password" class="is_required validate form-control" data-validate="isPasswd" name="passwd" id="passwd" />
|
||||
</div>
|
||||
<div class="required sm6 password form-group">
|
||||
<label for="confirmation">{l s='Confirm password'} <sup>*</sup></label>
|
||||
<input type="password" class="is_required validate form-control" data-validate="isPasswd" name="confirmation" id="confirmation" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="inner">
|
||||
<h3 class="title">{l s='Mot de passe actuel'}</h3>
|
||||
<p>{l s='Afin de valider vos modification, merci de renseigner votre mot de passe actuel.'}</p>
|
||||
<div class="box-content">
|
||||
<div class="row">
|
||||
<div class="required md6 password form-group">
|
||||
<label for="old_passwd">{l s='Current password'} <sup>*</sup></label>
|
||||
<input type="password" class="is_required validate form-control" data-validate="isPasswd" name="old_passwd" id="old_passwd" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" name="submitIdentity" class="btn">
|
||||
{l s='Save'}</span>
|
||||
</button>
|
||||
<a class="btn btn2 icon-left" href="{$link->getPageLink('my-account', true)}">
|
||||
<i class="icon icon-arrow-left"></i>
|
||||
<span>{l s='Back to your account'}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
|
BIN
www/themes/chocolatdemariage/img/bg-choco1.jpg
Normal file
After Width: | Height: | Size: 208 KiB |
BIN
www/themes/chocolatdemariage/img/bt-haut.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
www/themes/chocolatdemariage/img/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
www/themes/chocolatdemariage/img/feature_category-white.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
www/themes/chocolatdemariage/img/frame-btn.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
www/themes/chocolatdemariage/img/icon/cible.gif
Normal file
After Width: | Height: | Size: 736 B |
BIN
www/themes/chocolatdemariage/img/icon/delete.gif
Normal file
After Width: | Height: | Size: 213 B |
BIN
www/themes/chocolatdemariage/img/icon/download_product.gif
Normal file
After Width: | Height: | Size: 580 B |