first commit
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user