Commit c8641359 authored by Sven Franck's avatar Sven Franck

app: modified layout of footer

parent c936c051
......@@ -164,15 +164,27 @@
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"class_list": "responsive custom_footer_form",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"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_i18n": "global_dict.subscribe"}, "add_label": false, "wrap": true}}
]
{"type": "input", "direct": {"className": "required translate custom_sizing"}, "attributes": {"type": "text", "data-i18n": "[placeholder]global_dict.newsletter" }, "logic": {"clear": true, "action": {"action":"subscribe", "icon": "edit", "text_i18n": "global_dict.subscribe"}, "add_label": false, "wrap": true}},
{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal",
"class_list": "center"
},
"children": [
{"type": "a", "direct": {"href": "#", "className": "ui-icon-facebook ui-btn-icon-notext"}, "attributes": {"data-action": "like", "data-value": "facebook"}, "logic": {"text": "Facebook"}},
{"type": "a", "direct": {"href": "#", "className": "ui-icon-twitter ui-btn-icon-notext"}, "attributes": {"data-action": "like", "data-value": "twitter"}, "logic": {"text": "Twitter"}},
{"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",
......@@ -180,36 +192,18 @@
"property_dict": {
"class_list": "span_2"
},
"children": [{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal"
},
"children": [
{"type": "a", "direct": {"href": "#", "className": "ui-icon-facebook ui-btn-icon-notext"}, "attributes": {"data-action": "like", "data-value": "facebook"}, "logic": {"text": "Facebook"}},
{"type": "a", "direct": {"href": "#", "className": "ui-icon-twitter ui-btn-icon-notext"}, "attributes": {"data-action": "like", "data-value": "twitter"}, "logic": {"text": "Twitter"}},
{"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": "controlbar",
"property_dict": {
"class_list": "span_1"
},
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"class_list": "responsive custom_footer_form_language",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"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_i18n": "global_dict.language", "options": [{"value": "en-EN", "text_i18n":"global_dict.english", "selected": true}, {"value": "fr-FR", "text_i18n":"global_dict.french"}]}
"type": "select", "direct": {"id": "switch_language", "className": "action translate"}, "attributes": {"data-action":"translate", "data-icon": "flag-en"}, "logic": {"wrap": true, "wrapper_class_list": "flag", "label_i18n": "global_dict.language", "options": [{"value": "en-EN", "text_i18n":"global_dict.english", "selected": true}, {"value": "fr-FR", "text_i18n":"global_dict.french"}]}
}]
}]
}, {
......@@ -217,7 +211,8 @@
"type": "navbar",
"children": [
{"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}},
{"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}}
{"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}},
{"type": "a", "direct": {"href": "#", "className": "translate ui-btn ui-btn-icon-right ui-icon-angle-double-up"}, "attributes": {"data-i18n": "global_dict.scrollup"}}
]
}]
}]
......
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