Skip to content

Instantly share code, notes, and snippets.

View ronnyhartenstein's full-sized avatar

Ronny Hartenstein ronnyhartenstein

View GitHub Profile
@ronnyhartenstein
ronnyhartenstein / page.tpl
Created March 6, 2015 20:06
OXID Bootstrap Responsive: Flechtie layout/page.tpl
[{capture append="oxidBlock_pageBody"}]
[{assign var="class" value=$oView->getClassName()}]
[{if $oView->showRDFa()}]
[{ include file="rdfa/rdfa.tpl" }]
[{/if}]
[{include file="layout/header.tpl"}]
<div class="container" data-oxidclass="[{$oView->getClassName()}]" role="main">
[{if $class ne "start" && !$blHideBreadcrumb}]
[{ include file="widget/breadcrumb.tpl"}]
[{/if}]
@ronnyhartenstein
ronnyhartenstein / footer.tpl
Created March 6, 2015 20:06
OXID Bootstrap Responsive: Flechtie layout/footer.tpl
@ronnyhartenstein
ronnyhartenstein / header.tpl
Created March 6, 2015 19:59
OXID Bootstrap Responsive: Flechtie layout/header.tpl
[{if $oView->showBetaNote()}]
[{oxid_include_widget cl="oxwBetaNote" noscript=1 nocookie=1}]
[{/if}]
[{if $oViewConf->getTopActionClassName() != 'clearcookies' && $oViewConf->getTopActionClassName() != 'mallstart'}]
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
[{/if}]
<header>
<div class="container">
<div class="row">
@ronnyhartenstein
ronnyhartenstein / bower.json
Created March 6, 2015 19:10
OXID Bootstrap Responsive: Bower Pakete
{
"name": "meinshop",
"version": "1.0.0",
"dependencies": {
"bootstrap": "3.3.2",
"bootstrap-sass": "3.3.2",
"fontawesome": "*",
"modernizr": "*",
"jquery": "1.11.2",
@ronnyhartenstein
ronnyhartenstein / package.json
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Node.js package.json
{
"name": "meinshop",
"version": "1.0.0",
"devDependencies": {
"bower": "*",
"grunt": "*",
"grunt-contrib-jshint": "*",
"grunt-contrib-uglify": "*",
"grunt-contrib-watch": "*",
"grunt-contrib-sass": "*",
@ronnyhartenstein
ronnyhartenstein / watch.js
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt watch
module.exports = function (grunt, options) {
return {
options: {
spawn: false
},
css: {
files: [
'./out/meinshop/src/css/**/*.scss'
],
tasks: ['css_sass']
@ronnyhartenstein
ronnyhartenstein / sass.js
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt SASS
module.exports = function (grunt, options) {
return {
meinshop: {
options: {
style: 'compact',
sourcemap: 'auto',
loadPath: ['./bower_components/bootstrap-sass/assets/stylesheets']
},
files: {
'./out/meinshop/src/css/meinshop.css': './out/meinshop/src/css/meinshop.scss'
@ronnyhartenstein
ronnyhartenstein / exec.js
Created March 6, 2015 18:58
OXID Bootstrap Responsive: Grunt exec
module.exports = function (grunt, options) {
return {
bower_update: 'bower update'
};
};
@ronnyhartenstein
ronnyhartenstein / csswring.js
Created March 6, 2015 18:57
OXID Bootstrap Responsive: Grunt csswring
module.exports = function (grunt, options) {
return {
options: {
report: "gzip",
removeAllComments: true,
preserveHacks: true
},
vendor: {
src: [
'./out/azure/src/css/libs/jscrollpane.css',
@ronnyhartenstein
ronnyhartenstein / aliases.yaml
Last active August 29, 2015 14:16
OXID Bootstrap Responsive: Grunt Aliases Tasks
default:
- js_vendor_libs
- js_all
- css
js_vendor:
- bower_concat:vendor_libs
- uglify:vendor_libs
js: