forked from community/device-mgt-core
Fixing https://github.com/wso2/product-iots/issues/1119: monetization
parent
09bf240ff6
commit
8223588e82
@ -1,112 +1,137 @@
|
|||||||
{
|
{
|
||||||
"Logo": {
|
"Logo": {
|
||||||
"name": "Cloud",
|
"name": "Cloud",
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt",
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt",
|
||||||
"target": "_parent"
|
"target": "_parent"
|
||||||
},
|
},
|
||||||
"Main": {
|
"Main": {
|
||||||
"Domain": {
|
"Domain": {
|
||||||
"url": "#",
|
"url": "#",
|
||||||
"icon": "fw fw-organization",
|
"icon": "fw fw-organization",
|
||||||
"isAdminOnly": false,
|
"isAdminOnly": false,
|
||||||
"target": "_parent",
|
"target": "_parent",
|
||||||
"dropDown": {
|
"dropDown": {
|
||||||
"Organization": {
|
"Organization": {
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
|
||||||
"icon": "fw fw-organization",
|
"icon": "fw fw-organization",
|
||||||
"dropDown": "false",
|
"dropDown": "false",
|
||||||
"target": "_self"
|
"target": "_self"
|
||||||
|
},
|
||||||
|
"Members": {
|
||||||
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
|
||||||
|
"icon": "fa fa-users",
|
||||||
|
"dropDown": "false",
|
||||||
|
"target": "_self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Account": {
|
||||||
|
"url": "#",
|
||||||
|
"icon": "fw fw-resource",
|
||||||
|
"isAdminOnly": false,
|
||||||
|
"billingEnabled": true,
|
||||||
|
"billingApi": {
|
||||||
|
"username": "admin",
|
||||||
|
"password": "admin"
|
||||||
|
},
|
||||||
|
"cloudMgtIndexPage": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/index.jag",
|
||||||
|
"dropDown": {
|
||||||
|
"Upgrade Now": {
|
||||||
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/payment-plans.jag?cloud-type=device_cloud",
|
||||||
|
"icon": "fw fw-export",
|
||||||
|
"dropDown": "true",
|
||||||
|
"target": "_self"
|
||||||
|
},
|
||||||
|
"Request Extension": {
|
||||||
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag?cloud-type=device_cloud&request-extension=true",
|
||||||
|
"icon": "fa fa-mail",
|
||||||
|
"dropDown": "true",
|
||||||
|
"target": "_self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Support": {
|
||||||
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag?cloud-type=device_cloud",
|
||||||
|
"icon": "fw fw-mail",
|
||||||
|
"isAdminOnly": false,
|
||||||
|
"target": "_self",
|
||||||
|
"dropDown": "false"
|
||||||
},
|
},
|
||||||
"Members": {
|
"Documentation": {
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
|
"url": "#",
|
||||||
"icon": "fa fa-users",
|
"icon": "fw fw-document",
|
||||||
"dropDown": "false",
|
"isAdminOnly": false,
|
||||||
"target": "_self"
|
"dropDown": {
|
||||||
|
"Device Cloud": {
|
||||||
|
"id": "device_cloud",
|
||||||
|
"url": "https://docs.wso2.com/display/DeviceCloud/WSO2+Device+Cloud+Documentation",
|
||||||
|
"icon": "fw fw-mobile",
|
||||||
|
"target": "_blank"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"Support": {
|
"User": {
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/contact-us.jag",
|
"url": "#",
|
||||||
"icon": "fw fw-mail",
|
|
||||||
"isAdminOnly": false,
|
|
||||||
"target": "_self",
|
|
||||||
"dropDown": "false"
|
|
||||||
},
|
|
||||||
"Documentation": {
|
|
||||||
"url": "#",
|
|
||||||
"icon": "fw fw-document",
|
|
||||||
"isAdminOnly": false,
|
|
||||||
"dropDown": {
|
|
||||||
"Device Cloud": {
|
|
||||||
"id": "device_cloud",
|
|
||||||
"url": "https://docs.wso2.com/display/DeviceCloud/WSO2+Device+Cloud+Documentation",
|
|
||||||
"icon": "fw fw-mobile",
|
|
||||||
"target": "_blank"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"User": {
|
|
||||||
"url": "#",
|
|
||||||
"icon": "fw fw-user",
|
|
||||||
"dropDown": {
|
|
||||||
"Profile": {
|
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user-profile.jag",
|
|
||||||
"icon": "fw fw-user",
|
"icon": "fw fw-user",
|
||||||
"dropDown": "true",
|
"dropDown": {
|
||||||
"target": "_self"
|
"Profile": {
|
||||||
},
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user-profile.jag",
|
||||||
"Change Password": {
|
"icon": "fw fw-user",
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/change-password.jag",
|
"dropDown": "true",
|
||||||
"icon": "fw fw-lock",
|
"target": "_self"
|
||||||
"dropDown": "true",
|
},
|
||||||
"target": "_self"
|
"Change Password": {
|
||||||
},
|
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/change-password.jag",
|
||||||
"Logout": {
|
"icon": "fw fw-lock",
|
||||||
"url": "https://api.cloud.wso2.com/publisher/site/pages/logout.jag",
|
"dropDown": "true",
|
||||||
"icon": "fw fw-sign-out",
|
"target": "_self"
|
||||||
"dropDown": "true",
|
},
|
||||||
"target": "_self"
|
"Logout": {
|
||||||
}
|
"url": "https://device.cloud.wso2.com/devicemgt/logout",
|
||||||
}
|
"icon": "fw fw-sign-out",
|
||||||
},
|
"dropDown": "true",
|
||||||
"Expand": {
|
"target": "_self"
|
||||||
"Clouds": {
|
}
|
||||||
"API Cloud": {
|
}
|
||||||
"id": "api_cloud",
|
|
||||||
"url": "https://api.cloud.wso2.com/publisher",
|
|
||||||
"icon": "fw fw-api fw-3x",
|
|
||||||
"dropDown": "true",
|
|
||||||
"target": "_self"
|
|
||||||
},
|
|
||||||
"Integration Cloud": {
|
|
||||||
"id": "integration_cloud",
|
|
||||||
"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.cloud.wso2.com/admin",
|
|
||||||
"icon": "fw fw-security fw-3x",
|
|
||||||
"dropDown": "true",
|
|
||||||
"target": "_self"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"Actions": {
|
"Expand": {
|
||||||
"Organization": {
|
"Clouds": {
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/organization.jag",
|
"API Cloud": {
|
||||||
"icon": "fw fw-organization fw-3x",
|
"id": "api_cloud",
|
||||||
"dropDown": "true",
|
"url": "https://api.cloud.wso2.com/publisher",
|
||||||
"target": "_self"
|
"icon": "fw fw-api fw-3x",
|
||||||
},
|
"dropDown": "true",
|
||||||
"Members": {
|
"target": "_self"
|
||||||
"url": "https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user.jag",
|
},
|
||||||
"icon": "fa fa-users fa-3x",
|
"Integration Cloud": {
|
||||||
"dropDown": "true",
|
"id": "integration_cloud",
|
||||||
"target": "_self"
|
"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.cloud.wso2.com/admin",
|
||||||
|
"icon": "fw fw-security fw-3x",
|
||||||
|
"dropDown": "true",
|
||||||
|
"target": "_self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Actions": {
|
||||||
|
"Organization": {
|
||||||
|
"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.cloud.wso2.com/cloudmgt/site/pages/user.jag",
|
||||||
|
"icon": "fa fa-users fa-3x",
|
||||||
|
"dropDown": "true",
|
||||||
|
"target": "_self"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
*
|
||||||
|
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
|
* in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing,
|
||||||
|
* software distributed under the License is distributed on an
|
||||||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||||
|
* either express or implied. See the License for the
|
||||||
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*/
|
||||||
|
$(document).ready(function(){
|
||||||
|
var expireModal = $('#expire-modal-content');
|
||||||
|
modalDialog.content(expireModal.find('.modal-body'));
|
||||||
|
modalDialog.header(expireModal.find('.modal-header .modal-title'));
|
||||||
|
modalDialog.footer(expireModal.find('.modal-footer'));
|
||||||
|
modalDialog.show();
|
||||||
|
});
|
Loading…
Reference in new issue