diff --git a/ogcp/templates/actions/client_details.html b/ogcp/templates/actions/client_details.html
index 620d8eb..42b03c7 100644
--- a/ogcp/templates/actions/client_details.html
+++ b/ogcp/templates/actions/client_details.html
@@ -22,7 +22,7 @@
{{_('Partition')}} |
{{_('Type')}} |
{{_('Filesystem')}} |
- {{_('Size')}} (MB) |
+ {{_('Size')}} (MiB) |
{{_('Image')}} |
|
diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html
index a81d67e..c64c676 100644
--- a/ogcp/templates/actions/setup.html
+++ b/ogcp/templates/actions/setup.html
@@ -20,7 +20,7 @@
{{ _('Disk') }} |
{{ _('Partition Table Type') }} |
- {{ _('Total Disk Size') }} (MB) |
+ {{ _('Total Disk Size') }} (MiB) |
@@ -46,7 +46,7 @@
{{ _('Partition') }} |
{{ _('Type') }} |
{{ _('Filesystem') }} |
- {{ _('Size') }} (MB) |
+ {{ _('Size') }} (MiB) |
|
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 @@
-
- {{ disk['total'] // 2**30 }} Gbytes
+ {{ disk['total'] // 2**30 }} GiB
-
- {{ (disk['total'] - disk['free']) // 2**30 }} Gbytes
+ {{ (disk['total'] - disk['free']) // 2**30 }} GiB
({{ (((disk['total'] - disk['free']) / disk['total']) * 100)|int }}%)
-
- {{ disk['free'] // 2**30 }} Gbytes
+ {{ disk['free'] // 2**30 }} GiB
({{ ((disk['free'] / disk['total']) * 100)|int }}%)
@@ -149,14 +149,14 @@
-
- {{ (stats['memory']['size'] / 2**30)|round(3) }} Gbytes
+ {{ (stats['memory']['size'] / 2**30)|round(3) }} GiB
-
- {{ ((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 }}%)
-
- {{ (stats['memory']['free'] / 2**30)|round(3) }} Gbytes
+ {{ (stats['memory']['free'] / 2**30)|round(3) }} GiB
({{ ((stats['memory']['free'] / stats['memory']['size']) * 100)|int }}%)
@@ -186,14 +186,14 @@
-
- {{ (stats['swap']['size'] / 2**30)|round(3) }} Gbytes
+ {{ (stats['swap']['size'] / 2**30)|round(3) }} GiB
-
- {{ ((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 }}%)
-
- {{ (stats['swap']['free'] / 2**30)|round(3) }} Gbytes
+ {{ (stats['swap']['free'] / 2**30)|round(3) }} GiB
({{ ((stats['swap']['free'] / stats['swap']['size']) * 100)|int }}%)