]> git.proxmox.com Git - pve-manager.git/commit
ui: add form for editing tags
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 16 Nov 2022 15:48:11 +0000 (16:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Nov 2022 17:20:53 +0000 (18:20 +0100)
commit1b42bb8657078ff8e2d22ed60968094799e1bbef
tree200a9681c46ee3c1d77fd52608504801c91667e2
parentb6f9fc78c016668cb77b4dc1ee3d59d3606d15cb
ui: add form for editing tags

This is a wrapper container for holding a list of (editable) tags
intended to be used in the lxc/qemu status toolbar

To add a new tag, we reuse the 'pveTag' class, but overwrite some of
its behaviour and css classes so that it properly adds tags

Also handles the drag/drop feature for the tags in the list

When done with editing (by clicking the checkmark), sends a 'change'
event with the new tags

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/css/ext6-pve.css
www/manager6/Makefile
www/manager6/form/TagEdit.js [new file with mode: 0644]