Commit Graph

7 Commits

Author SHA1 Message Date
Thomas Lamprecht
505f5d7fbc dashboard: show boot-mode information
Add a extra row for showing the current boot mode, for that we need to
grow the height of the status panel and graphs to have enough space
again.

Mirrors commit 1f1d8bf3 ("ui: node summary: add boot-mode
information") from pve-manager.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-02-26 16:19:19 +01:00
Thomas Lamprecht
378a1024cb dashboard: reduce noise in current kernel version
use the new 'current-kernel' object returned by the node status API to
render a more usable (less noise) version information.

Keep fallback for old one to better work with upgrades (major and
minor) to this version in a cluster, where the web UI one uses might
be the new one, but a node one looks at still have the old API daemon.

Mirrors commit be04f8ee ("ui: node summary: reduce noise in current
kernel version") and commit 4fb7e9e4 ("fix #5121: ui: node status:
avoid invalid array access for certain foreign kernels") from
pve-manager.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-02-26 16:17:12 +01:00
Christian Ebner
2142eeff5d ui: node summary: use SI units for HD usage
SI units are used for storage size information, as typically used by
hard disk manufacturers.

Change the root filesystem usage values in the node summary to be
consistent
2023-12-15 15:57:19 +01:00
Fabian Ebner
48e230790e dashboard: node status: use repo status widget from widget-toolkit
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-28 10:25:39 +02:00
Thomas Lamprecht
6d491d75ff dashboard: add hover text-shadow class for repo-panel link
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 16:02:56 +02:00
Thomas Lamprecht
774418f08b node info: avoid setting undefined in view model
undefined is used as delete when set to a normal data-path of a view
model, so, we need an actual defined value here as else we cannot
decide if the view model was ever initialized or not.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 15:18:31 +02:00
Fabian Ebner
11eae1a0e7 dashboard: add node info panel
Essentially the same as in PBS, but needed to use 'rootfs' instead of
'root' for the disk usage, avoid 'cpu' as an itemId (already used by
the cluster resources), and get rid of the fingerprint button. Also
added the link to the repositories panel like in Dominik's pending
patch for PBS.

Rename the existing resources panel to clarify what it actually is.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-13 14:40:08 +02:00