first commit
This commit is contained in:
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