Commit 46fede21 authored by Sven Franck's avatar Sven Franck

data: updated footer layout and carousel on home page

parent a64ca636
...@@ -17,9 +17,6 @@ ...@@ -17,9 +17,6 @@
"class_list": "span_1" "class_list": "span_1"
}, },
"children": [{ "children": [{
"type": "img",
"direct": {"src": "img/weinparis.jpg", "alt": "", "className": "teaser"}
},{
"portal_type_source": "Portal Category", "portal_type_source": "Portal Category",
"portal_type_title": "category", "portal_type_title": "category",
"initial_query": {"query": "reference: 'product_group'", "include_docs": true, "select_list": ["title", "title_i18n", "_id"]}, "initial_query": {"query": "reference: 'product_group'", "include_docs": true, "select_list": ["title", "title_i18n", "_id"]},
...@@ -41,56 +38,18 @@ ...@@ -41,56 +38,18 @@
"type": "controlgroup", "type": "controlgroup",
"property_dict": { "property_dict": {
"dynamic": true, "dynamic": true,
"class_list": "center",
"direction": "horizontal",
"map_children": "listItem" "map_children": "listItem"
}, },
"children": [] "children": []
}] }]
}] }]
}, },
{
"generate": "widget",
"type": "controlbar",
"property_dict": {
"wrap": "section",
"class_list": "span_1"
},
"children":[{
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"include_docs": true, "limit": [0,2], "select_list": ["_id", "brand", "teaser_image_path"], "sort_on": [["teaser_image_path", "descending"]] },
"property_dict": {
"link": "true",
"link_identifier": "_id",
"link_core": "product_module"
},
"scheme": [{
"position": "caption",
"field_list": [{"field": "brand", "type": "caption"}]
}, {
"position": "content",
"field_list": [{"field": "teaser_image_path", "type": "image"}]
}],
"children": [{
"generate": "widget",
"type": "carousel",
"property_dict": {
"handles": true,
"captions": true,
"captiontheme": "slapos-white",
"captionpos": "bottom",
"map_children": "listItem",
"dynamic": true
},
"children": []
}]
}]
},
{ {
"type": "h3", "type": "h3",
"direct": {"className": "translate ui-content-header responsive"}, "direct": {"className": "translate ui-content-header responsive"},
"attributes": {"data-i18n":"global_dict.bestseller"}, "attributes": {"data-i18n":"global_dict.bestseller"}
"logic": {"text": "Bestsellers"}
}, { }, {
"portal_type_source": "Product", "portal_type_source": "Product",
"portal_type_title": "product", "portal_type_title": "product",
...@@ -131,8 +90,7 @@ ...@@ -131,8 +90,7 @@
}, { }, {
"type": "h3", "type": "h3",
"direct": {"className": "translate ui-content-header responsive"}, "direct": {"className": "translate ui-content-header responsive"},
"attributes": {"data-i18n":"global_dict.newest"}, "attributes": {"data-i18n":"global_dict.newest"}
"logic": {"text": "Newest items"}
}, { }, {
"portal_type_source": "Product", "portal_type_source": "Product",
"portal_type_title": "product", "portal_type_title": "product",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment