]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/storage/LvmThinEdit.js
ui: storage: move node scan selector inside combobox
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 18 Jan 2023 13:12:59 +0000 (14:12 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 18 Jan 2023 15:01:08 +0000 (16:01 +0100)
commitd420b29ae31e4ff2ffd9cd707c5b1468dd0e6f3a
treebbd760e67fcbb926ff9e2dd2dfaa0031980583aa
parentd7610df0c7ff430801ee95e54af2165e13308937
ui: storage: move node scan selector inside combobox

by converting the relevant selection boxes to combogrids.
This is done to reduce confusion for how/why to select a node, and
doing it this way it is moved closer to the selection of the actual
value we want. It still restricts the nodes when selecting a specific one.

Show it only when there is more than one node according to the
in-memory PVE.data.ResourceStore info, as for single-node setups
there isn't any other node one could scan anyway.

Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/ComboBoxSetStoreNode.js
www/manager6/storage/IScsiEdit.js
www/manager6/storage/LVMEdit.js
www/manager6/storage/LvmThinEdit.js
www/manager6/storage/ZFSPoolEdit.js