mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Add zone-level granular settings UI
This commit is contained in:
parent
1bb0136c8e
commit
019e8cd0ff
@ -5381,6 +5381,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Granular settings for zone
|
||||||
|
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) {
|
||||||
|
debugger;
|
||||||
|
// call updateZoneLevelParamter
|
||||||
|
args.response.success();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user