Added number formatting for summary cards
Added number formatting for summary cards
This commit is contained in:
parent
f096cc5ca6
commit
35f96a6ee6
|
@ -146,7 +146,8 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body text-center shadow">
|
<div class="card-body text-center shadow">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h4>{{$information['servers_summary']['ram_mb_sum'] / 1024}} <small
|
<h4>{{number_format($information['servers_summary']['ram_mb_sum'] / 1024, 2)}}
|
||||||
|
<small
|
||||||
class="text-muted">GB</small></h4>
|
class="text-muted">GB</small></h4>
|
||||||
<p>Ram</p>
|
<p>Ram</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -159,7 +160,8 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h4>
|
<h4>
|
||||||
@if($information['servers_summary']['disk_gb_sum'] >= 1000)
|
@if($information['servers_summary']['disk_gb_sum'] >= 1000)
|
||||||
{{$information['servers_summary']['disk_gb_sum'] / 1024}} <small
|
{{number_format($information['servers_summary']['disk_gb_sum'] / 1024,2)}}
|
||||||
|
<small
|
||||||
class="text-muted">TB</small>
|
class="text-muted">TB</small>
|
||||||
@else
|
@else
|
||||||
{{$information['servers_summary']['disk_gb_sum']}} <small
|
{{$information['servers_summary']['disk_gb_sum']}} <small
|
||||||
|
@ -175,7 +177,8 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body text-center shadow">
|
<div class="card-body text-center shadow">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h4>{{$information['servers_summary']['bandwidth_sum'] / 1024}} <small
|
<h4>{{number_format($information['servers_summary']['bandwidth_sum'] / 1024,2)}}
|
||||||
|
<small
|
||||||
class="text-muted">TB</small></h4>
|
class="text-muted">TB</small></h4>
|
||||||
<p>Bandwidth</p>
|
<p>Bandwidth</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user