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

data: wrap in controlbar

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