Commit 44db62cd authored by Sven Franck's avatar Sven Franck

fixed person_01 gadget API

parent d3c82f98
......@@ -2,7 +2,7 @@
"portal_type_source": "Person",
"portal_type_title": "person",
"portal_type_fields": "person_fields",
"base_element": {"type": "table", "direct": {"id": "persons_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_persons","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1, "data-sorting":"true"}, "logic": {}},
"base_element": {"type": "table", "direct": {"id": "person_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_persons","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1, "data-sorting":"true"}, "logic": {}},
"form_wrapper": null,
"initial_query": {"include_documents": true, "limit":[0,10]},
"configuration": {
......@@ -10,12 +10,12 @@
{"pagination": true, "slot": "4", "widget": {"type": "controlgroup", "widget_class": "pagination", "direction": "horizontal"},"children":[
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"},"logic":{"text":"First"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic":{"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_invoices_01", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "10", "text": "10", "data-i18n":"", "selected":"", "disabled":""},{"value": "25", "text": "25", "data-i18n":"", "selected":"", "disabled":""},{"value": "50", "text": "50", "data-i18n":"", "selected":"", "disabled":""}]}},
{"type":"select", "direct":{"id":"paginate_person_01", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "10", "text": "10", "data-i18n":"", "selected":"", "disabled":""},{"value": "25", "text": "25", "data-i18n":"", "selected":"", "disabled":""},{"value": "50", "text": "50", "data-i18n":"", "selected":"", "disabled":""}]}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic":{"text":"Step Forward"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic":{"text": "Last"}}]}
],
"controlbar": [
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_invoices", "className": "action"},"attributes":{"data-action":"search", "data-enhanced":"true", "data-i18n": "","placeholder":"Search Invoices", "data-icon":"search", "data-type":"search", "type":"search"},"logic":{"clear":"true"}}, "children":[]},
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_person", "className": "action"},"attributes":{"data-action":"search", "data-enhanced":"true", "data-i18n": "","placeholder":"Search Invoices", "data-icon":"search", "data-type":"search", "type":"search"},"logic":{"clear":"true"}}, "children":[]},
{"record_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}}, "children":[]},
{"select_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}}, "children":[]},
{"filter_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}}, "children":[]}
......
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