From 5755b79bc75595e15c11c0f1bfac8558473d6a7a Mon Sep 17 00:00:00 2001 From: Manuel Aranda Date: Tue, 7 Jul 2026 17:21:53 +0200 Subject: [PATCH 01/28] ref 2994. Cambios respecto al hardware profile --- .../manage-client/manage-client.component.css | 32 +++++++++++++++++++ .../manage-client.component.html | 17 ++++++++++ .../manage-client/manage-client.component.ts | 9 ++++++ ogWebconsole/src/locale/en.json | 1 + ogWebconsole/src/locale/es.json | 1 + 5 files changed, 60 insertions(+) diff --git a/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.css b/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.css index 84c2429..cf0452e 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.css +++ b/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.css @@ -83,4 +83,36 @@ mat-option .unit-path { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 20px; +} + +.hardware-profile-box { + display: flex; + align-items: center; + gap: 10px; + padding: 6px 0 12px 0; +} + +.hardware-profile-icon { + color: #3f51b5; +} + +.hardware-profile-value { + font-weight: 500; + color: #2c3e50; +} + +.hardware-profile-empty { + color: #6c757d; + font-style: italic; +} + +.hardware-profile-link { + margin-left: auto; + background: none; + border: none; + color: #3f51b5; + font-weight: 500; + cursor: pointer; + text-decoration: underline; + padding: 0; } \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.html b/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.html index 7dd106b..1ee7a69 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.html +++ b/ogWebconsole/src/app/components/groups/shared/clients/manage-client/manage-client.component.html @@ -139,6 +139,23 @@ + @if (isEditMode) { +
+ {{ 'labelHardwareProfile' | translate }} +
+ @if (hardwareProfile) { + memory + {{ hardwareProfile.description }} + } @else { + {{ 'noHardwareProfileAssigned' | translate }} + } + +
+
+ } + {{ 'labelNotes' | translate }}