mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-31 10:56:15 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user