Commit c4e101c2 authored by Sven Franck's avatar Sven Franck

add gadgets for instance detail page

parent eb88c798
{
"portal_type_source": "Hosting Subscription",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"form": true,
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"dynamic_children": [0],
"requires_authentication": true,
"depends_on": "login_state"
},
"scheme": [
{
"position": "left",
"fieldlist": [
{"field": "reference", "overrides": {"properties": {"editable": false}}},
{"field": "title", "overrides": {"properties": {"editable": false}}},
{"field": "source_reference", "overrides": {"properties": {"editable": false}}},
{"field": "status", "overrides": {"properties": {"editable": false}}}
]
},
{
"position": "center",
"fieldlist": [
{"type": "a", "direct": {}, "attributes": {"data-external":true}, "logic":{"setters": ["href", "text"], "setValue":"url_string"}},
{"field": "text_content", "overrides": {"widget": {"title": "Instance XML Recipe", "title_i18n": "portal_type_dict.service_dict.text_dict.recipe"}}}
]
}
],
"children": [
{
"generate": "widget",
"type": "form",
"class_list": "responsive",
"property_dict": {
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": []
}
]
}
{
"portal_type_source": "Hosting Subscription",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"portal_type_mapper": "subscriptions",
"form": true,
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"dynamic_children": [1],
"wrap_gadget": 2,
"caption": {
"slot": 1,
"text": "Connection parameters",
"text_i18n": "portal_type_dict.service_dict.text_dict.connection_param"
}
},
"scheme": [
{
"position": "header",
"fieldlist": [
{"field": "connection_url", "show": true, "priority": 1},
{"field": "connection_backend_url", "show": true, "priority": 2},
{"field": "connection_password", "show": true, "priority": 6}
]
},
{
"position": "body",
"fieldlist": [
{"field": "connection_url", "show": true, "priority": 1},
{"field": "connection_backend_url", "show": true, "priority": 2},
{"field": "connection_password", "show": true, "priority": 6}
]
}
],
"children": [{
"generate": "widget",
"type": "table",
"class_list": "table-stroke ui-responsive",
"property_dict": {
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"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