Commit e1060f36 authored by Sven Franck's avatar Sven Franck

JSON config data cleanup

parent b7d80048
{
"title": "Computers",
"title_i18n": "",
"portal_type_source": "",
"portal_type_title":"",
"options": {
"jump": {"hash": "","items": [{"href":"", "title":"", "title_i18n":""}]},
"action": {"hash":"", "items": [{"href": "", "title": "", "title_i18n":""}]},
"export": {"hash":"", "items": [{"href": "", "title": "", "title_i18n":""}]}
},
"toolbars": {
"header": [
[
{"control":"navigate","active":"true"}
],[
{"control":"login", "active":"true"},
{"control":"home","active":"true"}
]
],
"footer": [
{"control":"jump", "active":"true"},
{"control":"add", "active":"true"},
{"control":"remove","active":"true"},
{"control":"action","active":"true"},
{"control":"export", "active":"true"}
]
},
"gadgets": {
"account_actions": {
"portal_type_source": "Persons",
"portal_type_title": "account",
"layout": {
"type": "controlgroup",
"direction": "vertical",
"class": "center",
"buttons": [
{"type": "a", "direct": {"href": "", "className": "translate action ui-btn ui-shadow ui-icon-lock ui-btn-active ui-corner-all ui-btn-icon-left"}, "attributes": {"data-reference": "request_ssl", "data-i18n":""},"logic": {"text": "Request SSL Certificate"}},
{"type": "a", "direct": {"href": "", "className": "translate action ui-btn ui-shadow ui-icon-unlock ui-btn-active ui-corner-all ui-btn-icon-left"},"attributes": {"data-reference": "revoke_ssl", "data-i18n":""}, "logic": {"text": "Revoke SSL Certificate"}},
{"type": "a", "direct": {"href": "", "className": "translate action ui-btn ui-shadow ui-icon-lock ui-btn-active ui-corner-all ui-btn-icon-left"}, "attributes": {"data-reference": "request_computer_token", "data-i18n":""}, "logic": {"text": "Computer Security Token"}},
{"type": "a", "direct": {"href": "", "className": "translate action ui-btn ui-shadow ui-icon-lock ui-btn-active ui-corner-all ui-btn-icon-left"},"attributes": {"data-reference": "request_credential_token", "data-i18n":""}, "logic": {"text": "Credential Security Token"}}
]
}
},
"fieldlist_01": {
"portal_type_source": "Persons",
"portal_type_title":"person",
"base_element": {},
"form_wrapper": {"type":"form", "direct":{"id": "form_get_subscriptions", "className": "jio_trigger validate"}, "attributes":{"data-reference": "getSomeSubscriptions"},"logic":{}},
"layout": {
"blocks": [
{"fullscreen": true, "fields": ["my_first_name", "my_last_name", "my_participation_number", "my_zip_code"], "overrides": {},"actions": [{ "type": "controlgroup", "direction": "horizontal", "class": "right ", "controls_class": "", "buttons": [{ "type": "a", "direct": { "href": "payments.html", "className": "ui-btn-aide-brown translate action_submit ui-link ui-btn ui-btn-inline ui-shadow ui-corner-all ui-icon-signout ui-corner-all ui-btn-icon-right ui-first-child ui-last-child" }, "attributes": { "data-theme": "aide-brown", "data-type": "person", "data-form": "form_get_subscriptions", "data-role":"button", "data-icon":"signout", "data-i18n":"", "data-iconpos":"right" },"logic": {"text": "Soumettre"}}]}]}
]
}
}
}
}
\ No newline at end of file
{
"portal_type_source": "Sale Invoice Transaction",
"portal_type_title": "invoices",
"portal_type_fields": "invoices_fields",
"base_element": {"type": "table", "direct": {"id": "invoices_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_invoices","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1, "data-sorting":"true"}, "logic": {}},
"form_wrapper": null,
"initial_query": {"include_documents": true, "limit":[0,10]},
......
{
"title": "Computers",
"title_i18n": "",
"portal_type_source": "",
"portal_type_title":"",
"options": {
"jump": {"hash": "","items": [{"href":"", "title":"", "title_i18n":""}]},
"action": {"hash":"", "items": [{"href": "", "title": "", "title_i18n":""}]},
"export": {"hash":"", "items": [{"href": "", "title": "", "title_i18n":""}]}
},
"toolbars": {
"header": [
[
{"control":"navigate","active":"true"}
],[
{"control":"login", "active":"true"},
{"control":"home","active":"true"}
]
],
"footer": [
{"control":"jump", "active":"true"},
{"control":"add", "active":"true"},
{"control":"remove","active":"true"},
{"control":"action","active":"true"},
{"control":"export", "active":"true"}
]
},
"field_definitions": {
"my_title": {
"type": "StringField",
"widget": {
"id": "my_title",
"alternate_name": "my_title",
"title": "Title",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"validator": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
},
"too_long": {
"message":"Too much input was given.",
"i18n": ""
}
}
},
"my_reference": {
"type": "StringField",
"widget": {
"id": "my_reference",
"alternate_name": "my_reference",
"title": "Reference",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"validator": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
},
"too_long": {
"message":"Too much input was given.",
"i18n": ""
}
}
}
},
"gadgets": {
"networks_01": {
"portal_type_source": "Computer Networks",
"portal_type_title":"networks",
"base_element": {"type": "table", "direct": {"id": "networks_1","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_invoices","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 1,"data-bottom-grid": 1}, "logic": {}},
"form_wrapper": undefined,
"configuration": {
"wrapper": [
{"caption": false, "slot":"1", "element": {"type": "p", "direct": {}, "attributes": {"data-i18n": ""}, "logic": {"text": "Networks Overview"}}, "children": []},
],
"controlbar": [
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_invoices"},"attributes":{"data-enhanced":"true", "data-i18n": "","placeholder":"Search Invoices", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},"logic":{"clear":"true", "action":"search"}}, "children":[]},
{"record_info": false, "element": {"type": "span", "direct": {"className":"record_info invoices_01"}}, "children":[]},
{"filter_info": false, "element": {"type": "span", "direct": {"className":"filter_info invoices_01"}}, "children":[]}
],
"table": {}
},
"layout": {
"columns": [
{"title": "_id", "show": false, "priority": 5 },
{"title": "my_title", "show": true, "persist":"true"},
{"title": "my_reference", "show": true, "persist":"true"}
]
},
"actions": []
},
"network_actions": {
"portal_type_source": "Computer Networks",
"portal_type_title": "networks",
"layout": {
"type": "controlgroup",
"direction": "horizontal",
"class": "action_menu center ",
"buttons": [
{"type": "a", "direct": {"href": "object.html?type=networks&mode=new", "className": "translate action ui-btn ui-btn-inline ui-shadow ui-corner-all ui-icon-sitemap ui-btn-active ui-btn-icon-left"}, "attributes": {"data-reference": "new", "data-i18n":""}, "logic": {"text": "Add Network"}}
]
}
}
},
"records": [
{
"_id":1,
"doc": {
"_id": 1,
"my_title": "foonet",
"my_reference": "NET-53"
}
}
]
"default": {
"theme": "slapos-white",
"title": "Networks",
"title_i18n": null,
"sections": []
}
}
\ No newline at end of file
{
"my_title": {
"type": "StringField",
"widget": {
"id": "my_title",
"alternate_name": "my_title",
"title": "Title",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"validator": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
},
"too_long": {
"message":"Too much input was given.",
"i18n": ""
}
}
},
"my_reference": {
"type": "StringField",
"widget": {
"id": "my_reference",
"alternate_name": "my_reference",
"title": "Reference",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"validator": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
},
"too_long": {
"message":"Too much input was given.",
"i18n": ""
}
}
}
}
\ No newline at end of file
{
"default": {
"theme": "slapos-white",
"title": "Personal Details",
"title_i18n": null,
"sections": []
}
}
\ No newline at end of file
{
"default": {
"title": "Servers",
"title_i18n": null,
"sections": []
}
}
\ No newline at end of file
{
"title": "Services",
"title_i18n": "",
"portal_type_source": "",
"portal_type_title":"",
"options": {
"jump": {"hash": "","items": [{"href":"", "title":"", "title_i18n":""}]},
"action": {"hash":"", "items": [{"href": "", "title": "", "title_i18n":""}]},
"export": {"hash":"", "items": [{"href": "", "title": "", "title_i18n":""}]}
},
"toolbars": {
"header": [
[
{"control":"navigate","active":"true"}
],[
{"control":"login", "active":"true"},
{"control":"home","active":"true"}
]
],
"footer": [
{"control":"jump", "active":"true"},
{"control":"add", "active":"true"},
{"control":"remove","active":"true"},
{"control":"action","active":"true"},
{"control":"export", "active":"true"}
]
},
"field_definitions": {
"my_title": {
"type": "StringField",
"widget": {
"id": "my_title",
"alternate_name": "my_title",
"title": "Title",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"validator": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
},
"too_long": {
"message":"Too much input was given.",
"i18n": ""
}
}
}
},
"gadgets": {
"service_actions": {
"portal_type_source": "Hosting Subscriptions",
"portal_type_title": "services",
"layout": {
"type": "controlgroup",
"direction": "horizontal",
"class": "action_menu center ",
"buttons": [
{"type": "a", "direct": {"href": "software.html", "className": "translate action ui-btn ui-btn-inline ui-shadow ui-corner-all ui-icon-cogs ui-btn-active ui-btn-icon-left"},"attributes": {"data-reference": "new", "data-i18n":""}, "logic": {"text": "Add Software"}}
]
}
},
"services_01": {
"portal_type_source": "Hosting Subscriptions",
"portal_type_title":"services",
"base_element": {"type": "table", "direct": {"id": "services_1","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_invoices","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 1,"data-bottom-grid": 1}, "logic": {}},
"form_wrapper": undefined,
"configuration": {
"wrapper": [
{"caption": false, "slot":"1", "element": {"type": "p", "direct": {}, "attributes": {"data-i18n": ""}, "logic": {"text": "Services Overview"}}, "children": []},
],
"controlbar": [
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_invoices"},"attributes":{"data-enhanced":"true", "data-i18n": "","placeholder":"Search Invoices", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},"logic":{"clear":"true", "action":"search"}}, "children":[]},
{"record_info": false, "element": {"type": "span", "direct": {"className":"record_info invoices_01"}}, "children":[]},
{"filter_info": false, "element": {"type": "span", "direct": {"className":"filter_info invoices_01"}}, "children":[]}
],
"table": {}
},
"layout": {
"columns": [
{"title": "_id", "show": false, "priority": 5 },
{"title": "my_title", "show": true, "persist":"true"},
{"title": "image", "show": true, "persist": true, "image": true}
]
},
"actions": []
}
},
"records": [
{
"_id": 1,
"doc": {
"image": {
"href": "https://www.slapos.org/software_product_module/2/default_image/index_html?quality=75&display=thumbnail"
},
"my_title": "instance_1234556666"
}
}
]
"default": {
"title": "Services",
"title_i18n": null,
"sections": []
}
}
\ No newline at end of file
{
"my_title": {
"type": "StringField",
"widget": {
"id": "my_title",
"alternate_name": "my_title",
"title": "Title",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"validator": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
},
"too_long": {
"message":"Too much input was given.",
"i18n": ""
}
}
}
}
\ 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