diff options
Diffstat (limited to 'ogcp/templates/dashboard.html')
-rw-r--r-- | ogcp/templates/dashboard.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html index bc89128..3da6587 100644 --- a/ogcp/templates/dashboard.html +++ b/ogcp/templates/dashboard.html @@ -113,14 +113,14 @@ </ul> <ul class="list-group list-group-horizontal"> <li class="list-group-item w-50"> - {{ disk['total'] // 2**30 }} Gbytes + {{ disk['total'] // 2**30 }} GiB </li> <li class="list-group-item w-50"> - {{ (disk['total'] - disk['free']) // 2**30 }} Gbytes + {{ (disk['total'] - disk['free']) // 2**30 }} GiB ({{ (((disk['total'] - disk['free']) / disk['total']) * 100)|int }}%) </li> <li class="list-group-item w-50"> - {{ disk['free'] // 2**30 }} Gbytes + {{ disk['free'] // 2**30 }} GiB ({{ ((disk['free'] / disk['total']) * 100)|int }}%) </li> </ul> @@ -149,14 +149,14 @@ </ul> <ul class="list-group list-group-horizontal"> <li class="list-group-item w-50"> - {{ (stats['memory']['size'] / 2**30)|round(3) }} Gbytes + {{ (stats['memory']['size'] / 2**30)|round(3) }} GiB </li> <li class="list-group-item w-50"> - {{ ((stats['memory']['size'] - stats['memory']['free']) / 2**30)|round(3) }} Gbytes + {{ ((stats['memory']['size'] - stats['memory']['free']) / 2**30)|round(3) }} GiB ({{ (((stats['memory']['size'] - stats['memory']['free']) / stats['memory']['size']) * 100)|int }}%) </li> <li class="list-group-item w-50"> - {{ (stats['memory']['free'] / 2**30)|round(3) }} Gbytes + {{ (stats['memory']['free'] / 2**30)|round(3) }} GiB ({{ ((stats['memory']['free'] / stats['memory']['size']) * 100)|int }}%) </li> </ul> @@ -186,14 +186,14 @@ </ul> <ul class="list-group list-group-horizontal"> <li class="list-group-item w-50"> - {{ (stats['swap']['size'] / 2**30)|round(3) }} Gbytes + {{ (stats['swap']['size'] / 2**30)|round(3) }} GiB </li> <li class="list-group-item w-50"> - {{ ((stats['swap']['size'] - stats['swap']['free']) / 2**30)|round(3) }} Gbytes + {{ ((stats['swap']['size'] - stats['swap']['free']) / 2**30)|round(3) }} GiB ({{ (((stats['swap']['size'] - stats['swap']['free']) / stats['swap']['size']) * 100)|int }}%) </li> <li class="list-group-item w-50"> - {{ (stats['swap']['free'] / 2**30)|round(3) }} Gbytes + {{ (stats['swap']['free'] / 2**30)|round(3) }} GiB ({{ ((stats['swap']['free'] / stats['swap']['size']) * 100)|int }}%) </li> </ul> |