Merge main, and updated improvements
parent
fd0778d096
commit
7dc1f662e6
|
@ -277,6 +277,7 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center; /* Centra contenido verticalmente */
|
align-items: center; /* Centra contenido verticalmente */
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-container {
|
.table-container {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="client-button-row">
|
<div class="client-button-row">
|
||||||
<button class="back-button" (click)="navigateToGroups()">
|
<button class="back-button" (click)="navigateToGroups()">
|
||||||
<mat-icon>arrow_back</mat-icon>
|
<mat-icon>arrow_back</mat-icon>
|
||||||
{{ 'Back' | translate }}
|
{{ 'back' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -101,6 +101,10 @@
|
||||||
</mat-select>
|
</mat-select>
|
||||||
<mat-error>{{ 'menuError' | translate }}</mat-error>
|
<mat-error>{{ 'menuError' | translate }}</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
|
<mat-checkbox formControlName="maintenance">
|
||||||
|
{{ 'maintenance' | translate }}
|
||||||
|
</mat-checkbox>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -110,4 +114,4 @@
|
||||||
{{ isEditMode ? 'Guardar' : 'Crear' }}
|
{{ isEditMode ? 'Guardar' : 'Crear' }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -90,7 +90,8 @@ export class ManageClientComponent implements OnInit {
|
||||||
hardwareProfile: [null],
|
hardwareProfile: [null],
|
||||||
ogLive: [null],
|
ogLive: [null],
|
||||||
repository: [null],
|
repository: [null],
|
||||||
menu: [null]
|
menu: [null],
|
||||||
|
maintenance: [false]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -249,6 +250,7 @@ export class ManageClientComponent implements OnInit {
|
||||||
ogLive: data.ogLive ? data.ogLive['@id'] : null,
|
ogLive: data.ogLive ? data.ogLive['@id'] : null,
|
||||||
template: data.template ? data.template['@id'] : null,
|
template: data.template ? data.template['@id'] : null,
|
||||||
menu: data.menu ? data.menu['@id'] : null,
|
menu: data.menu ? data.menu['@id'] : null,
|
||||||
|
maintenance: data.maintenance
|
||||||
});
|
});
|
||||||
resolve();
|
resolve();
|
||||||
},
|
},
|
||||||
|
@ -300,4 +302,4 @@ export class ManageClientComponent implements OnInit {
|
||||||
onNoClick(): void {
|
onNoClick(): void {
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,29 +43,13 @@
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
</mat-nav-list>
|
</mat-nav-list>
|
||||||
|
|
||||||
<mat-list-item (click)="toggleOgDhcpSub()" matTooltip="{{ 'TOOLTIP_DHCP' | translate }}" matTooltipShowDelay="1000">
|
<mat-list-item routerLink="/subnets" matTooltip="{{ 'TOOLTIP_SUBNETS' | translate }}" matTooltipShowDelay="1000">
|
||||||
<span class="entry">
|
<span class="entry">
|
||||||
<mat-icon class="icon">settings_ethernet</mat-icon>
|
<mat-icon class="icon">lan</mat-icon>
|
||||||
<span>{{ 'dhcp' | translate }}</span>
|
<span> {{ 'subnets' | translate }}</span>
|
||||||
</span>
|
</span>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
|
|
||||||
<!-- Submenu items for DHCP -->
|
|
||||||
<mat-nav-list *ngIf="showOgDhcpSub" style="padding-left: 20px;">
|
|
||||||
<mat-list-item routerLink="/ogdhcp-status" matTooltip="{{ 'TOOLTIP_DHCP_STATUS' | translate }}" matTooltipShowDelay="1000">
|
|
||||||
<span class="entry">
|
|
||||||
<mat-icon class="icon">analytics</mat-icon>
|
|
||||||
<span>{{ 'status' | translate }}</span>
|
|
||||||
</span>
|
|
||||||
</mat-list-item>
|
|
||||||
<mat-list-item routerLink="/subnets" matTooltip="{{ 'TOOLTIP_SUBNETS' | translate }}" matTooltipShowDelay="1000">
|
|
||||||
<span class="entry">
|
|
||||||
<mat-icon class="icon">lan</mat-icon>
|
|
||||||
<span>{{ 'subnets' | translate }}</span>
|
|
||||||
</span>
|
|
||||||
</mat-list-item>
|
|
||||||
</mat-nav-list>
|
|
||||||
|
|
||||||
<mat-list-item (click)="toggleOgBootSub()" matTooltip="{{ 'TOOLTIP_BOOT' | translate }}" matTooltipShowDelay="1000">
|
<mat-list-item (click)="toggleOgBootSub()" matTooltip="{{ 'TOOLTIP_BOOT' | translate }}" matTooltipShowDelay="1000">
|
||||||
<span class="entry">
|
<span class="entry">
|
||||||
<mat-icon class="icon">desktop_windows</mat-icon>
|
<mat-icon class="icon">desktop_windows</mat-icon>
|
||||||
|
@ -75,12 +59,6 @@
|
||||||
|
|
||||||
<!-- Submenu items for Boot -->
|
<!-- Submenu items for Boot -->
|
||||||
<mat-nav-list *ngIf="showOgBootSub" style="padding-left: 20px;">
|
<mat-nav-list *ngIf="showOgBootSub" style="padding-left: 20px;">
|
||||||
<mat-list-item routerLink="/ogboot-status" matTooltip="{{ 'TOOLTIP_BOOT_STATUS' | translate }}" matTooltipShowDelay="1000">
|
|
||||||
<span class="entry">
|
|
||||||
<mat-icon class="icon">analytics</mat-icon>
|
|
||||||
<span>{{ 'status' | translate }}</span>
|
|
||||||
</span>
|
|
||||||
</mat-list-item>
|
|
||||||
<mat-list-item routerLink="/pxe-images" matTooltip="{{ 'TOOLTIP_PXE_IMAGES' | translate }}" matTooltipShowDelay="1000">
|
<mat-list-item routerLink="/pxe-images" matTooltip="{{ 'TOOLTIP_PXE_IMAGES' | translate }}" matTooltipShowDelay="1000">
|
||||||
<span class="entry">
|
<span class="entry">
|
||||||
<mat-icon class="icon">album</mat-icon>
|
<mat-icon class="icon">album</mat-icon>
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
"labelOrganizationalUnit": "Organizational Unit",
|
"labelOrganizationalUnit": "Organizational Unit",
|
||||||
"buttonCancel": "Cancel",
|
"buttonCancel": "Cancel",
|
||||||
"buttonAdd": "Add",
|
"buttonAdd": "Add",
|
||||||
|
"addRule": "Add rule",
|
||||||
|
"rulesHeader": "Rules",
|
||||||
|
"statusUnavailable": "Unavailable",
|
||||||
|
"statusAvailable": "Available",
|
||||||
"addClientDialogTitle": "Add Client",
|
"addClientDialogTitle": "Add Client",
|
||||||
"dialogTitleEditUser": "Editar usuario",
|
"dialogTitleEditUser": "Editar usuario",
|
||||||
"dialogTitleChangePassword": "Change password",
|
"dialogTitleChangePassword": "Change password",
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
"labelOrganizationalUnit": "Unidad organizativa",
|
"labelOrganizationalUnit": "Unidad organizativa",
|
||||||
"buttonCancel": "Cancelar",
|
"buttonCancel": "Cancelar",
|
||||||
"buttonAdd": "Añadir",
|
"buttonAdd": "Añadir",
|
||||||
|
"back": "Atrás",
|
||||||
"addClientDialogTitle": "Añadir Cliente",
|
"addClientDialogTitle": "Añadir Cliente",
|
||||||
"dialogTitleEditUser": "Editar usuario",
|
"dialogTitleEditUser": "Editar usuario",
|
||||||
"dialogTitleChangePassword": "Change password",
|
"dialogTitleChangePassword": "Change password",
|
||||||
|
@ -33,6 +34,10 @@
|
||||||
"addRole": "Añadir rol",
|
"addRole": "Añadir rol",
|
||||||
"searchRoleLabel": "Buscar nombre de rol",
|
"searchRoleLabel": "Buscar nombre de rol",
|
||||||
"dialogTitleAddRole": "Añadir Rol",
|
"dialogTitleAddRole": "Añadir Rol",
|
||||||
|
"addRule": "Añadir regla",
|
||||||
|
"rulesHeader": "Reglas",
|
||||||
|
"statusUnavailable": "No disponible",
|
||||||
|
"statusAvailable": "Disponible",
|
||||||
"labelRoleName": "Nombre",
|
"labelRoleName": "Nombre",
|
||||||
"sectionTitlePermissions": "Permisos:",
|
"sectionTitlePermissions": "Permisos:",
|
||||||
"checkboxSuperAdmin": "Super Admin",
|
"checkboxSuperAdmin": "Super Admin",
|
||||||
|
|
Loading…
Reference in New Issue