From 05b7df9168262e05cd9843e1b5e06ef5995eb84d Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 30 May 2024 15:34:37 -0300 Subject: [PATCH] Role submodules --- src/css/app.scss | 2 +- src/i18n/locale/en.yml | 3 + src/i18n/locale/es.yml | 3 + .../Account/Role/Card/InheritedRoles.vue | 93 +++++++++- src/pages/Account/Role/Card/RoleCard.vue | 27 ++- src/pages/Account/Role/Card/RoleLog.vue | 2 +- .../Account/Role/Card/SubRoleCreateForm.vue | 51 ++++++ src/pages/Account/Role/Card/SubRoles.vue | 160 +++++++++++++++++- src/pages/Account/locale/en.yml | 1 - 9 files changed, 330 insertions(+), 12 deletions(-) create mode 100644 src/pages/Account/Role/Card/SubRoleCreateForm.vue diff --git a/src/css/app.scss b/src/css/app.scss index fd5f29600..79234b364 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -76,7 +76,7 @@ select:-webkit-autofill { } .color-vn-label { - color: var(--vn-label); + color: var(--vn-label-color); } .color-vn-text { diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 56c19b184..d617d7172 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -17,6 +17,7 @@ globals: date: Date dataSaved: Data saved dataDeleted: Data deleted + delete: Delete search: Search changes: Changes dataCreated: Data created @@ -101,6 +102,8 @@ globals: deliveryList: Delivery days upcomingList: Upcoming deliveries role: Role + subRoles: Subroles + inheritedRoles: Inherited Roles created: Created worker: Worker now: Now diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 5b783a538..b3b9587f4 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -17,6 +17,7 @@ globals: date: Fecha dataSaved: Datos guardados dataDeleted: Datos eliminados + delete: Eliminar search: Buscar changes: Cambios dataCreated: Datos creados @@ -101,6 +102,8 @@ globals: deliveryList: Días de entrega upcomingList: Próximos repartos role: Role + subRoles: Subroles + inheritedRoles: Roles heredados created: Fecha creación worker: Trabajador now: Ahora diff --git a/src/pages/Account/Role/Card/InheritedRoles.vue b/src/pages/Account/Role/Card/InheritedRoles.vue index cfcf224c7..6b8a6524c 100644 --- a/src/pages/Account/Role/Card/InheritedRoles.vue +++ b/src/pages/Account/Role/Card/InheritedRoles.vue @@ -1,6 +1,95 @@ + + + +es: + Role removed. Changes will take a while to fully propagate.: Rol eliminado. Los cambios tardaran un tiempo en propagarse completamente. + Role added! Changes will take a while to fully propagate.: ¡Rol añadido! Los cambios tardaran un tiempo en propagarse completamente. + El rol va a ser eliminado: Role will be removed + ¿Seguro que quieres continuar?: Are you sure you want to continue? + diff --git a/src/pages/Account/Role/Card/RoleCard.vue b/src/pages/Account/Role/Card/RoleCard.vue index 7f5a45d8b..c7b5c695d 100644 --- a/src/pages/Account/Role/Card/RoleCard.vue +++ b/src/pages/Account/Role/Card/RoleCard.vue @@ -1,15 +1,32 @@ diff --git a/src/pages/Account/Role/Card/RoleLog.vue b/src/pages/Account/Role/Card/RoleLog.vue index 48f5eb23a..20b6dcccf 100644 --- a/src/pages/Account/Role/Card/RoleLog.vue +++ b/src/pages/Account/Role/Card/RoleLog.vue @@ -2,5 +2,5 @@ import VnLog from 'src/components/common/VnLog.vue'; diff --git a/src/pages/Account/Role/Card/SubRoleCreateForm.vue b/src/pages/Account/Role/Card/SubRoleCreateForm.vue new file mode 100644 index 000000000..89eceed62 --- /dev/null +++ b/src/pages/Account/Role/Card/SubRoleCreateForm.vue @@ -0,0 +1,51 @@ + + + diff --git a/src/pages/Account/Role/Card/SubRoles.vue b/src/pages/Account/Role/Card/SubRoles.vue index 48f5eb23a..1fb84fe4f 100644 --- a/src/pages/Account/Role/Card/SubRoles.vue +++ b/src/pages/Account/Role/Card/SubRoles.vue @@ -1,6 +1,162 @@ + + + +es: + Role removed. Changes will take a while to fully propagate.: Rol eliminado. Los cambios tardaran un tiempo en propagarse completamente. + Role added! Changes will take a while to fully propagate.: ¡Rol añadido! Los cambios tardaran un tiempo en propagarse completamente. + El rol va a ser eliminado: Role will be removed + ¿Seguro que quieres continuar?: Are you sure you want to continue? + diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index 4ede2b543..0a511888b 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -54,7 +54,6 @@ ldap: groupDN: Group DN testConnection: Test connection success: LDAP connection established! - samba: enableSync: Enable synchronization domainController: Domain controller