From 57787a29c4a3ea90441f2036e01fa6d0c52cd8a2 Mon Sep 17 00:00:00 2001 From: kamidu Date: Tue, 28 Mar 2017 15:08:54 +0530 Subject: [PATCH] adding the new toplink json --- .../devicemgt/app/conf/toplink-menu.json | 114 +++--------------- 1 file changed, 14 insertions(+), 100 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json index ae866dd37c..94966cc9f4 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/toplink-menu.json @@ -1,7 +1,7 @@ { "Logo": { "name": "Cloud", - "url": "https://<%= @cloudmgt_host %>/cloudmgt", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt", "target": "_parent" }, "Main": { @@ -12,75 +12,21 @@ "target": "_parent", "dropDown": { "Organization": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/organization.jag", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag", "icon": "fw fw-organization", "dropDown": "false", "target": "_self" }, "Members": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/user.jag", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag", "icon": "fa fa-users", "dropDown": "false", "target": "_self" } } }, - "Account": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/account-summary.jag", - "icon": "fw fw-resource", - "isAdminOnly": true, - "target": "_blank", - "dropDown": { - "Upgrade Now": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/payment-plans.jag?cloud-type=api_cloud", - "icon": "fw fw-export", - "target": "_self" - }, - "Monetization": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/monetization-dashboard.jag", - "icon": "fa fa-money fa-lg", - "dropDown": "false", - "target": "_self" - }, - "Request Extension": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/contact-us.jag?cloud-type=api_cloud&request-extension=true", - "icon": "fw fw-mail", - "target": "_blank" - }, - "Usage data": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/tenant-usage.jag?cloud-type=api_cloud", - "icon": "fw fw-bar-chart", - "target": "_self" - } - } - }, - "Configure": { - "url": "none", - "icon": "fw fw-settings", - "isAdminOnly": true, - "dropDown": { - "Admin Dashboard": { - "id": "admin-dashboard", - "url": "https://<%= @apimpublisher_host %>/admin-dashboard/", - "icon": "fw fw-user", - "target": "_self" - }, - "Custom URL": { - "id": "custom-url", - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/custom_url.jag", - "icon": "fw fw-uri", - "target": "_self" - }, - "API Store Access": { - "id": "custom-url", - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/selfSignup.jag", - "icon": "fw fw-store", - "target": "_self" - } - } - }, "Support": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/contact-us.jag", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag", "icon": "fw fw-mail", "isAdminOnly": false, "target": "_self", @@ -91,29 +37,11 @@ "icon": "fw fw-document", "isAdminOnly": false, "dropDown": { - "API Cloud": { - "id": "api_cloud", - "url": "https://docs.wso2.com/display/APICloud/WSO2+API+Cloud+Documentation", - "icon": "fw fw-api", - "target": "_blank" - }, - "Integration Cloud": { - "id": "integration_cloud", - "url": "https://docs.wso2.com/display/IntegrationCloud/WSO2+Integration+Cloud+Documentation", - "icon": "fw fw-application", - "target": "_blank" - }, "Device Cloud": { "id": "device_cloud", "url": "https://docs.wso2.com/display/DeviceCloud/WSO2+Device+Cloud+Documentation", "icon": "fw fw-mobile", "target": "_self" - }, - "API Cloud Walkthrough": { - "id": "api_cloud_walkthrough", - "url": "https://<%= @apimpublisher_host %>/publisher?interactiveTutorial=true", - "icon": "fw fw-document", - "target": "_self" } } } @@ -123,19 +51,19 @@ "icon": "fw fw-user", "dropDown": { "Profile": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/user-profile.jag", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user-profile.jag", "icon": "fw fw-user", "dropDown": "true", "target": "_self" }, "Change Password": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/change-password.jag", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/change-password.jag", "icon": "fw fw-lock", "dropDown": "true", "target": "_self" }, "Logout": { - "url": "https://<%= @apimpublisher_host %>/publisher/site/pages/logout.jag", + "url": "https://api.cloud.wso2.com/publisher/site/pages/logout.jag", "icon": "fw fw-sign-out", "dropDown": "true", "target": "_self" @@ -146,50 +74,36 @@ "Clouds": { "API Cloud": { "id": "api_cloud", - "url": "https://<%= @apimpublisher_host %>/publisher", + "url": "https://api.cloud.wso2.com/publisher", "icon": "fw fw-api fw-3x", "dropDown": "true", "target": "_self" }, "Integration Cloud": { "id": "integration_cloud", - "url": "https://milestones.appfactory.wso2.com:9443/appmgt", - "icon": "fa fa-cubes fw-3x", + "url": "https://integration.cloud.wso2.com/appmgt", + "icon": "fw fw-service fw-3x", "dropDown": "true", "target": "_self" }, "Identity Cloud": { "id": "integration_cloud", - "url": "https://identity.cloudlocal.wso2.com:9443/admin", + "url": "https://identity.cloud.wso2.com/admin", "icon": "fw fw-security fw-3x", "dropDown": "true", "target": "_self" - }, - "App Cloud": { - "id": "app_cloud", - "url": "https://<%= @appcloud_host %>/appmgt", - "icon": "fw fw-application fw-3x", - "dropDown": "true", - "target": "_self" - }, - "Device Cloud": { - "id": "device_cloud", - "url": "https://<%= @mgt_hostname %>/devicemgt", - "icon": "fw fw-mobile fw-3x", - "dropDown": "true", - "target": "_self" } }, "Actions": { "Organization": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/organization.jag", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag", "icon": "fw fw-organization fw-3x", "dropDown": "true", "target": "_self" }, "Members": { - "url": "https://<%= @cloudmgt_host %>/cloudmgt/site/pages/user.jag", - "icon": "fa fa-users fw-3x", + "url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag", + "icon": "fa fa-users fa-3x", "dropDown": "true", "target": "_self" }