From 35f96a6ee60623b802a6df8329324d6e3bf7c8d9 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sun, 13 Mar 2022 22:15:46 +1100 Subject: [PATCH] Added number formatting for summary cards Added number formatting for summary cards --- resources/views/home.blade.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index de86b84..56db832 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -146,7 +146,8 @@
-

{{$information['servers_summary']['ram_mb_sum'] / 1024}} {{number_format($information['servers_summary']['ram_mb_sum'] / 1024, 2)}} + GB

Ram

@@ -159,7 +160,8 @@

@if($information['servers_summary']['disk_gb_sum'] >= 1000) - {{$information['servers_summary']['disk_gb_sum'] / 1024}} TB @else {{$information['servers_summary']['disk_gb_sum']}}
-

{{$information['servers_summary']['bandwidth_sum'] / 1024}} {{number_format($information['servers_summary']['bandwidth_sum'] / 1024,2)}} + TB

Bandwidth