diff --git a/ogWebconsole/src/app/components/groups/groups.component.css b/ogWebconsole/src/app/components/groups/groups.component.css index ae08699..2556853 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.css +++ b/ogWebconsole/src/app/components/groups/groups.component.css @@ -343,7 +343,6 @@ mat-tree mat-tree-node.disabled:hover { .clients-container { width: 75%; - padding: 0px 16px 16px 16px; box-sizing: border-box; overflow-y: auto; } @@ -364,7 +363,6 @@ mat-tree mat-tree-node.disabled:hover { flex-direction: column; align-items: center; text-align: center; - padding: 2px; transition: transform 0.3s ease, box-shadow 0.3s ease; } @@ -400,13 +398,13 @@ button[mat-raised-button] { .clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); - gap: 8px; /* Espaciado reducido entre cards */ + gap: 4px; /* Espaciado reducido entre cards */ } .clients-list { display: flex; flex-direction: column; - gap: 16px; + gap: 4px; } .client-item-list { @@ -424,9 +422,10 @@ button[mat-raised-button] { } .clients-grid { - display: flex; - flex-wrap: wrap; - gap: 1rem; + display: grid; + grid-template-columns: repeat(6, 1fr); /* 6 columnas por fila */ + gap: 16px; /* Espaciado entre tarjetas */ + padding: 20px; } .clients-list .list-item-content { @@ -436,9 +435,15 @@ button[mat-raised-button] { align-items: center; } +.action-icons { + display: flex; + justify-content: center; + gap: 1px; + margin-top: 10px; +} + .client-card, .list-item-content { border: 1px solid #ccc; - padding: 1rem; border-radius: 5px; } @@ -484,7 +489,6 @@ button[mat-raised-button] { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); overflow: hidden; position: relative; - padding: 8px; text-align: center; } @@ -518,4 +522,4 @@ button[mat-raised-button] { gap: 10px; margin-top: 1.5rem; margin-left: 16px; -} \ No newline at end of file +} diff --git a/ogWebconsole/src/app/components/groups/groups.component.html b/ogWebconsole/src/app/components/groups/groups.component.html index c2154e8..7abe12a 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.html +++ b/ogWebconsole/src/app/components/groups/groups.component.html @@ -10,7 +10,7 @@
@@ -39,16 +39,16 @@ {{ 'searchTree' | translate }} {{ 'searchClient' | translate }} + placeholder="Nombre, IP, estado o MAC" /> @@ -79,19 +79,19 @@
+ *matTreeNodeDef="let node; when: hasChild" matTreeNodePadding (click)="onNodeClick(node)"> {{ - node.type === 'organizational-unit' ? 'apartment' - : node.type === 'classrooms-group' ? 'meeting_room' - : node.type === 'classroom' ? 'school' - : node.type === 'clients-group' ? 'lan' - : node.type === 'client' ? 'computer' - : 'group' + node.type === 'organizational-unit' ? 'apartment' + : node.type === 'classrooms-group' ? 'meeting_room' + : node.type === 'classroom' ? 'school' + : node.type === 'clients-group' ? 'lan' + : node.type === 'client' ? 'computer' + : 'group' }} {{ node.name }} @@ -100,16 +100,16 @@ + *matTreeNodeDef="let node; when: isLeafNode" matTreeNodePadding (click)="onNodeClick(node)"> {{ - node.type === 'organizational-unit' ? 'apartment' - : node.type === 'classrooms-group' ? 'meeting_room' - : node.type === 'classroom' ? 'school' - : node.type === 'clients-group' ? 'lan' - : node.type === 'client' ? 'computer' - : 'group' + node.type === 'organizational-unit' ? 'apartment' + : node.type === 'classrooms-group' ? 'meeting_room' + : node.type === 'classroom' ? 'school' + : node.type === 'clients-group' ? 'lan' + : node.type === 'client' ? 'computer' + : 'group' }} {{ node.name }} @@ -171,7 +171,7 @@
+ [buttonText]="'Ejecutar comandos'"> @@ -191,29 +191,43 @@
- Client Icon + + Client Icon
{{ client.name }} {{ client.ip }} {{ client.mac }} -
- - - +
@@ -225,22 +239,22 @@ + [checked]="selection.hasValue() && isAllSelected()" + [indeterminate]="selection.hasValue() && !isAllSelected()"> + [checked]="selection.isSelected(row)" [disabled]="row.status === 'busy'"> {{ 'status' | translate }} + matTooltipShowDelay="500"> Client Icon + class="client-image" /> @@ -248,7 +262,7 @@ {{ 'sync' | translate }} @@ -260,7 +274,7 @@ {{ 'name' | translate }} + matTooltipShowDelay="500">
{{ client.name }}
{{ client.ip }}
@@ -271,7 +285,7 @@ OG Live {{ (client.ogLive?.filename || '').slice(0, 15) }}{{ - (client.ogLive?.filename?.length > 15) ? '...' : '' }} + (client.ogLive?.filename?.length > 15) ? '...' : '' }} @@ -299,7 +313,7 @@ more_vert + [icon]="'terminal'">
- \ No newline at end of file +