mirror of https://github.com/apache/cloudstack.git
Dynamically load UI plugins via require.js
Plugin code uses the following format:
(function (cloudStack) {
var testPlugin1 = function(plugin) {
// Plugin code goes here
};
cloudStack.plugin({
id: 'testPlugin1',
title: 'Test Plugin 1',
desc: 'Sample plugin 1',
load: testPlugin1
});
}(cloudStack));
|
||
|---|---|---|
| .. | ||
| ui | ||
| ui-custom | ||
| accounts.js | ||
| autoscaler.js | ||
| cloud.core.callbacks.js | ||
| cloudStack.js | ||
| configuration.js | ||
| dashboard.js | ||
| docs.js | ||
| domains.js | ||
| events.js | ||
| globalSettings.js | ||
| installWizard.js | ||
| instanceWizard.js | ||
| instances.js | ||
| lbStickyPolicy.js | ||
| network.js | ||
| plugins.js | ||
| projects.js | ||
| sharedFunctions.js | ||
| storage.js | ||
| system.js | ||
| templates.js | ||
| vpc.js | ||
| zoneWizard.js | ||