Commit 1fe71353 authored by Sven Franck's avatar Sven Franck

data: removed unneeded files

parent 5ef2a12e
{
"_id": {
"type": "StringField",
"widget": {
"id": "_id",
"title": "Id",
"title_i18n": "portal_type_dict.category_dict.field_dict._id.title",
"description": "The id of this 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": "Title",
"title_i18n": "portal_type_dict.category_dict.field_dict.title.title",
"description": "The title of this category.",
"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": "Translation Pointer",
"title_i18n": "portal_type_dict.category_dict.field_dict.translation.title",
"description": "The translation lookup value of this category.",
"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": "Reference",
"title_i18n": "portal_type_dict.category_dict.field_dict.reference.title",
"description": "The reference (type) of this category.",
"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"
}
}
},
"sub_category_list": {
"type": "ListField",
"widget": {
"id": "sub_category_list",
"title": "Child Category List",
"title_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.title",
"description": "The subcategories associated with this category.",
"description_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.description",
"alternate_name": "sub_category_list",
"default_value": null,
"css_class": null,
"hidden": false,
"size": 1,
"items": null,
"select_first_item": true,
"extra_per_item": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": 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"
},
"unknown_selection": {
"message":"You selected on option not on the menu",
"i18n": "validation_dict.option_not_available"
}
}
},
"parent_category_list": {
"type": "ListField",
"widget": {
"id": "parent_category_list",
"title": "Parent Category List",
"title_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.title",
"description": "The parent categories associated with this category.",
"description_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.description",
"alternate_name": "parent_category_list",
"default_value": null,
"css_class": null,
"hidden": false,
"size": 1,
"items": null,
"select_first_item": true,
"extra_per_item": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": 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"
},
"unknown_selection": {
"message":"You selected on option not on the menu",
"i18n": "validation_dict.option_not_available"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"portal_type_source": "Person",
"portal_type_title": "person",
"portal_type_fields": "person_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"no_items": {
"message": "No person found",
"message_i18n": "portal_type_dict.person_dict.text_dict.nodata",
"children": [
{
"href": "#person_module/new",
"text": "Create person",
"text_i18n": "page_dict.person.create",
"class_list": "translate ui-btn-slapos-black",
"icon": "edit"
}
]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "gender"},
{"field": "first_name"},
{"field": "last_name"},
{"field": "default_email_text"},
{"field": "default_telephone_text"},
{"field": "default_fax_text"}
]
}, {
"position": "right",
"field_list": [
{"field": "default_address_street_address"},
{"field": "default_address_city"},
{"field": "default_address_zip_code"},
{"field": "default_address_region"},
{"field": "nationality"}
]
}
],
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"dynamic": true,
"map_children": "formItem",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "center",
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Update My Credentials", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}]
}
]
}
This diff is collapsed.
{
"_id": {
"type": "StringField",
"widget": {
"id": "_id",
"title": "Id",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict._id.title",
"description": "The id of this product variation.",
"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": "Title",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.title.title",
"description": "The title of this product variation.",
"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": "Translation Pointer",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.title",
"description": "The translation lookup value of this product variation.",
"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": "Translation Pointer",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.title",
"description": "The translation lookup value of this product variation.",
"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": "Translation Pointer",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.title",
"description": "The name of this product variation.",
"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": "Activites",
"title_i18n": "portal_type_dict.person_dict.field_dict.image_list.title",
"description": "Activities associated with this person.",
"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
This diff is collapsed.
This diff is collapsed.
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Personalize",
"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"
},
"logic": {"text": "Close"}
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Brands",
"text_i18n": "global_dict.brands",
"title": "Click to open and select brands",
"title_i18n": "global_dict.click_brands",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
},
"children": [{
"type": "input",
"direct": {"id":"select_brand", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter","placeholder":"Filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search", "add_label": false}
}, {
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'sub_websection'", "include_docs": true, "select_list": ["title", "title_i18n"]},
"property_dict": {
"check": true
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"filter": true,
"input": "#select_brand",
"dynamic": true
},
"children": []
}]
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Categories",
"text_i18n": "global_dict.categories",
"title": "Click to open and select categories",
"title_i18n": "global_dict.click_categories",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
},
"children": [{
"type": "input",
"direct": {"id":"select_category", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter","placeholder":"Filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search", "add_label": false}
}, {
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'product_category'", "include_docs": true, "select_list": ["title", "title_i18n"]},
"property_dict": {
"check": true
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"filter": true,
"input": "#select_category",
"dynamic": true
},
"children": []
}]
}
]
}
]
}
\ No newline at end of file
{
"children":[
{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Categories",
"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"
},
"logic": {"text": "Close"}
}]
},
{
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'product_group'", "include_docs": true, "select_list": ["title", "title_i18n"]},
"property_dict": {
"check": true
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}
],
"children": [{
"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",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Sales & Deals",
"title_i18n": "global_dict.deals"
},
"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"
},
"logic": {"text": "Close"}
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Sales and Deals",
"text_i18n": "global_dict.deals",
"title": "Click to open and select sales and deals",
"title_i18n": "global_dict.click_deals",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
},
"children": [
{
"generate": "widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem"
},
"children": [
{"type": "item", "href": "#products/sales", "center": {"text": [{"type": "h1","text": "Sales", "text_i18n":"global_dict.sales"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/new", "center": {"text":[{"type": "h1", "text": "New Items", "text_i18n": "global_dict.new"}]}, "right": {"check": true}}
]
}
]
}
]
}
\ No newline at end of file
{
"property_dict": {},
"children":[{
"generate": "widget",
"type": "header",
"property_dict": {
"id": "search-header",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Sort by",
"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"
},
"logic": {"text": "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": "Newest Items", "text_i18n":"global_dict.latest"}]},
{"type": "item", "href": "#product_module::sort=price,descending", "center": [{"type": "h1","text": "Lowest Price", "text_i18n":"global_dict.lowest"}]},
{"type": "item", "href": "#product_module::sort=price,ascending", "center": [{"type": "h1","text": "Highest Price", "text_i18n":"global_dict.highest"}]}
]
}
]
}
\ No newline at end of file
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