Commit 0606eb16 authored by Sven Franck's avatar Sven Franck

renamed subscription to software and installation to service

parent 030e5738
...@@ -248,12 +248,12 @@ ...@@ -248,12 +248,12 @@
"release_image_url": { "release_image_url": {
"type":"ImageField", "type":"ImageField",
"widget": { "widget": {
"id": "subscription_image_url", "id": "release_image_url",
"title": "Image", "title": "Image",
"title_i18n": "portal_type_dict.release_dict.field_list.image_url.title", "title_i18n": "portal_type_dict.release_dict.field_list.image_url.title",
"description": "The path to the icon/image for this software service.", "description": "The path to the icon/image for this software service.",
"description_i18n": "portal_type_dict.release_dict.field_list.image_url.description", "description_i18n": "portal_type_dict.release_dict.field_list.image_url.description",
"alternate_name": "subscription_image_url", "alternate_name": "release_image_url",
"default_value": null, "default_value": null,
"css_class": null, "css_class": null,
"hidden": null, "hidden": null,
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
{ {
"position": "center", "position": "center",
"fieldlist": [ "fieldlist": [
{"type": "input", "direct": {"disabled": true, "className":"progress_notifier", "id": "release_instance_status", "value": "Preparing instance..."}, "attributes": {"data-i18n":"[value]page_dict.services.prepare_instance"}} {"type": "input", "direct": {"disabled": true, "className":"progress_notifier", "name": "release_status", "id": "release_status", "value": "Preparing instance..."}, "attributes": {"data-i18n":"[value]page_dict.services.prepare_instance"}}
] ]
}, },
{ {
...@@ -45,15 +45,16 @@ ...@@ -45,15 +45,16 @@
"fieldlist": [ "fieldlist": [
{"title": "release_title", "overrides": {"properties": {"required": true, "editable":false}}}, {"title": "release_title", "overrides": {"properties": {"required": true, "editable":false}}},
{"title": "release_version", "overrides": {"properties": {"required": true, "editable":false}}}, {"title": "release_version", "overrides": {"properties": {"required": true, "editable":false}}},
{"type": "input", "direct": {"id":"release_instance_id", "className": "required"}, "attributes": {"data-enhanced":"true", "type":"text", "readonly": true}, "logic":{"setValue": "instance_", "label":"Instance ID", "label_i18n":"page_dict.services.instance_id"}}, {"type": "input", "direct": {"name": "release_id", "id": "release_id", "className": "required"}, "attributes": {"data-enhanced":"true", "type":"text", "readonly": "readonly"}, "logic":{"setValue": "instance_", "label":"Instance ID", "label_i18n":"page_dict.services.instance_id"}},
{"type":"select", "direct":{"id":"release_reference_computer", "className": "required"},"attributes": {"data-enhanced": "true"},"logic": {"label":"Request for Computer", "label_i18n":"page_dict.services.instance_server", "options":[{"value":"", "text": "", "selected": "true"}, {"value": "Cortana", "text": "Cortana"},{"value": "Prof. Simon Wright", "text": "Prof. Simon Wright"},{"value": "HAL", "text": "HAL"},{"value": "Computer", "text": "Computer"},{"value": "Lawnmower", "text": "Lawnmower"}]}}, {"type":"select", "direct":{"name": "release_reference_computer", "id": "release_reference_computer","className": "required"},"attributes": {"data-enhanced": "true"},"logic": {"label":"Request for Computer", "label_i18n":"page_dict.services.instance_server", "options":[{"value":"", "text": "", "selected": "true"}, {"value": "Cortana", "text": "Cortana"},{"value": "Prof. Simon Wright", "text": "Prof. Simon Wright"},{"value": "HAL", "text": "HAL"},{"value": "Computer", "text": "Computer"},{"value": "Lawnmower", "text": "Lawnmower"}]}},
{"type":"select", "direct":{"id":"release_reference_network", "className": "required"},"attributes": {"data-enhanced": "true"},"logic": {"label":"Request for Network", "label_i18n":"page_dict.services.instance_network", "options":[{"value":"", "text": "", "selected": "true"}, {"value": "Foo-Net", "text": "Foo-Net"},{"value": "Bar-Net", "text": "Bar-Net"},{"value": "Lawn", "text": "Lawn"}]}} {"type":"select", "direct":{"name": "release_reference_network", "id": "release_reference_network", "className": "required"},"attributes": {"data-enhanced": "true"},"logic": {"label":"Request for Network", "label_i18n":"page_dict.services.instance_network", "options":[{"value":"", "text": "", "selected": "true"}, {"value": "Foo-Net", "text": "Foo-Net"},{"value": "Bar-Net", "text": "Bar-Net"},{"value": "Lawn", "text": "Lawn"}]}}
] ]
}, },
{ {
"position": "right", "position": "right",
"fieldlist": [ "fieldlist": [
{"title": "release_image_url"}, {"title": "release_image_url"},
{"title": "release_image_type", "overrides": {"widget": {"hidden":true}}},
{"title": "release_image_url", "overrides": {"type": "StringField", "widget": {"hidden": true}}}, {"title": "release_image_url", "overrides": {"type": "StringField", "widget": {"hidden": true}}},
{"title": "release_detail_description", "overrides": {"properties": {"required": true, "editable":false}}} {"title": "release_detail_description", "overrides": {"properties": {"required": true, "editable":false}}}
] ]
...@@ -61,7 +62,7 @@ ...@@ -61,7 +62,7 @@
{ {
"position": "center", "position": "center",
"fieldlist": [ "fieldlist": [
{"type": "textarea", "direct": {"id": "release_instance_recipe", "className": "required", "value": "<?xml version='1.0' encoding='utf-8'?>\n<instance>\n</instance>"}, "attributes": {"data-enhanced":"true"}, "logic": {"label":"Instance Configuration", "label_i18n":"page_dict.services.instance_recipe"}} {"type": "textarea", "direct": {"name": "release_xml_recipe", "id": "release_xml_recipe", "className": "required", "value": "<?xml version='1.0' encoding='utf-8'?>\n<instance>\n</instance>"}, "attributes": {"data-enhanced":"true"}, "logic": {"label":"Instance Configuration", "label_i18n":"page_dict.services.instance_recipe"}}
] ]
} }
] ]
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
{ {
"generate": "gadget", "generate": "gadget",
"type": "listgrid", "type": "listgrid",
"id": "subscription_overview", "id": "software_overview",
"href": "subscription_overview" "href": "software_overview"
} }
] ]
} }
......
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
{ {
"generate": "gadget", "generate": "gadget",
"type": "listgrid", "type": "listgrid",
"id": "subscription_overview", "id": "software_overview",
"href": "subscription_overview" "href": "software_overview"
} }
], ],
"new": [ "new": [
{ {
"generate": "gadget", "generate": "gadget",
"type": "listgrid", "type": "listgrid",
"id": "subscription_overview", "id": "software_overview",
"href": "subscription_overview" "href": "software_overview"
} }
] ]
} }
......
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,8]},
"form": true,
"id": "software_overview",
"property_dict": {
"link": true,
"link_identifier": "id",
"link_to_view": "install",
"dynamic_children": [1]
},
"children": [{
"generate": "widget",
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_software_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.software.search","placeholder":"Search available software", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
]
}, {
"generate":"widget",
"type": "listview",
"class_list": "",
"theme": "slapos-white",
"property_dict": {
"inset":"true",
"filter": "true",
"input": "#search_software_list"
},
"children": []
}, {
"generate":"widget",
"type": "controlbar",
"class_list": "responsive",
"children": [{
"generate": "widget",
"type": "controlgroup",
"class_list": "pagination",
"property_dict": {
"direction": "horizontal"
},
"children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_software_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "text_i18n":"global_dict.pagination_dict.16"},{"value": "32", "text": "32", "text_i18n":"global_dict.pagination_dict.32"},{"value": "64", "text": "64", "text_i18n":"global_dict.pagination_dict.64"}, {"value": "128", "text": "128", "text_i18n":"global_dict.pagination_dict.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}]
}]
}
{
"portal_type_source": "Software Product",
"portal_type_title": "software",
"portal_type_fields": "software_fieldlist",
"initial_query": {"include_docs": true, "limit":[0,8]},
"form": true,
"id": "software_overview",
"property_dict": {
"link": true,
"link_identifier": "id",
"dynamic_children": [1]
},
"children": [{
"generate": "widget",
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_software_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.software.search","placeholder":"Search available software", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
]
}, {
"generate":"widget",
"type": "listview",
"class_list": "",
"theme": "slapos-white",
"property_dict": {
"inset":"true",
"filter": "true",
"input": "#search_software_list"
},
"children": []
}, {
"generate":"widget",
"type": "controlbar",
"class_list": "responsive",
"children": [{
"generate": "widget",
"type": "controlgroup",
"class_list": "pagination",
"property_dict": {
"direction": "horizontal"
},
"children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_software_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "text_i18n":"global_dict.pagination_dict.16"},{"value": "32", "text": "32", "text_i18n":"global_dict.pagination_dict.32"},{"value": "64", "text": "64", "text_i18n":"global_dict.pagination_dict.64"}, {"value": "128", "text": "128", "text_i18n":"global_dict.pagination_dict.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global_dict.pagination_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}]
}]
}
[
{
"software_id": "2",
"software_title": "[EXPERIMENTAL] KVM",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/2/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.kvm.title",
"software_description_i18n":"data_dict.software_dict.kvm.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20110316-88D7",
"software_title": "[EXPERIMENTAL] SlapOS Web Runner",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20110316-88D7/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.slapos_runner.title",
"software_description_i18n":"data_dict.software_dict.slapos_runner.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20110615-176F8",
"software_title": "[EXPERIMENTAL] Kumofs",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20110615-176F8/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.kumofs.title",
"software_description_i18n":"data_dict.software_dict.kumofs.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20110613-107B5",
"software_title": "[EXPERIMENTAL] Zabbix Agent",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20110613-107B5/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.zabbix.title",
"software_description_i18n":"data_dict.software_dict.zabbix.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20110620-F42E",
"software_title": "[EXPERIMENTAL] ERP5 Test Node",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20110620-F42E/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.erp5_testnode.title",
"software_description_i18n":"data_dict.software_dict.erp5_testnode.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20120412-853D9",
"software_title": "[EXPERIMENTAL] HTML5 Application Server",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20120412-853D9/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.html5_app_server.title",
"software_description_i18n":"data_dict.software_dict.html5_app_server.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20120911-A661D",
"software_title": "[EXPERIMENTAL] BOINC Client",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20120911-A661D/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.boinc_client.title",
"software_description_i18n":"data_dict.software_dict.boinc_client.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
},
{
"software_id": "20120911-5F9C9",
"software_title": "[EXPERIMENTAL] BOINC Server",
"software_description": "",
"software_image_type": "image",
"software_image_url": "https://www.slapos.org/software_product_module/20120911-5F9C9/default_image?quality=75&amp;display=thumbnail",
"software_title_i18n":"data_dict.software_dict.boinc_server.title",
"software_description_i18n":"data_dict.software_dict.boinc_server.description",
"software_price": "1",
"software_currency": "Euro",
"software_period": "Month"
}
]
\ No newline at end of file
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