mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add account-level parameter UI
This commit is contained in:
parent
9130cd0499
commit
ad38060e3a
@ -895,6 +895,27 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
// Granular settings for account
|
||||
settings: {
|
||||
title: 'label.menu.global.settings',
|
||||
custom: cloudStack.uiCustom.granularSettings({
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
data: [
|
||||
{ name: 'config.param.1', value: 1 },
|
||||
{ name: 'config.param.2', value: 2 }
|
||||
]
|
||||
});
|
||||
},
|
||||
actions: {
|
||||
edit: function(args) {
|
||||
// call updateAccountLevelParameters
|
||||
args.response.success();
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user