Commit 57e7ee07 authored by Sven Franck's avatar Sven Franck

data: wrap in controlbar

parent 700be286
...@@ -239,9 +239,12 @@ ...@@ -239,9 +239,12 @@
"property_dict": { "property_dict": {
"class_list": "responsive span_1" "class_list": "responsive span_1"
}, },
"children": [{
"type": "div",
"direct": {"className": "span_2 custom_bar"},
"children":[{ "children":[{
"type": "h3", "type": "h3",
"direct": {"className": "translate"}, "direct": {"className": "translate custom_bar_header"},
"attributes": {"data-i18n":"global_dict.traffic_control"}, "attributes": {"data-i18n":"global_dict.traffic_control"},
"logic":{"text": "Trafic en temps réel"} "logic":{"text": "Trafic en temps réel"}
}, { }, {
...@@ -249,19 +252,16 @@ ...@@ -249,19 +252,16 @@
"direct": {"src": "img/website-Visuel-home.png", "alt": ""} "direct": {"src": "img/website-Visuel-home.png", "alt": ""}
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#"}, "direct": {"className": "custom_profit right ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#"},
"attributes": {"data-i18n": "global_dict.find_out_more"}, "attributes": {"data-i18n": "global_dict.find_out_more"},
"logic": {"text":"En savoir plus"} "logic": {"text":"En savoir plus"}
}] }]
}, { }, {
"generate": "widget", "type": "div",
"type": "controlbar", "direct": {"className": "span_2 custom_bar"},
"property_dict": {
"class_list": "responsive span_2"
},
"children":[{ "children":[{
"type": "h3", "type": "h3",
"direct": {"className": "translate"}, "direct": {"className": "translate custom_bar_header"},
"attributes": {"data-i18n": "global_dict.advice"}, "attributes": {"data-i18n": "global_dict.advice"},
"logic":{"text": "Conseils & Astuces"} "logic":{"text": "Conseils & Astuces"}
}, { }, {
...@@ -269,11 +269,12 @@ ...@@ -269,11 +269,12 @@
"direct": {"src": "img/website-Visuel-home2.png", "alt": ""} "direct": {"src": "img/website-Visuel-home2.png", "alt": ""}
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#"}, "direct": {"className": "custom_profit right ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#"},
"attributes": {"data-i18n": "global_dict.find_out_more"}, "attributes": {"data-i18n": "global_dict.find_out_more"},
"logic": {"text":"En savoir plus"} "logic": {"text":"En savoir plus"}
}] }]
}] }]
}]
} }
} }
] ]
......
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