Commit bc34a8da authored by Sven Franck's avatar Sven Franck

data: removed old files

parent 2de0f8ac
{
"portal_type_source": "Software Release",
"portal_type_title": "release",
"portal_type_fields": "release_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,16]},
"form": true,
"property_dict": {
"initial_query_url_identifier": "release_reference_id",
"dynamic_children": [5],
"wrap_gadget": 2,
"check": true,
"radio": null,
"global_check": true,
"sortable": true,
"mergeable": true,
"link": true,
"link_identifier": null,
"link_external": null,
"link_source": null,
"editable": null,
"action_menu": true,
"caption": {
"slot": 1,
"text": "Created Servers",
"text_i18n": "portal_type_dict.computer_dict.text_dict.created_servers"
},
"no_items": {
"message":"No Software installed.",
"message_i18n":"portal_type_dict.software_dict.text_dict.no_software",
"children": [
{
"href": "#software::new",
"text": "Add Software",
"text_i18n": "portal_type_dict.software_dict.text_dict.add_software",
"class_list": "translate ui-btn-slapos-black"
}
]
},
"pagination": {
"slot": 2,
"option_list": [
{"text":8, "text_i18n":"portal_type_dict.computer_dict.text_dict.8"},
{"text":16, "text_i18n":"portal_type_dict.computer_dict.text_dict.16"},
{"text":32, "text_i18n":"portal_type_dict.computer_dict.text_dict.32"},
{"text":64, "text_i18n":"portal_type_dict.computer_dict.text_dict.64"}
]
},
"search": {
"text": "Search available servers",
"text_i18n": "portal_type_dict.computer_dict.text_dict.search",
"info_list": ["records", "filter", "sorted", "selected"]
}
},
"scheme": {
"header": [
[
{"column": "release_title", "show": true, "priority": 1, "sort":true},
{"column": "release_version", "show": true, "priority": 1, "sort":true},
{"column": "release_description", "show": true, "priority": 5, "sort":true},
{"custom": true, "text": "Download", "text_i18n": "global_dict.export_dict.download", "show": true, "priority": 6, "sort": false}
]
],
"body": [
{"column": "release_title", "show": true, "priority": 1, "sort":true},
{"column": "release_version", "show": true, "priority": 1, "sort":true},
{"column": "release_description", "show": true, "priority": 5, "sort":true},
{"custom": "true", "show": true, "priority": 6, "action_list": [{"text": "Download", "class_list": "responsive", "text_i18n": "global_dict.export_dict.download", "action": "pdf", "icon": "file-alt"}]}
],
"footer": []
},
"children": [{
"generate": "widget",
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_release_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.release.search","placeholder":"Search available releases", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
]
},{
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"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"}}]
},{
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 2},
"children": [{"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"}}]
},{
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 3},
"children": [{"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"}}]
}, {
"generate": "widget",
"type": "table",
"class_list": "table-stroke ui-responsive",
"property_dict": {
"filter": "true",
"input": "#search_release_list",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 3,
"bottom_grid": 1,
"sorting": "true"
},
"children": []
}]
}
{
"portal_type_source": "Software Product",
"portal_type_title": "software",
"portal_type_fields": "software_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"form": true,
"property_dict": {
"link": true,
"link_identifier": "id",
"link_external": null,
"link_source": "item_url",
"ribbon": null,
"radio": null,
"check": null,
"dynamic_children": [0]
},
"scheme": [
{
"position": "left",
"fieldlist": [
{"field": "image_url", "type": "image"},
{"field": "title", "type": "alt"},
{"field": "some_translation_pointer", "type": "alt_i18n"},
{"custom": true, "type": "icon", "value": "baz"}
]
},
{
"position": "center",
"fieldlist": [
{"field": "title", "type": "h1"},
{"field": "description", "type": "p"},
{"field": "price", "type": "p", "aside": true},
{"field": "some_url", "type":"count"}
],
},
{
"position": "right",
"fieldlist": [
{"custom": true, "type": "icon", "value": "bar"},
{"field": "some_url", "type": "url", "external": true, "action": "baz", "title": null, "title_i18n": null}
]
}
],
"children": [{
"generate":"widget",
"type": "listview",
"class_list": "",
"theme": "slapos-white",
"property_dict": {
"alt_icon": null,
"numbered": false,
"inset": true,
"reveal": true,
"filter": true,
"input": "#foo",
"placeholder": null,
"filter_theme": null,
"divider_theme": "slapos-white",
"autodividers": true,
"count_theme": "slapos-white"
},
"children": []
}]
}
\ No newline at end of file
"login_dict": {
"application_dict": {},
"third_party": {
"provider": "hellojs",
"initializer_dict": {
"google" : "1028374738607-pg2qqcopjpoc09shlpul3mehu2dv76ln.apps.googleusercontent.com"
},
"verification_dict": {
"google": "https://www.googleapis.com/oauth2/v1/tokeninfo?access_token="
},
"signout_dict": {
"google": "https://accounts.google.com/Logout?continue=REDIRECT_URL",
"facebook": "https://www.facebook.com/logout.php?next=REDIRECT_URL&access_token=ACCESS_TOKEN"
},
"modernizr": ["localStorage"],
"redirect": {"redirect_uri":"http://localhost/sven/slapos-ui/index.html"}
},
"no_auth": {
"text":"Requires authorization.",
"text_i18n":"validation_dict.requires_auth",
"children": [
{
"href": "#global-popup",
"class_list": "translate action",
"action": "login",
"rel": "popup",
"text": "Login",
"text_i18n": "global_dict.common_dict.login",
"icon": "lock"
},
{
"href":"#person::new",
"class_list": "translate ui-btn-slapos-black",
"text":"Register",
"text_i18n": "global_dict.common_dict.register",
"icon": "edit"
}
]
}
},
Don't forget button...
{"type":"a", "direct": {"href": "#global-popup", "className":"responsive action"}, "attributes": {"data-depend":"login_state", "data-rel":"popup", "data-action":"login", "data-icon":"user", "data-i18n":"global_dict.common_dict.login"}, "logic": {"text":"Login"}}
\ No newline at end of file
{
"generate":"gadget",
"type": "setStorage",
"property_dict": {
"force_field_definitions": true,
"skip_total_records": true,
"storage_type": "JIO",
"modernizr": ["blobconstructor", "filereader"]
},
"children": [{
"generate": "gadget",
"type": "makeStorage",
"property_dict": {
"definition": {
"type": "local",
"username": "slapos",
"application_name": "settings"
}
}
}, {
"generate": "gadget",
"type": "makeStorage",
"property_dict": {
"definition": {
"type":"local",
"username":"slapos",
"application_name": "items"
}
}
}]
}
\ No newline at end of file
{
"first_name": "Sven",
"last_name": "Franck",
"translated_validation_state_title": "Validated",
"default_address_city": "Bespin",
"default_email_text": "sven.franck@nexedi.com",
"default_telephone_text": "0190-123-456",
"default_address_street_address": "Blvd Clemenceau 2781234521",
"default_address_zip_code": "0",
"_debug": "document",
"_relative_url": "person_module/20140115-10A5B70",
"_actions": {
"request_ticket": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_requestTicketFromJio",
"method": "POST"
},
"request_computer_network": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_requestComputerNetworkFromJio",
"method": "POST"
},
"request": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_requestInstanceFromJio",
"method": "POST"
},
"request_computer": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_requestComputerFromJio",
"method": "POST"
}
},
"_embedded": {
"_view": {
"career_listbox": {
"line_list": [
{
"Function": null,
"Status": null,
"Begin": "XXX Serialize DateTime",
"End": "XXX Serialize DateTime",
"Title": "default_career",
"url": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/default_career/ERP5Document_getHateoas?portal_skin=Hal",
"Organisation": null,
"Grade": null,
"Role": "Member",
"ID": "default_career"
}
],
"type": "ListBox",
"column_list": [
"ID",
"Title",
"Organisation",
"Role",
"Grade",
"Function",
"Begin",
"End",
"Status"
]
},
"my_default_address_zip_code": {
"description": "The postal code",
"title": "Postal Code",
"default": "0",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_address_zip_code",
"hidden": 0,
"type": "StringField"
},
"my_default_image_absolute_url": {
"description": "",
"title": "Photo",
"default": "",
"css_class": "",
"required": 0,
"editable": 0,
"key": "field_my_default_image_absolute_url",
"hidden": 0,
"type": "ImageField"
},
"my_default_address_region": {
"description": "The region.",
"title": "Region",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_address_region",
"hidden": 0,
"type": "ListField"
},
"my_first_name": {
"description": "The first name of the person.",
"title": "First Name",
"default": "Sven",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_first_name",
"hidden": 0,
"type": "StringField"
},
"latest_content_listbox": {
"line_list": [],
"type": "ListBox",
"column_list": [
"Reference",
"Short Title",
"Validation State",
"Type",
"Creation Date",
"Modification Date"
]
},
"my_default_email_text": {
"description": "",
"title": "Email",
"default": "sven.franck@nexedi.com",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_email_text",
"hidden": 0,
"type": "EmailField"
},
"my_gender": {
"description": "The person's gender.",
"title": "Gender",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_gender",
"hidden": 0,
"type": "ListField"
},
"form_id": {
"description": "",
"title": "form_id",
"default": "Person_viewAsWeb",
"css_class": "",
"required": 1,
"editable": 0,
"key": "form_id",
"hidden": 1,
"type": "StringField"
},
"my_nationality": {
"description": "The person's nationality.",
"title": "Nationality",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_nationality",
"hidden": 0,
"type": "ListField"
},
"assignment_listbox": {
"line_list": [],
"type": "ListBox",
"column_list": [
"ID",
"Title",
"Organisation",
"Site",
"Group",
"Function",
"Activity",
"Begin",
"End",
"Status"
]
},
"my_last_name": {
"description": "The last name of the person.",
"title": "Last Name",
"default": "Franck",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_last_name",
"hidden": 0,
"type": "StringField"
},
"my_translated_validation_state_title": {
"description": "The current state of the document.",
"title": "State",
"default": "Validated",
"css_class": "",
"required": 0,
"editable": 0,
"key": "field_my_translated_validation_state_title",
"hidden": 0,
"type": "StringField"
},
"my_default_address_street_address": {
"description": "The street address.\n\nThis usually contains the street name, building number and apartment number (if any).",
"title": "Street Address",
"default": "Blvd Clemenceau 2781234521",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_address_street_address",
"hidden": 0,
"type": "TextAreaField"
},
"my_default_fax_text": {
"description": "",
"title": "FAX",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_fax_text",
"hidden": 0,
"type": "StringField"
},
"my_mobile_telephone_text": {
"description": "The mobile telephone number.",
"title": "Mobile Telephone",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_mobile_telephone_text",
"hidden": 0,
"type": "StringField"
},
"my_default_telephone_text": {
"description": "",
"title": "Telephone",
"default": "0190-123-456",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_telephone_text",
"hidden": 0,
"type": "StringField"
},
"my_career_subordination_title": {
"description": "The organisation for which the person works.",
"title": "Organisation",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_career_subordination_title",
"hidden": 0,
"type": "RelationStringField"
},
"my_default_address_city": {
"description": "The city.",
"title": "City",
"default": "Bespin",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_default_address_city",
"hidden": 0,
"type": "StringField"
},
"my_description": {
"description": "General description of a document in ERP5. Descriptions are not supposed to be internal, and in a case of certain documents such as invoices for example, will be seen by your customers.",
"title": "Description",
"default": "",
"css_class": "",
"required": 0,
"editable": 1,
"key": "field_my_description",
"hidden": 0,
"type": "TextAreaField"
},
"_embedded": {
"form_definition": {
"_links": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?mode=form_definition&skin_id=Person_viewAsWeb",
"name": "Person_viewAsWeb"
},
"group_list": [
["left",
[
["my_first_name", {"meta_type": "ProxyField"}],
["my_last_name", {"meta_type": "ProxyField"}],
["my_career_subordination_title", {"meta_type": "ProxyField"}],
["my_gender", {"meta_type": "ProxyField"}],
["my_nationality", {"meta_type": "ProxyField"}]
]
],
["right",
[
["my_default_email_text", {"meta_type": "ProxyField"}],
["my_default_telephone_text", {"meta_type": "ProxyField"}],
["my_mobile_telephone_text", {"meta_type": "ProxyField"}],
["my_default_fax_text", {"meta_type": "ProxyField"}],
["my_default_address_street_address", {"meta_type": "ProxyField"}],
["my_default_address_zip_code", {"meta_type": "ProxyField"}],
["my_default_address_city", {"meta_type": "ProxyField"}],
["my_default_address_region", {"meta_type": "ProxyField"}],
["my_default_image_absolute_url", {"meta_type": "ProxyField"}],
["my_translated_validation_state_title", {"meta_type": "ProxyField"}]
]
],
["center",
[
["my_description", {"meta_type": "ProxyField"}]
]
],
["bottom",
[
["assignment_listbox", {"meta_type": "ProxyField"}],
["career_listbox", {"meta_type": "ProxyField"}],
["latest_content_listbox", {"meta_type": "ProxyField"}]
]
]
]
}
},
"_actions": {
"put": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_edit",
"method": "POST"
}
},
"_links": {
"self": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_viewAsWeb"
},
"form_definition": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?mode=form_definition&skin_id=Person_viewAsWeb",
"name": "Person_viewAsWeb"
},
"context": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/ERP5Document_getHateoas",
"name": "person_module/20140115-10A5B70",
"title": "Sven Franck"
}
}
}
},
"_links": {
"slapos_jump": [
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?query=portal_type%3A%22Hosting%20Subscription%22%20AND%20validation_state%3A%22validated%22%20AND%20default_destination_section_uid%3A22187208L&mode=search",
"name": "current_hosting_subscription",
"_query": "portal_type:\"Hosting Subscription\" AND validation_state:\"validated\" AND default_destination_section_uid:22187208L"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?query=validation_state%3A%22validated%22%20AND%20portal_type%3A%22Computer%22%20AND%20default_strict_allocation_scope_uid%3A%21%3D%226697458%22&mode=search",
"name": "current_computer",
"_query": "validation_state:\"validated\" AND portal_type:\"Computer\" AND default_strict_allocation_scope_uid:!=\"6697458\""
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?query=portal_type%3A%22Computer%20Network%22&mode=search",
"name": "current_network",
"_query": "portal_type:\"Computer Network\""
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?query=NOT%20title%3A%22Reversal%20Transaction%20for%20%25%22%20AND%20portal_type%3A%22Sale%20Invoice%20Transaction%22%20AND%20default_destination_section_uid%3A22187208L&mode=search",
"name": "current_invoice",
"_query": "NOT title:\"Reversal Transaction for %\" AND portal_type:\"Sale Invoice Transaction\" AND default_destination_section_uid:22187208L"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas?query=portal_type%3A%28%22Support%20Request%22%20OR%20%22Regularisation%20Request%22%29%20AND%20default_destination_decision_uid%3A22187208L&mode=search",
"name": "current_ticket",
"_query": "portal_type:(\"Support Request\" OR \"Regularisation Request\") AND default_destination_decision_uid:22187208L"
}
],
"action_object_search": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Folder_viewSearchDialog",
"name": "search",
"title": "Search"
},
"action_object_jump": [
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_jumpToAccountingTransaction?from_entity=1",
"name": "jump_to_accounting",
"title": "Accounting"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_jumpToRelatedObject?base_category=destination_section&portal_type=Hosting+Subscription",
"name": "jump_to_hosting_subscription",
"title": "Hosting Subscriptions"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_jumpToRelatedObject?base_category=destination&portal_type=Sale+Packing+List",
"name": "jump_to_sale_packing_list",
"title": "Sale Packing List"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_jumpToRelatedObject?base_category=destination_decision&portal_type=Credential+Update",
"name": "jump_to_credential_update",
"title": "Credential Update"
}
],
"self": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/ERP5Document_getHateoas"
},
"action_object_web_view": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_viewAsWeb",
"name": "web_view",
"title": "Web View"
},
"action_user": [
{
"href": "https://www.tiolive.com/vifiberp5/personalize_form",
"name": "preferences",
"title": "Preferences"
},
{
"href": "https://www.tiolive.com/vifiberp5/logout",
"name": "logout",
"title": "Log out"
}
],
"site_root": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/ERP5Document_getHateoas",
"name": "Hateoas"
},
"action_object_view": [
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_view",
"name": "view",
"title": "View"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_viewDetails",
"name": "details",
"title": "Details"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_viewAssignment",
"name": "assignment",
"title": "Assignments"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Entity_viewAccountingTransactionList",
"name": "transactions",
"title": "Transactions"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_viewFinancialInformationList",
"name": "financial_view",
"title": "Financial Information"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewDocumentList",
"name": "document_view",
"title": "Documents"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewEventList",
"name": "view_event_list",
"title": "Events"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewContentTranslation",
"name": "content_translation",
"title": "Translation"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewHistory",
"name": "history",
"title": "History"
}
],
"action_object_action": [
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_resetPassword",
"name": "reset_password",
"title": "Reset Password"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Person_shiftDefaultCareer",
"name": "terminate_career",
"title": "Terminate the Current Career Step"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewAddEventDialog",
"name": "add_event",
"title": "Create New Event"
}
],
"action_global": {
"href": "https://www.tiolive.com/vifiberp5/ERP5Site_viewNewPersonCredentialUpdateDialog",
"name": "update_credentials",
"title": "Update Credentials"
},
"action_object_sort": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Folder_viewSortOnDialog",
"name": "sort_on",
"title": "Sort"
},
"action_object_ui": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewUIDialog",
"name": "list_ui",
"title": "Modify UI"
},
"action_object_report": [
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/accounting_module/AccountModule_viewGeneralLedgerReportDialog?mirror_section=person_module/20140115-10A5B70",
"name": "general_ledger_report",
"title": "General Ledger"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/accounting_module/AccountModule_viewAccountStatementReportDialog?mirror_section=person_module/20140115-10A5B70",
"name": "account_statement_report",
"title": "Account Statement"
}
],
"action_object_button": [
{
"href": "https://www.tiolive.com/vifiberp5/accounting_module/AccountingTransactionModule_viewGroupingFastInputDialog?reset:int=1&mirror_section=person_module/20140115-10A5B70",
"name": "grouping_reference_fast_input",
"title": "Grouping Reference Fast Input"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewNewFileDialog",
"name": "create_new_file",
"title": "Attach Document"
}
],
"type": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/portal_types/Person/ERP5Document_getHateoas",
"name": "Person"
},
"action_object_exchange": [
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/accounting_module/AccountModule_viewGeneralLedgerReportDialog?mirror_section=person_module/20140115-10A5B70&your_portal_skin=ODS&your_format=",
"name": "general_ledger_export",
"title": "General Ledger"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/accounting_module/AccountModule_viewAccountStatementReportDialog?mirror_section=person_module/20140115-10A5B70&your_portal_skin=ODS&your_format=",
"name": "account_statement_export",
"title": "Account Statement"
},
{
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewAsODSDialog",
"name": "ods_export",
"title": "Export to Spreadsheet"
}
],
"action_object_print": {
"href": "https://www.tiolive.com/vifiberp5/web_site_module/hateoas/person_module/20140115-10A5B70/Base_viewPrintDialog",
"name": "print",
"title": "Print"
}
}
}
\ No newline at end of file
{
"_id": {
"type": "StringField",
"widget": {
"id": "_id",
"title_i18n": "portal_type_dict.category_dict.field_dict._id.title",
"description_i18n": "portal_type_dict.category_dict.field_dict._id.description",
"alternate_name": "_id",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"title": {
"type": "StringField",
"widget": {
"id": "title",
"title_i18n": "portal_type_dict.category_dict.field_dict.title.title",
"description_i18n": "portal_type_dict.category_dict.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"title_i18n": {
"type": "StringField",
"widget": {
"id": "title_i18n",
"title_i18n": "portal_type_dict.category_dict.field_dict.translation.title",
"description_i18n": "portal_type_dict.category_dict.field_dict.translation.description",
"alternate_name": "title_i18n",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"reference": {
"type": "StringField",
"widget": {
"id": "reference",
"title_i18n": "portal_type_dict.category_dict.field_dict.reference.title",
"description_i18n": "portal_type_dict.category_dict.field_dict.reference.description",
"alternate_name": "reference",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"reference_category": {
"type": "StringField",
"widget": {
"id": "reference_category",
"title_i18n": "portal_type_dict.category_dict.field_dict.reference_category.title",
"description_i18n": "portal_type_dict.category_dict.field_dict.reference_category.description",
"alternate_name": "reference_category",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
}
}
\ No newline at end of file
[
{
"_id": "cat_001",
"title": "Women",
"title_i18n": "category_dict.text_dict.women",
"reference": "product_section",
"reference_category": null
},
{
"_id": "cat_002",
"title": "Men",
"title_i18n": "category_dict.text_dict.men",
"reference": "product_section",
"reference_category": null
},
{
"_id": "cat_003",
"title": "Apparel",
"title_i18n": "category_dict.text_dict.apparel",
"reference": "product_group",
"reference_category": null
},
{
"_id": "cat_004",
"title": "Accessories",
"title_i18n": "category_dict.text_dict.accessories",
"reference": "product_group",
"reference_category": null
},
{
"_id": "cat_005",
"title": "Shoes",
"title_i18n": "category_dict.text_dict.shoes",
"reference": "product_group",
"reference_category": null
},
{
"_id": "cat_006",
"title": "Jumpsuits",
"title_i18n": "category_dict.text_dict.jumpsuits",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_007",
"title": "Sets",
"title_i18n": "category_dict.text_dict.sets",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_008",
"title": "Swimsuits",
"title_i18n": "category_dict.text_dict.swimsuits",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_009",
"title": "Dresses",
"title_i18n": "category_dict.text_dict.dresses",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_010",
"title": "Coats",
"title_i18n": "category_dict.text_dict.jackets",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_011",
"title": "Knitwear",
"title_i18n": "category_dict.text_dict.knitwear",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_012",
"title": "Shirts",
"title_i18n": "category_dict.text_dict.shirts",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_013",
"title": "Skirts",
"title_i18n": "category_dict.text_dict.skirts",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_014",
"title": "Tops",
"title_i18n": "category_dict.text_dict.tops",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_015",
"title": "Trousers",
"title_i18n": "category_dict.text_dict.trousers",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_016",
"title": "Tshirts",
"title_i18n": "category_dict.text_dict.tshirts",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_017",
"title": "Belts",
"title_i18n": "category_dict.text_dict.belts",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_018",
"title": "Scarves",
"title_i18n": "category_dict.text_dict.scarves",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_019",
"title": "Wallets",
"title_i18n": "category_dict.text_dict.wallets",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_020",
"title": "Handbags",
"title_i18n": "category_dict.text_dict.handbags",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_021",
"title": "Bijoux",
"title_i18n": "category_dict.text_dict.bijoux",
"reference": "product_category",
"reference_category": null
},
{
"_id": "cat_022",
"title": "Shoes",
"title_i18n": "category_dict.text_dict.shoes",
"reference": "product_category",
"reference_category": null
},
{
"_id": "set_023",
"title": "One size",
"title_i18n": "category_dict.text_dict.set_one_size",
"reference": "size_set",
"reference_category": null
},
{
"_id": "siz_024",
"title": "one size",
"title_i18n": "category_dict.text_dict.size_one_size",
"reference": "size",
"reference_category": "set_023"
},
{
"_id": "set_025",
"title": "set_XS_XL",
"title_i18n": "category_dict.text_dict.set_XS_XXL",
"reference": "size_set",
"reference_category": null
},
{
"_id": "siz_026",
"title": "XS",
"title_i18n": "category_dict.text_dict.size_XS",
"reference": "size",
"reference_category": "set_025"
},
{
"_id": "siz_027",
"title": "S",
"title_i18n": "category_dict.text_dict.size_S",
"reference": "size",
"reference_category": "set_025"
},
{
"_id": "siz_028",
"title": "M",
"title_i18n": "category_dict.text_dict.size_M",
"reference": "size"
},
{
"_id": "siz_029",
"title": "L",
"title_i18n": "category_dict.text_dict.size_L",
"reference": "size",
"reference_category": "set_025"
},
{
"_id": "siz_030",
"title": "XL",
"title_i18n": "category_dict.text_dict.size_XL",
"reference": "size",
"reference_category": "set_025"
},
{
"_id": "siz_031",
"title": "XXL",
"title_i18n": "category_dict.text_dict.size_XXL",
"reference": "size",
"reference_category": "set_025"
},
{
"_id": "set_032",
"title": "set_T0_T4",
"title_i18n": "category_dict.text_dict.t0_t4",
"reference": "size_set",
"reference_category": null
},
{
"_id": "siz_033",
"title": "T0",
"title_i18n": "category_dict.text_dict.size_t0",
"reference": "size",
"reference_category": "set_032"
},
{
"_id": "siz_034",
"title": "T1",
"title_i18n": "category_dict.text_dict.size_t1",
"reference": "size",
"reference_category": "set_032"
},
{
"_id": "siz_035",
"title": "T2",
"title_i18n": "category_dict.text_dict.size_t2",
"reference": "size",
"reference_category": "set_032"
},
{
"_id": "siz_036",
"title": "T3",
"title_i18n": "category_dict.text_dict.size_t3",
"reference": "size",
"reference_category": "set_032"
},
{
"_id": "siz_037",
"title": "T4",
"title_i18n": "category_dict.text_dict.size_t4",
"reference": "size",
"reference_category": "set_032"
},
{
"_id": "set_038",
"title": "set_34-42",
"title_i18n": "category_dict.text_dict.set_34_42",
"reference": "size_set",
"reference_category": null
},
{
"_id": "siz_039",
"title": "34",
"title_i18n": "category_dict.text_dict.size_34",
"reference": "size",
"reference_category": "set_038"
},
{
"_id": "siz_040",
"title": "36",
"title_i18n": "category_dict.text_dict.size_36",
"reference": "size",
"reference_category": "set_038"
},
{
"_id": "siz_041",
"title": "38",
"title_i18n": "category_dict.text_dict.size_38",
"reference": "size",
"reference_category": "set_038"
},
{
"_id": "siz_042",
"title": "40",
"title_i18n": "category_dict.text_dict.size_40",
"reference": "size",
"reference_category": "set_038"
},
{
"_id": "siz_043",
"title": "42",
"title_i18n": "category_dict.text_dict.size_42",
"reference": "size",
"reference_category": "set_038"
},
{
"_id": "brand_color_block",
"title": "Color Block",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_darling",
"title": "Darling",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_emma_go",
"title": "Emma Go",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_kocca",
"title": "Kocca",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_petite_mandigote",
"title": "Petite Mandigote",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_petite_mandigote",
"title": "Stalactite",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_star_mela",
"title": "Star Mela",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_stella_forest",
"title": "Stella Forest",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_eleven_paris",
"title": "Eleven Paris",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_hanca_in",
"title": "Hanca In",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_le_petite_francaise",
"title": "Le Petite Francaise",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_caroline_vermeille",
"title": "Caroline Vermeille",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_marie_sixtine",
"title": "Marie Sixtine",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_nat_et_nin",
"title": "Nat et Nin",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_pieces",
"title": "Pieces",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_see_u_soon",
"title": "See U Soon",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_part_two",
"title": "Part Two",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_suncoo",
"title": "Suncoo",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_theodora_gabrielli",
"title": "Theodora Gabrielli",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_vila",
"title": "Vila",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_vimoda",
"title": "Vimoda",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
},
{
"_id": "brand_noe",
"title": "Noë",
"title_i18n": null,
"reference": "sub_websection",
"reference_category": null
}
]
\ No newline at end of file
......@@ -47,13 +47,7 @@
"property_dict": {
"fixed": true,
"theme": "slapos-black",
"class_list": "override_header ",
"add_content": 0,
"section_list": ["last"],
"image": {
"src": "img/weinparis.png",
"alt": "WEINPARIS"
}
"title_i18n": "global_dict.hello"
},
"children": [{
"generate": "widget",
......@@ -63,48 +57,6 @@
},
"children": [
{"type":"a", "direct": {"href": "#global-user", "className":"responsive translate action"}, "attributes": {"data-rel":"panel", "data-action":"set_login", "data-icon":"heart", "data-i18n":"global_dict.login"}},
{"type":"a", "direct": {"href": "#basket", "className": "responsive translate"}, "attributes": {"data-i18n": "global_dict.basket", "data-icon": "shopping-cart"}}
]
}, {
"generate": "widget",
"type": "controlbar",
"property_dict": {
"class_list": "responsive ui-subheader"
},
"children": [
{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{"type": "input", "direct": {"id": "product_search", "className": "translate"}, "attributes": {"type": "text", "data-theme": "slapos-white", "data-i18n": "[placeholder]global_dict.search_items", "data-action": "custom_search"}, "logic": {"clear": true, "action": {"action":"search", "icon": "search", "text_i18n": "global_dict.search_items"}, "add_label": false}},
{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal"
},
"children":[
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-iconpos":"notext", "data-rel":"panel", "data-action":"set_search", "data-href": "ui_panel_detail_search", "data-icon":"search-plus", "data-i18n":"global_dict.detail_search"}}
]
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal"
},
"children":[
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_filter", "data-icon":"filter", "data-i18n":"global_dict.filter"}},
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_sorting", "data-icon":"sort", "data-i18n":"global_dict.sort"}}
]
}
]
}
]
}]
}, {
......@@ -132,7 +84,7 @@
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title_i18n": "global_dict.account"
"title_i18n": "global_dict.hello"
},
"children":[{
"type": "a",
......@@ -146,73 +98,6 @@
}
}]
}]
}, {
"generate":"widget",
"type": "footer",
"property_dict": {
"theme": "slapos-black"
},
"children": [{
"generate": "widget",
"type": "controlbar",
"property_dict": {
"class_list": "span_2"
},
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"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 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",
"type": "controlbar",
"property_dict": {
"class_list": "span_2"
},
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"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":"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"}]}
}]
}]
}, {
"generate": "widget",
"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 ui-btn ui-btn-icon-right ui-icon-angle-double-up"}, "attributes": {"data-i18n": "global_dict.scrollup"}}
]
}]
}]
}
]
......
{
"generate": "gadget",
"type": "pageIndex",
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"theme": "slapos-white"
},
"title_i18n": "global_dict.hello",
"theme": "slapos-white",
"view_dict": {
"default": [
{
"generate": "widget",
"type": "controlbar",
"property_dict": {
"wrap": "section",
"class_list": "span_1"
},
"children": [{
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'product_group'", "include_docs": true, "select_list": ["title", "title_i18n", "_id"]},
"property_dict": {
"link": true,
"link_identifier": "_id",
"link_core": "product_module&query:group="
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}
],
"children": [{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"dynamic": true,
"class_list": "center",
"direction": "horizontal",
"map_children": "listItem"
},
"children": []
}]
}]
},
{
"type": "h3",
"direct": {"className": "translate ui-content-header responsive"},
"attributes": {"data-i18n":"global_dict.bestseller"}
}, {
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"query": "subject: 'best'", "include_docs": true, "limit": [0,4], "select_list": ["currency", "_id", "brand", "description_short", "price", "default_image_path"]},
"property_dict": {
"link": true,
"link_identifier": "_id",
"link_core": "product_module"
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "default_image_path", "type":"image"}
]
}, {
"position": "center",
"field_list": [
{"field": "brand", "type": "h3", "mergeText": "description_short"},
{"field": "price", "type": "p", "format": {"type": "integer", "digits": 2}, "mergeText": "currency"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"class_list": "responsive",
"filter": "true",
"input": "#product_search",
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}, {
"type": "h3",
"direct": {"className": "translate ui-content-header responsive"},
"attributes": {"data-i18n":"global_dict.newest"}
}, {
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"include_docs": true, "limit": [0,8], "sort_on": [["date_created", "descending"]], "select_list": ["currency", "_id", "brand", "description_short", "price", "default_image_path"]},
"property_dict": {
"link": true,
"link_identifier": "_id",
"link_core": "product_module",
"pagination": {
"class_list": "center",
"option_list": [
{"value": "8", "text": "8", "text_i18n":"global_dict.8"},
{"value": "16", "text": "16", "text_i18n":"global_dict.16"},
{"value": "32", "text": "32", "text_i18n":"global_dict.32"},
{"value": "64", "text": "64", "text_i18n":"global_dict.64"}
]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "default_image_path", "type":"image"}
]
}, {
"position": "center",
"field_list": [
{"field": "brand", "type": "h3", "mergeText": "description_short"},
{"field": "price", "type": "p", "format": {"type": "integer", "digits": 2}, "mergeText": "currency"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"class_list": "responsive",
"filter": "true",
"input": "#product_search",
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}
]
"default": []
}
}
]
}
\ No newline at end of file
}
{
"property_dict": {},
"children": [
{
"type": "div",
"direct": {"className": "logo_wrap"},
"children": [
{
"type": "img",
"direct": {"src": "img/slapos.png", "alt": "SlapOS logo", "className": "translate"},
"attributes": {"data-i18n": "[alt]global_dict.slapos_logo"}
}
]
}, {
"type": "br"
}, {
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.sign_in"}
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {},
"children": [
{"type": "a", "direct":{"className":"signin_google", "href":"//slapos.vifib.com/intent/login/google"}, "attributes":{"rel": "external", "data-icon":"google-plus-sign", "data-iconpos":"left", "data-reference": "google"}, "logic": {"text":"Google", "setParam": ["callback_url", "location"]}},
{"type": "a", "direct":{"className":"signin_fb", "href":"//slapos.vifib.com/intent/login/facebook"}, "attributes":{"rel":"external", "data-icon":"facebook-sign", "data-iconpos":"left", "data-reference": "facebook"}, "logic": {"text":"Facebook", "setParam": ["callback_url", "location"]}}
]
}, {
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.classic_login"}
}, {
"type": "a",
"direct": {"className": "translate ui-btn ui-icon-lock ui-btn-icon-left ui-shadow ui-corner-all", "href": "//slapos.vifib.com/traditional_login_form"},
"attributes": {"data-i18n": "global_dict.classic_slapos"}
}
]
}
......@@ -5,30 +5,43 @@
"generate": "widget",
"type": "page",
"property_dict": {
"title_i18n": "portal_type_dict.product_dict.text_dict.products",
"title": "Test Page Module",
"title_i18n": "portal_type_dict.test_page_dict.text_dict.title",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{"href": "product_overview"}
]
"default": [{
"href": "test_page_overview"
}, {
"generate": "widget",
"type": "panel",
"property_dict": {
"id": "test_page_detail_search",
"theme": "slapos-white",
"close": true
},
"children": []
}
],
"new": [{
"href": "test_page_new"
}]
}
},
{
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title_i18n": "portal_type_dict.product_dict.text_dict.products",
"title": "Test Page",
"title_i18n": "portal_type_dict.test_page_dict.text_dict.page",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{"href": "product_carousel"},
{"href": "product_view"},
{"href": "product_variations"},
{"href": "product_sizes"}
]
"default": [{
"generate": "gadget",
"type":"fieldlist",
"href": "test_page_view"
}]
}
}
]
}
\ No newline at end of file
}
{
"portal_type_source": "Product Individual Variation",
"portal_type_title": "product_individual_variation",
"skip_total_records": true,
"initial_query": {"include_docs": true},
"property_dict": {
"initial_query_url_identifier": "reference",
"spawn_on": "image_list",
"wrap_gadget": 2
},
"scheme": [{
"position": "content",
"field_list": [{"field": "image_list", "type": "image"}]
}],
"children": [{
"generate": "widget",
"type": "carousel",
"property_dict": {
"corners": true,
"class_list": "custom_preview",
"handles": true,
"captions": true,
"captiontheme": "slapos-white",
"captionpos": "bottom",
"map_children": "listItem",
"dynamic": true
},
"children": []
}]
}
\ No newline at end of file
{
"_id": {
"type": "StringField",
"widget": {
"id": "_id",
"title_i18n": "portal_type_dict.product_dict.field_dict._id.title",
"description_i18n": "portal_type_dict.product_dict.field_dict._id.description",
"alternate_name": "_id",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"brand": {
"type": "StringField",
"widget": {
"id": "brand",
"title_i18n": "portal_type_dict.product_dict.field_dict.brand.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.brand.description",
"alternate_name": "brand",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"brand_id": {
"type": "StringField",
"widget": {
"id": "v",
"title_i18n": "portal_type_dict.product_dict.field_dict.brand_id.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.brand_id.description",
"alternate_name": "brand_id",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"short_description": {
"type": "StringField",
"widget": {
"id": "short_description",
"title_i18n": "portal_type_dict.product_dict.field_dict.short_description.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.short_description.description",
"alternate_name": "short_description",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"long_description": {
"type": "StringField",
"widget": {
"id": "long_description",
"title_i18n": "portal_type_dict.product_dict.field_dict.long_description.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.long_description.description",
"alternate_name": "long_description",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"price": {
"type":"IntegerField",
"widget": {
"id": "price",
"title_i18n": "portal_type_dict.test_page_dict.field_dict.price.title",
"description_i18n": "portal_type_dict.test_page_dict.field_dict.price.description",
"alternate_name": "price",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"start": null,
"end": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"not_integer": {
"message": "You did not enter an integer",
"i18n": "validation_dict.no_integer"
},
"integer_out_of_range": {
"message": "The integer you entered is out of range.",
"i18n": "validation_dict.out_of_range"
}
}
},
"rebate": {
"type":"FloatField",
"widget": {
"id": "rebate",
"title_i18n": "portal_type_dict.test_page_dict.field_dict.rebate.title",
"description_i18n": "portal_type_dict.test_page_dict.field_dict.rebate.description",
"alternate_name": "rebate",
"default_value": null,
"css_class": null,
"hidden": null,
"display_maxwidth": null,
"display_width": null,
"input_style": null,
"precision": 2,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"start": null,
"end": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"not_float": {
"message": "You did not enter a floating point number.",
"i18n": "validation_dict.no_float"
}
}
},
"section": {
"type": "StringField",
"widget": {
"id": "section",
"title_i18n": "portal_type_dict.product_dict.field_dict.section.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.section.description",
"alternate_name": "section",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"group": {
"type": "StringField",
"widget": {
"id": "group",
"title_i18n": "portal_type_dict.product_dict.field_dict.group.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.group.description",
"alternate_name": "group",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"category": {
"type": "StringField",
"widget": {
"id": "category",
"title_i18n": "portal_type_dict.product_dict.field_dict.category.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.category.description",
"alternate_name": "category",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"subject": {
"type": "StringField",
"widget": {
"id": "subject",
"title_i18n": "portal_type_dict.product_dict.field_dict.subject.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.subject.description",
"alternate_name": "subject",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"date_created": {
"type":"DateTimeField",
"widget": {
"id": "date_created",
"title_i18n": "portal_type_dict.product_dict.field_dict.date_created.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.date_created.description",
"alternate_name": "date_created",
"default_value": null,
"css_class": null,
"hidden": null,
"default_to_know": null,
"data_separator": null,
"time_separator": null,
"input_style": null,
"input_order": null,
"display_date_only": true,
"am_pm time style": null,
"display_timezone": null,
"hide_day": null,
"hidden_day_is_last_day_of_the_month": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"start_datetime": null,
"end_datetime": null,
"allow_empty_datetime": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"not_datetime": {
"message": "You did not enter a valid date and time.",
"i18n": "validation_dict.not_valid_datetime"
},
"datetime_out_of_range": {
"message": "The date and time you entered were out of range.",
"i18n": "validation_dict.out_of_range_datetime"
}
}
},
"default_image_path": {
"type": "StringField",
"widget": {
"id": "default_image_path",
"title_i18n": "portal_type_dict.product_dict.field_dict.default_image_path.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.default_image_path.description",
"alternate_name": "default_image_path",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"teaser_image_path": {
"type": "StringField",
"widget": {
"id": "teaser_image_path",
"title_i18n": "portal_type_dict.product_dict.field_dict.teaser_image_path.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.teaser_image_path.description",
"alternate_name": "teaser_image_path",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"product_subordinate_reference_category": {
"type":"RelationStringField",
"widget": {
"id": "product_subordinate_reference_category",
"title_i18n": "portal_type_dict.product_dict.field_dict.product_subordinate_reference_category.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.product_subordinate_reference_category.description",
"alternate_name": "product_subordinate_reference_category",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"display_maxwidth": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"maximum_length": null,
"first_item": null,
"extra_item": null,
"external_validator": null,
"items": null,
"list_method": null,
"jump_method": null,
"max_length": null,
"max_linelength": null,
"max_lines": null,
"parameter_list": null,
"portal_type": null,
"catalog_index": null,
"base_category": null,
"allow_jump": null,
"allow_creation": null,
"columns": null,
"container_getter_id": null,
"relation_setter_id": null,
"required": true,
"size": 1,
"sort": null,
"truncate": null,
"unicode": null,
"preserve_whitespace": 0,
"update_method": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external_validator_failed"
},
"line_too_long": {
"message": "A line was too long.",
"i18n": "validation_dict.line_too_long"
},
"relation_result_ambiguous": {
"message": "Relation_result_ambiguous.",
"i18n": "validation_dict.relation_result_ambiguous"
},
"relation_result_ambiguous": {
"message": "Select appropriate document in the list.",
"i18n": "validation_dict.relation_result_ambiguous"
},
"relation_result_empty": {
"message": "No such document was found.",
"i18n": "validation_dict.relation_result_empty"
},
"relation_result_too_long": {
"message": "Too many documents were found.",
"i18n": "validation_dict.relation_result_too_long"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required_not_found"
},
"too_long": {
"message": "You entered too many characters.",
"i18n": "validation_dict.too_long"
},
"too_many_lines": {
"message": "You entered too many lines.",
"i18n": "validation_dict.too_many_lines"
}
}
},
"size_range": {
"type": "StringField",
"widget": {
"id": "size_range",
"title_i18n": "portal_type_dict.product_dict.field_dict.size_range.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.size_range.description",
"alternate_name": "size_range",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"size_list": {
"type":"MultiListField",
"widget": {
"id": "size_list",
"title_i18n": "portal_type_dict.person_dict.field_dict.size_list.title",
"description_i18n": "portal_type_dict.person_dict.field_dict.size_list.description",
"alternate_name": "size_list",
"default_value": null,
"css_class": null,
"hidden": null,
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": "validation_dict.unknown_selection"
}
}
},
"variation_list": {
"type":"MultiListField",
"widget": {
"id": "variation_list",
"title_i18n": "portal_type_dict.person_dict.field_dict.variation_list.title",
"description_i18n": "portal_type_dict.person_dict.field_dict.variation_list.description",
"alternate_name": "variation_list",
"default_value": null,
"css_class": null,
"hidden": null,
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": "validation_dict.unknown_selection"
}
}
},
"weight": {
"type": "StringField",
"widget": {
"id": "weight",
"title_i18n": "portal_type_dict.product_dict.field_dict.weight.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.weight.description",
"alternate_name": "weight",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"features": {
"type": "StringField",
"widget": {
"id": "features",
"title_i18n": "portal_type_dict.product_dict.field_dict.features.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.features.description",
"alternate_name": "features",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"dimensions": {
"type": "StringField",
"widget": {
"id": "dimensions",
"title_i18n": "portal_type_dict.product_dict.field_dict.dimensions.title",
"description_i18n": "portal_type_dict.product_dict.field_dict.dimensions.description",
"alternate_name": "dimensions",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": null,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
}
}
\ No newline at end of file
{
"_id": {
"type": "StringField",
"widget": {
"id": "_id",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict._id.title",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict._id.description",
"alternate_name": "_id",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"title": {
"type": "StringField",
"widget": {
"id": "title",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.title.title",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"title_i18n": {
"type": "StringField",
"widget": {
"id": "title_i18n",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.title",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.description",
"alternate_name": "title_i18n",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"reference": {
"type": "StringField",
"widget": {
"id": "reference",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.title",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.description",
"alternate_name": "reference",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"variation_name": {
"type": "StringField",
"widget": {
"id": "variation_name",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.title",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.description",
"alternate_name": "variation_name",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"image_list": {
"type":"MultiListField",
"widget": {
"id": "image_list",
"title_i18n": "portal_type_dict.person_dict.field_dict.image_list.title",
"description_i18n": "portal_type_dict.person_dict.field_dict.image_list.description",
"alternate_name": "image_list",
"default_value": null,
"css_class": null,
"hidden": null,
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": "validation_dict.unknown_selection"
}
}
}
}
\ No newline at end of file
[
{
"_id": "var_001",
"title": "Glossy",
"title_i18n": "product_individual_variation_dict.text_dict.glossy",
"reference": "pro_710",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/710/10/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/710/10/1?display=large&format=jpg"
]
},
{
"_id": "var_002",
"title": "White",
"title_i18n": "product_individual_variation_dict.text_dict.white",
"reference": "pro_118",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/118/21/default_image?display=large&format=jpg"
]
},
{
"_id": "var_003",
"title": "Noir",
"title_i18n": "product_individual_variation_dict.text_dict.black",
"reference": "pro_580",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/580/9/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/580/9/3?format=jpg&display=large"
]
},
{
"_id": "var_004",
"title": "Stone Blue",
"title_i18n": "product_individual_variation_dict.text_dict.stone_blue",
"reference": "pro_133",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/133/27/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/133/27/3?format=jpg&display=large"
]
},
{
"_id": "var_005",
"title": "Pearl",
"title_i18n": "product_individual_variation_dict.text_dict.pearl",
"reference": "pro_138",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/138/27/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/138/27/3?format=jpg&display=large"
]
},
{
"_id": "var_006",
"title": "Carbon",
"title_i18n": "product_individual_variation_dict.text_dict.carbon",
"reference": "pro_521",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/521/10/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/521/10/3?format=jpg&display=small"
]
},
{
"_id": "var_007",
"title": "Curacao",
"title_i18n": "product_individual_variation_dict.text_dict.curacao",
"reference": "pro_317",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/317/15/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/15/2?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/15/1?format=jpg&display=large"
]
},
{
"_id": "var_008",
"title": "Azur",
"title_i18n": "product_individual_variation_dict.text_dict.azur",
"reference": "pro_317",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/317/10/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/10/2?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/10/1?format=jpg&display=large"
]
},
{
"_id": "var_009",
"title": "Fuchsia",
"title_i18n": "product_individual_variation_dict.text_dict.fuchsia",
"reference": "pro_317",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/317/16/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/16/2?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/16/1?format=jpg&display=large"
]
},
{
"_id": "var_010",
"title": "Apricot",
"title_i18n": "product_individual_variation_dict.text_dict.apricot",
"reference": "pro_317",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/317/17/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/17/1?format=jpg&display=large"
]
},
{
"_id": "var_011",
"title": "Désert",
"title_i18n": "product_individual_variation_dict.text_dict.desert",
"reference": "pro_317",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/317/18/default_image?format=jpg&display=large",
"http://www.weinparis.com/product_module/317/18/1?format=jpg&display=large"
]
},
{
"_id": "var_012",
"title": "Speculous",
"title_i18n": "product_individual_variation_dict.text_dict.speculous",
"reference": "pro_700",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/700/18/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/700/18/1?format=jpg&display=large"
]
},
{
"_id": "var_013",
"title": "Green Tree",
"title_i18n": "product_individual_variation_dict.text_dict.green_tree",
"reference": "pro_700",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/700/15/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/700/15/1?format=jpg&display=large"
]
},
{
"_id": "var_014",
"title": "Brandy",
"title_i18n": "product_individual_variation_dict.text_dict.brandy",
"reference": "pro_700",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/700/17/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/700/17/1?format=jpg&display=large"
]
},
{
"_id": "var_015",
"title": "Tango",
"title_i18n": "product_individual_variation_dict.text_dict.tango",
"reference": "pro_700",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/700/19/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/700/19/1?format=jpg&display=large"
]
},
{
"_id": "var_016",
"title": "Noir",
"title_i18n": "product_individual_variation_dict.text_dict.black",
"reference": "pro_700",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/139/27/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/139/27/3?format=jpg&display=large"
]
},
{
"_id": "var_017",
"title": "Corail",
"title_i18n": "product_individual_variation_dict.text_dict.coral",
"reference": "pro_588",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/588/12/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/588/12/5?format=jpg&display=large"
]
},
{
"_id": "var_018",
"title": "Emeraude",
"title_i18n": "product_individual_variation_dict.text_dict.emerald",
"reference": "pro_588",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/588/14/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/588/14/5?format=jpg&display=large"
]
},
{
"_id": "var_019",
"title": "Noir",
"title_i18n": "product_individual_variation_dict.text_dict.black",
"reference": "pro_721",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/721/10/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/721/10/1?format=jpg&display=large"
]
},
{
"_id": "var_020",
"title": "Brandy",
"title_i18n": "product_individual_variation_dict.text_dict.brandy",
"reference": "pro_721",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/721/13/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/721/13/1?format=jpg&display=large"
]
},
{
"_id": "var_021",
"title": "Persan",
"title_i18n": "product_individual_variation_dict.text_dict.persian",
"reference": "pro_721",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/721/14/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/721/14/1?format=jpg&display=large"
]
},
{
"_id": "var_022",
"title": "Sapin",
"title_i18n": "product_individual_variation_dict.text_dict.tree",
"reference": "pro_721",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/721/4/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/721/4/1?format=jpg&display=large"
]
},
{
"_id": "var_023",
"title": "Orange",
"title_i18n": "product_individual_variation_dict.text_dict.orange",
"reference": "pro_78",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/78/12/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/78/12/3?format=jpg&display=large",
"http://www.weinparis.com/product_module/78/12/5?format=jpg&display=large"
]
},
{
"_id": "var_024",
"title": "Chanvre",
"title_i18n": "product_individual_variation_dict.text_dict.hemp",
"reference": "pro_78",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/78/11/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/78/11/3?format=jpg&display=large"
]
},
{
"_id": "var_025",
"title": "Vert",
"title_i18n": "product_individual_variation_dict.text_dict.green",
"reference": "pro_595",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/595/15/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/595/15/3?format=jpg&display=large"
]
},
{
"_id": "var_026",
"title": "Dark Blue",
"title_i18n": "product_individual_variation_dict.text_dict.dark_blue",
"reference": "pro_651",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/651/15/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/651/15/3?format=jpg&display=large"
]
},
{
"_id": "var_027",
"title": "Cream",
"title_i18n": "product_individual_variation_dict.text_dict.cream",
"reference": "pro_247",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/247/14/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/247/14/3?format=jpg&display=large",
"http://www.weinparis.com/product_module/247/14/5?format=jpg&display=large"
]
},
{
"_id": "var_028",
"title": "Shell",
"title_i18n": "product_individual_variation_dict.text_dict.shell",
"reference": "pro_128",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/128/23/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/128/23/3?format=jpg&display=large"
]
},
{
"_id": "var_029",
"title": "Stone Gray",
"title_i18n": "product_individual_variation_dict.text_dict.stone_gray",
"reference": "pro_128",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/128/21/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/128/21/3?format=jpg&display=large"
]
},
{
"_id": "var_030",
"title": "Hav",
"title_i18n": "product_individual_variation_dict.text_dict.hav",
"reference": "pro_128",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/128/24/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/128/24/3?format=jpg&display=large"
]
},
{
"_id": "var_031",
"title": "Black",
"title_i18n": "product_individual_variation_dict.text_dict.black",
"reference": "pro_143",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/143/23/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/143/23/3?format=jpg&display=large"
]
},
{
"_id": "var_032",
"title": "Peach",
"title_i18n": "product_individual_variation_dict.text_dict.peach",
"reference": "pro_143",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/143/24/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/143/24/3?format=jpg&display=large"
]
},
{
"_id": "var_033",
"title": "Black/Blue",
"title_i18n": "product_individual_variation_dict.text_dict.black_blue",
"reference": "pro_665",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/655/16/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/655/16/3?format=jpg&display=large"
]
},
{
"_id": "var_034",
"title": "White",
"title_i18n": "product_individual_variation_dict.text_dict.white",
"reference": "pro_119",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/119/22/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/119/22/3?format=jpg&display=large"
]
},
{
"_id": "var_035",
"title": "Black",
"title_i18n": "product_individual_variation_dict.text_dict.black",
"reference": "pro_119",
"variation_name": "Color",
"image_list": [
"http://www.weinparis.com/product_module/119/21/default_image?display=large&format=jpg",
"http://www.weinparis.com/product_module/119/21/3?format=jpg&display=large"
]
}
]
{
"property_dict":{},
"children": []
}
\ No newline at end of file
{
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"include_docs": true, "limit": [0,16], "select_list": ["currency", "_id", "brand", "description_short", "price", "default_image_path"]},
"property_dict": {
"link": true,
"link_identifier": "_id",
"link_core": "product_module",
"pagination": {
"class_list": "center",
"option_list": [
{"value": "8", "text": "8", "text_i18n":"global_dict.8"},
{"value": "16", "text": "16", "text_i18n":"global_dict.16"},
{"value": "32", "text": "32", "text_i18n":"global_dict.32"},
{"value": "64", "text": "64", "text_i18n":"global_dict.64"}
]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "default_image_path", "type":"image"}
]
}, {
"position": "center",
"field_list": [
{"field": "brand", "type": "h3", "mergeText": "description_short"},
{"field": "price", "type": "p", "format": {"type": "integer", "digits": 2}, "mergeText": "currency"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"class_list": "responsive",
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}
\ No newline at end of file
[
{
"_id": "pro_710",
"brand": "Nat et Nin",
"brand_id": "brand_nat_et_nin",
"description_short": "Charlotte",
"description_long": "Le sac cabas boule arrive chez Nat & Nin. Une allure casual et des finitions qui suivent délicatement la ligne des anses. De l’élégance et du style au quotidien pour un look chic et décontracté.",
"default_image_path": "http://www.weinparis.com/product_module/710/10/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0.25,
"section": "cat_001",
"group": "cat_004",
"category": "cat_020",
"currency": "€",
"material": "leather",
"features": "zip, ceinture",
"dimension": "33.0cm",
"date_created": "2013/10/24",
"weight": "",
"price": 240,
"product_subordinate_reference_category": "set_023",
"size_list":["one size"],
"variation_list": ["var_001"],
"subject": ""
}, {
"_id": "pro_118",
"brand": "Eleven Paris",
"brand_id": "brand_eleven_paris",
"description_short": "Che W TS",
"description_long": "",
"default_image_path": "http://www.weinparis.com/product_module/118/21/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_014",
"currency": "€",
"material": "50% Cotton 50%Modal",
"features": "",
"dimensions": "33.0cm",
"date_created": "2013/09/01",
"weight": "",
"price": 35,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list": ["var_002"],
"subject": ""
}, {
"_id": "pro_119",
"brand": "Eleven Paris",
"brand_id": "brand_eleven_paris",
"description_short": "Che W TS ",
"description_long": "",
"default_image_path": "http://www.weinparis.com/product_module/119/22/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_016",
"currency": "€",
"material": "50% Cotton 50%Modal",
"features": "",
"dimensions": "",
"date_created": "2014/02/01",
"weight": "",
"price": 40,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list": ["var_034", "var_035"],
"subject": ""
}, {
"_id": "pro_665",
"brand": "See U Soon",
"brand_id": "brand_see_u_soon",
"description_short": "Chemise Charlotte ",
"description_long": "",
"default_image_path":"http://www.weinparis.com/product_module/655/16/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_012",
"currency": "€",
"material": "100% Polyester",
"features": "",
"dimensions": "",
"date_created": "2014/02/04",
"weight": "",
"price": 65,
"size_list":["T0", "T1", "T2", "T3", "T4"],
"product_subordinate_reference_category": "set_032",
"variation_list": ["var_033"],
"subject": ""
}, {
"_id": "pro_143",
"brand": "See U Soon",
"brand_id": "brand_see_u_soon",
"description_short": "Dardoot Top Georgia",
"description_long": "",
"default_image_path": "http://www.weinparis.com/product_module/143/23/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_014",
"currency": "€",
"material": "100%Linen",
"features": "",
"dimensions": "",
"date_created": "2013/11/21",
"weight": "",
"price": 65,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list":["var_031", "var_032"],
"subject": ""
}, {
"_id": "pro_128",
"brand": "Eleven Paris",
"brand_id": "brand_eleven_paris",
"description_short": "Daisy Pants",
"description_long": "Pantalons en coton La matière de ce produit a un aspect délavé Coupe slim pantalon près du corps Fermeture zip sous patte Zips aux jambes",
"default_image_path":"http://www.weinparis.com/product_module/128/23/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_015",
"currency": "€",
"material": "",
"features": "",
"dimensions": "",
"date_created": "2013/05/16",
"weight": "",
"price": 98,
"size_list":["T0", "T1", "T2", "T3", "T4"],
"product_subordinate_reference_category": "set_032",
"variation_list": ["var_028", "var_029", "var_030"],
"subject": ""
}, {
"_id": "pro_247",
"brand": "Part Two",
"brand_id": "brand_part_two",
"description_short": "Croyden Shirt",
"description_long": "Haut en dentelle avec bordure contrastante pour un look graphique et féminin. Avec un style court, en forme carrée, ce haut élégant repose sur une conception de dentelle florale symétrique avec garniture noire pour un look saisissant et moderne. Idéal avec une jupe taille haute ou pantalon pour une silhouette moderne et flatteuse. col rond zip au dos Bordure contrastante au col, les manches et fermeture éclair lavé à la main",
"default_image_path":"http://www.weinparis.com/product_module/247/14/default_image?display=large&format=jpg",
"teaser_image_path": "http://www.weinparis.com/product_module/247/14/5?format=jpg&display=large",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_016",
"currency": "€",
"material": "",
"features": "",
"dimensions": "",
"date_created": "2014/03/02",
"weight": "",
"price": 99.95,
"size_list":["34", "36", "38", "40", "42"],
"product_subordinate_reference_category": "set_038",
"variation_list": ["var_027"],
"subject": ""
}, {
"_id": "pro_651",
"brand": "Part Two",
"brand_id": "brand_part_two",
"description_short": "Chemise Francoise",
"description_long": "",
"default_image_path": "http://www.weinparis.com/product_module/651/15/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_012",
"currency": "€",
"material": "100% SILK",
"features": "",
"dimensions": "",
"date_created": "2013/11/21",
"weight": "",
"price": 89,
"size_list":["T0", "T1", "T2", "T3", "T4"],
"product_subordinate_reference_category": "set_032",
"variation_list": ["var_026"],
"subject": ""
}, {
"_id": "pro_595",
"brand": "See U Soon",
"brand_id": "brand_see_u_soon",
"description_short": "Debardeur Eve",
"description_long": "Debarteur en Polyester. matière souple et très résistante. entretien facile Coupe ample Fermeture éclair sur le dos",
"default_image_path": "http://www.weinparis.com/product_module/595/15/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_014",
"currency": "€",
"material": "100% SILK",
"features": "",
"dimensions": "",
"date_created": "2012/12/01",
"weight": "",
"price": 45,
"size_list":["T0", "T1", "T2", "T3", "T4"],
"product_subordinate_reference_category": "set_032",
"variation_list": ["var_025"],
"subject": "best"
}, {
"_id": "pro_78",
"brand": "Marie Sixtine",
"brand_id": "brand_marie_sixtine",
"description_short": "Debardeur Oscar",
"description_long": "Debardeur bi-matière Col rond San manches oupe ajustée",
"default_image_path": "http://www.weinparis.com/product_module/78/12/default_image?display=large&format=jpg",
"teaser_image_path": "http://www.weinparis.com/product_module/78/12/5?format=jpg&display=large",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_014",
"currency": "€",
"material": "",
"features": "",
"dimensions": "",
"date_created": "2014/02/09",
"weight": "",
"price": 45,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list": ["var_023", "var_024"],
"subject": ""
}, {
"_id": "pro_721",
"brand": "Nat et Nin",
"brand_id": "brand_nat_et_nin",
"description_short": "Debbie",
"description_long": "Un grand portefeuille à glisser dans son sac la journée qui le soir venu se transforme en petite pochette avec sa bandoulière amovible. Maligne et discrète, Debbie c’est le compagnon idéal pour emporter l’essentiel avec soi. Un modèle original et dans l’air du temps pour la femme indépendante Nat & Nin.",
"default_image_path": "http://www.weinparis.com/product_module/721/10/default_image?display=large&format=jpg",
"teaser_image_path":"",
"rebate": 0,
"section": "cat_001",
"group": "cat_004",
"category": "cat_019",
"currency": "€",
"material": "Leather",
"features": "Zip , Ceinture",
"dimensions": "12.5cm",
"date_created": "2013/10/11",
"weight": "",
"price": 90,
"size_list":["one size"],
"product_subordinate_reference_category": "set_023",
"variation_list": ["var_019", "var_020", "var_021", "var_022"],
"subject": ""
}, {
"_id": "pro_588",
"brand": "Caroline Vermeille",
"brand_id": "brand_caroline_vermeille",
"description_short": "Doggy trendy",
"description_long": "Caroline Vermeille, jeune créatrice passionnée de design textile lance sa marque de foulards 100% en soie. Elle choisit une fabrication française en laissant le soin de l'impression à un teinturier de la région lyonnaise, soucieux de son environnement et applicant les normes iso 14001.",
"default_image_path": "http://www.weinparis.com/product_module/588/12/default_image?display=large&format=jpg",
"teaser_image_path":"",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_018",
"currency": "€",
"material": "",
"features": "",
"dimensions": "Largeur: 63.0 cm",
"date_created": "2012/09/01",
"weight": "",
"price": 59.95,
"size_list":["one size"],
"product_subordinate_reference_category": "set_023",
"variation_list": ["var_017", "var_018"],
"subject": "best"
}, {
"_id": "pro_139",
"brand": "Eleven Paris",
"brand_id": "brand_eleven_paris",
"description_short": "Dooth Skirt",
"description_long": "Jupe 100% Viscose, matière à l'aspect fluide et soyeux. Imprimé graphique/géométrique Poches italiennes, Fermeture sur le devant Lien passant sous couture à nouer",
"default_image_path": "http://www.weinparis.com/product_module/139/27/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_013",
"currency": "€",
"material": "",
"features": "",
"dimensions": "",
"date_created": "2013/11/21",
"weight": "",
"price": 130,
"size_list":["34", "36", "38", "40", "42"],
"product_subordinate_reference_category": "set_038",
"variation_list": ["var_016"],
"subject": ""
}, {
"_id": "pro_700",
"brand": "Nat et Nin",
"brand": "Nat et Nin",
"description_short": "DOROTHY",
"description_long": "L’allure est faussement ingénue, le format généreux, les possibilités de rangement illimitées. Un sac urbain et intelligent, créé pour répondre à toutes les exigences des aventurières modernes. Cuir de vachette véritable. Doublure coton.",
"default_image_path": "http://www.weinparis.com/product_module/700/18/default_image?display=large&format=jpg",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_004",
"category": "cat_020",
"currency": "€",
"material": "Leather",
"features": "Zip , Ceinture",
"dimensions": "Hauteur: 24.0 cm",
"date_created": "2013/12/21",
"weight": "550.0g",
"price": 180,
"size_list":["one size"],
"product_subordinate_reference_category": "set_023",
"variation_list": ["var_012", "var_013", "var_014", "var_015"],
"subject": ""
}, {
"_id": "pro_317",
"brand": "Nat et Nin",
"brand": "Nat et Nin",
"description_short": "DOROTHY",
"description_long": "Bandoulière réglable et amovible. Fermeture zip. Poches zippées avant/ arrière et poches intérieures. Cuir de vachette véritable. Doublure coton.",
"default_image_path": "http://www.weinparis.com/product_module/317/15/default_image?format=jpg&display=large",
"teaser_image_path": "",
"rebate": 0,
"section": "cat_001",
"group": "cat_004",
"category": "cat_020",
"currency": "€",
"material": "Leather",
"features": "Zip , Ceinture",
"dimensions": "",
"date_created": "2014/01/01",
"weight": "",
"price": 180,
"size_list":["one size"],
"product_subordinate_reference_category": "set_023",
"variation_list": ["var_007", "var_008", "var_009", "var_010", "var_011"],
"subject": "best"
} , {
"_id": "pro_521",
"brand": "Marie Sixtine",
"brand_id": "brand_marie_sixtine",
"description_short": "Astrid",
"description_long": "",
"default_image_path":"http://www.weinparis.com/product_module/521/10/default_image?format=jpg&display=large",
"teaser_image_path":"",
"rebate": 0,
"section": "cat_001",
"group": "cat_003",
"category": "cat_009",
"currency": "€",
"material": "60%LAINE 40%TENCEL 100% SOIE ",
"features": "",
"dimensions": "",
"date_created": "2014/04/02",
"weight": "",
"price": 95,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list": ["var_006"],
"subject": ""
}, {
"_id": "pro_138",
"brand": "Eleven Paris",
"brand_id": "brand_eleven_paris",
"description_short": "DYANE Shirt",
"description_long": "Chemise en 70%Cotton 30%Silk. super souple et lèger. Broderie en lurex sur le col.",
"default_image_path":"http://www.weinparis.com/product_module/138/27/default_image?format=jpg&display=large",
"teaser_image_path": "",
"rebate": 0,
"currency": "€",
"material": "",
"section": "cat_001",
"group": "cat_003",
"category": "cat_012",
"features": "",
"dimensions": "",
"date_created": "2013/12/21",
"weight": "",
"price": 160,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list": ["var_005"],
"subject": ""
}, {
"_id": "pro_133",
"brand": "Eleven Paris",
"description_short": "EDWA Shirt",
"description_long": "100% Tencel, matéreil fluide, confortable à porter. Conseils d'entretien: Ne pas mettre au sèche-linge, Lavage en machine à 30° C",
"default_image_path": "http://www.weinparis.com/product_module/133/27/default_image?format=jpg&display=large",
"teaser_image_path": "",
"rebate": 0,
"currency": "€",
"material": "",
"features": "",
"section": "cat_001",
"group": "cat_003",
"category": "cat_012",
"dimensions": "",
"date_created": "2014/02/01",
"weight": "",
"price": 115,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list": ["var_004"],
"subject": "best"
}, {
"_id": "pro_580",
"brand": "Darling",
"brand_id": "brand_darling",
"description_short": "Elsa Dress",
"description_long": "77%POLYESTER 3%ELASTANE 20%RAYON ",
"default_image_path": "http://www.weinparis.com/product_module/580/9/default_image?format=jpg&display=large",
"teaser_image_path": "",
"rebate": 0,
"currency": "€",
"section": "cat_001",
"group": "cat_003",
"category": "cat_009",
"material": "",
"features": "Zip, Ceinture",
"dimensions": "",
"date_created": "2013/12/01",
"weight": "",
"price": 95,
"size_list":["XS", "S", "M", "L", "XL", "XXL"],
"product_subordinate_reference_category": "set_025",
"variation_list":["var_003"],
"subject": ""
}
]
\ No newline at end of file
{
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"include_docs": true},
"property_dict": {
"initial_query_url_identifier": "_id",
"spawn_on": "size_list",
"wrap_gadget": 2
},
"scheme":[{
"position": "center",
"field_list":[
{"field": "size_list", "type": "span"}
]
}, {
"position": "right",
"field_list": [
{"field": "_id", "setKey": "id", "type": "radio"}
]
}],
"children": [{
"type": "h3",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.choose_size"}
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"inset": "true",
"class_list": "custom_force_position",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}
\ No newline at end of file
{
"portal_type_source": "Product Individual Variation",
"portal_type_title": "product_individual_variation",
"skip_total_records": true,
"initial_query": {"include_docs": true},
"property_dict": {
"initial_query_url_identifier": "reference",
"wrap_gadget": 2
},
"scheme":[{
"position": "center",
"field_list":[
{"field": "title", "type": "h3"}
]
}, {
"position": "right",
"field_list": [
{"field": "_id", "setKey": "id", "type": "radio"}
]
}],
"children": [{
"type": "h3",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.choose_color"}
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"inset": "true",
"class_list": "custom_force_position",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}
\ No newline at end of file
{
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"include_docs": true, "limit": [0,1]},
"property_dict": {
"initial_query_url_indentifier": "_id",
"direct_map": true,
"wrap_gadget": 2
},
"children": [{
"generate": "widget",
"type": "controlbar",
"property_dict": {
"dynamic": true
},
"children": [
{
"type": "h3",
"direct": {"className": "product_headline"},
"logic": {"setParam": [["text", "brand"]]}
},
{
"type": "p",
"direct": {"className": "product_headline_short"},
"logic": {"setParam": [["text", "description_short"]]}
},
{
"type": "p",
"direct": {"className": "product_headline_price ui-li-aside"},
"logic": {"setParam": [["text", "price"], ["text", "currency"]]}
},
{
"type": "hr",
"direct": {"className": "ui-hr"}
},
{
"type": "p",
"direct": {"className": "product_desc ui-content-element"},
"logic": {"setParam": [["text", "description_long"]]}
},
{
"type": "hr",
"direct": {"className": "ui-hr"}
}
]
}]
}
\ No newline at end of file
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header-detail",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title_i18n": "global_dict.detail_search"
},
"children":[{
"type": "a",
"direct": {
"href": "#",
"className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
}
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text_i18n": "global_dict.brands",
"title_i18n": "global_dict.click_brands",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
},
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{
"type": "input",
"direct": {"className": "action translate"},
"attributes": {"type": "submit", "data-column": "brand_id", "data-i18n": "[value]global_dict.search_brands", "data-action": "custom_checkbox_search"},
"logic": {"wrapper_class_list": " skim_button ui-btn-icon-right ui-icon-search "}
}, {
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'sub_websection'", "include_docs": true, "select_list": ["_id", "title", "title_i18n"]},
"property_dict": {
"search": {
"no_wrap": true,
"text_i18n": "global_dict.filter"
}
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}, {
"position": "right",
"field_list": [
{"field": "_id", "setKey": "id", "type": "check"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children": []
}]
}]
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text_i18n": "global_dict.categories",
"title_i18n": "global_dict.click_categories",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
},
"children": [{
"type": "input",
"direct": {"className": "action translate"},
"attributes": {"type": "submit", "data-column": "category", "data-i18n": "[value]global_dict.search_categories", "data-action": "custom_checkbox_search"},
"logic": {"wrapper_class_list": " skim_button ui-btn-icon-right ui-icon-search "}
}, {
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'product_category'", "include_docs": true, "select_list": ["_id", "title", "title_i18n"]},
"property_dict": {
"search": {
"no_wrap": true,
"text_i18n": "global_dict.filter"
}
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}, {
"position": "right",
"field_list": [
{"field": "_id", "setKey": "id", "type": "check"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children": []
}]
}
]
}
]
}
\ No newline at end of file
{
"children":[
{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header-groups",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title_i18n": "global_dict.categories"
},
"children":[{
"type": "a",
"direct": {
"href": "#",
"className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
}
}]
},
{
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'product_group'", "include_docs": true, "select_list": ["_id", "title", "title_i18n"]},
"property_dict": {},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}, {
"position": "right",
"field_list": [
{"field": "_id", "setKey": "id", "type": "check"}
]
}
],
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{
"type": "input",
"direct": {"className": "action translate"},
"attributes": {"type": "submit", "data-column": "group", "data-i18n": "[value]global_dict.search_categories", "data-action": "custom_checkbox_search"},
"logic": {"wrapper_class_list": " skim_button ui-btn-icon-right ui-icon-search "}
}]
},{
"generate":"widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children": []
}]
}
]
}
\ No newline at end of file
{
"property_dict": {},
"children":[{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header-sort",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title_i18n": "global_dict.sort"
},
"children":[{
"type": "a",
"direct": {
"href": "#",
"className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes": {
"data-enhanced": true,
"data-rel": "close"
}
}]
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem"
},
"children": [
{"type": "item", "href": "#product_module&sort:date_created=descending", "center": [{"type": "h1", "text_i18n":"global_dict.latest"}]},
{"type": "item", "href": "#product_module&sort:price=descending", "center": [{"type": "h1","text_i18n":"global_dict.lowest"}]},
{"type": "item", "href": "#product_module&sort:price=ascending", "center": [{"type": "h1","text_i18n":"global_dict.highest"}]}
]
}
]
}
\ No newline at end of file
{
"_links": {
"object_view": [
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Person_view?portal_skin=Hal", "name": "View"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Person_viewDetails?portal_skin=Hal", "name": "Details"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Person_viewAssignment?portal_skin=Hal", "name": "Assignments"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Entity_viewAccountingTransactionList?portal_skin=Hal", "name": "Transactions"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Person_viewFinancialInformationList?portal_skin=Hal", "name": "Financial Information"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Base_viewDocumentList?portal_skin=Hal", "name": "Documents"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Base_viewEventList?portal_skin=Hal", "name": "Events"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Person_viewCredential?portal_skin=Hal", "name": "Credential"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Base_viewContentTranslation?portal_skin=Hal", "name": "Translation"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Base_viewConsistency?portal_skin=Hal", "name": "Consistency"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Base_viewHistory?portal_skin=Hal", "name": "History"},
{"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/Base_viewMetadata?portal_skin=Hal", "name": "Metadata"}
],
"self": {"href": "http://10.0.109.248:12002/erp5/person_module/20130611-1F796/ERP5Document_getHateoas"},
"type": {"href": "http://10.0.109.248:12002/erp5/portal_types/Person/ERP5Document_getHateoas?portal_skin=Hal", "name": "Person"}
},
"title": "Person 22\u00f6"
}
[
{type: fieldlist, span: 2, gadget: bar},
{type: fieldlist, span: 1, gadget: baz},
{type: fieldlist, span: 1, gadget: bam},
{type: tabs, span: 2, tabs: [
[
{type: fieldlist: span: 1, gadget: piz},
{type: fieldlist: span: 1, gadget: paz},
{type: listbox: span: 2, gadget: puz}
], [
{type: fieldlist: span: 2, gadget: poz},
{type: listbox: span: 2, gadget: pez},
{type: listbox: span: 2, gadget: pyz}
], [
{type: fieldlist: span: 2, gadget: abc},
]
]
},
{type: listbox: span: 2, gadget: zzz}
]
Questions:
> If tabs only include "sub-layouts", we don't need to fetch the tab-gadget
configuration, which would recursively re-run the gadget loop and
fetch all gadgets. Would make syntax coherent, but requires another
HTTP request for getting the gadget configuration.
Page layout action/jumps/tasks...
> new listview API!
"portal_type_source": "Person",
"portal_type_title": "person",
"actions": {
"jump": {
"hash": null,
"items": [
{"type": "", "href":"", "title":"", "title_i18n":""}
]
},
"action": {
"hash":null,
"items": [
{"type": "", "href":"", "title":"", "title_i18n":""}
]
},
"export": {
"hash":null,
"items": [
{"type": "", "href":"", "title":"", "title_i18n":""}
]
},
"favorites": {
"hash": null,
"items": [
{"type": "divider", "texts":[{"type":"h1", "text":"-- Bug Event workflow --", "text_i18n":""}]},
{"type": "item", "count": 46, "texts":[{"type":"h1", "text":"Bug Lines to Send", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Bug Workflow --", "text_i18n":""}]},
{"type": "item", "count": 278, "texts":[{"type":"h1", "text":"Open Bugs", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 12, "texts":[{"type":"h1", "text":"Bugs to Resolve", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 617, "texts":[{"type":"h1", "text":"Bugs to Follow", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 732, "texts":[{"type":"h1", "text":"Bugs Assigned to Follow", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Document Ingestion Workflow --", "text_i18n":""}]},
{"type": "item", "count": 12, "texts":[{"type":"h1", "text":"Ingested Documents", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Document Publication Workflow --", "text_i18n":""}]},
{"type": "item", "count": 5, "texts":[{"type":"h1", "text":"Documents to Submit", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 29, "texts":[{"type":"h1", "text":"Documents to Review", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Events Workflow --", "text_i18n":""}]},
{"type": "item", "count": 560, "texts":[{"type":"h1", "text":"Planned Events to Confirm", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 10, "texts":[{"type":"h1", "text":"Confirmed Events to Generate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Inventory Workflow --", "text_i18n":""}]},
{"type": "item", "count": 7, "texts":[{"type":"h1", "text":"Inventories to validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Order Workflow --", "text_i18n":""}]},
{"type": "item", "count": 6, "texts":[{"type":"h1", "text":"Purchase Orders to Plan", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 1, "texts":[{"type":"h1", "text":"Purchase Orders to Confirm", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 174, "texts":[{"type":"h1", "text":"Sale Orders to Plan", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 7, "texts":[{"type":"h1", "text":"Sale Orders to Order", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 9, "texts":[{"type":"h1", "text":"Sale Orders to Confirm", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 143, "texts":[{"type":"h1", "text":"Offered Sale Orders to Follow", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Packing List Workflow --", "text_i18n":""}]},
{"type": "item", "count": 112, "texts":[{"type":"h1", "text":"Sale Packing List to Prepare", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 12, "texts":[{"type":"h1", "text":"Sale Packing List to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 102, "texts":[{"type":"h1", "text":"Sale Packing List to Solve", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Project Workflow --", "text_i18n":""}]},
{"type": "item", "count": 1, "texts":[{"type":"h1", "text":"Project to Open", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Task Report Workflow --", "text_i18n":""}]},
{"type": "item", "count": 4, "texts":[{"type":"h1", "text":"Task Reports to Follow", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Task Workflow --", "text_i18n":""}]},
{"type": "item", "count": 2, "texts":[{"type":"h1", "text":"Tasks to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 1, "texts":[{"type":"h1", "text":"Tasks to Order", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Validation Workflow --", "text_i18n":""}]},
{"type": "item", "count": 3689, "texts":[{"type":"h1", "text":"Persons to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 1759, "texts":[{"type":"h1", "text":"Organisations to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 123, "texts":[{"type":"h1", "text":"Products to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 106, "texts":[{"type":"h1", "text":"Services to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 5, "texts":[{"type":"h1", "text":"Sale Trade Conditions to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 5, "texts":[{"type":"h1", "text":"Transformations to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 2, "texts":[{"type":"h1", "text":"Sale Supplies to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "count": 1, "texts":[{"type":"h1", "text":"Purchase Supplies to Validate", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- Other --", "text_i18n":""}]},
{"type": "item", "texts":[{"type":"h1", "text":"Update Credentials", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "texts":[{"type":"h1", "text":"Undo", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "divider", "texts":[{"type":"h1", "text":"-- User --", "text_i18n":""}]},
{"type": "item", "texts":[{"type":"h1", "text":"Preferences", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]},
{"type": "item", "texts":[{"type":"h1", "text":"Log out", "text_i18n":""}], "actions":[{"type":"link", "href":"index.html"}]}
]
}
},
"controls": {
"header": [
[
{"action":"navigate","active":"true"},
{"action":"tasks", "active": "true"}
],[
{"action":"login", "active":"true"},
{"action":"home","active":"true"}
]
],
"footer": [
{"action":"jump", "active":"true"},
{"action":"add", "active":"false"},
{"action":"remove","active":"false"},
{"action":"action","active":"true"},
{"action":"export", "active":"true"}
]
},
"status": {},
"breadcrumbs": {}
}
\ No newline at end of file
==============================================================================
Draft API
==============================================================================
------------------------------------------------------------------------------
sections:
------------------------------------------------------------------------------
> Info:
> A section defines a section of content
> Syntax:
=============================================================
type Type of element (fieldlist, tabs, listbox, ...)
span "Columns" to span - 1/2/more
gadget Id of gadget to load
=============================================================
> Notes:
> Types must have a construct[Type] method to build the type of element
> The gadget configuration defines the "instance" of the type
> To add own types add construct[Type] method
> Example JSON:
[
{"type": "fieldlist", "span": 2, "gadget": "bar"},
{"type": "fieldlist", "span": 1, "gadget": "baz"},
{"type": "fieldlist", "span": 1, "gadget": "bam"},
{"type": "tabs", "span": 2, "gadget": "foo"},
{"type": "listbox": "span": 2, "gadget": "zzz"}
]
> Example HTML:
<div class="span_2">
<div class="gadget" data-gadget-type="fieldlist" data-gadget-id="bar"></div>
</div>
<div class="span_1">
<div class="gadget" data-gadget-type="fieldlist" data-gadget-id="baz"></div>
</div>
<div class="span_1">
<div class="gadget" data-gadget-type="fieldlist" data-gadget-id="bam"></div>
</div>
<div class="span_2">
<div class="gadget" data-gadget-type="tabs" data-gadget-id="foo"></div>
</div>
<div class="span_2">
<div class="gadget" data-gadget-type="listbox" data-gadget-id="zzz"></div>
</div>
------------------------------------------------------------------------------
Pages:
------------------------------------------------------------------------------
> Info:
> A module can have one ore more layouts corresponding to pages
> Every hierarchy level needs a layout (one for Persons, on for Person, etc)
> A page must have at least one "default" section
>
> Syntax:
=============================================================
[page_name] link parameter(s) to determine page (?container=a&palette=x)
title Page title to set
title_i18n Client-side translation lookup value
theme Page theme (handles all JQM CSS)
fixed Fix header/footer for this page (default to true)
sections See "sections"
=============================================================
> Example JSON (container > palette > box > items > item = 5 hierarchies)
{
"default": {
"title": "Container",
"theme": "erp5_blue",
"fixed": true,
"title_i18n": null,
"sections": [{"type": "listbox", "span": 2, "gadget": "container_a"}]
},
"palettes": {
"title": "Palette",
"title_i18n": null,
"sections": [{"type": "listbox", "span": 2, "gadget": "palette_content_x"}]
},
"boxes": {
"title": "Box",
"title_i18n": null,
"sections": [{"type": "listbox", "span": 2, "gadget": "box_content_x"}]
},
"items": {
"title": "Items",
"title_i18n": null,
"sections": [{"type": "listbox", "span": 2, "gadget": "box_items_x"}]
},
"item": {
"title": "Item",
"title_i18n": null,
"sections": [
{"type": "fieldlist", "span": 1, "gadget": "item_foo"},
{"type": "fieldlist", "span": 1, "gadget": "item_foo_seller"},
{"type": "listbox", "span": 2, "gadget": "item_ingredients"}
]
}
}
LIST:
"generate": "gadget",
"type": "listview",
"class_list": "",
"theme": "slapos-black",
"property_dict": {
"inset": true,
"filter": true,
"reveal": true,
"input": "#bar",
"divider-theme": "slapos-white",
"autodividers": true,
"count-theme": "slapos-white",
},
"id": null,
"children": [
// sample item with all options
{
"type": "item",
"external": true,
"href": "index.html",
"left": {
"icon": "foo",
"img": "http://www.xyz.com/img/foo.png"
},
"center": {
"count": 3689,
"aside": [
{"type":"p", "text":"foo", "text_i18n":null}
],
"text": [
{"type":"h1", "text":"Persons to Validate", "text_i18n":""}
]
},
"right": {
"icon": "foo/false",
"radio": true,
"checkbox": true,
"action": "foo",
"href": "http://www.foo.com",
"external": true
}
]
POPUP:
{
"generate": "widget",
"type":"Popup",
"class_list": "",
"theme": "",
"id": null,
"property_dict": {
"overlay-theme": null,
"transition": "fade",
"position-to": "window",
"tolerance": "30,30,30,30",
"shadow": true
},
"element": null,
"children": []
}
HEADER:
{
"generate": "widget",
"type": "Header",
"class_list": "",
"theme": "",
"id": null,
"property_dict": {
"title": "",
"title_i18n":"",
"fixed": true
},
"children": [
<<examples>>
{
"type":"img",
"direct": {
"src": "http://www.foo.com/bar.jpg",
"alt": "foo",
"alt_i18n": "bar"
}
}, {
"generate": "widget",
"type": "controlgroup",
"class_list": null,
"id": null,
"form": null,
"theme": null,
"children": [
{"type": "a", "direct": {}, "attributes": {}, "logic": {}}
]
}
]
}
CONTROLGROUP:
{
"generate": "controlgroup",
"id": null,
"class_list": null,
"theme": null,
"property_dict": {
"direction": "horizontal"
},
"children": [
{"type":a, "direct": {}, "attributes": {}, "logic": {}}
]
}
FOOTER:
{
"generate":"widget",
"type": "footer",
"class_list": null,
"id": "null",
"theme": "slapos-white",
"property_dict": {
"fixed": true
},
"children": []
}
NAVBAR:
{
"generate": "widget",
"type": "navbar",
"class_list": null,
"id": null,
"theme": "slapos-white",
"property_dict": {},
"children":[]
}
PANEL:
{
"generate": "widget",
"type": "panel",
"class_list": "",
"id": "global_panel",
"theme": "slapos-black",
"property_dict": {
"close": true
},
"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