Commit 2dc6df34 authored by Sven Franck's avatar Sven Franck

refactor i18n JSON to global & portal_type dicts

parent 27a7020c
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Blog",
"title_i18n": "page_dict.blog.title",
"title_i18n": "global_dict.blog",
"theme": "slapos-white",
"layout": {
"default": []
......
This diff is collapsed.
......@@ -29,8 +29,8 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]global_dict.common_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-icon":"save", "data-i18n":"[value]global_dict.common_dict.submit", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-icon":"save", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}],
"layout": [
......
......@@ -14,7 +14,7 @@
"layout": {
"header": [
[
{"custom": true, "text": "Status", "text_i18n": "global_dict.common_dict.status", "show": true, "priority": 1},
{"custom": true, "text": "Status", "text_i18n": "portal_type_dict.computer_dict.text_dict.status", "show": true, "priority": 1},
{"column": "title", "show": true, "priority": 1, "sort": true},
{"column": "reference", "show": true, "priority": 4},
{"column": "translated_validation_state_title", "show": "true", "priority": 4}
......@@ -40,7 +40,7 @@
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_server_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.servers.search","placeholder":"Search available servers", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "input", "direct": {"id":"search_server_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.computer_dict.text_dict.search","placeholder":"Search available servers", "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":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
......@@ -49,7 +49,7 @@
"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": "#servers::new"},
"attributes": {
"data-i18n": "page_dict.servers.add",
"data-i18n": "portal_type_dict.computer_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"Add server"}
......@@ -57,7 +57,7 @@
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"page_dict.servers.servers"},"logic": {"text":"Created Servers"}}]
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.created_servers"},"logic": {"text":"Created Servers"}}]
}, {
"generate": "widget",
"type": "controlbar",
......@@ -68,11 +68,11 @@
"type": "controlgroup",
"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_server_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "8", "text": "8", "text_i18n":"global_dict.pagination_dict.8"},{"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"}]}},
{"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.computer_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.computer_dict.text_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_server_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"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"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.computer_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.computer_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}
]
......
......@@ -29,11 +29,11 @@
"class_list": "center inline",
"property_dict": {},
"children": [
{"type": "a", "direct": {"href": "#servers::__id__::scope", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"page_dict.servers.scope", "data-icon":"globe"}, "logic": {"text":"Set Server Scope"}},
{"type": "a", "direct": {"href": "#servers::__id__::config", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"page_dict.servers.config", "data-icon":"cogs"}, "logic": {"text":"Set Configuration"}},
{"type": "a", "direct": {"href": "#servers::__id__::ssl_on", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"page_dict.servers.ssl_on", "data-icon":"lock"}, "logic": {"text":"Request SSL"}},
{"type": "a", "direct": {"href": "#servers::__id__::ssl_off", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"page_dict.servers.ssl_off", "data-icon":"unlock"}, "logic": {"text":"Revoke SSL"}},
{"type": "a", "direct": {"href": "#", "className": "action translate error status ui-btn ui-shadow ui-corner-all ui-btn-icon-left ui-icon-trash" }, "attributes": {"data-i18n":"page_dict.network.delete", "data-action": "destroy"}, "logic": {"text":"Delete"}}
{"type": "a", "direct": {"href": "#servers::__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": "#servers::__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": "#servers::__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": "#servers::__id__::ssl_off", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.ssl_off", "data-icon":"unlock"}, "logic": {"text":"Revoke SSL"}},
{"type": "a", "direct": {"href": "#", "className": "action translate error status ui-btn ui-shadow ui-corner-all ui-btn-icon-left ui-icon-trash" }, "attributes": {"data-i18n":"portal_type_dict.computer_dict.text_dict.delete", "data-action": "destroy"}, "logic": {"text":"Delete"}}
]
}],
"layout": [
......
......@@ -29,8 +29,8 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]global_dict.common_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]global_dict.common_dict.submit", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}],
"layout": [
......
......@@ -6,8 +6,8 @@
{
"generate": "widget",
"type": "page",
"title": "Office JS App Store",
"title_i18n": "page_dict.home.title",
"title": "SlapOS",
"title_i18n": "global_dict.slapos",
"theme": "slapos-white",
"layout": {
"default": []
......
......@@ -7,9 +7,11 @@
"generate": "widget",
"type": "page",
"title": "Documentation",
"title_i18n": "page_dict.documentation.title",
"title_i18n": "global_dict.documentation",
"theme": "slapos-white",
"children": []
"layout": {
"default": []
}
}
]
}
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Download",
"title_i18n": "page_dict.download.title",
"title_i18n": "global_dict.download",
"theme": "slapos-white",
"layout": {
"default": []
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Forum",
"title_i18n": "page_dict.forum.title",
"title_i18n": "global_dict.forum",
"theme": "slapos-white",
"layout": {
"default": []
......
......@@ -31,7 +31,7 @@
"children": [{
"type": "input",
"direct": {"id":"global-search", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]global_dict.common_dict.search","placeholder":"Search Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]global_dict.search","placeholder":"Search Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"}
}, {
"generate": "widget",
......@@ -44,16 +44,16 @@
"input": "#global-search"
},
"children": [
{"type": "divider", "center": {"text": [{"type": "h1", "text": "Account", "text_i18n": "global_dict.user_dict.account"}]}},
{"type": "item", "href": "#person", "left": {"icon":"user"}, "center": {"text": [{"type": "h1", "text": "Account Info", "text_i18n": "page_dict.person.title"}, {"type": "p", "text": "Registration/Invoicing Info", "text_i18n": "page_dict.person.subtitle"}]}},
{"type": "item", "href": "#invoices", "left": {"icon":"file-text-alt"}, "center": {"text": [{"type":"h1", "text": "Invoices", "text_i18n": "page_dict.invoices.title"}, {"type": "p", "text": "Overview of Invoices", "text_i18n":"page_dict.invoices.subtitle"}]}},
{"type": "item", "href": "#servers", "left": {"icon":"hdd"}, "center": {"text": [{"type":"h1", "text": "Servers", "text_i18n": "page_dict.servers.title"}, {"type":"p", "text": "Server instances being used", "text_i18n": "page_dict.servers.subtitle"}]}},
{"type": "item", "href": "#services", "left": {"icon":"cogs"}, "center": {"text": [{"type": "h1","text": "Services", "text_i18n":"page_dict.services.title"},{"type": "p", "text": "Administration of Installed Software", "text_i18n":"page_dict.services.subtitle"}]}},
{"type": "item", "href": "#networks", "left": {"icon":"sitemap"}, "center": {"text":[{"type": "h1", "text": "Networks", "text_i18n": "page_dict.networks.title"},{"type": "p", "text":"Network Administration", "text_i18n":"page_dict.networks.subtitle"}]}},
{"type": "divider", "center": {"text": [{"type": "h1", "text": "Account", "text_i18n": "global_dict.account"}]}},
{"type": "item", "href": "#person", "left": {"icon":"user"}, "center": {"text": [{"type": "h1", "text": "Account Info", "text_i18n": "global_dict.person"}, {"type": "p", "text": "Registration/Invoicing Info", "text_i18n": "global_dict.person_subtitle"}]}},
{"type": "item", "href": "#invoices", "left": {"icon":"file-text-alt"}, "center": {"text": [{"type":"h1", "text": "Invoices", "text_i18n": "global_dict.invoices"}, {"type": "p", "text": "Overview of Invoices", "text_i18n":"global_dict.invoices_subtitle"}]}},
{"type": "item", "href": "#servers", "left": {"icon":"hdd"}, "center": {"text": [{"type":"h1", "text": "Servers", "text_i18n": "global_dict.servers"}, {"type":"p", "text": "Server instances being used", "text_i18n": "global_dict.servers_subtitle"}]}},
{"type": "item", "href": "#services", "left": {"icon":"cogs"}, "center": {"text": [{"type": "h1","text": "Services", "text_i18n":"global_dict.services"},{"type": "p", "text": "Administration of Installed Software", "text_i18n":"global_dict.services_subtitle"}]}},
{"type": "item", "href": "#networks", "left": {"icon":"sitemap"}, "center": {"text":[{"type": "h1", "text": "Networks", "text_i18n": "global_dict.networks"},{"type": "p", "text":"Network Administration", "text_i18n":"global_dict.networks_subtitle"}]}},
{"type": "divider", "center": {"text": [{"type": "h1", "text": "Performance", "text_i18n":null}]}},
{"type": "item", "href": "#monitoring", "left": {"icon":"bar-chart"}, "center": {"text":[{"type":"h1", "text": "Monitoring", "text_i18n":"page_dict.monitoring.title"},{"type":"p", "text": "Server Status Reports", "text_i18n": "page_dict.monitoring.subtitle"}]}},
{"type": "item", "href": "#monitoring", "left": {"icon":"bar-chart"}, "center": {"text":[{"type":"h1", "text": "Monitoring", "text_i18n":"global_dict.monitoring"},{"type":"p", "text": "Server Status Reports", "text_i18n": "global_dict.monitoring_subtitle"}]}},
{"type": "divider", "center": {"text": [{"type": "h1", "text": "Support", "text_i18n": null}]}},
{"type": "item", "href": "#help", "left": {"icon":"question-sign"}, "center": {"text": [{"type": "h1", "text": "Help", "text_i18n": "page_dict.help.title"},{"type": "p", "text": "Contact Customer Support", "text_i18n": "page_dict.help.subtitle"}]}}
{"type": "item", "href": "#help", "left": {"icon":"question-sign"}, "center": {"text": [{"type": "h1", "text": "Help", "text_i18n": "global_dict.help"},{"type": "p", "text": "Contact Customer Support", "text_i18n": "global_dict.help_subtitle"}]}}
]
}, {
"generate": "widget",
......@@ -64,18 +64,18 @@
"input": "#global_search"
},
"children": [
{"type": "divider", "center": {"text": [{"type": "h1", "text":"General", "text_i18n":"global_dict.common_dict.general"}]}},
{"type": "item", "href": "#software", "left": {"icon":"cogs"}, "center": {"text": [{"type": "h1", "text": "Software", "text_i18n":"page_dict.software.title"}]}},
{"type": "item", "href": "#documentation", "left": {"icon":"book"}, "center": {"text": [{"type": "h1", "text": "Documentation", "text_i18n":"page_dict.documentation.title"}]}},
{"type": "item", "href": "#downloads", "left": {"icon":"download"}, "center": {"text": [{"type": "h1", "text": "Download", "text_i18n":"page_dict.download.title"}]}},
{"type": "item", "href": "#forum", "left": {"icon":"comments-alt"}, "center": {"text": [{"type": "h1", "text": "Forum", "text_i18n":"page_dict.forum.title"}]}},
{"type": "item", "href": "#blog", "left": {"icon":"rss-sign"}, "center": {"text": [{"type": "h1", "text": "Blog", "text_i18n":"page_dict.blog.title"}]}},
{"type": "item", "href": "#pricing", "left": {"icon":"dollar"}, "center": {"text": [{"type": "h1", "text": "Pricing", "text_i18n":"page_dict.pricing.title"}]}}
{"type": "divider", "center": {"text": [{"type": "h1", "text":"General", "text_i18n":"global_dict.general"}]}},
{"type": "item", "href": "#software", "left": {"icon":"cogs"}, "center": {"text": [{"type": "h1", "text": "Software", "text_i18n":"global_dict.software"}]}},
{"type": "item", "href": "#documentation", "left": {"icon":"book"}, "center": {"text": [{"type": "h1", "text": "Documentation", "text_i18n":"global_dict.documentation"}]}},
{"type": "item", "href": "#download", "left": {"icon":"download"}, "center": {"text": [{"type": "h1", "text": "Download", "text_i18n":"global_dict.download"}]}},
{"type": "item", "href": "#forum", "left": {"icon":"comments-alt"}, "center": {"text": [{"type": "h1", "text": "Forum", "text_i18n":"global_dict.forum"}]}},
{"type": "item", "href": "#blog", "left": {"icon":"rss-sign"}, "center": {"text": [{"type": "h1", "text": "Blog", "text_i18n":"global_dict.blog"}]}},
{"type": "item", "href": "#pricing", "left": {"icon":"dollar"}, "center": {"text": [{"type": "h1", "text": "Pricing", "text_i18n":"global_dict.pricing"}]}}
]
}, {
"type": "a",
"direct": {"className": "unenhanced", "href":"http://nexedi.com", "external": true },
"attributes": {"data-i18n": "global_dict.name_dict.nexedi"},
"attributes": {"data-i18n": "global_dict.nexedi"},
"logic": {"text": "Nexedi 2013"}
}]
}, {
......@@ -94,7 +94,7 @@
"property_dict": {
"fixed": true,
"title": "",
"title_i18n": "page_dict.home.title"
"title_i18n": "global_dict.slapos"
},
"children": [{
"generate": "widget",
......@@ -103,7 +103,7 @@
"direction": "horizontal"
},
"children": [
{"type":"a", "direct": {"href": "#global-panel", "className":"responsive translate"}, "attributes": {"data-rel":"panel", "data-icon":"reorder", "data-i18n":"global_dict.common_dict.menu"},"logic": {"text":"Menu"}}
{"type":"a", "direct": {"href": "#global-panel", "className":"responsive translate"}, "attributes": {"data-rel":"panel", "data-icon":"reorder", "data-i18n":"global_dict.menu"},"logic": {"text":"Menu"}}
]
},{
"generate": "widget",
......@@ -112,8 +112,8 @@
"direction": "horizontal"
},
"children": [
{"type":"select", "direct": {"id": "switch_language", "className":"action responsive translate"}, "attributes": {"data-action":"translate", "data-icon":"flag-en"}, "logic": {"wrapper_class_list":"flag", "options": [{"value": "en-EN", "text":"English", "text_i18n":"language_dict.english", "selected": true}]}},
{"type":"a", "direct": {"href": "#dashboard", "className":"responsive translate"}, "attributes": {"data-icon":"home", "data-i18n":"global_dict.common_dict.home"},"logic": {"text":"Home"}}
{"type":"select", "direct": {"id": "switch_language", "className":"action responsive translate"}, "attributes": {"data-action":"translate", "data-icon":"flag-en"}, "logic": {"wrapper_class_list":"flag", "options": [{"value": "en-EN", "text":"English", "text_i18n":"global_dict.english", "selected": true}]}},
{"type":"a", "direct": {"href": "#dashboard", "className":"responsive translate"}, "attributes": {"data-icon":"home", "data-i18n":"global_dict.home"},"logic": {"text":"Home"}}
]
}]
}]
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Help",
"title_i18n": "page_dict.help.title",
"title_i18n": "global_dict.help",
"theme": "slapos-white",
"layout": {
"default": []
......
......@@ -4,9 +4,9 @@
"widget": {
"id": "date",
"title": "Date",
"title_i18n": "portal_type_dict.invoice_dict.field_list.date.title",
"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_list.date.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.date.description",
"alternate_name": "date",
"default_value": null,
"css_class": "",
......@@ -55,9 +55,9 @@
"widget": {
"id": "total_price",
"title": "Total",
"title_i18n": "portal_type_dict.invoice_dict.field_list.total_price.title",
"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_list.total_price.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.total_price.description",
"alternate_name": "total_price",
"default": null,
"css_class": null,
......@@ -96,9 +96,9 @@
"widget": {
"id": "price_currency",
"title": "Currency",
"title_i18n": "portal_type_dict.invoice_dict.field_list.price_currency.title",
"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_list.price_currency.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.price_currency.description",
"alternate_name": "price_currency",
"default": null,
"css_class": null,
......@@ -137,9 +137,9 @@
"widget": {
"id": "translated_simulation_state_title",
"title": "Status",
"title_i18n": "portal_type_dict.invoice_dict.field_list.status.title",
"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_list.status.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.status.description",
"alternate_name": "translated_simulation_state_title",
"default": null,
"css_class": null,
......@@ -178,9 +178,9 @@
"widget": {
"id": "reference_portal_type",
"title": "Reference Portal Type",
"title_i18n": "portal_type_dict.invoice_dict.field_list.reference_portal_type.title",
"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_list.reference_portal_type.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.reference_portal_type.description",
"alternate_name": "reference_portal_type",
"default": null,
"css_class": null,
......@@ -219,9 +219,9 @@
"widget": {
"id": "reference_portal_type",
"title": "Reference ID",
"title_i18n": "portal_type_dict.invoice_dict.field_list.reference_id.title",
"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_list.reference_id.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.reference_id.description",
"alternate_name": "reference_portal_type",
"default": null,
"css_class": null,
......@@ -260,9 +260,9 @@
"widget": {
"id": "id",
"title": "Reference ID",
"title_i18n": "portal_type_dict.invoice_dict.field_list.id.title",
"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_list.id.description",
"description_i18n": "portal_type_dict.invoice_dict.field_dict.id.description",
"alternate_name": "id",
"default": null,
"css_class": null,
......
......@@ -8,7 +8,7 @@
"property_dict": {
"no_items": {
"message":"No invoices found",
"message_i18n":"page_dict.invoices.nodata"
"message_i18n":"portal_type_dict.invoice_dict.text_dict.nodata"
},
"dynamic_children": [3],
"requires_authentication": true,
......@@ -20,7 +20,7 @@
{"column": "total_price", "show": true, "persist": true, "sort":false},
{"column": "price_currency", "show": "true", "priority": 4, "merge": "total_price", "merger_text": "Total Price", "merger_i18n": "portal_type_dict.invoice_dict.fieldlist.total_price.title"},
{"column": "translated_simulation_state_title", "show":"true", "priority": 5},
{"custom": true, "text": "Download", "text_i18n": "global_dict.export_dict.download", "show": true, "priority": 6, "sort": false}
{"custom": true, "text": "Download", "text_i18n": "portal_type_dict.invoice_dict.text_dict.download", "show": true, "priority": 6, "sort": false}
]
],
"body": [
......@@ -42,7 +42,7 @@
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"page_dict.invoices.overview"},"logic": {"text":"Invoice Overview"}}]
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"portal_type_dict.invoice_dict.text_dict.overview"},"logic": {"text":"Invoice Overview"}}]
}, {
"generate": "widget",
"type": "controlbar",
......@@ -53,11 +53,11 @@
"type": "controlgroup",
"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_invoice_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "8", "text": "8", "text_i18n":"global_dict.pagination_dict.8"},{"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"}]}},
{"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.invoice_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.invoice_dict.text_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_invoice_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"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"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.invoice_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.invoice_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}
]
......@@ -67,7 +67,7 @@
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_invoice_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.invoices.search","placeholder":"Search invoices", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "input", "direct": {"id":"search_invoice_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.invoice_dict.text_dict.search","placeholder":"Search invoices", "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":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Invoices",
"title_i18n": "page_dict.invoices.title",
"title_i18n": "portal_type_dict.invoice_dict.text_dict.title",
"theme": "slapos-white",
"layout": {
"default": [
......
......@@ -10,7 +10,7 @@
{
"type": "img",
"direct": {"src": "img/slapos.png", "alt": "SlapOS logo", "className": "translate"},
"attributes": {"data-i18n": "global_dict.name_dict.slapos_logo"}
"attributes": {"data-i18n": "global_dict.slapos_logo"}
}
]
}, {
......@@ -18,7 +18,7 @@
}, {
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.common_dict.sign_in"},
"attributes": {"data-i18n": "global_dict.sign_in"},
"logic": {"text": "Sign in using"}
}, {
"generate": "widget",
......@@ -34,19 +34,19 @@
{
"type": "span",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.common_dict.pricing"},
"attributes": {"data-i18n": "global_dict.pricing_login"},
"logic": {"text": "To maintain sufficient resources, a minimal fee of 1 EUR will be charged if you use SlapOS services for more than 24 hours. By clicking on one of the signup buttons, you agree that you are subscribing to a payable service. All services you request will be invoiced to you at the end of the month."}
}
]
}, {
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.common_dict.find_out_more"},
"attributes": {"data-i18n": "global_dict.find_out_more"},
"logic": {"text": "To find out more, please refer to"}
}, {
"type": "a",
"direct": {"className": "translate ui-btn ui-icon-dollar ui-btn-icon-left ui-shadow ui-corner-all", "href": "#pricing"},
"attributes": {"data-i18n": "global_dict.name_dict.slapos_pricing"},
"attributes": {"data-i18n": "global_dict.slapos_pricing"},
"logic": {"text": "SlapOS Pricing"}
}
]
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Monitoring",
"title_i18n": "page_dict.monitoring.title",
"title_i18n": "global_dict.monitoring",
"theme": "slapos-white",
"layout": {
"default": []
......
......@@ -8,7 +8,7 @@
"property_dict": {
"no_items": {
"message":"No servers associated with this network.",
"message_i18n":"page_dict.networks.nodata"
"message_i18n":"portal_type_dict.network_dict.text_dict.nodata"
},
"initial_query_url_identifier": "group",
"dynamic_children": [0],
......@@ -18,7 +18,7 @@
"layout": {
"header": [
[
{"custom": true, "text": "Status", "text_i18n": "global_dict.common_dict.status", "show": true, "priority": 6},
{"custom": true, "text": "Status", "text_i18n": "portal_type_dict.network_dict.text_dict.status", "show": true, "priority": 6},
{"column": "title", "show": true, "priority": 5},
{"column": "reference", "show": true, "priority": 5},
{"column": "translated_validation_state_title", "show": "true", "priority": 3}
......
......@@ -4,9 +4,9 @@
"widget": {
"id": "title",
"title": "Title",
"title_i18n": "portal_type_dict.network_dict.field_list.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_list.title.description",
"description_i18n": "portal_type_dict.network_dict.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": null,
......@@ -45,9 +45,9 @@
"widget": {
"id": "reference",
"title": "Reference",
"title_i18n": "portal_type_dict.network_dict.field_list.reference.title",
"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_list.reference.description",
"description_i18n": "portal_type_dict.network_dict.field_dict.reference.description",
"alternate_name": "reference",
"default_value": null,
"css_class": null,
......
......@@ -29,8 +29,8 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]global_dict.common_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-icon":"save", "data-i18n":"[value]global_dict.common_dict.submit", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]portal_type_dict.network_dict.text_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-icon":"save", "data-i18n":"[value]portal_type_dict.network_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}],
"layout": [
......
......@@ -8,7 +8,7 @@
"property_dict": {
"no_items": {
"message": "No networks found.",
"message_i18n": "page_dict.networks.nonet"
"message_i18n": "portal_type_dict.network_dict.text_dict.nonet"
},
"dynamic_children": [4],
"requires_authentication": true,
......@@ -36,15 +36,15 @@
"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": "#networks::new"},
"attributes": {
"data-i18n": "page_dict.network.add",
"data-i18n": "portal_type_dict.network_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"Add server"}
"logic": {"text":"Add network"}
}, {
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"page_dict.networks.networks"},"logic": {"text":"Created Networks"}}]
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"portal_type_dict.network_dict.text_dict.created_networks"},"logic": {"text":"Created Networks"}}]
}, {
"generate": "widget",
"type": "controlbar",
......@@ -55,11 +55,11 @@
"type": "controlgroup",
"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_network_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "8", "text": "8", "text_i18n":"global_dict.pagination_dict.8"},{"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"}]}},
{"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.network_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.network_dict.text_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_network_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "8", "text": "8", "text_i18n":"portal_type_dict.network_dict.text_dict.8"},{"value": "16", "text": "16", "text_i18n":"portal_type_dict.network_dict.text_dict.16"},{"value": "32", "text": "32", "text_i18n":"portal_type_dict.network_dict.text_dict.32"}, {"value": "64", "text": "64", "text_i18n":"portal_type_dict.network_dict.text_dict.64"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.network_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.network_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}
]
......@@ -68,7 +68,7 @@
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_network_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.networks.search","placeholder":"Search available networks", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "input", "direct": {"id":"search_network_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.network_dict.text_dict.search","placeholder":"Search available networks", "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":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
......
......@@ -27,7 +27,7 @@
{
"type": "a",
"direct": {"href": "#", "className": "action translate right error status ui-btn ui-btn-inline ui-shadow ui-corner-all ui-btn-icon-left ui-icon-trash"},
"attributes": {"data-i18n":"page_dict.network.delete", "data-action": "destroy"},
"attributes": {"data-i18n":"portal_type_dict.network_dict.text_dict.delete", "data-action": "destroy"},
"logic": {"text":"Delete"}
}
],
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Servers",
"title_i18n": "page_dict.servers.title",
"title_i18n": "portal_type_dict.network_dict.text_dict.networks",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -30,8 +30,8 @@
}, {
"generate": "widget",
"type": "page",
"title": "Server Instance",
"title_i18n": "page_dict.servers.instance",
"title": "Network Instance",
"title_i18n": "portal_type_dict.network_dict.text_dict.network_instance",
"theme": "slapos-white",
"layout": {
"default": [
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Account",
"title_i18n": "page_dict.person.title",
"title_i18n": "portal_type_dict.person_dict.text_dict.account",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -32,7 +32,7 @@
"generate": "widget",
"type": "page",
"title": "Register",
"title_i18n": "page_dict.person.register",
"title_i18n": "portal_type_dict.person_dict.text_dict.register",
"theme":"slapos-white",
"layout": {
"default": [
......
This diff is collapsed.
......@@ -8,7 +8,7 @@
"property_dict": {
"no_items": {
"message": "No person found",
"message_i18n": "page_dict.person.nodata",
"message_i18n": "portal_type_dict.person_dict.text_dict.nodata",
"children": [
{
"href": "#person::new",
......@@ -43,8 +43,8 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]global_dict.common_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]global_dict.common_dict.submit", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.cancel"}},
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}],
"layout": [
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Pricing",
"title_i18n": "page_dict.pricing.title",
"title_i18n": "global_dict.pricing",
"theme": "slapos-white",
"layout": {
"default": []
......
......@@ -4,9 +4,9 @@
"widget": {
"id": "title",
"title": "Title",
"title_i18n": "portal_type_dict.release_dict.field_list.title.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.title.title",
"description": "The id the software service was registered with.",
"description_i18n": "portal_type_dict.release_dict.field_list.title.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": "",
......@@ -45,9 +45,9 @@
"widget": {
"id": "description",
"title": "Title",
"title_i18n": "portal_type_dict.release_dict.field_list.description.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.description.title",
"description": "The id the software service was registered with.",
"description_i18n": "portal_type_dict.release_dict.field_list.description.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.description.description",
"alternate_name": "description",
"default_value": null,
"css_class": "",
......@@ -86,9 +86,9 @@
"widget": {
"id": "version",
"title": "Title",
"title_i18n": "portal_type_dict.release_dict.field_list.version.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.version.title",
"description": "The id the software service was registered with.",
"description_i18n": "portal_type_dict.release_dict.field_list.version.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.version.description",
"alternate_name": "version",
"default_value": null,
"css_class": "",
......@@ -127,9 +127,9 @@
"widget": {
"id": "reference_portal_type",
"title": "Title",
"title_i18n": "portal_type_dict.release_dict.field_list.reference_portal_type.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.reference_portal_type.title",
"description": "The portal type this release is associated to.",
"description_i18n": "portal_type_dict.release_dict.field_list.reference_portal_type.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.reference_portal_type.description",
"alternate_name": "reference_portal_type",
"default_value": null,
"css_class": "",
......@@ -168,9 +168,9 @@
"widget": {
"id": "reference_id",
"title": "Title",
"title_i18n": "portal_type_dict.release_dict.field_list.reference_id.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.reference_id.title",
"description": "The id of the referenced portal_type this release is associated to.",
"description_i18n": "portal_type_dict.release_dict.field_list.reference_id.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.reference_id.description",
"alternate_name": "reference_id",
"default_value": null,
"css_class": "",
......@@ -209,9 +209,9 @@
"widget": {
"id": "image_type",
"title": "Type",
"title_i18n": "portal_type_dict.release_dict.field_list.image_type.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.image_type.title",
"description": "Type of Image (Icon/Image).",
"description_i18n": "portal_type_dict.release_dict.field_list.image_type.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.image_type.description",
"alternate_name": "image_type",
"default_value": null,
"css_class": null,
......@@ -250,9 +250,9 @@
"widget": {
"id": "image_url",
"title": "Image",
"title_i18n": "portal_type_dict.release_dict.field_list.image_url.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.image_url.title",
"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_dict.image_url.description",
"alternate_name": "image_url",
"default_value": null,
"css_class": null,
......@@ -295,9 +295,9 @@
"widget": {
"id": "detail_description",
"title": "Detailed Description",
"title_i18n": "portal_type_dict.release_dict.field_list.detail.title",
"title_i18n": "portal_type_dict.release_dict.field_dict.detail.title",
"description": "The detailed description of this service.",
"description_i18n": "portal_type_dict.release_dict.field_list.detail.description",
"description_i18n": "portal_type_dict.release_dict.field_dict.detail.description",
"alternate_name": "detail_description",
"css_class": null,
"hidden": null,
......
......@@ -31,15 +31,15 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]global_dict.common_dict.cancel"}},
{"type": "input", "direct": {"value": "Request", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"install", "data-i18n":"[value]global_dict.common_dict.request", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Reset", "className": "translate"}, "attributes": {"type": "reset", "data-i18n":"[value]portal_type_dict.release_dict.text_dict.cancel"}},
{"type": "input", "direct": {"value": "Request", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"install", "data-i18n":"[value]portal_type_dict.release_dict.text_dict.request", "data-theme": "slapos-black"}}
]
}],
"layout": [
{
"position": "center",
"fieldlist": [
{"type": "input", "direct": {"disabled": true, "className":"progress_notifier", "name": "status", "id": "status", "value": "Preparing instance..."}, "attributes": {"data-i18n":"[value]page_dict.services.prepare_instance"}}
{"type": "input", "direct": {"disabled": true, "className":"progress_notifier", "name": "status", "id": "status", "value": "Preparing instance..."}, "attributes": {"data-i18n":"[value]portal_type_dict.release_dict.text_dict.prepare_instance"}}
]
},
{
......@@ -47,8 +47,8 @@
"fieldlist": [
{"title": "title", "overrides": {"properties": {"required": true, "editable":false}}},
{"title": "version", "overrides": {"properties": {"required": true, "editable":false}}},
{"type": "input", "direct": {"name": "install_release_id", "id": "install_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":{"name": "install_release_reference_computer", "id": "install_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": "input", "direct": {"name": "install_release_id", "id": "install_release_id", "className": "required"}, "attributes": {"data-enhanced":"true", "type":"text", "readonly": "readonly"}, "logic":{"setValue": "instance_", "label":"Instance ID", "label_i18n":"portal_type_dict.release_dict.text_dict.instance_id"}},
{"type":"select", "direct":{"name": "install_release_reference_computer", "id": "install_release_reference_computer","className": "required"},"attributes": {"data-enhanced": "true"},"logic": {"label":"Request for Computer", "label_i18n":"portal_type_dict.release_dict.text_dict.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"}]}}
]
},
{
......@@ -63,7 +63,7 @@
{
"position": "center",
"fieldlist": [
{"type": "textarea", "direct": {"name": "install_release_xml_recipe", "id": "install_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"}}
{"type": "textarea", "direct": {"name": "install_release_xml_recipe", "id": "install_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":"portal_type_dict.release_dict.text_dict.instance_recipe"}}
]
}
]
......
......@@ -40,11 +40,11 @@
"type": "controlgroup",
"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_release_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "8", "text": "8", "text_i18n":"global_dict.pagination_dict.8"},{"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"}]}},
{"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.release_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.release_dict.text_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_release_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"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"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.release_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.release_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}
]
......@@ -53,7 +53,7 @@
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_release_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.networks.search","placeholder":"Search available networks", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "input", "direct": {"id":"search_release_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.release_dict.text_dict.search","placeholder":"Search available networks", "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":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Servers",
"title_i18n": "page_dict.servers.title",
"title_i18n": "portal_type_dict.computer_dict.text_dict.servers",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -31,7 +31,7 @@
"generate": "widget",
"type": "page",
"title": "Server Instance",
"title_i18n": "page_dict.servers.instance",
"title_i18n": "portal_type_dict.computer_dict.text_dict.server_instance",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -53,8 +53,8 @@
"generate": "widget",
"type": "page",
"theme": "slapos-white",
"title": "Instance Configuration",
"title_i18n": "page_dict.servers.configuration",
"title": "Server Configuration",
"title_i18n": "portal_type_dict.computer_dict.text_dict.instance_configuration",
"layout": {
"config": [
{
......
......@@ -29,7 +29,7 @@
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"page_dict.services.connection_param"},"logic": {"text":"Connection parameters"}}]
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"portal_type_dict.service_dict.text_dict.connection_param"},"logic": {"text":"Connection parameters"}}]
}, {
"generate": "widget",
"type": "table",
......
This diff is collapsed.
......@@ -29,8 +29,8 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Stop", "className": "action error status translate"}, "attributes": {"type": "button", "data-i18n":"[value]global_dict.common_dict.stop", "data-icon": "ban-circle"}},
{"type": "input", "direct": {"value": "Update", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]global_dict.common_dict.update", "data-icon": "ok", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Stop", "className": "action error status translate"}, "attributes": {"type": "button", "data-i18n":"[value]portal_type_dict.service_dict.text_dict.stop", "data-icon": "ban-circle"}},
{"type": "input", "direct": {"value": "Update", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]portal_type_dict.service_dict.text_dict.update", "data-icon": "ok", "data-theme": "slapos-black"}}
]
}],
"layout": [
......@@ -38,7 +38,7 @@
"position": "left",
"fieldlist": [
{"title": "id", "overrides": {"properties": {"editable": false, "required": false}}},
{"title": "title", "overrides": {"widget": {"title": "Software Type", "title_i18n": "page_dict.services.software_type"}, "properties": {"editable":false}}},
{"title": "title", "overrides": {"widget": {"title": "Software Type", "title_i18n": "portal_type_dict.service_dict.text_dict.software_type"}, "properties": {"editable":false}}},
{"title": "status", "overrides": {"properties": {"editable": false, "required": false}}},
{"title": "reference_computer", "overrides": {"type": "StringField", "properties": {"editable": false, "required": false}}}
]
......@@ -59,7 +59,7 @@
{
"position": "center",
"fieldlist": [
{"title": "xml_recipe", "overrides": {"widget": {"title": "Instance XML Recipe", "title_i18n": "page_dict.services.recipe"}}}
{"title": "xml_recipe", "overrides": {"widget": {"title": "Instance XML Recipe", "title_i18n": "portal_type_dict.service_dict.text_dict.recipe"}}}
]
}
]
......
......@@ -12,7 +12,7 @@
"layout": {
"header": [
[
{"custom": true, "text": "Image", "text_i18n": "portal_type_dict.service_dict.field_list.image_url.title", "show": true, "priority": 4},
{"custom": true, "text": "Image", "text_i18n": "portal_type_dict.service_dict.text_dict.image_url", "show": true, "priority": 4},
{"column": "title", "show": true, "priority": 1},
{"column": "version", "show": true, "priority": 1},
{"column": "usage", "show": true, "priority": 5}
......@@ -35,15 +35,15 @@
"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": "#services::add"},
"attributes": {
"data-i18n": "page_dict.services.add",
"data-i18n": "portal_type_dict.service_dict.text_dict.add",
"data-icon": "edit"
},
"logic": {"text":"Install new software"}
"logic": {"text":"Install new service"}
},{
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"page_dict.services.services"},"logic": {"text":"Installed Services"}}]
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"portal_type_dict.service_dict.text_dict.installed_services"},"logic": {"text":"Installed Services"}}]
}, {
"generate": "widget",
"type": "controlbar",
......@@ -54,11 +54,11 @@
"type": "controlgroup",
"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_services_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "8", "text": "8", "text_i18n":"global_dict.pagination_dict.8"},{"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"}]}},
{"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.service_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.service_dict.text_dict.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_services_list", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"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"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.service_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.service_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}
]
......@@ -67,7 +67,7 @@
"type": "controlbar",
"class_list": "responsive",
"children": [
{"type": "input", "direct": {"id":"search_services_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]page_dict.services.search","placeholder":"Search available services", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "logic":{"clear":"true", "action":"search"}},
{"type": "input", "direct": {"id":"search_services_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.service_dict.text_dict.search","placeholder":"Search available services", "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":"filter"}},
{"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"sorted"}}
......
......@@ -32,7 +32,7 @@
"generate": "widget",
"type": "controlbar",
"property_dict": {"slot": 1},
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"page_dict.services.installations"},"logic": {"text":"Installations"}}]
"children": [{"type": "p", "direct": {"className": "ui-table-caption translate"},"attributes": {"data-i18n":"portal_type_dict.service_dict.text_dict.installations"},"logic": {"text":"Installations"}}]
}, {
"generate": "widget",
"type": "table",
......@@ -48,7 +48,7 @@
}, {
"type": "a",
"direct": {"href": "#", "className": "action translate right error status ui-btn ui-btn-inline ui-shadow ui-corner-all ui-btn-icon-left ui-icon-trash"},
"attributes": {"data-i18n":"page_dict.services.destroy", "data-action": "destroy"},
"attributes": {"data-i18n":"portal_type_dict.service_dict.text_dict.destroy", "data-action": "destroy"},
"logic": {"text":"Destroy"}
}
]
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Services",
"title_i18n": "page_dict.services.title",
"title_i18n": "portal_type_dict.service_dict.text_dict.services",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -23,7 +23,7 @@
"generate": "widget",
"type": "page",
"title": "Service Configuration",
"title_i18n": "page_dict.services.configuration",
"title_i18n": "portal_type_dict.service_dict.text_dict.service_configuration",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -59,7 +59,7 @@
"generate": "widget",
"type": "page",
"title": "Select Release",
"title_i18n": "page_dict.services.select",
"title_i18n": "portal_type_dict.service_dict.text_dict.select_release",
"theme": "slapos-white",
"layout": {
"add": [
......@@ -75,7 +75,7 @@
"generate": "widget",
"type": "page",
"title": "Install Release",
"title_i18n": "page_dict.services.install",
"title_i18n": "portal_type_dict.service_dict.text_dict.install_release",
"theme": "slapos-white",
"layout": {
"add": [
......
......@@ -7,7 +7,7 @@
"generate": "widget",
"type": "page",
"title": "Software",
"title_i18n": "page_dict.software.title",
"title_i18n": "portal_type_dict.software_dict.text_dict.software",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -31,7 +31,7 @@
"generate": "widget",
"type": "page",
"title": "Software",
"title_i18n": "page_dict.software.title",
"title_i18n": "portal_type_dict.software_dict.text_dict.software",
"theme": "slapos-white",
"layout": {
"default": [
......@@ -47,7 +47,7 @@
"generate": "widget",
"type": "page",
"title": "Release",
"title_i18n": "page_dict.release.title",
"title_i18n": "portal_type_dict.software_dict.text_dict.release",
"theme": "slapos-white",
"layout": {
"default": [],
......
......@@ -4,9 +4,9 @@
"widget": {
"id": "id",
"title": "ID",
"title_i18n": "portal_type_dict.software_dict.field_list.id.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.id.title",
"description": "The id the software service was registered with.",
"description_i18n": "portal_type_dict.software_dict.field_list.id.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.id.description",
"alternate_name": "id",
"default_value": null,
"css_class": "url",
......@@ -45,9 +45,9 @@
"widget": {
"id": "title",
"title": "ID",
"title_i18n": "portal_type_dict.software_dict.field_list.title.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.title.title",
"description": "The name of the software service.",
"description_i18n": "portal_type_dict.software_dict.field_list.title.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": "url",
......@@ -86,9 +86,9 @@
"widget": {
"id": "description",
"title": "Description",
"title_i18n": "portal_type_dict.software_dict.field_list.description.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.description.title",
"description": "The description of the software service.",
"description_i18n": "portal_type_dict.software_dict.field_list.description.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.description.description",
"default_value": null,
"alternate_name": "description",
"css_class": null,
......@@ -136,9 +136,9 @@
"widget": {
"id": "image_type",
"title": "Type",
"title_i18n": "portal_type_dict.software_dict.field_list.image_type.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.image_type.title",
"description": "Type of Image (Icon/Image).",
"description_i18n": "portal_type_dict.software_dict.field_list.image_type.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.image_type.description",
"alternate_name": "image_type",
"default_value": null,
"css_class": null,
......@@ -177,9 +177,9 @@
"widget": {
"id": "image_url",
"title": "Image",
"title_i18n": "portal_type_dict.software_dict.field_list.image_url.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.image_url.title",
"description": "The path to the icon/image for this software service.",
"description_i18n": "portal_type_dict.software_dict.field_list.image_url.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.image_url.description",
"alternate_name": "image_url",
"default_value": null,
"css_class": null,
......@@ -222,9 +222,9 @@
"widget": {
"id": "description_i18n",
"title": "Description i18n Lookup",
"title_i18n": "portal_type_dict.software_dict.field_list.description_i18n.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.description_i18n.title",
"description": "The pointer to the translation for this field",
"description_i18n": "portal_type_dict.software_dict.field_list.description_i18n.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.description_i18n.description",
"alternate_name": "description_i18n",
"default_value": null,
"css_class": null,
......@@ -263,9 +263,9 @@
"widget": {
"id": "title_i18n",
"title": "Title i18n Lookup",
"title_i18n": "portal_type_dict.software_dict.field_list.title_i18n.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.title_i18n.title",
"description": "The pointer to the translation for this field",
"description_i18n": "portal_type_dict.software_dict.field_list.title_i18n.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.title_i18n.description",
"alternate_name": "title_i18n",
"default_value": null,
"css_class": null,
......@@ -304,9 +304,9 @@
"widget": {
"id": "price",
"title": "Price",
"title_i18n": "portal_type_dict.software_dict.field_list.price.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.price.title",
"description": "The price per period for this software service",
"description_i18n": "portal_type_dict.software_dict.field_list.price.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.price.description",
"alternate_name": "price",
"default_value": null,
"css_class": null,
......@@ -348,9 +348,9 @@
"widget": {
"id": "currency",
"title": "Currency",
"title_i18n": "portal_type_dict.software_dict.field_list.currency.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.currency.title",
"description": "The currency billed for usage of this software service",
"description_i18n": "portal_type_dict.software_dict.field_list.currency.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.currency.description",
"alternate_name": "currency",
"default_value": null,
"css_class": null,
......@@ -389,9 +389,9 @@
"widget": {
"id": "period",
"title": "Period",
"title_i18n": "portal_type_dict.software_dict.field_list.period.title",
"title_i18n": "portal_type_dict.software_dict.field_dict.period.title",
"description": "The billing period for usage of this software service.",
"description_i18n": "portal_type_dict.software_dict.field_list.period.description",
"description_i18n": "portal_type_dict.software_dict.field_dict.period.description",
"alternate_name": "period",
"default_value": null,
"css_class": null,
......
......@@ -16,7 +16,7 @@
"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": "input", "direct": {"id":"search_software_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.software_dict.text_dict.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"}},
......@@ -45,11 +45,11 @@
"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_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":"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"}, {"value": "128", "text": "128", "text_i18n":"portal_type_dict.software_dict.text_dict.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}]
}]
......
......@@ -15,7 +15,7 @@
"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": "input", "direct": {"id":"search_software_list", "className": "translate"}, "attributes": {"data-action":"search", "data-enhanced":"true", "data-i18n": "[placeholder]portal_type_dict.software_dict.text_dict.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"}}
]
}, {
......@@ -41,11 +41,11 @@
"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"}}
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_dict.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_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":"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"}, {"value": "128", "text": "128", "text_i18n":"portal_type_dict.software_dict.text_dict.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_dict.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"portal_type_dict.software_dict.text_dict.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
]
}]
}]
......
......@@ -5,8 +5,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/2/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.kvm.title",
"description_i18n":"data_dict.software_dict.kvm.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.kvm.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.kvm.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -17,8 +17,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20110316-88D7/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.slapos_runner.title",
"description_i18n":"data_dict.software_dict.slapos_runner.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.slapos_runner.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.slapos_runner.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -29,8 +29,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20110615-176F8/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.kumofs.title",
"description_i18n":"data_dict.software_dict.kumofs.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.kumofs.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.kumofs.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -41,8 +41,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20110613-107B5/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.zabbix.title",
"description_i18n":"data_dict.software_dict.zabbix.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.zabbix.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.zabbix.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -53,8 +53,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20110620-F42E/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.erp5_testnode.title",
"description_i18n":"data_dict.software_dict.erp5_testnode.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.erp5_testnode.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.erp5_testnode.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -65,8 +65,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20120412-853D9/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.html5_app_server.title",
"description_i18n":"data_dict.software_dict.html5_app_server.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.html5_app_server.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.html5_app_server.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -77,8 +77,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20120911-A661D/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.boinc_client.title",
"description_i18n":"data_dict.software_dict.boinc_client.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.boinc_client.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.boinc_client.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......@@ -89,8 +89,8 @@
"description": "",
"image_type": "image",
"image_url": "https://www.slapos.org/software_product_module/20120911-5F9C9/default_image?quality=75&amp;display=thumbnail",
"title_i18n":"data_dict.software_dict.boinc_server.title",
"description_i18n":"data_dict.software_dict.boinc_server.description",
"title_i18n":"portal_type_dict.software_dict.data_dict.boinc_server.title",
"description_i18n":"portal_type_dict.software_dict.data_dict.boinc_server.description",
"price": "1",
"currency": "Euro",
"period": "Month"
......
This diff is collapsed.
......@@ -8,12 +8,12 @@
"property_dict": {
"no_items": {
"message":"No Software installed.",
"message_i18n":"page_dict.servers.no_software",
"message_i18n":"portal_type_dict.software_dict.text_dict.no_software",
"children": [
{
"href": "#software::new",
"text": "Add Software",
"text_i18n": "page_dict.servers.add_software",
"text_i18n": "portal_type_dict.software_dict.text_dict.add_software",
"class_list": "translate ui-btn-slapos-black"
}
]
......@@ -27,7 +27,7 @@
{"column": "image_url", "show": true, "priority": 4},
{"column": "title", "show": true, "priority": 5},
{"column": "version", "show": true, "priority": 2},
{"custom": true, "text": "Status", "text_i18n": "global_dict.common_dict.status", "show": true, "priority": 5},
{"custom": true, "text": "Status", "text_i18n": "portal_type_dict.software_dict.text_dict.status", "show": true, "priority": 5},
{"column": "usage", "show": true, "priority": 3}
]
],
......@@ -62,7 +62,7 @@
"class_list": "center inline",
"property_dict": {},
"children": [
{"type": "a", "direct": {"href": "#software::add", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"page_dict.servers.add_software"}, "logic": {"text":"Install Software"}}
{"type": "a", "direct": {"href": "#software::add", "className": "ui-btn-slapos-black"}, "attributes": {"data-i18n":"portal_type_dict.software_dict.text_dict.add_software"}, "logic": {"text":"Install Software"}}
]
}]
}
......
......@@ -3,7 +3,6 @@
"type": "setStorage",
"property_dict": {
"force_field_definitions": true,
"no_content": true,
"storage_type": "JIO",
"modernizr": ["blobconstructor", "filereader"]
},
......@@ -11,7 +10,6 @@
"generate": "gadget",
"type": "makeStorage",
"property_dict": {
"no_content": true,
"definition": {
"type": "local",
"username": "slapos",
......@@ -22,7 +20,6 @@
"generate": "gadget",
"type": "makeStorage",
"property_dict": {
"no_content": true,
"definition": {
"type":"local",
"username":"slapos",
......
{
"generate": "gadget",
"type": "pageIndex",
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"title": "Thanks",
"title_i18n": "page_dict.thanks.title",
"theme": "slapos-white",
"layout": {
"default": [
{
"type": "p",
"direct": {"className": "ui-content-element translate responsive"},
"attributes":{"data-i18n":"pages.thanks.description"},
"logic":{"text":"Thanks for registering. You may now use the application."}
}
]
}
}
]
}
\ No newline at end of file
......@@ -1059,7 +1059,6 @@
}
// i18n
// TODO: generate app without any tags if not needed.
if (multi_language_flag) {
language = window.navigator.userLanguage || window.navigator.language;
......
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