[pve-devel] applied: [PATCH manager v2] api/ui: include the node ha status in resources call and show as icon
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Nov 13 15:36:39 CET 2024
Am 13.11.24 um 12:32 schrieb Dominik Csapak:
> we already have the information parsed, so it's cheap, and we already
> have a mechanism in place that adds 'ha-<hastate>' as a css class, so
> let's reuse that.
>
> I chose a blue wrench, as wrenches are associated with 'maintenance',
> and because the state is different than 'online' and 'offline', but
> don't make it yellow since it's not really a 'failure' state.
>
> Users mentioned in the forum that this would be nice:
> https://forum.proxmox.com/threads/125768/
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v1:
> * make the wrench blue; and make it a little bigger so it's easier to see
>
> PVE/API2/Cluster.pm | 3 +++
> www/css/ext6-pve.css | 10 ++++++++++
> 2 files changed, 13 insertions(+)
>
>
applied, thanks!
Might be nice to also show the state as a tooltip, to allow users to
better correlate why this icon is shown.
More information about the pve-devel
mailing list