On  2024-11-12  20:49, Thomas Lamprecht wrote:
Am 31.05.24 um 10:07 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 yellow wrench, as wrenches are associated with 'maintenance',
and because the state warrants more notice than 'online' but less than
'offline'.

Users mentioned in the forum that this would be nice:
https://forum.proxmox.com/threads/125768/

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
not sure about the color, since the yellow has relatively low contrast
in the light mode (in dark mode it's fine). It's the same yellow as for
'io-errors' though.

maybe blue as more of a "notice" color, this state is not problematic per
se after all.

Some thoughts from my side:

We use #3892d4 for the Ceph PG pie chart if PGs are doing some non critical work. It is a "mid" blue that works quite well in both, light and dark theme. The wrench symbol can be a bit thin as it is even smaller than the main icon. Maybe the `cog` icon works better? But no hard feelings on either from my side.

The cog wheel and the blue would result in the following CSS class:

.x-tree-icon-custom.ha-maintenance:after,
.x-grid-icon-custom.ha-maintenance:after {
    content: "\f013";
    color: #3892d4;
}



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to