Commit 01bcdd82 authored by Sven Franck's avatar Sven Franck

data: new global configuration file

parent 3848dbba
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"type": "path_dict", "type": "path_dict",
"property_dict": { "property_dict": {
"data": "data/", "data": "data/",
"home": "#dashboard" "home": "#home"
} }
}, },
{ {
...@@ -36,112 +36,349 @@ ...@@ -36,112 +36,349 @@
}, },
"children": [{ "children": [{
"generate": "widget", "generate": "widget",
"type": "panel", "type": "header",
"property_dict": { "property_dict": {
"id": "global-search", "fixed": true,
"theme": "slapos-black", "theme": "slapos-black",
"position": "left" "class_list": "override_header ",
"add_content": 0,
"section_list": ["last"],
"image": {
"src": "img/weinparis.png",
"alt": "WEINPARIS"
}
}, },
"children": [{ "children": [{
"generate": "widget", "generate": "widget",
"type": "listview", "type": "controlgroup",
"property_dict": { "property_dict": {
"theme": "slapos-white", "direction": "horizontal"
"map_children": "listItem"
}, },
"children": [ "children": [
{"type": "item", "href": "#suits", "center": {"text": [{"type": "h1", "text": "Jumpsuits", "text_i18n": "global_dict.suits"}]}}, {"type":"a", "direct": {"href": "#global-user", "className":"responsive action translate"}, "attributes": {"data-rel":"panel", "data-action":"set_login", "data-icon":"heart", "data-i18n":"global_dict.login"}, "logic": {"text":"Login"}},
{"type": "item", "href": "#sets", "center": {"text": [{"type":"h1", "text": "Sets", "text_i18n": "global_dict.set"}]}}, {"type":"a", "direct": {"href": "#basket", "className": "responsive translate"}, "attributes": {"data-i18n": "global_dict.basket", "data-icon": "shopping-cart"}, "logic": {"text": "Basket"}}
{"type": "item", "href": "#swimsuits", "center": {"text": [{"type":"h1", "text": "Swimsuits", "text_i18n": "global_dict.swimsuit"}]}}, ]
{"type": "item", "href": "#dresses", "center": {"text": [{"type": "h1","text": "Dresses", "text_i18n":"global_dict.dress"}]}}, }, {
{"type": "item", "href": "#jackets", "center": {"text": [{"type": "h1","text": "Jackets/Coats", "text_i18n":"global_dict.jacket_coat"}]}}, "generate": "widget",
{"type": "item", "href": "#knitwear", "center": {"text":[{"type": "h1", "text": "Knitwear", "text_i18n": "global_dict.knitwear"}]}}, "type": "controlbar",
{"type": "item", "href": "#shirts", "center": {"text":[{"type":"h1", "text": "Shirts", "text_i18n":"global_dict.shirt"}]}}, "property_dict": {
{"type": "item", "href": "#skirts", "center": {"text": [{"type": "h1", "text": "Skirts", "text_i18n": "global_dict.skirt"}]}}, "class_list": "responsive ui-subheader"
{"type": "item", "href": "#tops", "center": {"text": [{"type":"h1", "text": "Tops", "text_i18n": "global_dict.top"}]}}, },
{"type": "item", "href": "#trousers", "center": {"text": [{"type":"h1", "text": "Trousers", "text_i18n": "global_dict.trouser"}]}}, "children": [
{"type": "item", "href": "#tshirt", "center": {"text": [{"type": "h1","text": "T-Shirts", "text_i18n":"global_dict.tshirt"}]}}, {
{"type": "item", "href": "#belts", "center": {"text":[{"type": "h1", "text": "Belts", "text_i18n": "global_dict.belt"}]}}, "generate": "widget",
{"type": "item", "href": "#scarves", "center": {"text":[{"type":"h1", "text": "Scarves", "text_i18n":"global_dict.scarf"}]}}, "type": "form",
{"type": "item", "href": "#wallets", "center": {"text": [{"type": "h1","text": "Wallets", "text_i18n":"global_dict.wallet"}]}}, "property_dict": {
{"type": "item", "href": "#hangbags", "center": {"text":[{"type": "h1", "text": "Handbags", "text_i18n": "global_dict.sac"}]}}, "class_list": "responsive",
{"type": "item", "href": "#jewellry", "center": {"text":[{"type":"h1", "text": "Jewellry", "text_i18n":"global_dict.jewels"}]}} "editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{"type": "input", "direct": {"id": "product_search", "className": "required translate"}, "attributes": {"type": "text", "data-theme": "slapos-white", "data-i18n": "[placeholder]global_dict.search_items" }, "logic": {"clear": true, "action": {"action":"search", "icon": "search", "text": "Search", "text_i18n": "global_dict.search_items"}, "add_label": false}},
{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal"
},
"children":[
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-iconpos":"notext", "data-rel":"panel", "data-action":"set_search", "data-icon":"search-plus", "data-i18n":"global_dict.detail_search"}, "logic": {"text":"Search+"}}
]
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal"
},
"children":[
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_filter", "data-icon":"filter", "data-i18n":"global_dict.filter"}, "logic": {"text":"Filter"}},
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_sorting", "data-icon":"sort", "data-i18n":"global_dict.sort"}, "logic": {"text":"Sort"}},
{"type":"a", "direct": {"href": "#global-user", "className":"action translate"}, "attributes": {"data-rel":"panel", "data-iconpos":"notext", "data-action":"set_alert", "data-icon":"bell", "data-i18n":"global_dict.save"}, "logic": {"text":"Save"}}
]
}
]
}
] ]
}] }]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "panel", "type": "panel",
"property_dict": { "property_dict": {
"id": "global-user", "id": "global-search",
"theme": "slapos-white",
"position": "left"
},
"children": [{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black", "theme": "slapos-black",
"position": "right" "add_content": 0,
"section_list":["last"],
"title": "Personalize",
"title_i18n": "global_dict.detail_search"
}, },
"children": [] "children":[{
"type": "a",
"direct": {
"href": "#",
"className": "panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "header", "type": "collapsible",
"property_dict": { "property_dict": {
"theme": "slapos-white", "text": "Brands",
"image": { "text_i18n": "global_dict.brands",
"src": "http://www.weinparis.com/weinparis_image/logo.jpg", "title": "Click to open and select brands",
"alt": "WEINPARIS" "title_i18n": "global_dict.click_brands",
} "collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
}, },
"children": [{ "children": [{
"type": "input",
"direct": {"id":"select_brand", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter","placeholder":"Filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search", "add_label": false}
}, {
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "listview",
"property_dict": { "property_dict": {
"direction": "horizontal" "theme": "slapos-white",
"map_children": "listItem",
"filter": true,
"input": "#select_brand"
}, },
"children": [ "children": [
{"type":"a", "direct": {"href": "#global-search", "className":"responsive translate"}, "attributes": {"data-rel":"panel", "data-icon":"bars", "data-i18n":"global_dict.search"},"logic": {"text":"Search"}} {"type": "item", "href": "#products/brands/color_block", "center": {"text": [{"type": "h1", "text": "Color Block"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/emma_go", "center": {"text": [{"type":"h1", "text": "Emma Go"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/kocca", "center": {"text": [{"type":"h1", "text": "Kocca"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/petite_mandigote", "center": {"text": [{"type": "h1","text": "Petite Mandigote"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/stalactite", "center": {"text": [{"type": "h1","text": "Stalactite"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/star_mela", "center": {"text":[{"type": "h1", "text": "Star Mela"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/stella_forest", "center": {"text":[{"type":"h1", "text": "Stella Forest"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/eleven_paris", "center": {"text": [{"type": "h1", "text": "Eleven Paris"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/hanka_in", "center": {"text": [{"type":"h1", "text": "Hanka In"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/le_petite_francaise", "center": {"text": [{"type":"h1", "text": "Le Petite Francaise"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/marie_sixtine", "center": {"text": [{"type": "h1","text": "Marie Sixtine"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/nan_et_nin", "center": {"text":[{"type": "h1", "text": "Nan Et Nin"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/pieces", "center": {"text":[{"type":"h1", "text": "Pieces"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/see_u_soon", "center": {"text": [{"type": "h1","text": "See U Soon"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/suncoo", "center": {"text":[{"type": "h1", "text": "Suncoo"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/theodora_gabrielli", "center": {"text":[{"type":"h1", "text": "Theodora Gabrielli"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/vila", "center": {"text":[{"type":"h1", "text": "Vila"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/vimoda", "center": {"text": [{"type": "h1","text": "Vimoda"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/brands/noe", "center": {"text":[{"type": "h1", "text": "Noe"}]}, "right": {"check": true}}
]
}
] ]
},{ }, {
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "collapsible",
"property_dict": { "property_dict": {
"direction": "horizontal" "text": "Categories",
"text_i18n": "global_dict.categories",
"title": "Click to open and select categories",
"title_i18n": "global_dict.click_categories",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
},
"children": [{
"type": "input",
"direct": {"id":"select_category", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter","placeholder":"Filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search", "add_label": false}
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"filter": true,
"input": "#select_category"
}, },
"children": [ "children": [
{"type":"a", "direct": {"href": "#global-user", "className": "responsive action translate flag"}, "attributes": {"data-rel": "panel", "data-icon":"flag-fr", "data-action":"set_translation", "data-value":"en-EN", "data-i18n": "global_dict.english"}, "logic": {"text": "English"}}, {"type": "item", "href": "#products/categories/suits", "center": {"text": [{"type": "h1", "text": "Jumpsuits", "text_i18n": "global_dict.suits"}]}, "right": {"check": true}},
{"type":"a", "direct": {"href": "#global-user", "className":"responsive action translate"}, "attributes": {"data-rel":"panel", "data-action":"set_login", "data-icon":"user", "data-i18n":"global_dict.login"}, "logic": {"text":"Login"}}, {"type": "item", "href": "#products/categories/sets", "center": {"text": [{"type":"h1", "text": "Sets", "text_i18n": "global_dict.set"}]}, "right": {"check": true}},
{"type":"a", "direct": {"href": "#basket", "className": "responsive translate"}, "attributes": {"data-i18n": "global_dict.basket", "data-icon": "basket"}, "logic": {"text": "Basket"}} {"type": "item", "href": "#products/categories/swimsuits", "center": {"text": [{"type":"h1", "text": "Swimsuits", "text_i18n": "global_dict.swimsuit"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/dresses", "center": {"text": [{"type": "h1","text": "Dresses", "text_i18n":"global_dict.dress"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/jackets", "center": {"text": [{"type": "h1","text": "Jackets/Coats", "text_i18n":"global_dict.jacket_coat"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/knitwear", "center": {"text":[{"type": "h1", "text": "Knitwear", "text_i18n": "global_dict.knitwear"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/shirts", "center": {"text":[{"type":"h1", "text": "Shirts", "text_i18n":"global_dict.shirt"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/skirts", "center": {"text": [{"type": "h1", "text": "Skirts", "text_i18n": "global_dict.skirt"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/tops", "center": {"text": [{"type":"h1", "text": "Tops", "text_i18n": "global_dict.top"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/trousers", "center": {"text": [{"type":"h1", "text": "Trousers", "text_i18n": "global_dict.trouser"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/tshirt", "center": {"text": [{"type": "h1","text": "T-Shirts", "text_i18n":"global_dict.tshirt"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/belts", "center": {"text":[{"type": "h1", "text": "Belts", "text_i18n": "global_dict.belt"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/scarves", "center": {"text":[{"type":"h1", "text": "Scarves", "text_i18n":"global_dict.scarf"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/wallets", "center": {"text": [{"type": "h1","text": "Wallets", "text_i18n":"global_dict.wallet"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/hangbags", "center": {"text":[{"type": "h1", "text": "Handbags", "text_i18n": "global_dict.sac"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/shoes", "center": {"text":[{"type":"h1", "text": "Shoes", "text_i18n":"global_dict.shoes"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/categories/jewellry", "center": {"text":[{"type":"h1", "text": "Jewellry", "text_i18n":"global_dict.jewels"}]}, "right": {"check": true}}
]
}
] ]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "controlbar", "type": "header",
"property_dict": { "property_dict": {
"class_list": "responsive" "id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Sales & Deals",
"title_i18n": "global_dict.deals"
},
"children":[{
"type": "a",
"direct": {
"href": "#",
"className": "panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Sales and Deals",
"text_i18n": "global_dict.deals",
"title": "Click to open and select sales and deals",
"title_i18n": "global_dict.click_deals",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
}, },
"children": [ "children": [
{ {
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "listview",
"property_dict": { "property_dict": {
"direction": "horizontal", "theme": "slapos-white",
"class_list": "responsive" "map_children": "listItem"
}, },
"children": [ "children": [
{"type": "a", "direct": {"href": "#brands", "className": "translate"}, "attributes": {"data-i18n": "global_dict.brands"}, "logic": {"text": "Brands"}}, {"type": "item", "href": "#products/sales", "center": {"text": [{"type": "h1","text": "Sales", "text_i18n":"global_dict.sales"}]}, "right": {"check": true}},
{"type": "a", "direct": {"href": "#new", "className": "translate"}, "attributes": {"data-i18n": "global_dict.new"}, "logic": {"text": "New Arrivals"}}, {"type": "item", "href": "#products/new", "center": {"text":[{"type": "h1", "text": "New Items", "text_i18n": "global_dict.new"}]}, "right": {"check": true}}
{"type": "a", "direct": {"href": "#sales", "className": "translate"}, "attributes": {"data-i18n": "global_dict.sales"}, "logic": {"text": "Sales"}} ]
}
] ]
}, {
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Categories",
"title_i18n": "global_dict.categories"
}, },
{ "children":[{
"type": "a",
"direct": {
"href": "#",
"className": "panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}]
}, {
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "listview",
"property_dict": { "property_dict": {
"direction": "horizontal", "theme": "slapos-white",
"class_list": "responsive" "map_children": "listItem"
}, },
"children": [ "children": [
{"type": "a", "direct": {"href": "#apparal", "className": "translate"}, "attributes": {"data-i18n":"global_dict.apparal"}, "logic": {"text": "Apparel"}}, {"type": "item", "href": "#products/apparel", "center": {"text": [{"type": "h1","text": "Apparel", "text_i18n":"global_dict.apparel"}]}, "right": {"check": true}},
{"type": "a", "direct": {"href": "#accessoris", "className": "translate"}, "attributes": {"data-i18n":"global_dict.acccessories"}, "logic": {"text": "Accessories"}}, {"type": "item", "href": "#products/accessories", "center": {"text": [{"type": "h1","text": "Accessories", "text_i18n":"global_dict.accessories"}]}, "right": {"check": true}},
{"type": "a", "direct": {"href": "#shoes", "className": "translate"}, "attributes": {"data-i18n":"global_dict.shoes"}, "logic": {"text":"shoes"}} {"type": "item", "href": "#products/shoes", "center": {"text": [{"type": "h1","text": "Shoes", "text_i18n":"global_dict.shoes"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/sales", "center": {"text": [{"type": "h1","text": "Sales", "text_i18n":"global_dict.sales"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/new", "center": {"text":[{"type": "h1", "text": "New Items", "text_i18n": "global_dict.new"}]}, "right": {"check": true}}
] ]
} }, {
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Sort by",
"title_i18n": "global_dict.sort"
},
"children":[{
"type": "a",
"direct": {
"href": "#",
"className": "panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}]
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem"
},
"children": [
{"type": "item", "href": "#products/sort/latest", "center": {"text": [{"type": "h1","text": "Newest Items", "text_i18n":"global_dict.latest"}]}},
{"type": "item", "href": "#products/sort/price_lowest", "center": {"text": [{"type": "h1","text": "Lowest Price", "text_i18n":"global_dict.lowest"}]}},
{"type": "item", "href": "#products/sort/price_highest", "center": {"text": [{"type": "h1","text": "Highest Price", "text_i18n":"global_dict.highest"}]}}
] ]
}] }]
}, {
"generate": "widget",
"type": "panel",
"property_dict": {
"id": "global-user",
"theme": "slapos-black",
"position": "right"
},
"children": [{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Your Account",
"title_i18n": "global_dict.account"
},
"children":[{
"type": "a",
"direct": {
"href": "#",
"className": "panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}]
}]
}, { }, {
"generate":"widget", "generate":"widget",
"type": "footer", "type": "footer",
...@@ -160,14 +397,13 @@ ...@@ -160,14 +397,13 @@
"type": "form", "type": "form",
"property_dict": { "property_dict": {
"class_list": "responsive", "class_list": "responsive",
"map_children": "formItem",
"editable": true, "editable": true,
"secure": "default", "secure": "default",
"secret_hash": "foo", "secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA" "public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
}, },
"children": [ "children": [
{"type": "input", "direct": {"className": "required translate"}, "attributes": {"type": "text", "data-i18n": "[placeholder]global_dict.newsletter" }, "logic": {"clear": true, "action": {"action":"subscribe", "icon": "edit", "text": "Subscribe", "text_i18n": "global_dict.subscribe"}}, "wrap": true} {"type": "input", "direct": {"className": "required translate"}, "attributes": {"type": "text", "data-i18n": "[placeholder]global_dict.newsletter" }, "logic": {"clear": true, "action": {"action":"subscribe", "icon": "edit", "text": "Subscribe", "text_i18n": "global_dict.subscribe"}, "add_label": false, "wrap": true}}
] ]
}, { }, {
"generate": "widget", "generate": "widget",
...@@ -181,13 +417,33 @@ ...@@ -181,13 +417,33 @@
{"type": "a", "direct": {"href": "#", "className": "ui-icon-google-plus ui-btn-icon-notext"}, "attributes": {"data-action": "like", "data-value": "google-plus"}, "logic": {"text": "Google+"}} {"type": "a", "direct": {"href": "#", "className": "ui-icon-google-plus ui-btn-icon-notext"}, "attributes": {"data-action": "like", "data-value": "google-plus"}, "logic": {"text": "Google+"}}
] ]
}] }]
}, {
"generate": "widget",
"type": "form",
"property_dict": {
},
"children":[
{"type":"select", "direct": {"id": "switch_language", "className":"action translate"}, "attributes": {"data-action":"trigger_translate", "data-icon":"flag-en"}, "logic": {"wrap": true, "wrapper_class_list":"flag", "label": "Select a country", "label_i18n": "global_dict.pick_country", "options": [{"value": "en-EN", "text":"English", "text_i18n":"global_dict.english", "selected": true}, {"value": "fr-FR", "text": "Francaise", "text_i18n":"global_dict.french"}]}},
{"type":"input", "direct": {"className": "ui-hidden-accessible"}, "attributes": {"type": "submit"}, "logic": {}}
]
}, {
"type": "p",
"direct": {"className": "italic small center faint"},
"children": [
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "global_dict.created"}, "logic": {"text": "Created by "}},
{"type": "a", "direct": {"href": "http://www.nexedi.com", "className": "ui-link"}, "attributes": {"rel": "external"}, "logic": {"text": "Nexedi", "plain_link": true}},
{"type": "span", "logic": {"text": " - "}},
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "global_dict.powered"}, "logic": {"text": "Powered by "}},
{"type": "a", "direct": {"href": "http://www.erp5.com", "className": "ui-link"}, "attributes": {"rel": "external"}, "logic": {"text": "ERP5", "plain_link": true}}
]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "navbar", "type": "navbar",
"children": [ "children": [
{"type": "a", "direct": {"href": "#contact", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}, "logic": {"text":"Contact"}}, {"type": "a", "direct": {"href": "#contact", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}, "logic": {"text":"Contact"}},
{"type": "a", "direct": {"href": "#legal", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}, "logic": {"text": "Legal"}}, {"type": "a", "direct": {"href": "#legal", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}, "logic": {"text": "Legal"}},
{"type": "a", "direct": {"href": "#", "className": "ui-icon-caret-u translate"}, "attributes": {"data-i18n":"global_dict.top", "data-action": "scroll_top"}, "logic": {"text":"Top"}} {"type": "a", "direct": {"href": "#", "className": "ui-icon-caret-up ui-btn-icon-left translate"}, "attributes": {"data-i18n":"global_dict.scrollup", "data-action": "scroll_top"}, "logic": {"text":"Top"}}
] ]
}] }]
}] }]
......
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