From ecd3980f616ebd486d3270f7abe41bee3242737f Mon Sep 17 00:00:00 2001 From: Lucas Lara Date: Fri, 7 Feb 2025 14:03:18 +0100 Subject: [PATCH] refs #1475. Update delete function. Add actions menu to cards view. --- .../components/groups/groups.component.css | 3 ++- .../components/groups/groups.component.html | 26 +++++++++++++++---- .../app/components/groups/groups.component.ts | 21 ++++++++++----- 3 files changed, 37 insertions(+), 13 deletions(-) diff --git a/ogWebconsole/src/app/components/groups/groups.component.css b/ogWebconsole/src/app/components/groups/groups.component.css index 2556853..d2a5b90 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.css +++ b/ogWebconsole/src/app/components/groups/groups.component.css @@ -514,6 +514,7 @@ button[mat-raised-button] { font-size: x-large; display: block; padding: 1rem 1rem 1rem 13px; + margin-left: 0.6rem; } .no-clients-info { @@ -521,5 +522,5 @@ button[mat-raised-button] { align-items: center; gap: 10px; margin-top: 1.5rem; - margin-left: 16px; + margin-left: 1.6rem; } diff --git a/ogWebconsole/src/app/components/groups/groups.component.html b/ogWebconsole/src/app/components/groups/groups.component.html index 7abe12a..0233678 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.html +++ b/ogWebconsole/src/app/components/groups/groups.component.html @@ -219,15 +219,31 @@ mat-icon-button color="primary"> - - + + + + + + + + + @@ -309,7 +325,7 @@ {{ 'actions' | translate }} - { if (result === true) { - this.deleteEntityorClient(uuid, node?.type); + this.deleteEntityorClient(uuid, type); } }); }