]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: implement tag ordering as configured in datacenter config
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 16 Nov 2022 15:48:15 +0000 (16:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Nov 2022 17:21:23 +0000 (18:21 +0100)
commit8d8ba23da9c76b5168eeabf1c924369f45852f25
treead65f7e779606cef55219335f8818fa78ee3b2ce
parentad4a19f65222535bcad13f40c19e64a6912fe989
ui: implement tag ordering as configured in datacenter config

datacenter.cfg returns an 'ordering' option. parse that and
use it to order the tags when viewing. default is alphabetical.

With alphabetical ordering, drag & drop when editing is disabled and the
tags will be inserted at the right place. When saving, the sorted
order will be written into the config

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/css/ext6-pve.css
www/manager6/Utils.js
www/manager6/dc/OptionView.js
www/manager6/form/TagEdit.js