]> git.proxmox.com Git - pve-manager.git/commit
gui: ceph osd: improve version hints
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 19 Jul 2019 08:17:02 +0000 (10:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Jul 2019 13:52:07 +0000 (15:52 +0200)
commit0b88c18abf63c9ff5c1248a58631b3c727eed55a
tree05f76cb212b4aa17c879f843133bbcd999c34790
parent23c83a3aa0f7d8b2a4ae3535f286fe2d4849276c
gui: ceph osd: improve version hints

we now traverse the whole tree for the versions and save not only
the maxversion but if we have mixed versions at all

the traversal contains code to inject the host versions into the treenodes

this way we can omit any icon in case everything is on the same level
and if not we:

* show a check at update hosts and services
* show a 'restart' symbol for osds that only need a restart
* show an 'upgrade' symbol (fa-upload) for osds/hosts that need
  a package upgrade

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