first commit
This commit is contained in:
1
apps/frontend/templates/theme/airsports/_fonts.html
Normal file
1
apps/frontend/templates/theme/airsports/_fonts.html
Normal file
@@ -0,0 +1 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700|Roboto:400,400i,700,700i&subset=latin-ext" rel="stylesheet">
|
||||
9
apps/frontend/templates/theme/airsports/_footer.html
Normal file
9
apps/frontend/templates/theme/airsports/_footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
150
apps/frontend/templates/theme/airsports/_header.html
Normal file
150
apps/frontend/templates/theme/airsports/_header.html
Normal file
@@ -0,0 +1,150 @@
|
||||
<div id="header-navbar-position">
|
||||
<div id="header-navbar-outer">
|
||||
<div class="container">
|
||||
<nav id="header-navbar" class="navbar" role="navigation">
|
||||
<div id="logo_small" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<a href="{url_for internal='stUser/loginUser' secure=true}" id="nav-button-user" class="hidden-xs btn btn-navbar collapsed">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</a>
|
||||
<button id="nav-button-user" class="visible-xs btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Menu -->
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<!-- Koszyk -->
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Moje konto, Język, Waluta -->
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
var menuHeight = $('#header-navbar-outer').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#top').height();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar-outer').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar-outer').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
};
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
function parallaxBaner(){
|
||||
|
||||
if ($(window).width() > 767) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var scrollBaner2 = scrolled;
|
||||
|
||||
$('body').css('background-position', 'center '+ (scrollBaner2*0.5)+'px');
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
menuFix();
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
//parallaxBaner();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
9
apps/frontend/templates/theme/airsports/_top.html
Normal file
9
apps/frontend/templates/theme/airsports/_top.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div id="top" class="container hidden-xs">
|
||||
<div id="header" class="clearfix">
|
||||
<div id="logo">
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
36
apps/frontend/templates/theme/airsports/one_column.html
Normal file
36
apps/frontend/templates/theme/airsports/one_column.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<div id="bg">
|
||||
{include_file id="_top"}
|
||||
<div id="container" class="container">
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if ($c->getModuleName() == 'stFrontendMain' && $c->getActionName() == 'index') {
|
||||
{/php}
|
||||
|
||||
{st_get_component module="stSlideBannerFrontend" component="show"}
|
||||
|
||||
{php} } {/php}
|
||||
|
||||
<div id="one-column-layout">
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
34
apps/frontend/templates/theme/airsports/two_column.html
Normal file
34
apps/frontend/templates/theme/airsports/two_column.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<div id="bg">
|
||||
{include_file id="_top"}
|
||||
<div id="container" class="container">
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
{strip}
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{/strip}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=PROMOTION"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=RECOMMEND"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=SALES"}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
34
apps/frontend/templates/theme/argento8/_fonts.html
Normal file
34
apps/frontend/templates/theme/argento8/_fonts.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{assign var='font_style' value=$theme_config->getConfigParameter('layout_config.font_style')}
|
||||
|
||||
{if $font_style == 'poppins'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $font_style == 'pt_serif'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'PT Serif', serif;
|
||||
}
|
||||
#nav-menu>.navbar-nav>li>a
|
||||
{
|
||||
font-weight: 400;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{/if}
|
||||
|
||||
{include_file id="_script_theme"}
|
||||
95
apps/frontend/templates/theme/argento8/_header.html
Normal file
95
apps/frontend/templates/theme/argento8/_header.html
Normal file
@@ -0,0 +1,95 @@
|
||||
<div id="top">
|
||||
<div id="header" class="hidden-xs">
|
||||
<div class="container">
|
||||
<div class="flex-sm">
|
||||
<div id="logo-top" {if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}class="slogan-width"{/if}>
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img class="img-responsive" src="{image_path image='logo.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{if $sf_context->getActionName()=="index" && $sf_context->getModuleName()=="stFrontendMain"}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><h1 class="hidden-xs">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></h1></div>
|
||||
{/if}
|
||||
{else}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><div class="hidden-xs h4">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></div></div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<div id="top-social">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<nav id="header-navbar" role="navigation">
|
||||
<div class="container">
|
||||
<div id="logo" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="nav-menu" class="navbar-collapse collapse clearfix">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
73
apps/frontend/templates/theme/argento8/homepage.html
Normal file
73
apps/frontend/templates/theme/argento8/homepage.html
Normal file
@@ -0,0 +1,73 @@
|
||||
{assign var='homepage_section5' value=$theme_config->getConfigParameter('layout_config.homepage_section5')}
|
||||
{assign var='homepage_section6' value=$theme_config->getConfigParameter('layout_config.homepage_section6')}
|
||||
{assign var='homepage_section7' value=$theme_config->getConfigParameter('layout_config.homepage_section7')}
|
||||
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="homepage-layout">
|
||||
<div id="homepage">
|
||||
{st_get_component module="stSlideBannerFrontend" component="show"}
|
||||
{strip}
|
||||
<div class="container">
|
||||
{$content}
|
||||
|
||||
{if $homepage_section5 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section5 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section5 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section5 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section5 == 'seo' || !$homepage_section5}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section5 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section5 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $homepage_section6 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section6 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section6 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section6 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section6 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section6 == 'main_text' || !$homepage_section6}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section6 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $homepage_section7 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section7 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section7 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section7 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section7 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section7 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section7 == 'blog' || !$homepage_section7}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{slot name="main-index-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
@@ -0,0 +1,78 @@
|
||||
{assign var='homepage_section5' value=$theme_config->getConfigParameter('layout_config.homepage_section5')}
|
||||
{assign var='homepage_section6' value=$theme_config->getConfigParameter('layout_config.homepage_section6')}
|
||||
{assign var='homepage_section7' value=$theme_config->getConfigParameter('layout_config.homepage_section7')}
|
||||
|
||||
<header>
|
||||
{include_file id="_header" title='Newest links'}
|
||||
</header>
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">
|
||||
{st_get_component module="stSlideBannerFrontend" component="show"}
|
||||
{$content}
|
||||
</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
<div id="category-thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
</div>
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $homepage_section5 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section5 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section5 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section5 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section5 == 'seo' || !$homepage_section5}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section5 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section5 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{if $homepage_section6 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section6 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section6 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section6 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section6 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section6 == 'main_text' || !$homepage_section6}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section6 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{if $homepage_section7 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section7 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section7 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section7 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section7 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section7 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section7 == 'blog' || !$homepage_section7}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{slot name="main-index-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
2
apps/frontend/templates/theme/argentorwd/_fonts.html
Normal file
2
apps/frontend/templates/theme/argentorwd/_fonts.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=latin-ext&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=latin-ext&display=swap" rel="stylesheet" type="text/css">
|
||||
9
apps/frontend/templates/theme/argentorwd/_footer.html
Normal file
9
apps/frontend/templates/theme/argentorwd/_footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
150
apps/frontend/templates/theme/argentorwd/_header.html
Normal file
150
apps/frontend/templates/theme/argentorwd/_header.html
Normal file
@@ -0,0 +1,150 @@
|
||||
<div id="top" class="container">
|
||||
<div id="header" class="clearfix hidden-xs">
|
||||
<div id="logo">
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<div id="header-navbar-outer">
|
||||
<div class="container">
|
||||
<nav id="header-navbar" class="navbar" role="navigation">
|
||||
<div id="logo_small" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<a href="{url_for internal='stUser/loginUser' secure=true}" id="nav-button-user" class="hidden-xs btn btn-navbar collapsed">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</a>
|
||||
<button id="nav-button-user" class="visible-xs btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Menu -->
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<!-- Koszyk -->
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Moje konto, Język, Waluta -->
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
var menuHeight = $('#header-navbar-outer').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 991) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#top').height();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar-outer').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar-outer').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
};
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
menuFix();
|
||||
if ($(window).width() < 991) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var headerNavbar = $('#header-navbar').height();
|
||||
var top = $('#top').height();
|
||||
var menuHeightMobile = top + headerNavbar + 10;
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
30
apps/frontend/templates/theme/argentorwd/two_column.html
Normal file
30
apps/frontend/templates/theme/argentorwd/two_column.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
{strip}
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{/strip}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=PROMOTION"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=RECOMMEND"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=SALES"}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
10
apps/frontend/templates/theme/bianco/_blog.html
Normal file
10
apps/frontend/templates/theme/bianco/_blog.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div id="blog-short" class="col-xs-12 col-sm-4 pull-right">
|
||||
<h4>Wpisy na blogu:</h4>
|
||||
<ul class="tinymce_html">
|
||||
<li>Wpis 1</li>
|
||||
<li>Wpis 2</li>
|
||||
<li>Wpis 3</li>
|
||||
<li>Wpis 4</li>
|
||||
<li>Wpis 5</li>
|
||||
</ul>
|
||||
</div>
|
||||
4
apps/frontend/templates/theme/bianco/_fonts.html
Normal file
4
apps/frontend/templates/theme/bianco/_fonts.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="stylesheet" type="text/css">
|
||||
|
||||
{include_file id="_script_theme"}
|
||||
15
apps/frontend/templates/theme/bianco/_footer.html
Normal file
15
apps/frontend/templates/theme/bianco/_footer.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="container">
|
||||
<div id="accordion_footer" class="panel-group row">
|
||||
<div class="col-xs-12 col-sm-8{if $theme_config->getConfigParameter('layout_config.footer_webpage_links') == 'rows'} webpage-rows{/if}">
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
<!-- <div class="foot-group list-group col-xs-12 col-sm-4 verify"></div> -->
|
||||
<div id="newsletter" class="list-group col-xs-12 col-sm-4 pull-right">
|
||||
{st_get_component module="stNewsletterFrontend" component="newsletter"}
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
94
apps/frontend/templates/theme/bianco/_header.html
Normal file
94
apps/frontend/templates/theme/bianco/_header.html
Normal file
@@ -0,0 +1,94 @@
|
||||
<div id="top">
|
||||
<div id="header" class="hidden-xs">
|
||||
<div class="container">
|
||||
<div class="flex-sm">
|
||||
<div id="logo-top" {if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}class="slogan-width"{/if}>
|
||||
<div>
|
||||
<a href="{$homepage_url}" aria-label="{__ text='Strona główna' langCatalogue='stFrontend'}">
|
||||
<img class="img-responsive" src="{image_path image='logo.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{if $sf_context->getActionName()=="index" && $sf_context->getModuleName()=="stFrontendMain"}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><h1 class="hidden-xs">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></h1></div>
|
||||
{/if}
|
||||
{else}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><div class="hidden-xs h4">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></div></div>
|
||||
{/if}
|
||||
{/if}
|
||||
<div id="top-social">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<nav id="header-navbar" role="navigation">
|
||||
<div class="container">
|
||||
<div id="logo" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}" aria-label="{__ text='Strona główna' langCatalogue='stFrontend'}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar" aria-label="{__ text='Szukaj' langCatalogue='stSearchFrontend'}">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar" aria-label="{__ text='Koszyk' langCatalogue='stBasket'}">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar" aria-label="{__ text='Moje konto' langCatalogue='stUser'}">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar" aria-label="{__ text='Język i waluta' langCatalogue='stFrontend'}">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar" aria-label="{__ text='Rozwiń kategorie' langCatalogue='stFrontend'}">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="nav-menu" class="navbar-collapse collapse clearfix">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
115
apps/frontend/templates/theme/bianco/_script_theme.html
Normal file
115
apps/frontend/templates/theme/bianco/_script_theme.html
Normal file
@@ -0,0 +1,115 @@
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var menuHeight = $('#header-navbar').height();
|
||||
var dropdown = $('#nav-menu .dropdown-menu');
|
||||
var dropdownSettings = $('#nav-settings .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#header').outerHeight();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
dropdownSettings.css('max-height', windowHeight - menuHeight - 15 - 48);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
dropdownSettings.css('max-height', windowHeight - headerHeight - menuHeight - 15 - 48);
|
||||
};
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('#toTopNew').addClass('show');
|
||||
} else {
|
||||
$('#toTopNew').removeClass('show');
|
||||
}
|
||||
});
|
||||
|
||||
$('#toTopNew').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function(){
|
||||
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
|
||||
$('#toTopNew').addClass('upper');
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').addClass('show');
|
||||
}else{
|
||||
$('#phone-call').removeClass('show');
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
menuFix();
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
28
apps/frontend/templates/theme/bianco/_seo.html
Normal file
28
apps/frontend/templates/theme/bianco/_seo.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{if $theme->hasThemeContent('h2-homepage-1') || $theme->hasThemeContent('h2-homepage-2') || $theme->hasThemeContent('h2-homepage-3')}
|
||||
<div id="seo" class="row">
|
||||
{if $theme->hasThemeContent('h2-homepage-1')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-1'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-1-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-1-text'}</p></div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('h2-homepage-2')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-2'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-2-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-2-text'}</p> </div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('h2-homepage-3')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-3'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-3-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-3-text'}</p> </div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
52
apps/frontend/templates/theme/bianco/base.html
Normal file
52
apps/frontend/templates/theme/bianco/base.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{$lang}">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
{use_javascript src="jquery-1.8.3.min.js" position="first"}
|
||||
{use_javascript src="/bootstrap/js/bootstrap.min.js" position="first"}
|
||||
{use_javascript src="bootstrap-hover-dropdown.min.js" position="first"}
|
||||
|
||||
{use_javascript src="jquery.stickybox.js" position="first"}
|
||||
{use_javascript src="jquery.equilizer.js" position="first"}
|
||||
{use_javascript src="lightGallery.min.js" position="first"}
|
||||
{use_javascript src="easing.js"}
|
||||
{use_javascript src="bootstrap-slider.min.js"}
|
||||
{use_javascript src="bloodhund.min.js"}
|
||||
{use_javascript src="bootstrap-typeahead.js"}
|
||||
{use_javascript src="tmpl.min.js"}
|
||||
{use_javascript src="/swiper-slider/js/swiper-bundle.min.js"}
|
||||
{use_javascript src="jquery.cookie.js"}
|
||||
|
||||
{use_stylesheet src="style.css" position="first"}
|
||||
{use_stylesheet src="theme.css" position="first"}
|
||||
{use_stylesheet src="theme_editor.css" position="first"}
|
||||
{use_stylesheet src="lightGallery.css" position="first"}
|
||||
{use_stylesheet src="bootstrap-slider.css" position="first"}
|
||||
{use_stylesheet src="/swiper-slider/css/swiper-bundle.min.css"}
|
||||
|
||||
{include_meta}
|
||||
<link rel="preload" href="/bootstrap/fonts/glyphicons-halflings-regular.woff" as="font" crossorigin="anonymous">
|
||||
<link href="/bootstrap/css/bootstrap.min.css?v320" rel="preload" as="style">
|
||||
<link href="/bootstrap/css/bootstrap.min.css?v320" rel="stylesheet" type="text/css">
|
||||
{include_stylesheets minify="true"}
|
||||
{include_javascripts minify="true"}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
|
||||
{include_file id="_fonts"}
|
||||
{assign var='searchId' value=0}
|
||||
{st_get_component module="stGoogleAnalyticsFrontend" component="standard"}
|
||||
{slot name="before-head-ends" hidden="true"}{/slot}
|
||||
</head>
|
||||
<body>
|
||||
{slot name="base-header" hidden="true"}{/slot}
|
||||
{render_layout default="one_column"}
|
||||
{slot name="base-footer" hidden="true"}{/slot}
|
||||
{if $shopinfo->get('phone') && $shopinfo->get('show_phone')}
|
||||
<a id="phone-call" href="tel:{$shopinfo->get('phone')}" aria-label="{__ text='Kontakt' langCatalogue='stFrontend'}"><span class="glyphicon glyphicon-earphone"></span></a>
|
||||
{/if}
|
||||
<a href="#" id="toTopNew" aria-label="{__ text='Do góry' langCatalogue='stFrontend'}">
|
||||
<svg width="21" height="13" viewBox="0 0 21 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1 12L10.5 1L20 12" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
27
apps/frontend/templates/theme/bianco/gallery_left.html
Normal file
27
apps/frontend/templates/theme/bianco/gallery_left.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout" class="gallery-left">
|
||||
<div class="container">
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
28
apps/frontend/templates/theme/bianco/two_column.html
Normal file
28
apps/frontend/templates/theme/bianco/two_column.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="bg-white">
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
{strip}
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{/strip}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
46
apps/frontend/templates/theme/climb/_fonts.html
Normal file
46
apps/frontend/templates/theme/climb/_fonts.html
Normal file
@@ -0,0 +1,46 @@
|
||||
{assign var='font_style' value=$theme_config->getConfigParameter('layout_config.font_style')}
|
||||
|
||||
{if $font_style == 'poppins'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $font_style == 'pt_serif'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'PT Serif', serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{/if}
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Asap+Condensed&family=Oswald:wght@500&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Asap+Condensed&family=Oswald:wght@500&display=swap" rel="stylesheet" type="text/css">
|
||||
|
||||
{include_file id="_script_theme"}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
$(window).load(function() {
|
||||
const topHeight = $('#header-navbar').height();
|
||||
$('#two-column-layout, #one-column-layout').css('padding-top', topHeight);
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
67
apps/frontend/templates/theme/climb/_header.html
Normal file
67
apps/frontend/templates/theme/climb/_header.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<nav id="header-navbar" role="navigation" class="navbar navbar-fixed-top{if (!($sf_context->getActionName()=='index' && $sf_context->getModuleName()=='stFrontendMain') || $theme_config->getConfigParameter('layout_config.menu_show') != 'default')} bg-menu{/if}">
|
||||
{st_get_component module="stBoxFrontend" component="boxSingle" params="webmaster_id=top"}
|
||||
<div class="container">
|
||||
<div id="logo">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M14.4121122,14.4121122 L20,20"/> <circle cx="10" cy="10" r="6"/> </svg>
|
||||
</button>
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M6 6h15l-1.5 9h-12z"/> <circle cx="9" cy="19" r="1"/> <circle cx="18" cy="19" r="1"/> <path d="M6 6H3"/> </svg>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M4,20 C4,17 8,17 10,15 C11,14 8,14 8,9 C8,5.667 9.333,4 12,4 C14.667,4 16,5.667 16,9 C16,14 13,14 14,15 C16,17 20,17 20,20"/> </svg>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M5 20v-5c1.333-1.333 3-2 5-2 3 0 4 2 6 2 1 0 2-.333 3-1V5c-1 .667-2 1-3 1-2 0-3-2-6-2-2 0-3.667.667-5 2v9"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="nav-menu" class="navbar-collapse collapse clearfix">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
84
apps/frontend/templates/theme/climb/_text-horizontal.html
Normal file
84
apps/frontend/templates/theme/climb/_text-horizontal.html
Normal file
@@ -0,0 +1,84 @@
|
||||
{if $theme->hasThemeContent('horizontal_1-h3') || $theme->hasThemeContent('horizontal_2-h3') || $theme->hasThemeContent('horizontal_3-h3') || $theme->hasThemeContent('horizontal_4-h3')}
|
||||
<div id="text-horizontal">
|
||||
<div class="line1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{if $theme->hasThemeContent('horizontal_1-h3')}
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-1.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_1-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_1-text')}
|
||||
<p>{theme_content id='horizontal_1-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('horizontal_2-h3')}
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-2.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_2-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_2-text')}
|
||||
<p>{theme_content id='horizontal_2-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{if $theme->hasThemeContent('horizontal_3-h3')}
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-3.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_3-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_3-text')}
|
||||
<p>{theme_content id='horizontal_3-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('horizontal_4-h3')}
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-4.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_4-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_4-text')}
|
||||
<p>{theme_content id='horizontal_4-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
184
apps/frontend/templates/theme/cosmo/_script_theme.html
Normal file
184
apps/frontend/templates/theme/cosmo/_script_theme.html
Normal file
@@ -0,0 +1,184 @@
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var menuHeight = $('#header-navbar').height();
|
||||
var dropdown = $('#nav-menu .dropdown-menu');
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('#toTopNew').addClass('show');
|
||||
} else {
|
||||
$('#toTopNew').removeClass('show');
|
||||
}
|
||||
});
|
||||
|
||||
$('#toTopNew').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function(){
|
||||
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
|
||||
$('#toTopNew').addClass('upper');
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').addClass('show');
|
||||
}else{
|
||||
$('#phone-call').removeClass('show');
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
|
||||
$("#homepage-carousel .social .icons").hover(
|
||||
function() {
|
||||
$('#homepage-carousel .social .h5, #homepage-carousel .social .space').css( "opacity", '0' );
|
||||
}, function() {
|
||||
$('#homepage-carousel .social .h5, #homepage-carousel .social .space').css( "opacity", '' );
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function() {
|
||||
$('#homepage-carousel .social').addClass('show-social');
|
||||
}, 1000);
|
||||
|
||||
setTimeout(function() {
|
||||
$('#homepage-carousel .swiper-pagination').addClass('show-pagination');
|
||||
}, 1200);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
{if ($sf_context->getActionName()=='index' && $sf_context->getModuleName()=='stFrontendMain')}
|
||||
{if $theme_config->getConfigParameter('layout_config.menu_show') === 'show'}
|
||||
{literal}
|
||||
<style>
|
||||
#homepage-layout
|
||||
{
|
||||
padding-top: 70px;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
$(document).ready(function(){
|
||||
|
||||
const bannerHomepage = $('#homepage-carousel').length;
|
||||
if (bannerHomepage){
|
||||
var st = $(this).scrollTop();
|
||||
if (st > 75){
|
||||
$('#header-navbar').addClass('bg-menu');
|
||||
}else{
|
||||
$('#header-navbar').removeClass('bg-menu');
|
||||
}
|
||||
|
||||
var lastScrollTop = 0;
|
||||
$(window).scroll(function(event){
|
||||
var st = $(this).scrollTop();
|
||||
if (st > 75){
|
||||
$('#header-navbar').addClass('bg-menu');
|
||||
}else{
|
||||
$('#header-navbar').removeClass('bg-menu');
|
||||
}
|
||||
});
|
||||
}else{
|
||||
const topHeight = $('#header-navbar').height();
|
||||
$('#header-navbar').addClass('bg-menu');
|
||||
$('#homepage-layout').css('padding-top', topHeight+20);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
$(document).ready(function(){
|
||||
const baner1Pagination = document.querySelector('#homepage-carousel .swiper-pagination');
|
||||
const baner2Pagination = document.querySelector('#homepage-carouselbaner2 .swiper-pagination');
|
||||
|
||||
const observerPagination = new MutationObserver((mutationsList, observer) => {
|
||||
mutationsList.forEach(mutation => {
|
||||
const svgCode = '<svg width="22" height="20" viewBox="0 0 22 20" xmlns="http://www.w3.org/2000/svg"><path d="M21.4363 9.54809C23.1709 17.6429 17.8385 21.2407 11.0927 18.9921C4.79668 16.8934 2.54809 13.1457 0.749216 9.54809C-0.599941 4.60104 5.2464 1.43094 11.0927 0.553716C20.0871 -0.795589 20.0871 3.25193 21.4363 9.54809Z" fill="white"/></svg>';
|
||||
|
||||
if (mutation.type === 'childList') {
|
||||
mutation.target.querySelectorAll('span').forEach(spanElement => {
|
||||
spanElement.insertAdjacentHTML('beforeend', svgCode);
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const configPaginationObserver = { childList: true, subtree: true };
|
||||
|
||||
if(baner1Pagination){
|
||||
observerPagination.observe(baner1Pagination, configPaginationObserver);
|
||||
}
|
||||
if(baner2Pagination){
|
||||
observerPagination.observe(baner2Pagination, configPaginationObserver);
|
||||
}
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
33
apps/frontend/templates/theme/cosmo/gallery_left.html
Normal file
33
apps/frontend/templates/theme/cosmo/gallery_left.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<div class="bg-body">
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout" class="gallery-left {if $theme_config->getConfigParameter('layout_config.shadow_box') == 'off'} no-shadow{/if}">
|
||||
{if ($theme_config->getConfigParameter('layout_config.wide_card') == 'narrow')}
|
||||
<div class="container">
|
||||
{else}
|
||||
<div class="container-wide">
|
||||
{/if}
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
15
apps/frontend/templates/theme/cosmo/homepage.html
Normal file
15
apps/frontend/templates/theme/cosmo/homepage.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="homepage-layout" {if $theme_config->getConfigParameter('layout_config.shadow_box') == 'off'}class="no-shadow"{/if}>
|
||||
{st_get_component module="stSlideBannerFrontend" component="show"}
|
||||
<div class="bg-body">
|
||||
<div id="homepage">
|
||||
{$content}
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
46
apps/frontend/templates/theme/cosmo/one_column.html
Normal file
46
apps/frontend/templates/theme/cosmo/one_column.html
Normal file
@@ -0,0 +1,46 @@
|
||||
{php} $c = sfContext::getInstance(); {/php}
|
||||
<div class="bg-body">
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout" {if $theme_config->getConfigParameter('layout_config.shadow_box') == 'off'}class="no-shadow"{/if}>
|
||||
{php}
|
||||
if ($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') {
|
||||
{/php}
|
||||
{slot name="product-list-after-title" hidden="true"}{/slot}
|
||||
{php}}{/php}
|
||||
|
||||
{php}
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') && ($this->get_template_vars('theme_config')->getConfigParameter('layout_config.wide_card') != 'narrow'))) {
|
||||
{/php}
|
||||
<div class="container-wide">
|
||||
{php} }else{ {/php}
|
||||
<div class="container">
|
||||
{php} } {/php}
|
||||
|
||||
{php}
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
34
apps/frontend/templates/theme/cosmo/two_column.html
Normal file
34
apps/frontend/templates/theme/cosmo/two_column.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{php} $c = sfContext::getInstance(); {/php}
|
||||
<div class="bg-body">
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout" {if $theme_config->getConfigParameter('layout_config.shadow_box') == 'off'}class="no-shadow"{/if}>
|
||||
{php}
|
||||
if ($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') {
|
||||
{/php}
|
||||
{slot name="product-list-after-title" hidden="true"}{/slot}
|
||||
{php}}{/php}
|
||||
<div class="container-wide">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
{strip}
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{/strip}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
1
apps/frontend/templates/theme/cutlery/_fonts.html
Normal file
1
apps/frontend/templates/theme/cutlery/_fonts.html
Normal file
@@ -0,0 +1 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i&subset=latin-ext" rel="stylesheet">
|
||||
157
apps/frontend/templates/theme/cutlery/_header.html
Normal file
157
apps/frontend/templates/theme/cutlery/_header.html
Normal file
@@ -0,0 +1,157 @@
|
||||
<div id="top" class="container">
|
||||
<div id="header" class="row hidden-xs">
|
||||
<div class="col-sm-2">
|
||||
<a href="{$homepage_url}" class="btn btn-primary btn-home">
|
||||
<svg enable-background="new 0 0 24 24" height="16px" version="1.1" viewBox="0 0 24 24" width="16px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M23.821,12.263L12.575,0.636C12.415,0.473,12.208,0.391,12,0.391s-0.415,0.082-0.575,0.245L0.179,12.263 c-0.316,0.328-0.203,0.597,0.251,0.597h3.308l0.002,10.75c2.417,0,6.191,0,6.191,0v-6.615h4.136l-0.014,6.615c0,0,5.063,0,6.226,0 L20.278,12.86h3.291C24.023,12.86,24.137,12.591,23.821,12.263z"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-8 text-center">
|
||||
<div id="logo">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<div id="header-navbar-outer">
|
||||
<div class="container">
|
||||
<nav id="header-navbar" class="navbar" role="navigation">
|
||||
<div id="logo_small" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<a href="{url_for internal='stUser/loginUser' secure=true}" id="nav-button-user" class="hidden-xs btn btn-navbar collapsed">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</a>
|
||||
<button id="nav-button-user" class="visible-xs btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Menu -->
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<!-- Koszyk -->
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Moje konto, Język, Waluta -->
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
var menuHeight = $('#header-navbar-outer').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#top').height();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar-outer').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar-outer').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
};
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
menuFix();
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
85
apps/frontend/templates/theme/cutlery/_search.html
Normal file
85
apps/frontend/templates/theme/cutlery/_search.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<form action="{urlfor internal="stProduct/list"}" class="form-inline search" method="get">
|
||||
<div class="input-group">
|
||||
<label class="sr-only" for="search">{__ text="Wyszukaj" langCatalogue="stSearchFrontend"}</label>
|
||||
<input type="search" autocomplete="off" class="form-control" name="query" value="" placeholder='{__ text="Wyszukaj" langCatalogue="stSearchFrontend"}...' />
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-search" type="submit">
|
||||
<svg enable-background="new 0 0 512 512" height="16px" version="1.1" viewBox="0 0 512 512" width="16px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M497.913,497.913c-18.782,18.782-49.225,18.782-68.008,0l-84.862-84.863c-34.889,22.382-76.13,35.717-120.659,35.717 C100.469,448.767,0,348.312,0,224.383S100.469,0,224.384,0c123.931,0,224.384,100.452,224.384,224.383 c0,44.514-13.352,85.771-35.718,120.676l84.863,84.863C516.695,448.704,516.695,479.131,497.913,497.913z M224.384,64.109 c-88.511,0-160.274,71.747-160.274,160.273c0,88.526,71.764,160.274,160.274,160.274c88.525,0,160.273-71.748,160.273-160.274 C384.657,135.856,312.909,64.109,224.384,64.109z"/></svg>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{literal}
|
||||
<script id="search-result-tpl" type="text/x-template">
|
||||
<div class="media">
|
||||
<div class="media-left">
|
||||
<a href="#">
|
||||
<img class="media-object" src="{%=o.image%}" alt="{%=o.name%}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading">{%=o.name%}</h4>
|
||||
{% if (o.price) { %}
|
||||
<div class="price-info">
|
||||
{% if (o.price.type == 'gross_net') { %}
|
||||
<span class="price">{%=o.price.brutto%}</span>
|
||||
{% } else if (o.price.type == 'net_gross') { %}
|
||||
<span class="price">{%=o.price.netto%}</span>
|
||||
{% } else if (o.price.type == 'only_net') { %}
|
||||
<span class="price">{%=o.price.netto%}</span>
|
||||
{% } else { %}
|
||||
<span class="price">{%=o.price.brutto%}</span>
|
||||
{% } %}
|
||||
</div>
|
||||
{% } %}
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$('.search').submit(function() {
|
||||
var input = $(this).find('input[name=query]');
|
||||
|
||||
if (!input.val()) {
|
||||
input.parent().addClass('has-error');
|
||||
return false;
|
||||
}
|
||||
|
||||
input.parent().removeClass('has-error');
|
||||
return true;
|
||||
});
|
||||
|
||||
var products = new Bloodhound({
|
||||
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'),
|
||||
queryTokenizer: Bloodhound.tokenizers.whitespace,
|
||||
remote: {
|
||||
url: '{/literal}{urlfor internal="@stSearchPlugin?action=typeahead"}?query=%QUERY{literal}',
|
||||
wildcard: '%QUERY'
|
||||
},
|
||||
limit: 100
|
||||
});
|
||||
|
||||
products.initialize();
|
||||
|
||||
var tpl = tmpl($('#search-result-tpl').html());
|
||||
|
||||
var typeahead = $('.search input[type="search"]');
|
||||
typeahead.typeahead({
|
||||
source: products.ttAdapter(),
|
||||
messages: {
|
||||
noresults: "{/literal}{__ text='Brak produktów dla wybranych kryteriów' catalogue='stProduct'}{literal}"
|
||||
},
|
||||
viewport: { selector: '#header-navbar', padding: 0 },
|
||||
template: function(suggestions) {
|
||||
var content = '';
|
||||
for (var i = 0; i < suggestions.length; i++) {
|
||||
content += '<li data-url="'+suggestions[i].url+'">'+tpl(suggestions[i])+'</li>';
|
||||
}
|
||||
return content;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
37
apps/frontend/templates/theme/cutlery8/_fonts.html
Normal file
37
apps/frontend/templates/theme/cutlery8/_fonts.html
Normal file
@@ -0,0 +1,37 @@
|
||||
{assign var='font_style' value=$theme_config->getConfigParameter('layout_config.font_style')}
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@500&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@500&display=swap" rel="stylesheet" type="text/css">
|
||||
|
||||
{if $font_style == 'poppins'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $font_style == 'pt_serif'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'PT Serif', serif;
|
||||
}
|
||||
#nav-menu>.navbar-nav>li>a
|
||||
{
|
||||
font-weight: 400;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{/if}
|
||||
|
||||
{include_file id="_script_theme"}
|
||||
46
apps/frontend/templates/theme/default2/base.html
Normal file
46
apps/frontend/templates/theme/default2/base.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
|
||||
<head>
|
||||
{use_javascript src="jquery-1.7.2.min.js" position="first"}
|
||||
{use_javascript src="jquery-no-conflict.js" position="first"}
|
||||
{use_javascript src="jquery.tools-1.2.6.min.js" position="first"}
|
||||
{use_javascript src="/js/less.min.js"}
|
||||
{use_stylesheet src="style.css" position="first"}
|
||||
{use_less src="config.less" position="first"}
|
||||
{use_less src="theme.less" position="first"}
|
||||
{use_less src="style.less" position="first"}
|
||||
{include_meta}
|
||||
{include_stylesheets minify="true"}
|
||||
{include_less}
|
||||
{include_javascripts minify="true"}
|
||||
<!--[if IE 6]>
|
||||
{stylesheet_tag href='ie6.css'}
|
||||
<![endif]-->
|
||||
<!--[if IE 7]>
|
||||
{stylesheet_tag href='ie7.css'}
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
{stylesheet_tag href='ie8.css'}
|
||||
<![endif]-->
|
||||
<!--[if IE 9]>
|
||||
{stylesheet_tag href='ie9.css'}
|
||||
<![endif]-->
|
||||
<!--[if IE 10] -->
|
||||
{php}
|
||||
if(strpos($_SERVER['HTTP_USER_AGENT'], "MSIE 10")){
|
||||
{/php}
|
||||
{stylesheet_tag href='ie10.css'}
|
||||
{php}
|
||||
}
|
||||
{/php}
|
||||
<!--[endif] -->
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
|
||||
{slot name="before_head_ends" hidden="true"}{/slot}
|
||||
</head>
|
||||
<body>
|
||||
{slot name="base_header" hidden="true"}{/slot}
|
||||
{render_layout default="three_column_layout"}
|
||||
{slot name="base_footer" hidden="true"}{/slot}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="container_content">
|
||||
{$content}
|
||||
</div>
|
||||
10
apps/frontend/templates/theme/default2/container_foot.html
Normal file
10
apps/frontend/templates/theme/default2/container_foot.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{include_content id="st_layout_container_foot"}
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
|
||||
{if $show_online_users}
|
||||
<div id="online">
|
||||
{__ text="Użytkownicy online" langCatalogue="stFrontend"}: {$users_online}
|
||||
</div>
|
||||
{/if}
|
||||
{include_st_component module="stGoogleAnalyticsFrontend" component="standard"}
|
||||
77
apps/frontend/templates/theme/default2/container_head.html
Normal file
77
apps/frontend/templates/theme/default2/container_head.html
Normal file
@@ -0,0 +1,77 @@
|
||||
{init_tooltip}
|
||||
{$stPartner}
|
||||
<div id="overbaner">
|
||||
<div class="left">
|
||||
<!-- top page left -->
|
||||
</div>
|
||||
<div class="left">
|
||||
<!-- top page bottom/left -->
|
||||
</div>
|
||||
<div class="right">
|
||||
<!-- top page right -->
|
||||
</div>
|
||||
</div>
|
||||
<div id="baner">
|
||||
<div id="content_baner">
|
||||
<div class="left">
|
||||
<div class="logo">
|
||||
|
||||
<div class="icon_logo">
|
||||
<a href="{$homepage_url}"><img src="{image_path image='logo.png'}" alt=" "/></a>
|
||||
</div>
|
||||
<div class="box_logo">
|
||||
<h1>{$theme.logo.name}</h1>
|
||||
<div class="txt_logo"><a href="/">{$theme.logo.desc}</a></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="right column_baner_right">
|
||||
<div class="row">
|
||||
<!-- banner row -->
|
||||
<div class="right">
|
||||
{$stSearch}
|
||||
</div>
|
||||
<div class="right txt_input">
|
||||
{__ text="Szukaj" langCatalogue="stSearchFrontend"}:
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- banner row 2 -->
|
||||
<div class="right">
|
||||
{$selectLanguage}
|
||||
</div>
|
||||
<div class="right">
|
||||
{$stCurrencyPickCurrency}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- banner row 3 -->
|
||||
<div class="right">
|
||||
<!-- element 1 -->
|
||||
</div>
|
||||
<div class="right txt space10_right">
|
||||
<!-- element 2 -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="underbaner">
|
||||
<div id="home" class="left">
|
||||
<a href="{$homepage_url}"><img src="{image_path image='icon_home.gif'}" alt=" " /></a>
|
||||
</div>
|
||||
<div class="left">
|
||||
{st_get_component module="stWebpageFrontend" component="headerWebpage"}
|
||||
</div>
|
||||
{slot name="container_head_bar" hidden="true"}{/slot}
|
||||
<div style="min-width:250px;" class="right">
|
||||
{$stBasketList}
|
||||
<div id="login_status_container" class="right">
|
||||
{include_st_component module="stUser" component="loginStatus"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{slot name="container_head_bottom" hidden="true"}{/slot}
|
||||
{$stNavigationShowLocation}
|
||||
11
apps/frontend/templates/theme/default2/container_left.html
Normal file
11
apps/frontend/templates/theme/default2/container_left.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="container_content portal-column" id="portal_left">
|
||||
{slot name="layout_container_left"}
|
||||
{component name="stCategoryTree/show"}
|
||||
{component name="stProduct/priceFilter"}
|
||||
{component name="appProductAttributeFrontend/showFilter"}
|
||||
{component name="stProductOptionsFrontend/filter"}
|
||||
{component name="stProduct/new"}
|
||||
{component name="stProduct/productGroup" parameters="product_group: RECOMMEND"}
|
||||
{component name="stBoxFrontend/boxGroup" parameters="box_group: LEFT"}
|
||||
{/slot}
|
||||
</div>
|
||||
10
apps/frontend/templates/theme/default2/container_right.html
Normal file
10
apps/frontend/templates/theme/default2/container_right.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="container_content portal-column" id="portal_right">
|
||||
{slot name="layout_container_right"}
|
||||
{component name="stNavigationFrontend/productsBox"}
|
||||
{component name="stProduct/productGroup" parameters="product_group: PROMOTION"}
|
||||
{component name="stProduct/productGroup" parameters="product_group: SALES"}
|
||||
{component name="stBoxFrontend/boxGroup" parameters="box_group: RIGHT"}
|
||||
{component name="stTrustedShopsFrontend/showSealbox"}
|
||||
{component name="stTrustedShopsFrontend/showRatingWidget"}
|
||||
{/slot}
|
||||
</div>
|
||||
@@ -0,0 +1,20 @@
|
||||
{use_stylesheet src="one_column_layout.css"}
|
||||
{use_less src="one_column_layout.less"}
|
||||
<div id="bg_container">
|
||||
<div id="bg_container_bottom">
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
{include_file id="container_head"}
|
||||
</div>
|
||||
<div id="middle">
|
||||
<div id="main">
|
||||
{include_file id="container_content"}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
{include_file id="container_foot"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
1
apps/frontend/templates/theme/default2/popup.html
Normal file
1
apps/frontend/templates/theme/default2/popup.html
Normal file
@@ -0,0 +1 @@
|
||||
{$content}
|
||||
@@ -0,0 +1,26 @@
|
||||
{use_stylesheet src="three_column_layout.css"}
|
||||
{use_less src="three_column_layout.less"}
|
||||
<div id="bg_container">
|
||||
<div id="bg_container_bottom">
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
{include_file id="container_head"}
|
||||
</div>
|
||||
<div id="middle">
|
||||
<div id="left">
|
||||
{include_file id="container_left"}
|
||||
</div>
|
||||
<div id="main">
|
||||
{include_file id="container_content"}
|
||||
</div>
|
||||
<div id="right">
|
||||
{include_file id="container_right"}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
{include_file id="container_foot"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
{use_stylesheet src="two_column_layout.css"}
|
||||
{use_less src="two_column_layout.less"}
|
||||
<div id="bg_container">
|
||||
<div id="bg_container_bottom">
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
{include_file id="container_head"}
|
||||
</div>
|
||||
<div id="middle">
|
||||
<div id="left">
|
||||
{include_file id="container_left"}
|
||||
</div>
|
||||
<div id="main">
|
||||
{include_file id="container_content"}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
{include_file id="container_foot"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
38
apps/frontend/templates/theme/fashionrwd/_fonts.html
Normal file
38
apps/frontend/templates/theme/fashionrwd/_fonts.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,300,400italic,700,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
|
||||
<link href='https://fonts.googleapis.com/css?family=Poiret+One&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.2/masonry.pkgd.js"></script>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
|
||||
function heightMainProd(id) {
|
||||
var home_list = $(id + '.product').length;
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
for (i = 1; i<=home_list; i++) {
|
||||
var heightMainP = $(id + '.nr_' + i + ' .image').height();
|
||||
var widthMainP = $(id + '.nr_' + i + ' .image').width();
|
||||
|
||||
$(id + '.nr_' + i + ' .caption_inner').css('height' , heightMainP).css('width' , widthMainP);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function heightMain() {
|
||||
var main_categories = $('#main_categories .product').length;
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
for (i = 1; i<=main_categories; i++) {
|
||||
var widthMain = $('#main_categories .nr_' + i + ' .image').width();
|
||||
|
||||
$('#main_categories .nr_' + i + ' .name a').css('width' , widthMain);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
9
apps/frontend/templates/theme/fashionrwd/_footer.html
Normal file
9
apps/frontend/templates/theme/fashionrwd/_footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
144
apps/frontend/templates/theme/fashionrwd/_header.html
Normal file
144
apps/frontend/templates/theme/fashionrwd/_header.html
Normal file
@@ -0,0 +1,144 @@
|
||||
<div id="header">
|
||||
<div id="logo" class="text-center hidden-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-box">
|
||||
<nav id="header-navbar" class="navbar" role="navigation">
|
||||
<div id="logo_small" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<a href="{url_for internal='stUser/loginUser' secure=true}" id="nav-button-user" class="hidden-xs btn btn-navbar collapsed">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</a>
|
||||
<button id="nav-button-user" class="visible-xs btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Menu -->
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<!-- Koszyk -->
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Moje konto, Język, Waluta -->
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
function fixedMenu() {
|
||||
var nav = $('#header');
|
||||
var topHeight = 5 + 29 + 22 + $('#logo').height();
|
||||
var topHeightBox = $('#header-box').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
var windowHeight = $(window).height();
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
if ($(this).scrollTop() > topHeight) {
|
||||
nav.addClass("f-nav");
|
||||
$('#header-box').css('height', topHeightBox);
|
||||
dropdown.css('max-height', windowHeight - topHeightBox - 15);
|
||||
} else {
|
||||
nav.removeClass("f-nav");
|
||||
$('#header-box').css('height', '');
|
||||
dropdown.css('max-height', windowHeight - topHeight - topHeightBox - 15);
|
||||
}
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
fixedMenu();
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
});
|
||||
$(window).scroll(function () {
|
||||
fixedMenu();
|
||||
});
|
||||
$(window).resize(function () {
|
||||
fixedMenu();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
15
apps/frontend/templates/theme/fashionrwd/one_column.html
Normal file
15
apps/frontend/templates/theme/fashionrwd/one_column.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout">
|
||||
<div class="container">
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
27
apps/frontend/templates/theme/fashionrwd/two_column.html
Normal file
27
apps/frontend/templates/theme/fashionrwd/two_column.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=PROMOTION"}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
154
apps/frontend/templates/theme/futura/_fonts.html
Normal file
154
apps/frontend/templates/theme/futura/_fonts.html
Normal file
@@ -0,0 +1,154 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Turret+Road:wght@400;700&display=swap&subset=latin-ext" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Turret+Road:wght@400;700&display=swap&subset=latin-ext" rel="stylesheet" type="text/css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.2/masonry.pkgd.js"></script>
|
||||
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var menuHeight = $('#header-navbar').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#header').outerHeight();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
};
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
function bannerScroll () {
|
||||
var windowHeight = $(window).height();
|
||||
var topHeight = $('#top').outerHeight();
|
||||
var bannerHeight = $('#homepage-baner').outerHeight();
|
||||
|
||||
$("html, body").animate({
|
||||
scrollTop: topHeight + bannerHeight - windowHeight
|
||||
}, 500, 'easeOutExpo');
|
||||
}
|
||||
function scrollBannerHide () {
|
||||
var windowHeight = $(window).height();
|
||||
var topHeight = $('#top').outerHeight();
|
||||
var bannerHeight = $('#homepage-baner').outerHeight();
|
||||
var scrolled = $(window).scrollTop();
|
||||
|
||||
if (scrolled > (topHeight + bannerHeight - windowHeight - 230)) {
|
||||
$('#show-banner-btn').addClass('hide');
|
||||
}else{
|
||||
$('#show-banner-btn').removeClass('hide');
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('#toTopNew').addClass('show');
|
||||
} else {
|
||||
$('#toTopNew').removeClass('show');
|
||||
}
|
||||
});
|
||||
|
||||
$('#toTopNew').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function(){
|
||||
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
|
||||
$('#toTopNew').addClass('upper');
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').addClass('show');
|
||||
}else{
|
||||
$('#phone-call').removeClass('show');
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
menuFix();
|
||||
|
||||
$('#homepage-carousel').append('<span id="show-banner-btn"><svg width="23" height="21" viewBox="0 0 23 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 1L11.5 11L21.5 1" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.5 10.2308L11.5 20.2308L21.5 10.2308" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg></span>');
|
||||
|
||||
$("#show-banner-btn").click(function() {
|
||||
bannerScroll();
|
||||
});
|
||||
scrollBannerHide();
|
||||
|
||||
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
scrollBannerHide();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
|
||||
$( window ).on( "load", function() {
|
||||
var showBannerBtn = $("#show-banner-btn");
|
||||
setTimeout(function(){ showBannerBtn.addClass('onload') }, 2000);
|
||||
});
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
101
apps/frontend/templates/theme/futura/_header.html
Normal file
101
apps/frontend/templates/theme/futura/_header.html
Normal file
@@ -0,0 +1,101 @@
|
||||
<div id="top">
|
||||
<div id="header" class="hidden-xs">
|
||||
<div class="container">
|
||||
<div class="flex-sm">
|
||||
<div id="logo-top" {if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}class="slogan-width"{/if}>
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img class="img-responsive" src="{image_path image='logo.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{if $sf_context->getActionName()=="index" && $sf_context->getModuleName()=="stFrontendMain"}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><h1 class="hidden-xs">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></h1></div>
|
||||
{/if}
|
||||
{else}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><div class="hidden-xs h4">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></div></div>
|
||||
{/if}
|
||||
{/if}
|
||||
<div id="top-social">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<nav id="header-navbar" role="navigation">
|
||||
<div class="container">
|
||||
<div id="logo" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" aria-labelledby="searchIconTitle" stroke-width="1.7142857142857142" stroke-linecap="round" stroke-linejoin="round" fill="none"> <title id="searchIconTitle">Search</title> <path d="M14.4121122,14.4121122 L20,20"/> <circle cx="10" cy="10" r="6"/> </svg>
|
||||
</button>
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" aria-labelledby="cartIconTitle" stroke-width="1.7142857142857142" stroke-linecap="round" stroke-linejoin="round" fill="none"> <title id="cartIconTitle">Cart</title> <path d="M6 6h15l-1.5 9h-12z"/> <circle cx="9" cy="19" r="1"/> <circle cx="18" cy="19" r="1"/> <path d="M6 6H3"/> </svg>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" aria-labelledby="personIconTitle" stroke-width="1.7142857142857142" stroke-linecap="round" stroke-linejoin="round" fill="none"> <title id="personIconTitle">Person</title> <path d="M4,20 C4,17 8,17 10,15 C11,14 8,14 8,9 C8,5.667 9.333,4 12,4 C14.667,4 16,5.667 16,9 C16,14 13,14 14,15 C16,17 20,17 20,20"/> </svg>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" aria-labelledby="languageIconTitle" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"> <title id="languageIconTitle">Language</title> <circle cx="12" cy="12" r="10"/> <path stroke-linecap="round" d="M12,22 C14.6666667,19.5757576 16,16.2424242 16,12 C16,7.75757576 14.6666667,4.42424242 12,2 C9.33333333,4.42424242 8,7.75757576 8,12 C8,16.2424242 9.33333333,19.5757576 12,22 Z"/> <path stroke-linecap="round" d="M2.5 9L21.5 9M2.5 15L21.5 15"/> </svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="nav-menu" class="navbar-collapse collapse clearfix">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="under-menu-links" class="hidden-xs">
|
||||
<ul class="container nav">
|
||||
{st_get_component module="stWebpageFrontend" component="groupWebpage" group_page="HEADER"}
|
||||
</ul>
|
||||
</div>
|
||||
{/strip}
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
36
apps/frontend/templates/theme/giallo8/_fonts.html
Normal file
36
apps/frontend/templates/theme/giallo8/_fonts.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{assign var='font_style' value=$theme_config->getConfigParameter('layout_config.font_style')}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap" rel="stylesheet" type="text/css">
|
||||
|
||||
{if $font_style == 'poppins'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $font_style == 'pt_serif'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'PT Serif', serif;
|
||||
}
|
||||
#nav-menu>.navbar-nav>li>a
|
||||
{
|
||||
font-weight: 400;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{/if}
|
||||
|
||||
{include_file id="_script_theme"}
|
||||
15
apps/frontend/templates/theme/giallo8/_footer.html
Normal file
15
apps/frontend/templates/theme/giallo8/_footer.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="container">
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div id="accordion_footer" class="panel-group row">
|
||||
<div class="col-xs-12 col-sm-8{if $theme_config->getConfigParameter('layout_config.footer_webpage_links') == 'rows'} webpage-rows{/if}">
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
<!-- <div class="foot-group list-group col-xs-12 col-sm-4 verify"></div> -->
|
||||
<div id="newsletter" class="list-group col-xs-12 col-sm-4 pull-right">
|
||||
{st_get_component module="stNewsletterFrontend" component="newsletter"}
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
2
apps/frontend/templates/theme/giallorwd/_fonts.html
Normal file
2
apps/frontend/templates/theme/giallorwd/_fonts.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,600,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
|
||||
<link href='https://fonts.googleapis.com/css?family=Oswald&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
|
||||
9
apps/frontend/templates/theme/giallorwd/_footer.html
Normal file
9
apps/frontend/templates/theme/giallorwd/_footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="container">
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="row">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
28
apps/frontend/templates/theme/marrone/_seo.html
Normal file
28
apps/frontend/templates/theme/marrone/_seo.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{if $theme->hasThemeContent('h2-homepage-1') || $theme->hasThemeContent('h2-homepage-2') || $theme->hasThemeContent('h2-homepage-3')}
|
||||
<div id="seo" class="row">
|
||||
{if $theme->hasThemeContent('h2-homepage-1')}
|
||||
<div class="col-xs-12 column{if $theme->hasThemeContent('h2-homepage-3')} three-col{/if}">
|
||||
<h2>{theme_content id='h2-homepage-1'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-1-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-1-text'}</p></div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('h2-homepage-2')}
|
||||
<div class="col-xs-12 column{if $theme->hasThemeContent('h2-homepage-3')} three-col{/if}">
|
||||
<h2>{theme_content id='h2-homepage-2'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-2-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-2-text'}</p> </div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('h2-homepage-3')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-3'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-3-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-3-text'}</p> </div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
195
apps/frontend/templates/theme/moda/_fonts.html
Normal file
195
apps/frontend/templates/theme/moda/_fonts.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="stylesheet" type="text/css">
|
||||
|
||||
{if $theme_config->getConfigParameter('layout_config.banner_font_description') == 'serif'}
|
||||
{literal}
|
||||
<style>
|
||||
.homepage-carousel .swiper-slide .caption p
|
||||
{
|
||||
font-family: 'Playfair Display',serif;
|
||||
font-weight: 400;
|
||||
font-size: 22px;
|
||||
line-height: 130%;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
{if $theme_config->getConfigParameter('layout_config.banner_font_title') == 'dancing_script'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-family: 'Dancing Script', cursive;
|
||||
font-weight: 400;
|
||||
font-size: 48px;
|
||||
line-height: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@media (min-width: 768px){
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-size: 65px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $theme_config->getConfigParameter('layout_config.banner_font_title') == 'great_vibes'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-weight: 400;
|
||||
font-size: 48px;
|
||||
line-height: 80%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@media (min-width: 768px){
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-size: 65px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $theme_config->getConfigParameter('layout_config.banner_font_title') == 'comfortaa'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Comfortaa&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Comfortaa&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-family: 'Comfortaa', sans-serif;
|
||||
font-weight: 400;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@media (min-width: 768px){
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var menuHeight = $('#header-navbar').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
var dropdownSettings = $('#nav-settings .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#header').outerHeight();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
dropdownSettings.css('max-height', windowHeight - menuHeight - 15 - 48);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
dropdownSettings.css('max-height', windowHeight - headerHeight - menuHeight - 15 - 48);
|
||||
};
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('#toTopNew').addClass('show');
|
||||
} else {
|
||||
$('#toTopNew').removeClass('show');
|
||||
}
|
||||
});
|
||||
|
||||
$('#toTopNew').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function(){
|
||||
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
|
||||
$('#toTopNew').addClass('upper');
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').addClass('show');
|
||||
}else{
|
||||
$('#phone-call').removeClass('show');
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
menuFix();
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
105
apps/frontend/templates/theme/moda/_header.html
Normal file
105
apps/frontend/templates/theme/moda/_header.html
Normal file
@@ -0,0 +1,105 @@
|
||||
<div id="top"{if $theme_config->getConfigParameter('layout_config.home_page_baner_top_space') == 'no_space'} class="baner-no-space"{/if}>
|
||||
<div class="container">
|
||||
<div id="header" class="hidden-xs">
|
||||
<div class="flex-sm">
|
||||
<div id="logo-top" {if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}class="slogan-width"{/if}>
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img class="img-responsive" src="{image_path image='logo.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{if $sf_context->getActionName()=="index" && $sf_context->getModuleName()=="stFrontendMain"}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><h1 class="hidden-xs">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></h1></div>
|
||||
{/if}
|
||||
{else}
|
||||
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
|
||||
<div class="slogan"><div class="hidden-xs h4">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></div></div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<div id="top-social">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<nav id="header-navbar" role="navigation">
|
||||
<div class="container">
|
||||
<div id="logo" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M14.4121122,14.4121122 L20,20"/> <circle cx="10" cy="10" r="6"/> </svg>
|
||||
</button>
|
||||
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M6 6h15l-1.5 9h-12z"/><circle cx="9" cy="19" r="1"/> <circle cx="18" cy="19" r="1"/><path d="M6 6H3"/> </svg>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M4,20 C4,17 8,17 10,15 C11,14 8,14 8,9 C8,5.667 9.333,4 12,4 C14.667,4 16,5.667 16,9 C16,14 13,14 14,15 C16,17 20,17 20,20"/> </svg>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
|
||||
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="26px" height="26px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><circle cx="12" cy="12" r="10"/> <path stroke-linecap="round" d="M12,22 C14.6666667,19.5757576 16,16.2424242 16,12 C16,7.75757576 14.6666667,4.42424242 12,2 C9.33333333,4.42424242 8,7.75757576 8,12 C8,16.2424242 9.33333333,19.5757576 12,22 Z"/> <path stroke-linecap="round" d="M2.5 9L21.5 9M2.5 15L21.5 15"/> </svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if ($c->getModuleName() == 'stFrontendMain' && $c->getActionName() == 'index') {
|
||||
{/php}
|
||||
{st_get_component module="stSlideBannerFrontend" component="show"}
|
||||
{php} } {/php}
|
||||
</div>
|
||||
</div>
|
||||
69
apps/frontend/templates/theme/moda/homepage.html
Normal file
69
apps/frontend/templates/theme/moda/homepage.html
Normal file
@@ -0,0 +1,69 @@
|
||||
{assign var='homepage_section5' value=$theme_config->getConfigParameter('layout_config.homepage_section5')}
|
||||
{assign var='homepage_section6' value=$theme_config->getConfigParameter('layout_config.homepage_section6')}
|
||||
{assign var='homepage_section7' value=$theme_config->getConfigParameter('layout_config.homepage_section7')}
|
||||
|
||||
<header class="homepage">
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
<div id="one-column-layout">
|
||||
<div class="container">
|
||||
<div class="bg-white">
|
||||
{$content}
|
||||
|
||||
{if $homepage_section5 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section5 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section5 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section5 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section5 == 'seo' || !$homepage_section5}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section5 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section5 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $homepage_section6 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section6 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section6 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section6 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section6 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section6 == 'main_text' || !$homepage_section6}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section6 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $homepage_section7 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section7 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section7 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section7 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section7 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section7 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section7 == 'blog' || !$homepage_section7}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{slot name="main-index-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
78
apps/frontend/templates/theme/moda/homepage_two_column.html
Normal file
78
apps/frontend/templates/theme/moda/homepage_two_column.html
Normal file
@@ -0,0 +1,78 @@
|
||||
{assign var='homepage_section5' value=$theme_config->getConfigParameter('layout_config.homepage_section5')}
|
||||
{assign var='homepage_section6' value=$theme_config->getConfigParameter('layout_config.homepage_section6')}
|
||||
{assign var='homepage_section7' value=$theme_config->getConfigParameter('layout_config.homepage_section7')}
|
||||
|
||||
<header class="homepage">
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
<div class="bg-white">
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">
|
||||
{$content}
|
||||
</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
</div>
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
{if $homepage_section5 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section5 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section5 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section5 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section5 == 'seo' || !$homepage_section5}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section5 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section5 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{if $homepage_section6 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section6 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section6 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section6 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section6 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section6 == 'main_text' || !$homepage_section6}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section6 == 'blog'}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{if $homepage_section7 == 'main_categories'}
|
||||
{st_get_component module="stProduct" component="treeMain"}
|
||||
{elseif $homepage_section7 == 'product_group1'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
|
||||
{elseif $homepage_section7 == 'product_group2'}
|
||||
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
|
||||
{elseif $homepage_section7 == 'product_group3'}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{elseif $homepage_section7 == 'seo'}
|
||||
{include_file id="_seo"}
|
||||
{elseif $homepage_section7 == 'main_text'}
|
||||
{st_get_component module="stFrontendMain" component="mainText"}
|
||||
{elseif $homepage_section7 == 'blog' || !$homepage_section7}
|
||||
{st_get_component module="stBlogFrontend" component="index"}
|
||||
{/if}
|
||||
|
||||
{slot name="main-index-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
35
apps/frontend/templates/theme/moda/one_column.html
Normal file
35
apps/frontend/templates/theme/moda/one_column.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<header
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if ($c->getModuleName() == 'stFrontendMain' && $c->getActionName() == 'index') {
|
||||
{/php}
|
||||
class="homepage"
|
||||
{php} } {/php}>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout">
|
||||
<div class="container">
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
<div class="bg-white">
|
||||
{$content}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
25
apps/frontend/templates/theme/moda/two_column.html
Normal file
25
apps/frontend/templates/theme/moda/two_column.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="bg-white">
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
163
apps/frontend/templates/theme/mojszablon/_header.html
Normal file
163
apps/frontend/templates/theme/mojszablon/_header.html
Normal file
@@ -0,0 +1,163 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet">
|
||||
<div class="container">
|
||||
<div id="header" class="clearfix">
|
||||
<div id="icons">
|
||||
<a href="/basket/index" id="nav-button-shopping-cart" class="btn empty">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</a>
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<a href="{url_for internal='stUser/loginUser' secure=true}" id="nav-button-user" class="hidden-xs btn btn-navbar collapsed">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</a>
|
||||
<button id="nav-button-user" class="visible-xs btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="header-bottom">
|
||||
<div id="logo">
|
||||
<a href="{$homepage_url}">
|
||||
<img src="/images/logo.png" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="facebook">
|
||||
{st_get_component module="stBoxFrontend" component="boxSingle" params="webmaster_id=facebook-top"}
|
||||
</div>
|
||||
<div id="search">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header-navbar-position">
|
||||
<div id="header-navbar-outer">
|
||||
<div class="container">
|
||||
<nav id="header-navbar" class="navbar" role="navigation">
|
||||
<div id="logo_small" class="visible-xs">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo_small.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<!--<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>-->
|
||||
<!--<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<a href="{url_for internal='stUser/loginUser' secure=true}" id="nav-button-user" class="hidden-xs btn btn-navbar collapsed">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</a>
|
||||
<button id="nav-button-user" class="visible-xs btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}-->
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Menu -->
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<!-- Koszyk -->
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Moje konto, Język, Waluta -->
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{/strip}
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function ($) {
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
var menuHeight = $('#header-navbar-outer').height();
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar-outer').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar-outer').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
}
|
||||
;
|
||||
|
||||
}
|
||||
;
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
menuFix();
|
||||
});
|
||||
$(window).scroll(function () {
|
||||
menuFix();
|
||||
});
|
||||
$(window).resize(function () {
|
||||
menuFix();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
26
apps/frontend/templates/theme/mojszablon/homepage.html
Normal file
26
apps/frontend/templates/theme/mojszablon/homepage.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="homepage-layout">
|
||||
{$content}
|
||||
|
||||
<div class="row" style="margin-top: 50px;">
|
||||
<div class="col-xs-12">
|
||||
<div class="main-title">Nasze <strong>marki</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
<div id="copyright">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
Realizacja: <a href="http://www.project-pro.pl/" title="Project-Pro">Project-Pro</a> - <a href="http://www.project-pro.pl/" title="projektowanie stron www">projektowanie stron www</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
85
apps/frontend/templates/theme/mojszablon/one_column.html
Normal file
85
apps/frontend/templates/theme/mojszablon/one_column.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
<div id="one-column-layout">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">
|
||||
{if $smarty.server.REQUEST_URI!='/user_data/addBasketUser'}
|
||||
{st_get_component module="stSlideBannerFrontend" component="show" group="slider"}
|
||||
{/if}
|
||||
{$content}
|
||||
</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
<div id="category-thumbnail" class="thumbnail left-menu">
|
||||
{st_get_component module="stCategoryTree" component="show"}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=JACEK PYZIAK"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-top: 50px;">
|
||||
<div class="col-xs-12">
|
||||
<div class="main-title">Nasze <strong>marki</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
{php}
|
||||
$q1 = mysql_query("SELECT opt_content FROM st_webpage WHERE id='13'");
|
||||
$r = mysql_fetch_row($q1);
|
||||
echo $r[0];
|
||||
{/php}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
<div id="copyright">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
Realizacja: <a href="http://www.project-pro.pl/" title="Project-Pro">Project-Pro</a> - <a href="http://www.project-pro.pl/" title="projektowanie stron www">projektowanie stron www</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
{literal}
|
||||
<link rel="stylesheet" type="text/css" href="/plugins/slick/slick.css">
|
||||
<link rel="stylesheet" type="text/css" href="/plugins/slick/slick-theme.css">
|
||||
<script type="text/javascript" src="/plugins/slick/slick.js"></script>
|
||||
<script type="text/javascript">
|
||||
jQuery( function($)
|
||||
{
|
||||
$( '#logos').slick({
|
||||
infinite: true,
|
||||
autoplay: true,
|
||||
autoplaySpeed: 0,
|
||||
cssEase: 'linear',
|
||||
speed: 3000,
|
||||
slidesToShow: 4,
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 1024,
|
||||
settings: {
|
||||
slidesToShow: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 767,
|
||||
settings: {
|
||||
slidesToShow: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 480,
|
||||
settings: {
|
||||
slidesToShow: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
92
apps/frontend/templates/theme/mojszablon/two_column.html
Normal file
92
apps/frontend/templates/theme/mojszablon/two_column.html
Normal file
@@ -0,0 +1,92 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="row">
|
||||
{php}if ( $_SERVER['REQUEST_URI'] == '/webpage/kontakt.html' ):{/php}
|
||||
<div id="content" class="col-xs-12">{$content}</div>
|
||||
{php}else:{/php}
|
||||
<div id="left" class="col-md-3 col-lg-3">
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="show"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=PROMOTION"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=RECOMMEND"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=SALES"}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
<div id="content" class="col-md-9 col-lg-9">{$content}</div>
|
||||
{php}endif;{/php}
|
||||
</div>
|
||||
<div class="row" style="margin-top: 50px;">
|
||||
<div class="col-xs-12">
|
||||
<div class="main-title">Nasze <strong>marki</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
{php}
|
||||
$q1 = mysql_query("SELECT opt_content FROM st_webpage WHERE id='13'");
|
||||
$r = mysql_fetch_row($q1);
|
||||
echo $r[0];
|
||||
{/php}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
<div id="copyright">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
Realizacja: <a href="http://www.project-pro.pl/" title="Project-Pro">Project-Pro</a> - <a href="http://www.project-pro.pl/" title="projektowanie stron www">projektowanie stron www</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
{literal}
|
||||
<link rel="stylesheet" type="text/css" href="/plugins/slick/slick.css">
|
||||
<link rel="stylesheet" type="text/css" href="/plugins/slick/slick-theme.css">
|
||||
<script type="text/javascript" src="/plugins/slick/slick.js"></script>
|
||||
<script type="text/javascript">
|
||||
jQuery( function($)
|
||||
{
|
||||
$( '#logos').slick({
|
||||
infinite: true,
|
||||
autoplay: true,
|
||||
autoplaySpeed: 0,
|
||||
cssEase: 'linear',
|
||||
speed: 3000,
|
||||
slidesToShow: 4,
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 1024,
|
||||
settings: {
|
||||
slidesToShow: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 767,
|
||||
settings: {
|
||||
slidesToShow: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 480,
|
||||
settings: {
|
||||
slidesToShow: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
4
apps/frontend/templates/theme/responsive/_fonts.html
Normal file
4
apps/frontend/templates/theme/responsive/_fonts.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400&subset=latin,latin-ext&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:600,400,300,600italic,400italic,300italic&subset=latin,latin-ext&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400&subset=latin,latin-ext&display=swap" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:600,400,300,600italic,400italic,300italic&subset=latin,latin-ext&display=swap" rel="stylesheet" type="text/css">
|
||||
9
apps/frontend/templates/theme/responsive/_footer.html
Normal file
9
apps/frontend/templates/theme/responsive/_footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
116
apps/frontend/templates/theme/responsive/_header.html
Normal file
116
apps/frontend/templates/theme/responsive/_header.html
Normal file
@@ -0,0 +1,116 @@
|
||||
<nav id="header-navbar" class="navbar navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div id="logo">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="Logo" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-shopping-cart"></span>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
{if !$sf_user->isAuthenticated()}
|
||||
<button id="nav-button-user" class=" btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{else}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<span id="login-status-info" class="glyphicon glyphicon-user"></span>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Menu -->
|
||||
<div id="nav-menu" class="navbar-collapse collapse">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<!-- Koszyk -->
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Moje konto, Język, Waluta -->
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
if ($('#nav-settings > ul > li:empty').length == 2) {
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
function submenuHeight()
|
||||
{
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
if ($(window).width() > 767) {
|
||||
var scrolled = $(window).scrollTop();
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#header-navbar').height();
|
||||
dropdown.css('max-height', windowHeight - headerHeight - 15);
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
submenuHeight();
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
});
|
||||
|
||||
$(window).scroll(function() {
|
||||
submenuHeight();
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
submenuHeight();
|
||||
});
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
86
apps/frontend/templates/theme/responsive/_search.html
Normal file
86
apps/frontend/templates/theme/responsive/_search.html
Normal file
@@ -0,0 +1,86 @@
|
||||
{php}$this->assign('searchId', substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyz"), 0, 4)){/php}
|
||||
|
||||
<form action="{urlfor internal="stProduct/list"}" class="form-inline search" method="get">
|
||||
<div class="input-group">
|
||||
<label class="sr-only" for="search-{$searchId}">{__ text="Wyszukaj"}</label>
|
||||
<input id="search-{$searchId}" type="search" autocomplete="off" class="form-control" name="query" value="" placeholder='{__ text="Wpisz czego szukasz" catalogue="stFrontend"}' />
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit" aria-label="{__ text='Wyszukaj' langCatalogue='stSearchFrontend'}"><span class="glyphicon glyphicon-search"></span></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{literal}
|
||||
<script id="search-result-tpl" type="text/x-template">
|
||||
<div class="media">
|
||||
<div class="media-left">
|
||||
<a href="#">
|
||||
<img class="media-object" src="{%=o.image%}" alt="{%=o.name%}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading">{%=o.name%}</h4>
|
||||
{% if (o.price) { %}
|
||||
<div class="price-info">
|
||||
{% if (o.price.type == 'gross_net') { %}
|
||||
<span class="price">{%=o.price.brutto%}</span>
|
||||
{% } else if (o.price.type == 'net_gross') { %}
|
||||
<span class="price">{%=o.price.netto%}</span>
|
||||
{% } else if (o.price.type == 'only_net') { %}
|
||||
<span class="price">{%=o.price.netto%}</span>
|
||||
{% } else { %}
|
||||
<span class="price">{%=o.price.brutto%}</span>
|
||||
{% } %}
|
||||
</div>
|
||||
{% } %}
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$('.search').submit(function() {
|
||||
var input = $(this).find('input[name=query]');
|
||||
|
||||
if (!input.val()) {
|
||||
input.parent().addClass('has-error');
|
||||
return false;
|
||||
}
|
||||
|
||||
input.parent().removeClass('has-error');
|
||||
return true;
|
||||
});
|
||||
|
||||
var products = new Bloodhound({
|
||||
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'),
|
||||
queryTokenizer: Bloodhound.tokenizers.whitespace,
|
||||
remote: {
|
||||
url: '{/literal}{urlfor internal="@stSearchPlugin?action=typeahead"}?query=%QUERY{literal}',
|
||||
wildcard: '%QUERY'
|
||||
},
|
||||
limit: 100
|
||||
});
|
||||
|
||||
products.initialize();
|
||||
|
||||
var tpl = tmpl($('#search-result-tpl').html());
|
||||
|
||||
var typeahead = $('.search input[type="search"]');
|
||||
typeahead.typeahead({
|
||||
minLength: 3,
|
||||
source: products.ttAdapter(),
|
||||
messages: {
|
||||
noresults: false,
|
||||
},
|
||||
viewport: { selector: '#header-navbar', padding: 0 },
|
||||
template: function(suggestions) {
|
||||
var content = '';
|
||||
for (var i = 0; i < suggestions.length; i++) {
|
||||
content += '<li data-url="'+suggestions[i].url+'">'+tpl(suggestions[i])+'</li>';
|
||||
}
|
||||
return content;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
120
apps/frontend/templates/theme/responsive/base.html
Normal file
120
apps/frontend/templates/theme/responsive/base.html
Normal file
@@ -0,0 +1,120 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{$lang}">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
{use_javascript src="jquery-1.8.3.min.js" position="first"}
|
||||
{use_javascript src="/bootstrap/js/bootstrap.min.js" position="first"}
|
||||
{use_javascript src="bootstrap-hover-dropdown.min.js" position="first"}
|
||||
|
||||
{use_javascript src="jquery.stickybox.js" position="first"}
|
||||
{use_javascript src="jquery.equilizer.js" position="first"}
|
||||
{use_javascript src="lightGallery.min.js" position="first"}
|
||||
{use_javascript src="easing.js"}
|
||||
{use_javascript src="bootstrap-slider.min.js"}
|
||||
{use_javascript src="bloodhund.min.js"}
|
||||
{use_javascript src="bootstrap-typeahead.js"}
|
||||
{use_javascript src="tmpl.min.js"}
|
||||
{use_javascript src="/swiper-slider/js/swiper-bundle.min.js"}
|
||||
|
||||
{use_stylesheet src="style.css" position="first"}
|
||||
{use_stylesheet src="theme.css" position="first"}
|
||||
{use_stylesheet src="theme_editor.css" position="first"}
|
||||
{use_stylesheet src="lightGallery.css" position="first"}
|
||||
{use_stylesheet src="bootstrap-slider.css" position="first"}
|
||||
{use_stylesheet src="/swiper-slider/css/swiper-bundle.min.css"}
|
||||
|
||||
{include_meta}
|
||||
<link rel="preload" href="/bootstrap/fonts/glyphicons-halflings-regular.woff" as="font" crossorigin="anonymous">
|
||||
<link href="/bootstrap/css/bootstrap.min.css?v320" rel="preload" as="style">
|
||||
<link href="/bootstrap/css/bootstrap.min.css?v320" rel="stylesheet" type="text/css">
|
||||
{include_stylesheets minify="true"}
|
||||
{include_javascripts minify="true"}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
|
||||
{include_file id="_fonts"}
|
||||
{assign var='searchId' value=0}
|
||||
{if $is_mobile}
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400italic,700,700italic,300italic,300&subset=latin,latin-ext&display=swap" rel='preload' as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400italic,700,700italic,300italic,300&subset=latin,latin-ext&display=swap" rel='stylesheet' type="text/css">
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
.caption .name, .card h1, #product-navbar h1, .title h1, .card .product-label h2, .caption .product-label, header .horizontal-categories > li > a, .category h2, .dropdown-menu > li > a
|
||||
{
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 100) {
|
||||
$('#toTop').fadeIn();
|
||||
} else {
|
||||
$('#toTop').fadeOut();
|
||||
}
|
||||
});
|
||||
$('#toTop').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').show()
|
||||
}else{
|
||||
$('#phone-call').hide()
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
{st_get_component module="stGoogleAnalyticsFrontend" component="standard"}
|
||||
{slot name="before-head-ends" hidden="true"}{/slot}
|
||||
</head>
|
||||
<body>
|
||||
{slot name="base-header" hidden="true"}{/slot}
|
||||
{render_layout default="one_column"}
|
||||
{slot name="base-footer" hidden="true"}{/slot}
|
||||
{if $shopinfo->get('phone') && $shopinfo->get('show_phone')}
|
||||
<a id="phone-call" href="tel:{$shopinfo->get('phone')}"><span class="glyphicon glyphicon-earphone"></span></a>
|
||||
{/if}
|
||||
<a href="#" id="toTop"><span class="glyphicon glyphicon-arrow-up"></span></a>
|
||||
</body>
|
||||
</html>
|
||||
12
apps/frontend/templates/theme/responsive/homepage.html
Normal file
12
apps/frontend/templates/theme/responsive/homepage.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="homepage-layout">
|
||||
{$content}
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
27
apps/frontend/templates/theme/responsive/one_column.html
Normal file
27
apps/frontend/templates/theme/responsive/one_column.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout">
|
||||
<div class="container">
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
30
apps/frontend/templates/theme/responsive/two_column.html
Normal file
30
apps/frontend/templates/theme/responsive/two_column.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout">
|
||||
<div class="container">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
{strip}
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{/strip}
|
||||
{st_get_component module="stProduct" component="new"}
|
||||
{st_get_component module="stProduct" component="productGroup" params="product_group=PROMOTION"}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
204
apps/frontend/templates/theme/ristorante/_fonts.html
Normal file
204
apps/frontend/templates/theme/ristorante/_fonts.html
Normal file
@@ -0,0 +1,204 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="stylesheet" type="text/css">
|
||||
|
||||
{if $theme_config->getConfigParameter('layout_config.banner_font') == 'serif'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap&subset=latin-ext" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap&subset=latin-ext" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-weight: 400;
|
||||
line-height: 100%;
|
||||
font-size: 60px;
|
||||
}
|
||||
|
||||
.homepage-carousel .swiper-slide .caption h3 small, .homepage-carousel .swiper-slide .caption p
|
||||
{
|
||||
margin-top: 12px;
|
||||
line-height: 110%;
|
||||
letter-spacing: 0;
|
||||
font-size: 30px;
|
||||
}
|
||||
@media (min-width: 768px){
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-size: 128px;
|
||||
}
|
||||
.homepage-carousel .swiper-slide .caption h3 small, .homepage-carousel .swiper-slide .caption p
|
||||
{
|
||||
font-size: 35px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $theme_config->getConfigParameter('layout_config.banner_font') == 'ballania'}
|
||||
{literal}
|
||||
<style>
|
||||
@font-face{
|
||||
font-family:"bellania-regular";
|
||||
src: url('/css/frontend/theme/ristorante/bellania.woff2') format('woff2'),
|
||||
url('/css/frontend/theme/ristorante/bellania.woff') format('woff'),
|
||||
url('/css/frontend/theme/ristorante/bellania.ttf') format('truetype');
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-weight: 400;
|
||||
font-family: 'bellania-regular', cursive;
|
||||
font-size: 70px;
|
||||
line-height: 90%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.homepage-carousel .swiper-slide .caption h3 small,
|
||||
.homepage-carousel .swiper-slide .caption p
|
||||
{
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.1em;
|
||||
font-size: 30px;
|
||||
display: block;
|
||||
margin-top: 0px;
|
||||
position: relative;
|
||||
line-height: 90%;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.homepage-carousel .swiper-slide .caption h3
|
||||
{
|
||||
font-size: 148px;
|
||||
}
|
||||
|
||||
.homepage-carousel .swiper-slide .caption h3 small,
|
||||
.homepage-carousel .swiper-slide .caption p
|
||||
{
|
||||
font-size: 48px;
|
||||
margin-top: -11px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var menuHeight = $('#header-navbar').height();
|
||||
var dropdown = $('#header-navbar .dropdown-menu');
|
||||
var dropdownSettings = $('#nav-settings .dropdown-menu');
|
||||
|
||||
function menuFix() {
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
|
||||
var scrolled = $(window).scrollTop();
|
||||
var menuTop = $('#header-navbar-position').offset().top;
|
||||
var windowHeight = $(window).height();
|
||||
var headerHeight = $('#header').outerHeight();
|
||||
|
||||
if (scrolled > menuTop) {
|
||||
$('#header-navbar').addClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', menuHeight - 1);
|
||||
dropdown.css('max-height', windowHeight - menuHeight - 15);
|
||||
dropdownSettings.css('max-height', windowHeight - menuHeight - 15 - 48);
|
||||
} else if (scrolled < menuTop) {
|
||||
$('#header-navbar').removeClass('navbar-fixed-top');
|
||||
$('#header-navbar-position').css('min-height', '');
|
||||
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
|
||||
dropdownSettings.css('max-height', windowHeight - headerHeight - menuHeight - 15 - 48);
|
||||
};
|
||||
|
||||
} else {
|
||||
dropdown.removeAttr("style");
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('#toTopNew').addClass('show');
|
||||
} else {
|
||||
$('#toTopNew').removeClass('show');
|
||||
}
|
||||
});
|
||||
|
||||
$('#toTopNew').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function(){
|
||||
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
|
||||
$('#toTopNew').addClass('upper');
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').addClass('show');
|
||||
}else{
|
||||
$('#phone-call').removeClass('show');
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
menuFix();
|
||||
});
|
||||
$(window).scroll(function(){
|
||||
menuFix();
|
||||
});
|
||||
$(window).resize(function(){
|
||||
menuFix();
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
76
apps/frontend/templates/theme/watch/_fonts.html
Normal file
76
apps/frontend/templates/theme/watch/_fonts.html
Normal file
@@ -0,0 +1,76 @@
|
||||
{assign var='font_style' value=$theme_config->getConfigParameter('layout_config.font_style')}
|
||||
|
||||
{if $font_style == 'poppins'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,600&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{elseif $font_style == 'pt_serif'}
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" type="text/css">
|
||||
{literal}
|
||||
<style>
|
||||
body
|
||||
{
|
||||
font-family: 'PT Serif', serif;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
{literal}
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Myriad Pro';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Myriad Pro Regular'), url('/fonts/myriadpro/MYRIADPRO-REGULAR.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Myriad Pro';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Myriad Pro Italic'), url('/fonts/myriadpro/MYRIADPRO-ITALIC.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Myriad Pro';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local('Myriad Pro Semibold'), url('/fonts/myriadpro/MYRIADPRO-SEMIBOLD.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Myriad Pro';
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
src: local('Myriad Pro Semibold Italic'), url('/fonts/myriadpro/MYRIADPRO-SEMIBOLDIT.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Myriad Pro';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Myriad Pro Bold'), url('/fonts/myriadpro/MYRIADPRO-BOLD.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Myriad Pro';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Myriad Pro Bold Italic'), url('/fonts/myriadpro/MYRIADPRO-BOLDIT.woff') format('woff');
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Asap+Condensed&family=Roboto+Condensed&display=swap" rel="preload" as="style">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Asap+Condensed&family=Roboto+Condensed&display=swap" rel="stylesheet" type="text/css">
|
||||
|
||||
{include_file id="_script_theme"}
|
||||
14
apps/frontend/templates/theme/watch/_footer.html
Normal file
14
apps/frontend/templates/theme/watch/_footer.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{st_get_component module="stNewsletterFrontend" component="newsletter"}
|
||||
<div class="navbar navbar-default clearfix" role="navigation">
|
||||
<div class="container">
|
||||
<div id="accordion_footer" class="panel-group row">
|
||||
<div class="col-xs-12 col-sm-9{if $theme_config->getConfigParameter('layout_config.footer_webpage_links') == 'rows'} webpage-rows{/if}">
|
||||
{st_get_component module="stWebpageFrontend" component="footerWebpage"}
|
||||
</div>
|
||||
<div class="list-group col-xs-12 col-sm-3 pull-right">
|
||||
{st_get_component module="stSocialLinksFrontend" component="show"}
|
||||
</div>
|
||||
</div>
|
||||
{st_get_component module="stFrontendMain" component="copyright" params="open='$open'"}
|
||||
</div>
|
||||
</div>
|
||||
65
apps/frontend/templates/theme/watch/_header.html
Normal file
65
apps/frontend/templates/theme/watch/_header.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<nav id="header-navbar" role="navigation" class="navbar navbar-fixed-top{if (!($sf_context->getActionName()=='index' && $sf_context->getModuleName()=='stFrontendMain') || $theme_config->getConfigParameter('layout_config.menu_show') != 'default')} bg-menu{/if}">
|
||||
<div class="container">
|
||||
<div id="logo">
|
||||
<div>
|
||||
<a href="{$homepage_url}">
|
||||
<img src="{image_path image='logo.png'}" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-buttons" class="btn-group pull-right">
|
||||
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M14.4121122,14.4121122 L20,20"/> <circle cx="10" cy="10" r="6"/> </svg>
|
||||
</button>
|
||||
{if !($product_config->get('hide_basket'))}
|
||||
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M6 6h15l-1.5 9h-12z"/> <circle cx="9" cy="19" r="1"/> <circle cx="18" cy="19" r="1"/> <path d="M6 6H3"/> </svg>
|
||||
<small class="quantity"></small>
|
||||
</button>
|
||||
{/if}
|
||||
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M4,20 C4,17 8,17 10,15 C11,14 8,14 8,9 C8,5.667 9.333,4 12,4 C14.667,4 16,5.667 16,9 C16,14 13,14 14,15 C16,17 20,17 20,20"/> </svg>
|
||||
<small class="login-status"> </small>
|
||||
</button>
|
||||
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
|
||||
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M5 20v-5c1.333-1.333 3-2 5-2 3 0 4 2 6 2 1 0 2-.333 3-1V5c-1 .667-2 1-3 1-2 0-3-2-6-2-2 0-3.667.667-5 2v9"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="navbar-header">
|
||||
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="nav-menu" class="navbar-collapse collapse clearfix">
|
||||
{st_get_component module="stCategoryTree" component="horizontal"}
|
||||
</div>
|
||||
<div class="navbar-dropdown">
|
||||
<div id="nav-shopping-cart" class="navbar-collapse collapse">
|
||||
{st_get_component module="stBasket" component="show"}
|
||||
</div>
|
||||
<div id="nav-user" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{st_get_component module="stUser" component="loginStatus"}
|
||||
</ul>
|
||||
</div>
|
||||
{strip}
|
||||
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stLanguageFrontend" component="choose"}
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
|
||||
</li>
|
||||
</ul>
|
||||
{slot name="nav-setting" hidden="true"}{/slot}
|
||||
</div>
|
||||
{/strip}
|
||||
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
|
||||
{include_file id="_search"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
97
apps/frontend/templates/theme/watch/_icons-underbanner.html
Normal file
97
apps/frontend/templates/theme/watch/_icons-underbanner.html
Normal file
@@ -0,0 +1,97 @@
|
||||
<div id="icons-underbanner">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img class="img-responsive" src="/images/frontend/theme/watch/icons/icon1.png" />
|
||||
</td>
|
||||
<td>
|
||||
<div class="h4">Wysyłka od 9,90 zł</div>
|
||||
<p>do paczkomatu</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img class="img-responsive" src="/images/frontend/theme/watch/icons/icon2.png" />
|
||||
</td>
|
||||
<td>
|
||||
<div class="h4">Szybka wysyłka</div>
|
||||
<p>w 24h</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img class="img-responsive" src="/images/frontend/theme/watch/icons/icon3.png" />
|
||||
</td>
|
||||
<td>
|
||||
<div class="h4">Bezpieczne płatności</div>
|
||||
<p>szybkie płatności BLIK</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img class="img-responsive" src="/images/frontend/theme/watch/icons/icon4.png" />
|
||||
</td>
|
||||
<td>
|
||||
<div class="h4">Możliwośc zwrotu</div>
|
||||
<p>do 30 dni</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- <div id="icons-underbanner" class="flex flex-wrap">
|
||||
<div class="item flex">
|
||||
<div class="icon-img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon1.png'}" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="h4">Wysyłka od 9,90 zł</div>
|
||||
<p>do paczkomatu</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item flex">
|
||||
<div class="icon-img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon2.png'}" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="h4">Szybka wysyłka</div>
|
||||
<p>w 24h</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item flex">
|
||||
<div class="icon-img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon3.png'}" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="h4">Bezpieczne płatności</div>
|
||||
<p>szybkie płatności BLIK</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item flex">
|
||||
<div class="icon-img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon4.png'}" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="h4">Możliwośc zwrotu</div>
|
||||
<p>do 30 dni</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
153
apps/frontend/templates/theme/watch/_script_theme.html
Normal file
153
apps/frontend/templates/theme/watch/_script_theme.html
Normal file
@@ -0,0 +1,153 @@
|
||||
{literal}
|
||||
<!--[if IE 9]>
|
||||
<style type="text/css">
|
||||
select.form-control
|
||||
{
|
||||
padding-right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var menuHeight = $('#header-navbar').height();
|
||||
var dropdown = $('#nav-menu .dropdown-menu');
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body [data-equalizer]').equalizer({ use_tallest: true });
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('#toTopNew').addClass('show');
|
||||
} else {
|
||||
$('#toTopNew').removeClass('show');
|
||||
}
|
||||
});
|
||||
|
||||
$('#toTopNew').click(function () {
|
||||
$("html, body").animate({
|
||||
scrollTop: 0
|
||||
}, 300);
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function(){
|
||||
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
|
||||
$('#toTopNew').addClass('upper');
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
|
||||
var scroll = false;
|
||||
var $window = $(window);
|
||||
$window.scroll(function() {
|
||||
scroll = true;
|
||||
});
|
||||
|
||||
setInterval(function() {
|
||||
if (scroll) {
|
||||
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
|
||||
$('#phone-call').addClass('show');
|
||||
}else{
|
||||
$('#phone-call').removeClass('show');
|
||||
}
|
||||
scroll = false;
|
||||
}
|
||||
}, 255);
|
||||
|
||||
$('#nav-button-search.collapsed').click(function() {
|
||||
setTimeout(function(){
|
||||
$('#nav-search .form-control').focus();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if ($('#nav-settings > ul > li:empty').length == 2)
|
||||
{
|
||||
$('#nav-button-settings').hide();
|
||||
}
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
var windowHeightMobile = $(window).height();
|
||||
var menuHeightMobile = $('#header-navbar').height();
|
||||
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
|
||||
};
|
||||
|
||||
$("#homepage-carousel .social .icons").hover(
|
||||
function() {
|
||||
$('#homepage-carousel .social .h5, #homepage-carousel .social .space').css( "opacity", '0' );
|
||||
}, function() {
|
||||
$('#homepage-carousel .social .h5, #homepage-carousel .social .space').css( "opacity", '' );
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
setTimeout(function() {
|
||||
$('#homepage-carousel .social').addClass('show-social');
|
||||
}, 1000);
|
||||
|
||||
setTimeout(function() {
|
||||
$('#homepage-carousel .swiper-pagination').addClass('show-pagination');
|
||||
}, 1200);
|
||||
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
{if ($sf_context->getActionName()=='index' && $sf_context->getModuleName()=='stFrontendMain')}
|
||||
{if $theme_config->getConfigParameter('layout_config.menu_show') === 'show'}
|
||||
{literal}
|
||||
<style>
|
||||
@media (min-width: 768px) {
|
||||
#homepage-layout
|
||||
{
|
||||
padding-top: 70px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{else}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
$(document).ready(function(){
|
||||
|
||||
const bannerHomepage = $('#homepage-carousel').length;
|
||||
if (bannerHomepage){
|
||||
var st = $(this).scrollTop();
|
||||
if (st > 75){
|
||||
$('#header-navbar').addClass('bg-menu');
|
||||
}else{
|
||||
$('#header-navbar').removeClass('bg-menu');
|
||||
}
|
||||
|
||||
var lastScrollTop = 0;
|
||||
$(window).scroll(function(event){
|
||||
var st = $(this).scrollTop();
|
||||
if (st > 75){
|
||||
$('#header-navbar').addClass('bg-menu');
|
||||
}else{
|
||||
$('#header-navbar').removeClass('bg-menu');
|
||||
}
|
||||
});
|
||||
}else{
|
||||
const topHeight = $('#header-navbar').height();
|
||||
$('#header-navbar').addClass('bg-menu');
|
||||
$('#homepage-layout').css('padding-top', topHeight+20);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
32
apps/frontend/templates/theme/watch/_seo.html
Normal file
32
apps/frontend/templates/theme/watch/_seo.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{if $theme->hasThemeContent('h2-homepage-1') || $theme->hasThemeContent('h2-homepage-2') || $theme->hasThemeContent('h2-homepage-3')}
|
||||
<div id="seo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{if $theme->hasThemeContent('h2-homepage-1')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-1'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-1-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-1-text'}</p></div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('h2-homepage-2')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-2'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-2-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-2-text'}</p> </div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('h2-homepage-3')}
|
||||
<div class="col-xs-12 column three-col">
|
||||
<h2>{theme_content id='h2-homepage-3'}</h2>
|
||||
{if $theme->hasThemeContent('h2-homepage-3-text')}
|
||||
<div class="tinymce_html"><p>{theme_content id='h2-homepage-3-text'}</p> </div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
58
apps/frontend/templates/theme/watch/_text-horizontal.html
Normal file
58
apps/frontend/templates/theme/watch/_text-horizontal.html
Normal file
@@ -0,0 +1,58 @@
|
||||
{if $theme->hasThemeContent('horizontal_1-h3') || $theme->hasThemeContent('horizontal_2-h3') || $theme->hasThemeContent('horizontal_3-h3')}
|
||||
<div id="text-horizontal">
|
||||
{if $theme->hasThemeContent('horizontal_1-h3')}
|
||||
<div class="line flex line1">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-guantity.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_1-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_1-text')}
|
||||
<p>{theme_content id='horizontal_1-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="picture"></div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('horizontal_2-h3')}
|
||||
<div class="line flex line2">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-glass.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_2-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_2-text')}
|
||||
<p>{theme_content id='horizontal_2-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="picture"></div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $theme->hasThemeContent('horizontal_3-h3')}
|
||||
<div class="line flex line3">
|
||||
<div class="text flex">
|
||||
<div class="content-text flex">
|
||||
<div class="img">
|
||||
<img class="img-responsive" src="{image_path image='icons/icon-band.png'}" alt="" />
|
||||
</div>
|
||||
<div class="tinymce_html">
|
||||
<h3>{theme_content id='horizontal_3-h3'}</h3>
|
||||
{if $theme->hasThemeContent('horizontal_3-text')}
|
||||
<p>{theme_content id='horizontal_3-text'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="picture"></div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
31
apps/frontend/templates/theme/watch/gallery_left.html
Normal file
31
apps/frontend/templates/theme/watch/gallery_left.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout" class="gallery-left">
|
||||
{if ($theme_config->getConfigParameter('layout_config.wide_card') == 'narrow')}
|
||||
<div class="container">
|
||||
{else}
|
||||
<div class="container-wide">
|
||||
{/if}
|
||||
{php}
|
||||
$c = sfContext::getInstance();
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
13
apps/frontend/templates/theme/watch/homepage.html
Normal file
13
apps/frontend/templates/theme/watch/homepage.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="homepage-layout">
|
||||
<div id="homepage">
|
||||
{st_get_component module="stSlideBannerFrontend" component="show"}
|
||||
{$content}
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
44
apps/frontend/templates/theme/watch/one_column.html
Normal file
44
apps/frontend/templates/theme/watch/one_column.html
Normal file
@@ -0,0 +1,44 @@
|
||||
{php} $c = sfContext::getInstance(); {/php}
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="one-column-layout">
|
||||
{php}
|
||||
if ($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') {
|
||||
{/php}
|
||||
{slot name="product-list-after-title" hidden="true"}{/slot}
|
||||
{php}}{/php}
|
||||
|
||||
{php}
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') && ($this->get_template_vars('theme_config')->getConfigParameter('layout_config.wide_card') != 'narrow'))) {
|
||||
{/php}
|
||||
<div class="container-wide">
|
||||
{php} }else{ {/php}
|
||||
<div class="container">
|
||||
{php} } {/php}
|
||||
|
||||
{php}
|
||||
if
|
||||
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
|
||||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
|
||||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
|
||||
{
|
||||
{/php}
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
{php} } {/php}
|
||||
|
||||
{st_get_component module="stProduct" component="filters" modal_only=true}
|
||||
{$content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
32
apps/frontend/templates/theme/watch/two_column.html
Normal file
32
apps/frontend/templates/theme/watch/two_column.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{php} $c = sfContext::getInstance(); {/php}
|
||||
<header>
|
||||
{include_file id="_header"}
|
||||
</header>
|
||||
|
||||
<div id="two-column-layout">
|
||||
{php}
|
||||
if ($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') {
|
||||
{/php}
|
||||
{slot name="product-list-after-title" hidden="true"}{/slot}
|
||||
{php}}{/php}
|
||||
<div class="container-wide">
|
||||
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
|
||||
<div class="row">
|
||||
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
|
||||
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
|
||||
{strip}
|
||||
<div id="category-thumbnail" class="thumbnail">
|
||||
{st_get_component module="stCategoryTree" component="vertical"}
|
||||
{st_get_component module="stProduct" component="filters"}
|
||||
</div>
|
||||
{/strip}
|
||||
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
|
||||
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
|
||||
{slot name="left-column-bottom" hidden="true"}{/slot}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
{include_file id="_footer"}
|
||||
</footer>
|
||||
</div>
|
||||
Reference in New Issue
Block a user