Commit c1615687 authored by Sven Franck's avatar Sven Franck

data: removed old JSON files

parent 003436d2
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Software",
"title_i18n": "portal_type_dict.software_dict.text_dict.software",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "software_overview"
}
],
"new": [
{
"href": "software_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Software",
"title_i18n": "portal_type_dict.software_dict.text_dict.software",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "release_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Release",
"title_i18n": "portal_type_dict.software_dict.text_dict.release",
"theme": "slapos-white"
},
"view_dict": {
"default": [],
"install": [
{
"href": "release_install"
}
]
}
}
]
}
{
"portal_type_source": "Software Product",
"portal_type_title": "software",
"portal_type_fields": "software_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"link": true,
"link_identifier": "id",
"link_to_view": "install",
"pagination": {
"class_list": "responsive",
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.software_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.software_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.software_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.software_dict.text_dict.64"}
]
},
"search": {
"text": "Search available software",
"text_i18n": "portal_type_dict.software_dict.text_dict.search",
"info_list": ["records", "filter", "sorted", "selected"]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "image_url", "type": "image"},
{"field": "title", "type": "alt"}
]
},
{
"position": "center",
"field_list": [
{"field": "title", "type": "h1"},
{"field": "description", "type": "p"}
]
}
],
"children": [{
"generate":"widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true,
"inset":"true"
},
"children": []
}]
}
{
"portal_type_source": "Software Release",
"portal_type_title": "release",
"portal_type_fields": "release_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"always_render": true,
"initial_query_url_identifier": "_id",
"requires_authentication": true,
"depends_on": "login_state",
"submit_to": "#services/__id__",
"url_pointer": {
"install": "request_installation"
}
},
"scheme": [],
"children": [
{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"map_children": "formItem",
"dynamic": true,
"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": "Install", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"install", "data-icon":"check", "data-i18n":"[value]portal_type_dict.release_dict.text_dict.install", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Service",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"always_render": true,
"initial_query_url_identifier": "_id",
"requires_authentication": true,
"depends_on": "login_state",
"submit_to": "#servers/__id__"
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "url_string", "overrides": {"properties":{"editable":false, "required": false}}}
]
},
{
"position": "left",
"field_list": [
{
"custom": true,
"action_list": [
{"setters": ["data-method", "href"], "setValues":[["_actions", "destroy", "method"], ["_actions", "destroy", "href"]], "class_list": "action error status translate", "iconpos": "left", "action": "destroy_installation", "icon":"trash", "text": "Destroy", "text_i18n":"portal_type_dict.service_dict.text_dict.destroy"}
]
}
]
}
],
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"map_children": "formItem",
"dynamic": true,
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": []
}]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "About",
"title_i18n": "global_dict.about",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "content_overview"
}
]
}
}
]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Blog",
"title_i18n": "global_dict.blog",
"theme": "slapos-white"
},
"view_dict": {
"default": []
}
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"portal_type_mapper": "servers",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id"
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title", "overrides": {"properties": {"editable": false, "required": false}}},
{"field": "reference", "overrides": {"properties": {"editable": false, "required": false}}}
]
},{
"position": "center",
"field_list": [
{"type": "textarea", "direct": {"name": "certificate", "id": "certificate", "className": ""}, "attributes": {"data-enhanced":"true"}, "logic": {"setFlux": "certificate", "label":"computer.crt", "label_i18n":"portal_type_dict.computer_dict.text_dict.crt", "noFlux": "Certificate is still active, please revoke existing one.", "skip":false}},
{"type": "textarea", "direct": {"name": "key", "id": "key", "className": ""}, "attributes": {"data-enhanced":"true"}, "logic": {"setFlux": "key", "label":"computer.key", "label_i18n":"portal_type_dict.computer_dict.text_dict.key", "noFlux": "Certificate is still active, please revoke existing one.", "skip":false}}
]
}
],
"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": []
}
]
}
This diff is collapsed.
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Servers",
"title_i18n": "portal_type_dict.computer_dict.text_dict.servers",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "computer_overview"
}
],
"new": [
{
"href": "computer_new"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Server Instance",
"title_i18n": "portal_type_dict.computer_dict.text_dict.server_instance",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "computer_status"
},
{
"href": "software_status"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"theme": "slapos-white",
"title": "Server Configuration",
"title_i18n": "portal_type_dict.computer_dict.text_dict.instance_configuration"
},
"view_dict": {
"default": [
{
"href": "software_installation_status"
}
],
"config": [
{
"href": "computer_view"
}
],
"scope": [
{
"href": "computer_users"
}
],
"ssl_on": [
{
"href": "computer_ssl_request"
}
],
"ssl": [
{
"href": "computer_certificate"
}
],
"installation": [
{
"href": "software_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Select Release",
"title_i18n": "portal_type_dict.computer_dict.text_dict.release",
"theme": "slapos-white"
},
"view_dict": {
"installation": [
{
"href": "release_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Install Release",
"title_i18n": "portal_type_dict.service_dict.text_dict.install_release",
"theme": "slapos-white"
},
"view_dict": {
"installation": [
{
"href": "software_installation"
}
]
}
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"form": true,
"view": "web_view",
"property_dict": {
"dynamic_children": [0],
"wrap_gadget": 2,
"submit_to": "#computer_module/__id__",
"url_pointer": {
"new": "request_computer"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"custom": true, "wrap": true, "type": "input", "direct": {"name": "computer_title", "id": "computer_title", "className": "required"}, "attributes": {"data-enhanced": true, "type": "text"}, "logic": {"clear": true, "label": "Computer Title", "label_i18n": "portal_type_dict.computer_dict.text_dict.title", "skip": false}}
]
}
],
"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": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"save", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"portal_type_mapper": "servers",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"editable": null,
"caption": {
"slot": 2,
"text": "Created Servers",
"text_i18n": "portal_type_dict.computer_dict.text_dict.created_servers"
},
"pagination": {
"slot": 4,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.computer_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.computer_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.computer_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.computer_dict.text_dict.64"}
]
},
"url_pointer": {
"jump": "current_computer"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"custom": true, "text": "Status", "text_i18n": "portal_type_dict.computer_dict.text_dict.status", "show": true, "priority": 1},
{"field": "title", "show": true, "priority": 1},
{"field": "reference", "show": true, "priority": 4},
{"field": "translated_validation_state_title", "show": "true", "priority": 4}
]
},
{
"position": "body",
"field_list": [
{"custom": true, "show": true, "priority": 1, "status": true},
{"field": "title", "show": true, "priority": 1},
{"field": "reference", "show": true, "priority": 4},
{"field": "translated_validation_state_title", "show": "true", "priority": 4}
]
}
],
"children": [{
"type": "a",
"direct": {"className":"translate ui-btn ui-icon-edit ui-btn-icon-left ui-corner-all ui-btn-inline ui-btn-slapos-black ui-link", "href": "#computer_module/new"},
"attributes": {
"data-i18n": "portal_type_dict.computer_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"New Server"}
}, {
"generate": "widget",
"type": "controlbar",
"property_dict": {
"slot": 1
},
"children": [{"type": "a", "direct": {"className": "ui-btn ui-btn-icon-left action ui-icon-sitemap ui-shadow ui-corner-all","href":"#cedric"},"attributes": {"data-action": "show_tree", "data-rel":"panel"},"logic": {"text":"Group"}}]
}, {
"generate": "widget",
"type": "table",
"property_dict": {
"dynamic": true,
"class_list": "table-stroke ui-responsive",
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 3,
"bottom_grid": 1
},
"children": []
}]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"submit_to": "#computer_module/__id__/ssl",
"url_pointer": {
"request_ssl": "generate_certificate"
}
},
"scheme": [],
"children": [{
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "portal_type_dict.computer_dict.text_dict.ssl_request_info"},
"logic": {"text": "Here you can request a new SSL certificate for computer.\nAfter presenting it please copy key and certificate and store in secure place.\nIn case of certificate compromise or lost please request it again.\nCertificate is not stored on Vifib.net servers"}
},{
"generate": "widget",
"type": "form",
"property_dict": {
"dynamic": true,
"class_list": "responsive",
"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": "Request SSL", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"request_ssl", "data-icon":"lock", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.request_ssl", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"submit_to": "#computer_module",
"url_pointer": {
"revoke_ssl": "revoke_certificate"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title", "overrides": {"properties":{"editable":false, "required": false}}},
{"field": "reference", "overrides": {"properties":{"editable":false, "required": false}}}
]
}
],
"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": {
"wrap": 1,
"class_list": "center inline"
},
"children": [
{"type": "a", "direct": {"href": "#computer_module/__id__/scope", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.scope", "data-icon":"globe"}, "logic": {"text":"Set Server Scope"}},
{"type": "a", "direct": {"href": "#computer_module/__id__/config", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.config", "data-icon":"cogs"}, "logic": {"text":"Set Configuration"}},
{"type": "a", "direct": {"href": "#computer_module/__id__/ssl_on", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.ssl_on", "data-icon":"lock"}, "logic": {"text":"Request SSL"}},
{"type": "a", "direct": {"href": "#", "className": "action ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.ssl_off", "data-icon":"unlock", "data-action":"revoke_ssl"}, "logic": {"text":"Revoke SSL"}},
{"type": "a", "direct": {"href": "#computer_module/__id__/installation", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.add_software", "data-icon": "plus"}, "logic": {"text":"Install Software"}}
]
}]
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"submit_to": "#computer_module/__id__",
"url_pointer": {
"update_scope": "update_allocation_scope"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "allocation_scope"},
{"field": "subject_list"}
]
}
],
"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 the allocation scope", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"update_scope", "data-icon":"check", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.update_scope", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view_category",
"property_dict": {
"submit_to": "#computer_module/__id__",
"initial_query_url_identifier": "_id"
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title", "overrides": {"properties": {"editable": false}}},
{"field": "reference", "overrides": {"properties": {"editable": false}}},
{"field": "url_string"},
{"field": "region"},
{"field": "group"}
]
},{
"position": "right",
"field_list": [
{"field": "cpu_frequency"},
{"field": "cpu_type"},
{"field": "memory_size"},
{"field": "memory_type"}
]
}, {
"position": "left",
"field_list": [
{"field": "storage_capacity"},
{"field": "storage_interface"},
{"field": "storage_redundancy"}
]
},{
"position": "right",
"field_list": [
{"field": "local_area_network_type"}
]
}
],
"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", "className": "action translate"}, "attributes": {"type": "submit", "data-icon":"check", "data-action":"update", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.update", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"property_dict": {},
"children": [
{
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.find_out_more_details"},
"logic": {"text": "For additional information, please refer to the following sections:"}
},
{
"generate": "widget",
"type": "listview",
"property_dict": {
"map_children": "listItem",
"theme": "slapos-black",
"inset": true
},
"children": [
{"type": "item", "href": "http://community.slapos.org/wiki", "external": true, "left": {"icon":"book"}, "center": {"text": [{"type": "h1", "text": "Documentation", "text_i18n":"global_dict.documentation"}]}},
{"type": "item", "href": "http://community.slapos.org/download", "external": true, "left": {"icon":"download"}, "center": {"text": [{"type": "h1", "text": "Download", "text_i18n":"global_dict.download"}]}},
{"type": "item", "href": "http://community.slapos.org/forum", "external": true, "left": {"icon":"comments-o"}, "center": {"text": [{"type": "h1", "text": "Forum", "text_i18n":"global_dict.forum"}]}},
{"type": "item", "href": "http://community.slapos.org/blog", "external": true, "left": {"icon":"rss"}, "center": {"text": [{"type": "h1", "text": "Blog", "text_i18n":"global_dict.blog"}]}},
{"type": "item", "href": "http://www.vifib.com/vifib-Pricing", "external": true, "left": {"icon":"dollar"}, "center": {"text": [{"type": "h1", "text": "Pricing", "text_i18n":"global_dict.pricing"}]}}
]
}
]
}
\ No newline at end of file
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Documentation",
"title_i18n": "global_dict.documentation",
"theme": "slapos-white"
},
"view_dict": {
"default": []
}
}
]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Download",
"title_i18n": "global_dict.download",
"theme": "slapos-white"
},
"view_dict": {
"default": []
}
}
]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Forum",
"title_i18n": "global_dict.forum",
"theme": "slapos-white"
},
"view_dict": {
"default": []
}
}
]
}
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Close", "text_i18n":null, "class":"translate", "value":"close"},
{"text": "Close/Closed for maintenance", "text_i18n":null, "class":"translate", "value":"close/maintenance"},
{"text": "Close/Closed for termination", "text_i18n":null, "class":"translate", "value":"close/termination"},
{"text": "Close/Closed forever", "text_i18n":null, "class":"translate", "value":"close/forever"},
{"text": "Open", "text_i18n":null, "class":"translate", "value":"open"},
{"text": "Open/Friend", "text_i18n":null, "class":"translate", "value":"open/friend"},
{"text": "Open/Personal", "text_i18n":null, "class":"translate", "value":"open/personal"},
{"text": "Open/Public", "text_i18n":null, "class":"translate", "value":"open/public"}
]
[
{"text": "", "text_i18n":null, "class":"translate", "value":""}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "1000 MHz", "text_i18n":null, "class":"translate", "value":"1000"},
{"text": "1100 MHz", "text_i18n":null, "class":"translate", "value":"1100"},
{"text": "1200 MHz", "text_i18n":null, "class":"translate", "value":"1200"},
{"text": "1300 MHz", "text_i18n":null, "class":"translate", "value":"1300"},
{"text": "1400 MHz", "text_i18n":null, "class":"translate", "value":"1400"},
{"text": "1500 MHz", "text_i18n":null, "class":"translate", "value":"1500"},
{"text": "1600 MHz", "text_i18n":null, "class":"translate", "value":"1600"},
{"text": "1700 MHz", "text_i18n":null, "class":"translate", "value":"1700"},
{"text": "1800 MHz", "text_i18n":null, "class":"translate", "value":"1800"},
{"text": "1900 MHz", "text_i18n":null, "class":"translate", "value":"1900"},
{"text": "2000 MHz", "text_i18n":null, "class":"translate", "value":"2000"},
{"text": "2100 MHz", "text_i18n":null, "class":"translate", "value":"2100"},
{"text": "2200 MHz", "text_i18n":null, "class":"translate", "value":"2200"},
{"text": "2300 MHz", "text_i18n":null, "class":"translate", "value":"2300"},
{"text": "2400 MHz", "text_i18n":null, "class":"translate", "value":"2400"},
{"text": "2500 MHz", "text_i18n":null, "class":"translate", "value":"2500"},
{"text": "2600 MHz", "text_i18n":null, "class":"translate", "value":"2600"},
{"text": "2700 MHz", "text_i18n":null, "class":"translate", "value":"2700"},
{"text": "2800 MHz", "text_i18n":null, "class":"translate", "value":"2800"},
{"text": "2900 MHz", "text_i18n":null, "class":"translate", "value":"2900"},
{"text": "3000 MHz", "text_i18n":null, "class":"translate", "value":"3000"},
{"text": "3100 MHz", "text_i18n":null, "class":"translate", "value":"3100"},
{"text": "3200 MHz", "text_i18n":null, "class":"translate", "value":"3200"},
{"text": "3300 MHz", "text_i18n":null, "class":"translate", "value":"3300"},
{"text": "3400 MHz", "text_i18n":null, "class":"translate", "value":"3400"},
{"text": "600 MHz", "text_i18n":null, "class":"translate", "value":"600"},
{"text": "700 MHz", "text_i18n":null, "class":"translate", "value":"700"},
{"text": "800 MHz", "text_i18n":null, "class":"translate", "value":"800"},
{"text": "900 MHz", "text_i18n":null, "class":"translate", "value":"900"}
]
\ No newline at end of file
[
{"text": "", "text_i18n": null, "class":"translate", "value":""},
{"text": "ARM", "text_i18n": null, "class":"translate", "value":"arm"},
{"text": "ARM/ARM11", "text_i18n": null, "class":"translate", "value":"arm/arm11"},
{"text": "ARM/ARM7", "text_i18n": null, "class":"translate", "value":"arm/arm7"},
{"text": "ARM/ARM9", "text_i18n": null, "class":"translate", "value":"arm/arm9"},
{"text": "Intel x86", "text_i18n": null, "class":"translate", "value":"x86"},
{"text": "Intel x86/Intel x86 32 bit", "text_i18n": null, "class":"translate", "value":"x86/x86_32"},
{"text": "Intel x86/Intel x86 32 bit/Intel 486", "text_i18n": null, "class":"translate", "value":"x86/x86_32/i486"},
{"text": "Intel x86/Intel x86 32 bit/Intel Core", "text_i18n": null, "class":"translate", "value":"x86/x86_32/core"},
{"text": "Intel x86/Intel x86 32 bit/Intel Pentium", "text_i18n": null, "class":"translate", "value":"x86/x86_32/i586"},
{"text": "Intel x86/Intel x86 32 bit/Intel Pentium Pro", "text_i18n": null, "class":"translate", "value":"x86/x86_32/i686"},
{"text": "Intel x86/Intel x86 64 bit", "text_i18n": null, "class":"translate", "value":"x86/x86_64"},
{"text": "Intel x86/Intel x86 64 bit/Intel Nehalem Architecture", "text_i18n": null, "class":"translate", "value":"x86/x86_64/nehalem"},
{"text": "Intel x86/Intel x86 64 bit/Intel Sandy Bridge Architecture", "text_i18n": null, "class":"translate", "value":"x86/x86_64/sandybridge"}
]
\ No newline at end of file
[
{"text": "HTML", "text_i18n": null, "class": "translate", "value":"text/html"},
{"text": "Plain Text", "text_i18n": null, "class": "translate", "value":"text/plain"},
{"text": "Structured Text", "text_i18n": null, "class": "translate", "value":"text/structured"},
{"text": "reStructuredText", "text_i18n": null, "class": "translate", "value":"text/x-rst"}
]
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Miss", "text_i18n":null, "class":"translate", "value":"miss"},
{"text": "Mister", "text_i18n":null, "class":"translate", "value":"mister"},
{"text": "Mistress :-)", "text_i18n":null, "class":"translate", "value":"misstres"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "value":""},
{"text": "Amazon.Group", "text_i18n":null, "value": "amazon"},
{"text": "Atlantic.net Group", "text_i18n":null, "value":"atlanticnet"},
{"text": "Bull Group", "text_i18n":null, "value":"bull"},
{"text": "Slapos Company", "text_i18n":null, "value":"company"},
{"text": "Gandi Group", "text_i18n":null, "value":"gandi"},
{"text": "IBM Group", "text_i18n":null, "value":"ibm"},
{"text": "Joyent Group", "text_i18n":null, "value":"joyent"},
{"text": "OVH Group", "text_i18n":null, "value":"ovh"},
{"text": "Microsoft Group", "text_i18n":null, "value":"microsoft"},
{"text": "Rackspace Group", "text_i18n":null, "value":"rackspace"},
{"text": "VIFIB Group", "text_i18n":null, "value":"vifib"},
{"text": "wmWare Group", "text_i18n":null, "value":"vmware"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet"},
{"text": "Ethernet/1 Gbps Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet/1g"},
{"text": "Ethernet/10 Gbps Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet/10g"},
{"text": "Ethernet/10 Mbps Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet/10m"},
{"text": "Ethernet/100 Gbps Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet/100g"},
{"text": "Ethernet/100 Mbps Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet/100m"},
{"text": "Ethernet/40 Gbps Ethernet", "text_i18n":null, "class":"translate", "value":"ethernet/40g"},
{"text": "Infiniband", "text_i18n":null, "class":"translate", "value":"infiniband"},
{"text": "Wifi 802.11", "text_i18n":null, "class":"translate", "value":"wifi"},
{"text": "Wifi 802.11/801.11b Wifi", "text_i18n":null, "class":"translate", "value":"wifi/b"},
{"text": "Wifi 802.11/802.11g Wifi", "text_i18n":null, "class":"translate", "value":"wifi/g"},
{"text": "Wifi 802.11/802.11n Wifi", "text_i18n":null, "class":"translate", "value":"wifi/n"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "1 GB RAM", "text_i18n":null, "class":"translate", "value":"1"},
{"text": "12 GB RAM", "text_i18n":null, "class":"translate", "value":"12"},
{"text": "128 GB RAM", "text_i18n":null, "class":"translate", "value":"128"},
{"text": "16 GB RAM", "text_i18n":null, "class":"translate", "value":"16"},
{"text": "196 GB RAM", "text_i18n":null, "class":"translate", "value":"196"},
{"text": "2 GB RAM", "text_i18n":null, "class":"translate", "value":"2"},
{"text": "24 GB RAM", "text_i18n":null, "class":"translate", "value":"24"},
{"text": "256 GB RAM", "text_i18n":null, "class":"translate", "value":"256"},
{"text": "32 GB RAM", "text_i18n":null, "class":"translate", "value":"32"},
{"text": "4 GB RAM", "text_i18n":null, "class":"translate", "value":"4"},
{"text": "48 GB RAM", "text_i18n":null, "class":"translate", "value":"48"},
{"text": "64 GB RAM", "text_i18n":null, "class":"translate", "value":"64"},
{"text": "8 GB RAM", "text_i18n":null, "class":"translate", "value":"8"},
{"text": "96 GB RAM", "text_i18n":null, "class":"translate", "value":"96"}
]
\ No newline at end of file
[
{"text": "", "text_i18n": null, "class":"translate", "value":""},
{"text": "DDR2 Memory", "text_i18n": null, "class":"translate", "value":"ddr2"},
{"text": "DDR2 Memory/1066 Mhz", "text_i18n": null, "class":"translate", "value":"ddr2/1066"},
{"text": "DDR2 Memory/400 Mhz", "text_i18n": null, "class":"translate", "value":"ddr2/400"},
{"text": "DDR2 Memory/533 Mhz", "text_i18n": null, "class":"translate", "value":"ddr2/533"},
{"text": "DDR2 Memory/667 Mhz", "text_i18n": null, "class":"translate", "value":"ddr2/667"},
{"text": "DDR2 Memory/800 Mhz", "text_i18n": null, "class":"translate", "value":"ddr2/800"},
{"text": "DDR3 Memory", "text_i18n": null, "class":"translate", "value":"ddr3"},
{"text": "DDR3 Memory/1066 Mhz", "text_i18n": null, "class":"translate", "value":"ddr3/1066"},
{"text": "DDR3 Memory/1333 Mhz", "text_i18n": null, "class":"translate", "value":"ddr3/1333"},
{"text": "DDR3 Memory/1600 Mhz", "text_i18n": null, "class":"translate", "value":"ddr3/1600"},
{"text": "DDR3 Memory/1866 Mhz", "text_i18n": null, "class":"translate", "value":"ddr3/1866"},
{"text": "DDR3 Memory/2133 Mhz", "text_i18n": null, "class":"translate", "value":"ddr3/2133"},
{"text": "DDR3 Memory/800 Mhz", "text_i18n": null, "class":"translate", "value":"ddr3/800"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""}
]
\ No newline at end of file
This diff is collapsed.
[
{"text": "Draft", "text_i18n": null, "class": "translate", "value": "draft"},
{"text": "Published Alive", "text_i18n": null, "class": "translate", "value": "pubished/alive"}
]
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Finite Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite"},
{"text": "Finite Storage Capacity/1 TB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/1000"},
{"text": "Finite Storage Capacity/1.5 TB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/1500"},
{"text": "Finite Storage Capacity/10 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/10"},
{"text": "Finite Storage Capacity/100 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/100"},
{"text": "Finite Storage Capacity/128 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/128"},
{"text": "Finite Storage Capacity/16 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/16"},
{"text": "Finite Storage Capacity/160 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/160"},
{"text": "Finite Storage Capacity/2 TB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/2000"},
{"text": "Finite Storage Capacity/20 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/20"},
{"text": "Finite Storage Capacity/200 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/200"},
{"text": "Finite Storage Capacity/300 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/300"},
{"text": "Finite Storage Capacity/32 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/32"},
{"text": "Finite Storage Capacity/320 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/320"},
{"text": "Finite Storage Capacity/4 TB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/4000"},
{"text": "Finite Storage Capacity/40 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/40"},
{"text": "Finite Storage Capacity/500 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/500"},
{"text": "Finite Storage Capacity/64 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/64"},
{"text": "Finite Storage Capacity/750 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/750"},
{"text": "Finite Storage Capacity/80 GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/80"},
{"text": "Finite Storage Capacity/8GB Storage Capacity", "text_i18n":null, "class":"translate", "value":"finite/8"},
{"text": "Infinite Storage Capacity", "text_i18n":null, "class":"translate", "value":"infinite"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Network Attached Storage", "text_i18n":null, "class":"translate", "value":"nas"},
{"text": "Serial Advanced Technology Attachment", "text_i18n":null, "class":"translate", "value":"sata"},
{"text": "Serial Attached SCSI", "text_i18n":null, "class":"translate", "value":"sas"},
{"text": "Storage Area Network", "text_i18n":null, "class":"translate", "value":"san"},
{"text": "Universal Serial Bus", "text_i18n":null, "class":"translate", "value":"usb"},
{"text": "Universal Serial Bus/USB2", "text_i18n":null, "class":"translate", "value":"usb/usb2"},
{"text": "Universal Serial Bus/USB3", "text_i18n":null, "class":"translate", "value":"usb/usb3"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Distributed Hash Table", "text_i18n":null, "class":"translate", "value":"dht"},
{"text": "Redundant Array of Independent Disks", "text_i18n":null, "class":"translate", "value":"raid"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 0", "text_i18n":null, "class":"translate", "value":"raid/level0"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 0 + Level 1", "text_i18n":null, "class":"translate", "value":"raid/nested01"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 1", "text_i18n":null, "class":"translate", "value":"raid/level1"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 1 + Level 0", "text_i18n":null, "class":"translate", "value":"raid/nested10"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 2", "text_i18n":null, "class":"translate", "value":"raid/level2"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 3", "text_i18n":null, "class":"translate", "value":"raid/level3"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 4", "text_i18n":null, "class":"translate", "value":"raid/level4"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 5", "text_i18n":null, "class":"translate", "value":"raid/level5"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 5 + Level 0", "text_i18n":null, "class":"translate", "value":"raid/nested50"},
{"text": "Redundant Array of Independent Disks/Redundant Array of Independent Disks Level 6", "text_i18n":null, "class":"translate", "value":"raid/level6"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Disk Storage", "text_i18n":null, "class":"translate", "value":"disk"},
{"text": "Disk Storage/10,000 rpm", "text_i18n":null, "class":"translate", "value":"disk/10000"},
{"text": "Disk Storage/15,000 rpm", "text_i18n":null, "class":"translate", "value":"disk/15000"},
{"text": "Disk Storage/5,400 rpm", "text_i18n":null, "class":"translate", "value":"disk/5400"},
{"text": "Disk Storage/7,200 rpm", "text_i18n":null, "class":"translate", "value":"disk/7200"},
{"text": "ram", "text_i18n":null, "class":"translate", "value":"ram"},
{"text": "ssd", "text_i18n":null, "class":"translate", "value":"ssd"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""},
{"text": "Acknowledgement", "text_i18n":null, "class":"translate", "value":"service_module/slapos_crm_acknowledgement"},
{"text": "Complaint", "text_i18n":null, "class":"translate", "value":"service_module/slapos_crm_complaint"},
{"text": "Information", "selected": true, "text_i18n":null, "class":"translate", "value":"service_module/slapos_crm_information"},
{"text": "Spam", "text_i18n":null, "class":"translate", "value":"service_module/slapos_crm_spam"}
]
\ No newline at end of file
[
{"text": "", "text_i18n":null, "class":"translate", "value":""}
]
\ No newline at end of file
{
"portal_type_source": "Hosting Subscription",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id"
},
"scheme": [
{
"position": "left",
"field_list": [
{"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",
"field_list": [
{"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",
"property_dict": {
"class_list": "responsive",
"dynamic": true,
"map_children": "formItem",
"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",
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"caption": {
"slot": 1,
"text": "Connection parameters",
"text_i18n": "portal_type_dict.service_dict.text_dict.connection_param"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "connection_url", "show": true, "priority": 1},
{"field": "connection_backend_url", "show": true, "priority": 2},
{"field": "connection_password", "show": true, "priority": 6}
]
},
{
"position": "body",
"field_list": [
{"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",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}
]
}
{
"date": {
"type": "DateTimeField",
"widget": {
"id": "date",
"title": "Date",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.date.title",
"description": "The date the invoice was issued on.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.date.description",
"alternate_name": "date",
"default_value": null,
"css_class": "",
"hidden": null,
"default_to_now": null,
"date_separator": null,
"time_separator": null,
"input_style": null,
"input_order": null,
"display_date_only": null,
"am_pm_time_style": null,
"display_timezone": null,
"hide_day": null,
"hidden_day_is_last_day_of_month": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"start_datetime": null,
"end_datetime": null,
"allow_empty_time": 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"
},
"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"
}
}
},
"total_price": {
"type": "FloatField",
"widget": {
"id": "total_price",
"title": "Total",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.total_price.title",
"description": "The amount of this invoice.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.total_price.description",
"alternate_name": "total_price",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"},
"input_style": null,
"precision": 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"
},
"not_float": {
"message":"You did not enter a floating number.",
"i18n": "validation_dict.not_float"
}
}
},
"price_currency": {
"type": "ListField",
"widget": {
"id": "price_currency",
"title": "Currency",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.price_currency.title",
"description": "The currency this invoice was issued in.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.price_currency.description",
"alternate_name": "price_currency",
"default": null,
"css_class": null,
"hidden": false,
"size": 1,
"items": "getCurrencies",
"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"
}
}
},
"translated_simulation_state_title": {
"type": "StringField",
"widget": {
"id": "translated_simulation_state_title",
"title": "Status",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.status.title",
"description": "The status of the invoice.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.status.description",
"alternate_name": "translated_simulation_state_title",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"properties": {
"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": "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_portal_type": {
"type": "StringField",
"widget": {
"id": "reference_portal_type",
"title": "Reference Portal Type",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.reference_portal_type.title",
"description": "The portal type this invoice is associated to.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.reference_portal_type.description",
"alternate_name": "reference_portal_type",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"properties": {
"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": "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_id": {
"type": "StringField",
"widget": {
"id": "reference_portal_type",
"title": "Reference ID",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.reference_id.title",
"description": "The id of the portal_type this invoice is associated to.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.reference_id.description",
"alternate_name": "reference_portal_type",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"properties": {
"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": "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"
}
}
},
"id": {
"type": "StringField",
"widget": {
"id": "id",
"title": "Reference ID",
"title_i18n": "portal_type_dict.invoice_dict.field_dict.id.title",
"description": "The id of the portal_type this invoice is associated to.",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.id.description",
"alternate_name": "id",
"default": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"properties": {
"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": "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"
}
}
}
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "My Invoices",
"title_i18n": "portal_type_dict.invoice_dict.text_dict.title",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "invoice_overview"
}
]
}
}
]
}
{
"portal_type_source": "Sale Invoice Transaction",
"portal_type_title": "invoice",
"portal_type_fields": "invoice_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"no_items": {
"message":"No invoices found",
"message_i18n":"portal_type_dict.invoice_dict.text_dict.nodata"
},
"wrap_gadget": 2,
"mergeable": true,
"action_menu": true,
"caption": {
"slot": 1,
"text": "Invoice Overview",
"text_i18n": "portal_type_dict.invoice_dict.text_dict.overview"
},
"pagination": {
"slot": 2,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.invoice_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.invoice_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.invoice_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.invoice_dict.text_dict.64"}
]
},
"url_pointer": {
"jump": "current_invoice"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "date", "show": true, "priority": 1},
{"field": "total_price", "show": true, "persist": true},
{"field": "price_currency", "show": "true", "priority": 4, "merge": "total_price", "merger_text": "Total Price", "merger_i18n": "portal_type_dict.invoice_dict.fieldlist.total_price.title"},
{"field": "translated_simulation_state_title", "show":"true", "priority": 5},
{"custom": true, "text": "Download", "text_i18n": "portal_type_dict.invoice_dict.text_dict.download", "show": true, "persist": true}
]
},
{
"position": "body",
"field_list": [
{"field": "date", "show": true, "priority": 1},
{"field": "total_price", "show": true, "persist": true},
{"field": "price_currency", "show": "true", "priority": 4, "merge": "total_price", "crop": "currency_module/"},
{"field": "translated_simulation_state_title", "show":"true", "priority": 5},
{"custom": true, "show": true, "persist": true, "action_list": [{"href": "", "class_list": "action", "action": "download", "icon":"file-text-o", "text": "Download", "text_i18n":"portable_type_dict.invoice_dict.download"}]}
]
}
],
"children": [{
"generate": "widget",
"type": "table",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1,
"sorting": "true"
},
"children": []
}]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Monitoring",
"title_i18n": "global_dict.monitoring",
"theme": "slapos-white"
},
"view_dict": {
"default": []
}
}
]
}
{
"portal_type_source": "Computer",
"portal_type_title": "computer",
"portal_type_fields": "computer_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"no_items": {
"message":"No servers associated with this network.",
"message_i18n":"portal_type_dict.network_dict.text_dict.nodata"
},
"initial_query_url_identifier": "group",
"wrap_gadget": 2,
"link": true,
"link_identifier": "id",
"caption": {
"slot": 1,
"text": "Associated Servers",
"text_i18n": "portal_type_dict.network_dict.text_dict.associated_servers"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"custom": true, "text": "Status", "text_i18n": "portal_type_dict.network_dict.text_dict.status", "show": true, "priority": 6},
{"field": "title", "show": true, "priority": 5},
{"field": "reference", "show": true, "priority": 5},
{"field": "translated_validation_state_title", "show": "true", "priority": 3}
]
},
{
"position": "body",
"field_list": [
{"custom": true, "show": true, "priority": 6, "status": true},
{"field": "title", "show": true, "priority": 5},
{"field": "reference", "show": true, "priority": 5},
{"field": "translated_validation_state_title", "show": "true", "priority": 3}
]
}
],
"children": [{
"generate": "widget",
"type": "table",
"property_dict": {
"dynamic": true,
"class_list": "table-stroke ui-responsive",
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}]
}
{
"title": {
"type": "StringField",
"widget": {
"id": "title",
"title": "Title",
"title_i18n": "portal_type_dict.network_dict.field_dict.title.title",
"description": "The name of your network.",
"description_i18n": "portal_type_dict.network_dict.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": 10,
"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.network_dict.field_dict.reference.title",
"description": "The reference identifire for this network.",
"description_i18n": "portal_type_dict.network_dict.field_dict.reference.description",
"alternate_name": "reference",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {"data-clear-btn":"true"}
},
"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
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Servers",
"title_i18n": "portal_type_dict.network_dict.text_dict.networks",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "network_overview"
}
],
"new": [
{
"href": "network_new"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Network Instance",
"title_i18n": "portal_type_dict.network_dict.text_dict.network_instance",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "network_status"
},
{
"href": "network_assigned_computers"
}
]
}
}
]
}
{
"portal_type_source": "Network",
"portal_type_title": "network",
"portal_type_fields": "network_fieldlist",
"view": "web_view",
"property_dict": {
"wrap_gadget": 2,
"submit_to": "#network_module/__id__",
"url_pointer": {
"new": "request_computer_network"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title"}
]
}
],
"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": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"save", "data-i18n":"[value]portal_type_dict.network_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Computer Network",
"portal_type_title": "network",
"portal_type_fields": "network_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"caption": {
"slot": 1,
"text": "Created Networks",
"text_i18n": "portal_type_dict.network_dict.text_dict.created_networks"
},
"no_items": {
"message": "No networks found.",
"message_i18n": "portal_type_dict.network_dict.text_dict.nonet"
},
"url_pointer": {
"jump": "current_network"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "title", "show": true, "priority": 5},
{"field": "reference", "show": true, "priority": 5}
]
},{
"position": "body",
"field_list": [
{"field": "title", "show": true, "priority": 5},
{"field": "reference", "show": true, "priority": 5}
]
}
],
"children": [{
"type": "a",
"direct": {"className":"translate ui-btn ui-icon-edit ui-btn-icon-left ui-corner-all ui-btn-inline ui-btn-slapos-black ui-link", "href": "#network_module/new"},
"attributes": {
"data-i18n": "portal_type_dict.network_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"New network"}
}, {
"generate": "widget",
"type": "table",
"property_dict": {
"dynamic": true,
"map_children": "tableItem",
"class_list": "table-stroke ui-responsive",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}]
}
{
"portal_type_source": "Computer Network",
"portal_type_title": "network",
"portal_type_fields": "network_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"submit_to": "#network_module"
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title", "overrides": {"properties":{"editable":false, "required": false}}},
{"field": "reference", "overrides": {"properties":{"editable":false, "required": false}}}
]
}
],
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"dynamic": true,
"map_children": "formItem",
"editable": false,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": []
}
]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Account",
"title_i18n": "portal_type_dict.person_dict.text_dict.account",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "person_overview"
}],
"new": [
{
"href": "person_view"
}
]
}
},
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Register",
"title_i18n": "portal_type_dict.person_dict.text_dict.register",
"theme":"slapos-white"
},
"view_dict": {
"default": [
{
"href": "person_view"
}
]
}
}
]
}
{
"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": {
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"caption": {
"slot": 1,
"text": "Person Overview",
"text_i18n": "portal_type_dict.person_dict.text_dict.person"
},
"pagination": {
"slot": 2,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.person_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.person_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.person_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.person_dict.text_dict.64"}
]
},
"no_items": {
"message": "No person found.",
"message_i18n": "portal_type_dict.person_dict.text_dict.noperson"
},
"search": {
"text": "Search Persons",
"text_i18n": "portal_type_dict.person_dict.text_dict.search",
"info_list": ["records", "filter", "sorted", "selected"]
},
"allow_new": true
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "gender", "show": true, "priority": 7},
{"field": "first_name", "show": true, "persist": true},
{"field": "last_name", "show": true, "persist": true},
{"field": "default_email_text", "show": true, "priority": 1},
{"field": "default_telephone_text", "show": true, "priority": 2},
{"field": "default_fax_text", "show": true, "priority": 6},
{"field": "default_address_street_address", "show": true, "priority": 4},
{"field": "default_address_city", "show": true, "priority": 4},
{"field": "default_address_zip_code", "show": true, "priority": 4},
{"field": "default_address_region", "show": true, "priority": 4},
{"field": "nationality", "show": true, "priority": 7}
]
},{
"position": "body",
"field_list": [
{"field": "gender", "show": true, "priority": 7},
{"field": "first_name", "show": true, "persist": true},
{"field": "last_name", "show": true, "persist": true},
{"field": "default_email_text", "show": true, "priority": 1},
{"field": "default_telephone_text", "show": true, "priority": 2},
{"field": "default_fax_text", "show": true, "priority": 6},
{"field": "default_address_street_address", "show": true, "priority": 4},
{"field": "default_address_city", "show": true, "priority": 4},
{"field": "default_address_zip_code", "show": true, "priority": 4},
{"field": "default_address_region", "show": true, "priority": 4},
{"field": "nationality", "show": true, "priority": 7}
]
}
],
"children": [
{
"generate": "widget",
"type": "table",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"map_children": "tableItem",
"dynamic": true,
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}
]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Pricing",
"title_i18n": "global_dict.pricing",
"theme": "slapos-white"
},
"view_dict": {
"default": []
}
}
]
}
This diff is collapsed.
{
"portal_type_source": "Software Release",
"portal_type_title": "release",
"portal_type_fields": "release_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"submit_to": "#service_module/__id__",
"block_identifier": true,
"url_pointer": {
"new": "request"
}
},
"scheme": [
{
"position": "center",
"field_list": [
{"type": "input", "direct": {"className":"progress_notifier", "name": "status", "id": "status", "value": "Preparing instance..."}, "attributes": {"data-i18n":"[value]portal_type_dict.release_dict.text_dict.prepare_instance"}, "logic":{"disabled": "disabled"}}
]
},
{
"position": "left",
"field_list": [
{"type": "input", "direct": {"id":"software_release_show", "className": "required"}, "attributes": {"data-enhanced": "true", "type": "text", "readonly": "readonly"}, "logic": {"setValue": "_id", "label": "Software Release", "label_i18n": "portal_type_dict.release_dict.text_dict.software_release", "skip":false}},
{"type": "input", "direct": {"name": "software_release", "id":"software_release", "className": "required"}, "attributes": {"data-enhanced": "true", "type": "hidden"}, "logic": {"setValue": "_id", "skip":false}},
{"type": "input", "direct": {"name": "software_title", "id": "software_title", "className": "required"}, "attributes": {"data-enhanced": true, "type": "text"}, "logic": {"clear": true, "label": "Instance Title", "label_i18n": "portal_type_dict.release_dict.text_dict.instance_title", "skip": false}}
]
},
{
"position": "center",
"field_list": [
{"type": "textarea", "direct": {"name": "instance_xml", "id": "instance_xml", "className": "required", "value": "<?xml version='1.0' encoding='utf-8'?>\n<instance>\n</instance>"}, "attributes": {"data-enhanced":"true"}, "logic": {"label":"Instance Configuration", "label_i18n":"portal_type_dict.release_dict.text_dict.instance_recipe"}},
{"type": "input", "direct": {"name": "sla_xml", "id": "sla_xml", "className": "required", "value": "<?xml version='1.0' encoding='utf-8'?>\n<instance>\n</instance>"}, "attributes": {"data-enhanced":"true", "type": "hidden"}, "logic": {}},
{"type": "input", "direct": {"name": "shared", "id": "shared", "className": "required", "value": 0}, "attributes": {"data-enhanced":"true", "type": "hidden"}, "logic": {}},
{"type": "input", "direct": {"name": "state", "id": "state", "className": "required", "value": "started"}, "attributes": {"data-enhanced": "true", "type": "hidden"}, "logic": {}},
{"type": "input", "direct": {"name": "software_type", "id": "software_type", "className": "required", "value": "started"}, "attributes": {"data-enhanced": "true", "type": "hidden"}, "logic": {}}
]
}
],
"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": "Request", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"check", "data-i18n":"[value]portal_type_dict.release_dict.text_dict.request", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Software Release",
"portal_type_title": "release",
"portal_type_fields": "release_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"caption": {
"slot": 1,
"text": "Available Releases",
"text_i18n": "portal_type_dict.release_dict.text_dict.available_releases"
},
"pagination": {
"slot": 2,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.release_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.release_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.release_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.release_dict.text_dict.64"}
]
},
"url_pointer": {
"jump": "related_software_release"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "title", "show": true, "priority": 1},
{"field": "version", "show": true, "priority": 1},
{"field": "description", "show": true, "priority": 5}
]
},
{
"position": "body",
"field_list": [
{"field": "title", "show": true, "priority": 1},
{"field": "version", "show": true, "priority": 1},
{"field": "description", "show": true, "priority": 5}
]
}
],
"children": [{
"generate": "widget",
"type": "table",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}]
}
{
"portal_type_source": "Service",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"caption": {
"slot": 1,
"text": "Connection parameters",
"text_i18n": "portal_type_dict.service_dict.text_dict.connection_param"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "connection_url", "show": true, "priority": 1},
{"field": "connection_backend_url", "show": true, "priority": 2},
{"field": "connection_password", "show": true, "priority": 6}
]
},
{
"position": "body",
"field_list": [
{"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",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}
]
}
This diff is collapsed.
{
"portal_type_source": "Hosting Subscription",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"submit_to": "#service_module",
"url_pointer": {
"start": "start",
"stop": "stop",
"destroy": "destroy"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title", "overrides": {"widget": {"title": "Partitions Installed For:", "title_i18n": "portal_type_dict.service_dict.text_dict.partitions_installed_for"}, "properties": {"editable":false}}},
{"type": "a", "direct": {}, "attributes": {"data-external":true}, "logic":{"route": "force_form_element", "label": "URL String", "plain_link": true, "setters": ["href", "text"], "setValue":"url_string"}},
{"field": "source_reference", "overrides": {"properties": {"editable": false}}}
]
}, {
"position": "right",
"field_list": [
{"type": "a", "direct": {"className": "inline action error status translate"}, "attributes": {"data-i18n": "portal_type_dict.service_dict.text_dict.destroy", "data-action": "destroy", "data-icon": "trash-o"}, "logic":{"setReference": true, "setters": ["data-method", "href"], "lookupValue":[["_actions", "destroy", "method"], ["_actions", "destroy", "href"]], "text": "Destroy"}},
{"type": "a", "direct": {"className": "inline action error status translate"}, "attributes": {"data-i18n": "portal_type_dict.service_dict.text_dict.stop", "data-action": "stop", "data-icon": "ban"}, "logic":{"setReference": true, "setters": ["data-method", "href"], "lookupValue":[["_actions", "stop", "method"], ["_actions", "stop", "href"]], "text": "Stop"}},
{"type": "a", "direct": {"className": "inline ui-shadow action ui-btn-slapos-black translate"}, "attributes": {"data-i18n": "portal_type_dict.service_dict.text_dict.start", "data-action": "start", "data-icon": "cogs"}, "logic":{"setReference": true, "setters": ["data-method", "href"], "lookupValue":[["_actions", "start", "method"], ["_actions", "start", "href"]], "text": "Start"}}
]
},
{
"position": "center",
"field_list": [
{"field": "text_content", "overrides": {"widget": {"title": "Instance XML Recipe", "title_i18n": "portal_type_dict.service_dict.text_dict.recipe"}}}
]
}
],
"children": [
{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "",
"dynamic": true,
"map_children": "formItem",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": []
}
]
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Services",
"title_i18n": "portal_type_dict.service_dict.text_dict.services",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "service_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Service Configuration",
"title_i18n": "portal_type_dict.service_dict.text_dict.service_configuration",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "service_instance_status"
},
{
"href": "service_connection"
},
{
"href": "service_statusbox"
}
],
"add": [
{
"href": "software_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Select Release",
"title_i18n": "portal_type_dict.service_dict.text_dict.select_release",
"theme": "slapos-white"
},
"view_dict": {
"default": [
{
"href": "instance_configuration"
},
{
"href": "instance_connection"
}
],
"add": [
{
"href": "release_overview"
}
]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Install Release",
"title_i18n": "portal_type_dict.service_dict.text_dict.install_release",
"theme": "slapos-white"
},
"view_dict": {
"add": [
{
"href": "release_install"
}
]
}
}
]
}
{
"portal_type_source": "Hosting Subscription",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"initial_query": {"include_docs": true, "limit":[0, 8]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"caption": {
"slot": 1,
"text": "Installed Services",
"text_i18n": "portal_type_dict.service_dict.text_dict.installed_services"
},
"pagination": {
"slot": 2,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.service_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.service_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.service_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.service_dict.text_dict.64"}
]
},
"url_pointer": {
"jump": "current_hosting_subscription"
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"custom": true, "text": "Image", "text_i18n": "portal_type_dict.service_dict.text_dict.image_url", "show": true, "priority": 4},
{"field": "title", "show": true, "priority": 1},
{"field": "version", "show": true, "priority": 1},
{"field": "usage", "show": true, "priority": 5}
]
},
{
"position": "body",
"field_list": [
{"field": "image_url", "show": true, "priority": 4, "image": true},
{"field": "title", "show": true, "priority": 1},
{"field": "version", "show": true, "priority": 1},
{"field": "usage", "show": true, "priority": 5}
]
}
],
"children": [{
"type": "a",
"direct": {"className":"translate ui-btn ui-icon-edit ui-btn-icon-left ui-corner-all ui-btn-inline ui-btn-slapos-black ui-link", "href": "#service_module/add"},
"attributes": {
"data-i18n": "portal_type_dict.service_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"New service"}
}, {
"generate": "widget",
"type": "table",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}]
}
{
"portal_type_source": "Hosting Subscription",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"initial_query": {"limit": [0,8]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"link": true,
"link_identifier": "_id",
"wrap_gadget": 2,
"submit_to": "#service_module",
"caption": {
"slot": 1,
"text": "Installations",
"text_i18n": "portal_type_dict.service_dict.text_dict.installations"
},
"pagination": {
"slot": 2,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.service_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.service_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.service_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.service_dict.text_dict.64"}
]
}
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "status", "show": true, "priority": 1},
{"field": "title", "show": true, "priority": 1},
{"field": "image_url", "show": true, "priority": 5},
{"field": "state", "show": true, "priority": 6}
]
},
{
"position": "body",
"field_list": [
{"field": "status", "show": true, "priority": 1},
{"field": "title", "show": true, "priority": 1},
{"field": "image_url", "show": true, "priority": 5, "image": true},
{"field": "state", "show": true, "priority": 6}
]
}
],
"children": [{
"generate": "widget",
"type": "table",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}
]
}
This diff is collapsed.
{
"portal_type_source": "Software Product",
"portal_type_title": "software",
"portal_type_fields": "software_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,6]},
"view": "web_view",
"property_dict": {
"link": true,
"link_identifier": "_id",
"pagination": {
"class_list": "center",
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.computer_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.computer_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.computer_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.computer_dict.text_dict.64"}
]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "id", "type": "hidden"},
{"field": "image_url", "type": "image"},
{"field": "title", "type": "alt"}
]
},
{
"position": "center",
"field_list": [
{"field": "title", "type": "h1"},
{"field": "description", "type": "p"}
]
}
],
"children": [{
"generate":"widget",
"type": "listview",
"property_dict": {
"theme": "slapos-white",
"inset":"true",
"map_children": "listItem",
"dynamic": true
},
"children": []
}]
}
{
"portal_type_source": "Service",
"portal_type_title": "service",
"portal_type_fields": "service_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"initial_query_url_identifier": "_id",
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"caption": {
"slot": 1,
"text": "Installed Services",
"text_i18n":"portal_type_dict.software_dict.text_dict.installed_services"
},
"url_pointer": {
"jump": "related_software_installation"
}
},
"scheme":[
{
"position": "header",
"field_list": [
{"field": "image_url", "show": true, "priority": 4},
{"field": "title", "show": true, "priority": 5},
{"field": "version", "show": true, "priority": 2},
{"custom": true, "text": "Status", "text_i18n": "portal_type_dict.software_dict.text_dict.status", "show": true, "priority": 5},
{"field": "usage", "show": true, "priority": 3}
]
},
{
"position": "body",
"field_list": [
{"field": "image_url", "show": true, "priority": 4},
{"field": "title", "show": true, "priority": 5},
{"field": "version", "show": true, "priority": 2},
{"field": true, "show": true, "priority": 5, "status": true},
{"custom": "usage", "show": true, "priority": 3}
]
}
],
"children": [{
"generate": "widget",
"type": "table",
"property_dict": {
"class_list": "table-stroke ui-responsive",
"dynamic": true,
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}
]
}
This diff is collapsed.
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title": "Test Page Module",
"title_i18n": "portal_type_dict.test_page_dict.text_dict.title",
"theme": "slapos-white"
},
"view_dict": {
"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": "Test Page",
"title_i18n": "portal_type_dict.test_page_dict.text_dict.page",
"theme": "slapos-white"
},
"view_dict": {
"default": [{
"generate": "gadget",
"type":"fieldlist",
"href": "test_page_view"
}]
}
}
]
}
{
"portal_type_source": "Test Page",
"portal_type_title": "test",
"portal_type_fields": "test_page_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"wrap_gadget": 2,
"submit_to": "#test_page_module/__id__"
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "title"},
{"field": "short_title"}
]
}, {
"position": "right",
"field_list": [
{"field": "description"}
]
}
],
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"map_children": "formItem",
"dynamic": true,
"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": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"save", "data-i18n":"[value]portal_type_dict.test_page_dict.text_dict.add", "data-theme": "slapos-black"}}
]
}]
}
]
}
{
"portal_type_source": "Test Page",
"portal_type_title": "test",
"portal_type_fields": "test_page_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"view": "web_view",
"property_dict": {
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"caption": {
"slot": 1,
"text": "Test Page Overview",
"text_i18n": "portal_type_dict.test_page_dict.text_dict.overview"
},
"pagination": {
"slot": 2,
"option_list": [
{"value": "8", "text": "8", "text_i18n":"portal_type_dict.test_page_dict.text_dict.8"},
{"value": "16", "text": "16", "text_i18n":"portal_type_dict.test_page_dict.text_dict.16"},
{"value": "32", "text": "32", "text_i18n":"portal_type_dict.test_page_dict.text_dict.32"},
{"value": "64", "text": "64", "text_i18n":"portal_type_dict.test_page_dict.text_dict.64"}
]
},
"no_items": {
"message": "No Test Page found.",
"message_i18n": "portal_type_dict.test_page_dict.text_dict.empty"
},
"search": {
"text": "Search Test Pages",
"text_i18n": "portal_type_dict.test_page_dict.text_dict.search",
"info_list": ["records", "filter"]
},
"allow_new": true
},
"scheme": [
{
"position": "header",
"field_list": [
{"field": "_id", "show": true, "priority": 7},
{"field": "reference", "show": true, "priority": 6},
{"field": "short_title", "show": true, "priority": 6},
{"field": "title", "custom": true, "show": true, "persist": true, "text": "Long Title", "text_i18n":"portal_type_dict.test_page_dict.text_dict.long_title" },
{"field": "description", "show": true, "priority": 3},
{"field": "version", "show": true, "priority": 2},
{"field": "language", "show": true, "priority": 6},
{"field": "index", "show": true, "priority": 2},
{"field": "sort", "show": true, "priority": 6}
]
},{
"position": "body",
"field_list": [
{"field": "_id", "show": true, "priority": 7},
{"field": "reference", "show": true, "priority": 6},
{"field": "short_title", "show": true, "priority": 6},
{"field": "title", "show": true, "persist": true},
{"field": "description", "show": true, "priority": 3},
{"field": "version", "show": true, "priority": 2},
{"field": "language", "show": true, "priority": 6},
{"field": "index", "show": true, "priority": 2},
{"field": "sort", "show": true, "priority": 6}
]
}
],
"children": [{
"type": "a",
"direct": {"className":"translate ui-btn ui-icon-edit ui-btn-icon-left ui-corner-all ui-btn-inline ui-btn-slapos-black ui-link", "href": "#test_page_module/new"},
"attributes": {
"data-i18n": "portal_type_dict.test_page_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"Add Test Page"}
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "right",
"direction": "horizontal"
},
"children": [
{"type": "a", "direct": {"href": "#test_page_detail_search", "className": "translate ui-btn ui-icon-sitemap ui-btn-icon-notext"}, "attributes": {"data-rel":"panel", "data-i18n":"portal_type_dict.test_page_dict.text_dict.group"}, "logic": {"text":"Group Record Filter"}},
{"type": "a", "direct": {"href": "#test_page_detail_search", "className": "translate ui-btn ui-icon-filter ui-btn-icon-notext"}, "attributes": {"data-rel":"panel", "data-i18n":"portal_type_dict.test_page_dict.text_dict.filter"}, "logic": {"text":"Detail Search"}}
]
}, {
"generate": "widget",
"type": "table",
"property_dict": {
"dynamic": true,
"class_list": "table-stroke ui-responsive",
"map_children": "tableItem",
"mode": "columntoggle",
"toggle_popup": false,
"wrap": "both",
"top_grid": 1,
"bottom_grid": 1
},
"children": []
}]
}
{
"portal_type_source": "Test Page",
"portal_type_title": "test",
"portal_type_fields": "test_page_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,1]},
"view": "web_view",
"property_dict": {
"wrap_gadget": 2,
"submit_to": "#test_page_module"
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "_id", "overrides": {"properties":{"editable": false}}},
{"field": "reference"},
{"field": "title"},
{"field": "short_title"}
]
}, {
"position": "right",
"field_list": [
{"field": "version"},
{"field": "language"},
{"field": "index"},
{"field": "state"},
{"field": "content_type"}
]
}, {
"position": "center",
"field_list": [
{"field": "description"}
]
}
],
"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": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-icon":"check", "data-i18n":"[value]portal_type_dict.test_page_dict.text_dict.update", "data-theme": "slapos-black"}}
]
}]
}
]
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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