Rework info panel in public dashboard

- change to bootstrap grid from table
- add infos, use badges
- remove non required query
This commit is contained in:
Christoph Kluge
2025-12-22 17:26:56 +01:00
parent 89875db4a9
commit 502d7e9084
3 changed files with 146 additions and 105 deletions

View File

@@ -3,7 +3,7 @@
*/
const power = [1, 1e3, 1e6, 1e9, 1e12, 1e15, 1e18, 1e21]
const prefix = ['', 'K', 'M', 'G', 'T', 'P', 'E']
const prefix = ['', 'k', 'M', 'G', 'T', 'P', 'E']
export function formatNumber(x) {
if ( isNaN(x) || x == null) {