improve tabs on application editor
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/890eb39e Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/890eb39e Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/890eb39e Branch: refs/heads/master Commit: 890eb39e3a8819b232f0f7d49c4c6781aae4a91f Parents: 36ec6aa Author: Dakshika Jayathilaka <[email protected]> Authored: Fri Apr 10 17:07:44 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Fri Apr 17 13:59:58 2015 +0530 ---------------------------------------------------------------------- .../themes/theme0/js/custom/applications-editor.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/890eb39e/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js index 656a9d0..2be5923 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js +++ b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js @@ -616,10 +616,9 @@ var applicationBlockTemplate = { "properties": { "applicationId": { "id": "root/applicationId", - "type": "string", - "options": { - "hidden": true - } + "title": "Application Id", + "name": "Application Id", + "type": "string" }, "alias": { "id": "root/alias", @@ -649,11 +648,12 @@ var applicationBlockTemplate = { "type": "array", "title": "Startup Orders", "name": "Startup Orders", + "format":"tabs", "items": { "id": "root/dependencies/startupOrders/0", "type": "string", - "title": "Startup Order", - "name": "Startup Order" + "title": "Order", + "name": "Order" } }, "scalingDependents": { @@ -661,11 +661,12 @@ var applicationBlockTemplate = { "type": "array", "title": "Scaling Dependents", "name": "Scaling Dependents", + "format":"tabs", "items": { "id": "root/dependencies/scalingDependents/0", "type": "string", - "title": "Scaling Dependent", - "name": "Scaling Dependent" + "title": "Dependent", + "name": "Dependent" } }, "terminationBehaviour": {
