Commit 48f4f580 authored by Sven Franck's avatar Sven Franck

updated listbox API, modified page links

parent d563fc06
......@@ -140,7 +140,7 @@
"icon": "file-text-alt"
},
"middle": {
"href": "invoices.html?r=1",
"href": "invoices.html",
"href_title": null,
"href_i18n": null,
"title": "Invoices",
......
{
"portal_type_source": "Sale Invoice Transaction",
"portal_type_title": "invoices",
"base_element": {"type": "table", "direct": {"id": "invoices_1","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-sort":"true", "data-input":"#global_search_invoices","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": "invoices_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-sort":"true", "data-input":"#global_search_invoices","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": {
"wrapper": [
{"group_search": false, "slot": "1", "element": {"type": "a", "direct": {"className": "toggle_global_popup invoices_01 ui-btn ui-btn-icon-left ui-icon-sitemap ui-shadow ui-corner-all","href":"#global_popup"},"attributes": {"data-reference":"group_search","data-type":"invoices", "data-rel":"popup","data-transition":"pop","data-position-to":"window"},"logic": {"text":"Group"}}, "children": [], "global_popup": true},
{"detail_search": false, "slot": "2", "element": {"type": "a", "direct": {"className": "toggle_global_popup invoices_01 ui-btn ui-btn-icon-left ui-icon-filter ui-shadow ui-corner-all","href":"#global_popup"},"attributes": {"data-reference":"detail_search","data-type":"invoices", "data-rel":"popup","data-transition":"pop","data-position-to":"window"},"logic": {"text":"Detail Search"}}, "children": [], "global_popup": true},
{"configure_search": false, "slot":"3", "element": {"type": "a","direct": {"className": "toggle_local_popup invoices_01 ui-btn ui-btn-icon-left ui-icon-cogs ui-shadow ui-corner-all","href":"#global_popup"},"attributes": {"data-reference":"configure_search","data-type":"invoices", "data-rel":"popup","data-transition":"pop","data-position-to":"window"},"logic": {"text":"Configuration"}}, "children":[], "local_popup": true},
{"pagination": false, "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"}},
{"group_search": true, "slot": "1", "element": {"type": "a", "direct": {"className": "toggle_global_popup ui-btn ui-btn-icon-left ui-icon-sitemap ui-shadow ui-corner-all","href":"#global_popup"},"attributes": {"data-reference":"group_search","data-type":"invoices", "data-rel":"popup","data-transition":"pop","data-position-to":"window"},"logic": {"text":"Group"}}, "children": [], "global_popup": true},
{"detail_search": true, "slot": "2", "element": {"type": "a", "direct": {"className": "toggle_global_popup ui-btn ui-btn-icon-left ui-icon-filter ui-shadow ui-corner-all","href":"#global_popup"},"attributes": {"data-reference":"detail_search","data-type":"invoices", "data-rel":"popup","data-transition":"pop","data-position-to":"window"},"logic": {"text":"Detail Search"}}, "children": [], "global_popup": true},
{"configure_search": true, "slot":"3", "element": {"type": "a","direct": {"className": "toggle_local_popup ui-btn ui-btn-icon-left ui-icon-cogs ui-shadow ui-corner-all","href":"#global_popup"},"attributes": {"data-reference":"configure_search","data-type":"invoices", "data-rel":"popup","data-transition":"pop","data-position-to":"window"},"logic": {"text":"Configuration"}}, "children":[], "local_popup": true},
{"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"},"attributes": {"data-icon":"reorder"},"logic": {"options":[{"value": "5", "text": "5", "data-i18n":"", "selected":"", "disabled":""},{"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"}}]}
{"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"},"attributes":{"data-enhanced":"true", "data-i18n": "","placeholder":"Search Invoices", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},"logic":{"clear":"true", "action":"search"}}, "children":[]},
{"record_info": false, "element": {"type": "div", "direct": {"className":"info invoices_01"}, "attributes": {"data-reference":"records"}}, "children":[]},
{"select_info": false, "element": {"type": "div", "direct": {"className":"info invoices_01"}, "attributes": {"data-reference":"selected"}}, "children":[]},
{"filter_info": false, "element": {"type": "div", "direct": {"className":"info invoices_01"}, "attributes": {"data-reference":"filter"}}, "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":[]}
],
"table": {
"checkbox_rows": true,
......
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