]> git.proxmox.com Git - pmg-gui.git/commit
dashboard: show ten of the current top receiver
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Feb 2024 16:16:30 +0000 (17:16 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Feb 2024 16:25:54 +0000 (17:25 +0100)
commita2afe563da819bb2ce8222ff9577873d15121dc0
tree0fb424ff2167a31629b8c7272078138fa50e0f6e
parent95288fa867844d0f59ca755d4ee5c8bd7b5f8909
dashboard: show ten of the current top receiver

not only five, as with the higher panels we already got enough space,
as one row needs roughly 24 px, lower top/bottom padding a bit to get
~242 of space, fitting ten entries nicely.

The performance aspect should not matter much, getting five or ten
entries from a DB like PostgreSQL is really not costing much,
especially as with the count query in use the hard work has already
been done anyway.

Makes the top-receiver panel look a bit more coherent compared to the
node info one beside it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/Dashboard.js