]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: parse and save tag infos from /cluster/options
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 16 Nov 2022 15:48:06 +0000 (16:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Nov 2022 17:20:12 +0000 (18:20 +0100)
commit8b4c7a46e2767c7bdf0bcbdafdf597a56ed6be2a
treec735dffe1e637be3fedac7179c9a9ba40a4fc9d6
parentb7f4cb7cf9a0d1849473567a628c1b5f3ed8293c
ui: parse and save tag infos from /cluster/options

stores the color-map into a global list of overrides. on update, also parse
the values from the browser localstore. Also emits a GlobalEvent
'loadedUiOptions' so that e.g. the tags can listen to that and refresh their
colors

also saves the list of 'allowed-tags' into PVE.Utils

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Utils.js