[pve-devel] applied: [RFC manager 4/6] gui/cluster: add CorosyncLinkEdit component to support up to 8 links

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Feb 14 17:24:11 CET 2020


On 1/29/20 11:27 AM, Stefan Reiter wrote:
> CorosyncLinkEdit is a Panel that contains between one and 8
> CorosyncLinkSelectors. These can be added or removed with according
> buttons.
> 
> Values submitted to the API are calculated by each
> ProxmoxNetworkSelector itself. This works because ExtJS searches
> recursively through all child components for ones with a value to be
> submitted, i.e. the CorosyncLinkEdit and CorosyncLinkSelector components
> are not part of data submission at all.
> 
> Change ClusterEdit.js to use the new component for cluster join and
> create.
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> Kind of depends on the widget-toolkit patch. Will work without it, but has some
> visual glitches then.
> 
> 
>  www/manager6/Makefile               |   1 +
>  www/manager6/dc/ClusterEdit.js      | 150 +++++-----
>  www/manager6/dc/CorosyncLinkEdit.js | 406 ++++++++++++++++++++++++++++
>  3 files changed, 478 insertions(+), 79 deletions(-)
>  create mode 100644 www/manager6/dc/CorosyncLinkEdit.js
> 

applied, thanks!




More information about the pve-devel mailing list