mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add plugins section
This commit is contained in:
parent
2cc09c813a
commit
9b1c74e7f5
8
ui/plugins.js
Normal file
8
ui/plugins.js
Normal file
@ -0,0 +1,8 @@
|
||||
(function($, cloudStack) {
|
||||
cloudStack.sections.plugins = {
|
||||
title: 'Plugins',
|
||||
show: function(args) {
|
||||
return $('<div>').html('Plugins');
|
||||
}
|
||||
}
|
||||
}(jQuery, cloudStack));
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
sectionPreFilter: function(args) {
|
||||
if(isAdmin()) {
|
||||
return ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "system", "global-settings", "configuration", "projects"];
|
||||
return ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "system", "global-settings", "configuration", "projects", "plugins"];
|
||||
}
|
||||
else if(isDomainAdmin()) {
|
||||
return ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects"];
|
||||
@ -49,7 +49,8 @@
|
||||
|
||||
system: {}, //root-admin only
|
||||
'global-settings': {}, //root-admin only
|
||||
configuration: {} //root-admin only
|
||||
configuration: {}, //root-admin only
|
||||
plugins: {}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user