diff --git a/src/pages/Account/AccountAliasList.vue b/src/pages/Account/AccountAliasList.vue new file mode 100644 index 000000000..29e8d4d78 --- /dev/null +++ b/src/pages/Account/AccountAliasList.vue @@ -0,0 +1,105 @@ + + + diff --git a/src/pages/Account/Alias/AliasCreateForm.vue b/src/pages/Account/Alias/AliasCreateForm.vue new file mode 100644 index 000000000..d4d61a804 --- /dev/null +++ b/src/pages/Account/Alias/AliasCreateForm.vue @@ -0,0 +1,57 @@ + + + + + + es: + Create alias: Crear alias + diff --git a/src/pages/Account/Alias/Card/AliasBasicData.vue b/src/pages/Account/Alias/Card/AliasBasicData.vue new file mode 100644 index 000000000..035ba0e8b --- /dev/null +++ b/src/pages/Account/Alias/Card/AliasBasicData.vue @@ -0,0 +1,22 @@ + + + diff --git a/src/pages/Account/Alias/Card/AliasCard.vue b/src/pages/Account/Alias/Card/AliasCard.vue new file mode 100644 index 000000000..f5103cf03 --- /dev/null +++ b/src/pages/Account/Alias/Card/AliasCard.vue @@ -0,0 +1,33 @@ + + + diff --git a/src/pages/Account/Alias/Card/AliasDescriptor.vue b/src/pages/Account/Alias/Card/AliasDescriptor.vue new file mode 100644 index 000000000..963f84547 --- /dev/null +++ b/src/pages/Account/Alias/Card/AliasDescriptor.vue @@ -0,0 +1,88 @@ + + + + + + en: + accountRate: Claming rate + es: + accountRate: Ratio de reclamación + Delete: Eliminar + Alias will be removed: El alias será eliminado + Are you sure you want to continue?: ¿Seguro que quieres continuar? + Alias removed: Alias eliminado + diff --git a/src/pages/Account/Alias/Card/AliasSummary.vue b/src/pages/Account/Alias/Card/AliasSummary.vue new file mode 100644 index 000000000..cedae28b7 --- /dev/null +++ b/src/pages/Account/Alias/Card/AliasSummary.vue @@ -0,0 +1,49 @@ + + + diff --git a/src/pages/Account/Alias/Card/AliasUsers.vue b/src/pages/Account/Alias/Card/AliasUsers.vue new file mode 100644 index 000000000..4a9c449e4 --- /dev/null +++ b/src/pages/Account/Alias/Card/AliasUsers.vue @@ -0,0 +1,122 @@ + + + + + +es: + User will be removed from alias: El usuario será borrado del alias + Are you sure you want to continue?: ¿Seguro que quieres continuar? + User removed: Usuario borrado + Delete: Eliminar + diff --git a/src/pages/Account/Role/Card/RoleBasicData.vue b/src/pages/Account/Role/Card/RoleBasicData.vue index bf9b3307d..1f3b3b6da 100644 --- a/src/pages/Account/Role/Card/RoleBasicData.vue +++ b/src/pages/Account/Role/Card/RoleBasicData.vue @@ -23,6 +23,11 @@ const { t } = useI18n(); /> + +
+ +
+
diff --git a/src/pages/Account/Role/Card/RoleDescriptor.vue b/src/pages/Account/Role/Card/RoleDescriptor.vue new file mode 100644 index 000000000..89712b0b9 --- /dev/null +++ b/src/pages/Account/Role/Card/RoleDescriptor.vue @@ -0,0 +1,92 @@ + + + + + + en: + accountRate: Claming rate + es: + accountRate: Ratio de reclamación + diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index c330b706e..babedae70 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -46,6 +46,18 @@ role: searchInfo: Search role by id or name name: Name description: Description + id: Id +mailAlias: + pageTitles: + aliasUsers: Users + search: Search mail alias + searchInfo: Search alias by id or name + alias: Alias + description: Description + id: Id + newAlias: New alias + name: Name + isPublic: Public ldap: enableSync: Enable synchronization server: Server diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml index 7ba81b583..36125f361 100644 --- a/src/pages/Account/locale/es.yml +++ b/src/pages/Account/locale/es.yml @@ -57,6 +57,18 @@ role: searchInfo: Buscar rol por id o nombre name: Nombre description: Descripción + id: Id +mailAlias: + pageTitles: + aliasUsers: Usuarios + search: Buscar alias de correo + searchInfo: Buscar alias por id o nombre + alias: Alias + description: Descripción + id: Id + newAlias: Nuevo alias + name: Nombre + isPublic: Público ldap: enableSync: Habilitar sincronización server: Servidor diff --git a/src/pages/Zone/Card/ZoneCalendar.vue b/src/pages/Zone/Card/ZoneCalendar.vue new file mode 100644 index 000000000..e69de29bb diff --git a/src/router/modules/account.js b/src/router/modules/account.js index d8846ede1..bc95719ef 100644 --- a/src/router/modules/account.js +++ b/src/router/modules/account.js @@ -11,7 +11,7 @@ export default { component: RouterView, redirect: { name: 'AccountMain' }, menus: { - main: ['AccountRoles', 'AccountAcls'], + main: ['AccountList', 'AccountAliasList', 'AccountRoles', 'AccountAcls'], card: [], }, children: [ @@ -30,6 +30,15 @@ export default { }, component: () => import('src/pages/Account/AccountList.vue'), }, + { + path: 'alias-list', + name: 'AccountAliasList', + meta: { + title: 'alias', + icon: 'email', + }, + component: () => import('src/pages/Account/AccountAliasList.vue'), + }, { path: 'acls', name: 'AccountAcls', diff --git a/src/router/modules/index.js b/src/router/modules/index.js index 78d4d94cc..bf7e46b00 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -20,6 +20,8 @@ import ItemType from './itemType'; import Zone from './zone'; import Account from './account'; import Monitor from './monitor'; +import MailAlias from './mailAlias'; +import Role from './role'; export default [ Item, @@ -43,5 +45,7 @@ export default [ ItemType, Zone, Account, + MailAlias, Monitor, + Role, ]; diff --git a/src/router/modules/mailAlias.js b/src/router/modules/mailAlias.js new file mode 100644 index 000000000..8e0f8abdc --- /dev/null +++ b/src/router/modules/mailAlias.js @@ -0,0 +1,57 @@ +import { RouterView } from 'vue-router'; + +export default { + path: 'account/alias', + name: 'Alias', + meta: { + title: 'alias', + icon: 'email', + moduleName: 'Alias', + }, + component: RouterView, + redirect: { name: 'AccountAliasList' }, + menus: { + main: [], + card: ['AliasBasicData', 'AliasUsers'], + }, + children: [ + { + name: 'AliasCard', + path: ':id', + component: () => import('src/pages/Account/Alias/Card/AliasCard.vue'), + redirect: { name: 'AliasSummary' }, + children: [ + { + name: 'AliasSummary', + path: 'summary', + meta: { + title: 'summary', + icon: 'launch', + }, + component: () => + import('src/pages/Account/Alias/Card/AliasSummary.vue'), + }, + { + name: 'AliasBasicData', + path: 'basic-data', + meta: { + title: 'basicData', + icon: 'vn:settings', + }, + component: () => + import('src/pages/Account/Alias/Card/AliasBasicData.vue'), + }, + { + name: 'AliasUsers', + path: 'users', + meta: { + title: 'aliasUsers', + icon: 'group', + }, + component: () => + import('src/pages/Account/Alias/Card/AliasUsers.vue'), + }, + ], + }, + ], +}; diff --git a/src/router/routes.js b/src/router/routes.js index 8ae50402b..359ce5317 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -20,6 +20,8 @@ import agency from 'src/router/modules/agency'; import zone from 'src/router/modules/zone'; import account from './modules/account'; import monitor from 'src/router/modules/monitor'; +import mailAlias from './modules/mailAlias'; +import role from './modules/role'; const routes = [ { @@ -81,6 +83,8 @@ const routes = [ ItemType, zone, account, + role, + mailAlias, { path: '/:catchAll(.*)*', name: 'NotFound',