diff --git a/ogWebconsole/src/app/components/groups/shared/client-details/client-details.component.html b/ogWebconsole/src/app/components/groups/shared/client-details/client-details.component.html index f251552..bfb7f28 100644 --- a/ogWebconsole/src/app/components/groups/shared/client-details/client-details.component.html +++ b/ogWebconsole/src/app/components/groups/shared/client-details/client-details.component.html @@ -1,7 +1,8 @@ -
+ @if (!loading) { +

{{ 'clientDetailsTitle' | translate }} {{ clientData.name }}

@@ -9,23 +10,29 @@
-
+ @for (data of generalData; track data) { +
{{ data?.property }}
{{ data?.value || '--' }}
+ }
-
+ @for (data of networkData; track data) { +
{{ data?.property }}
{{ data?.value || '--' }}
+ }

Discos/Particiones

- {{ clientData.firmwareType }} + @if (clientData.firmwareType) { + {{ clientData.firmwareType }} + }
@@ -33,35 +40,42 @@
- + @for (column of columns; track column.columnDef) { + + } @@ -73,19 +87,24 @@
- -
+ @if (diskUsageData && diskUsageData.length > 0) { + + @for (disk of chartDisk; track disk.diskNumber) { +

Disco {{ disk.diskNumber }}

Usado: {{ (disk.used).toFixed(2) }} GB ({{ disk.percentage }}%)

Total: {{ disk.total }} GB

+ }
+ }
+ }
{{ column.header }} - + @if (column.columnDef !== 'size' && column.columnDef !== 'operativeSystem') { {{ column.cell(image) }} - - + } + @if (column.columnDef === 'size') { {{ (image.size / 1024).toFixed(2) }} GB - + } - + @if (column.columnDef === 'operativeSystem') {
-
+ @if (image.filesystem === 'CACHE' && image.cacheContent) { +
Contenido: -
+ @for (item of parseCacheContent(image.cacheContent); track item.name) { +
• {{ item.name }} ({{ item.size }})
+ }
-
+ } + @if (image.filesystem !== 'CACHE' || !image.cacheContent) { +
{{image.operativeSystem?.name }} {{ image.image?.name }}
+ }
- + }