diff --git a/src/gui/src/components/assets/ToolbarFilterAssets.vue b/src/gui/src/components/assets/ToolbarFilterAssets.vue index 0678f3c1b..eb7855970 100644 --- a/src/gui/src/components/assets/ToolbarFilterAssets.vue +++ b/src/gui/src/components/assets/ToolbarFilterAssets.vue @@ -19,19 +19,19 @@ - {{ UI.ICON.VULNERABLE }} + {{ UI.ICON.VULNERABLE }} - + {{ UI.ICON.ALPHABETICAL }} - {{ UI.ICON.DESC }} + {{ UI.ICON.ASC }} - + {{ UI.ICON.VULNERABLE }} - {{ UI.ICON.ASC }} + {{ UI.ICON.DESC }} diff --git a/src/gui/src/components/common/Navigation.vue b/src/gui/src/components/common/Navigation.vue index 3f7a65361..a0994abca 100644 --- a/src/gui/src/components/common/Navigation.vue +++ b/src/gui/src/components/common/Navigation.vue @@ -12,7 +12,10 @@ {{ link.icon }} - {{ $t(link.title) }} + + {{ $t(link.title) }} + {{ link.title }} + diff --git a/src/gui/src/i18n/en/messages.js b/src/gui/src/i18n/en/messages.js index e4ebf10e0..43992892c 100644 --- a/src/gui/src/i18n/en/messages.js +++ b/src/gui/src/i18n/en/messages.js @@ -796,7 +796,7 @@ const messages_en = { MONTH: 'Show news items for the last month' }, sort: { - time: { + date: { ascending: 'Sort news items by collected date ascending', descending: 'Sort news items by collected date descending' }, @@ -832,6 +832,20 @@ const messages_en = { }, }, + assets: { + tooltip: { + filter_vulnerable: "Show/hide vulnerable assets", + sort: { + vulnerability: { + descending: 'Sort assets by vulnerability in descending order', + }, + alphabetical: { + ascending: 'Sort assets alphabetically in ascending order', + }, + }, + } + }, + publish: { tooltip: { range: { @@ -841,7 +855,7 @@ const messages_en = { MONTH: 'Show products for the last month' }, sort: { - time: { + date: { ascending: 'Sort products by creation date ascending', descending: 'Sort products by creation date descending' } diff --git a/src/gui/src/views/nav/ConfigNav.vue b/src/gui/src/views/nav/ConfigNav.vue index 6e615bfd2..1353ad702 100644 --- a/src/gui/src/views/nav/ConfigNav.vue +++ b/src/gui/src/views/nav/ConfigNav.vue @@ -16,31 +16,31 @@ }, data: () => ({ links: [ - { id: 1, icon: 'mdi-account-group', title: 'nav_menu.users', route: '/config/users', permission: 'CONFIG_USER_ACCESS' }, - { id: 2, icon: 'mdi-office-building', title: 'nav_menu.organizations', route: '/config/organizations', permission: 'CONFIG_ORGANIZATION_ACCESS' }, - { id: 3, icon: 'mdi-account-arrow-right', title: 'nav_menu.roles', route: '/config/roles', permission: 'CONFIG_ROLE_ACCESS' }, - { id: 4, icon: 'mdi-lock-check', title: 'nav_menu.acls', route: '/config/acls', permission: 'CONFIG_ACL_ACCESS' }, + { id: 1, icon: 'mdi-account-group', title: 'nav_menu.users', route: '/config/users', permission: 'CONFIG_USER_ACCESS', translate: '1' }, + { id: 2, icon: 'mdi-office-building', title: 'nav_menu.organizations', route: '/config/organizations', permission: 'CONFIG_ORGANIZATION_ACCESS', translate: '1' }, + { id: 3, icon: 'mdi-account-arrow-right', title: 'nav_menu.roles', route: '/config/roles', permission: 'CONFIG_ROLE_ACCESS', translate: '1' }, + { id: 4, icon: 'mdi-lock-check', title: 'nav_menu.acls', route: '/config/acls', permission: 'CONFIG_ACL_ACCESS', translate: '1' }, { id: 5, separator: '1' }, - { id: 6, icon: 'mdi-server-network', title: 'nav_menu.collectors_nodes', route: '/config/collectors/nodes', permission: 'CONFIG_COLLECTORS_NODE_ACCESS' }, - { id: 7, icon: 'mdi-animation-outline', title: 'nav_menu.osint_sources', route: '/config/collectors/sources', permission: 'CONFIG_OSINT_SOURCE_ACCESS'}, - { id: 8, icon: 'mdi-folder-multiple', title: 'nav_menu.osint_source_groups', route: '/config/collectors/groups', permission: 'CONFIG_OSINT_SOURCE_GROUP_ACCESS'}, + { id: 6, icon: 'mdi-server-network', title: 'nav_menu.collectors_nodes', route: '/config/collectors/nodes', permission: 'CONFIG_COLLECTORS_NODE_ACCESS', translate: '1' }, + { id: 7, icon: 'mdi-animation-outline', title: 'nav_menu.osint_sources', route: '/config/collectors/sources', permission: 'CONFIG_OSINT_SOURCE_ACCESS', translate: '1' }, + { id: 8, icon: 'mdi-folder-multiple', title: 'nav_menu.osint_source_groups', route: '/config/collectors/groups', permission: 'CONFIG_OSINT_SOURCE_GROUP_ACCESS', translate: '1' }, { id: 9, separator: '1' }, - { id: 10, icon: 'mdi-server-network', title: 'nav_menu.presenters_nodes', route: '/config/presenters/nodes', permission: 'CONFIG_PRESENTERS_NODE_ACCESS' }, - { id: 12, icon: 'mdi-file-document-outline', title: 'nav_menu.product_types', route: '/config/product/types', permission: 'CONFIG_PRODUCT_TYPE_ACCESS' }, + { id: 10, icon: 'mdi-server-network', title: 'nav_menu.presenters_nodes', route: '/config/presenters/nodes', permission: 'CONFIG_PRESENTERS_NODE_ACCESS', translate: '1' }, + { id: 12, icon: 'mdi-file-document-outline', title: 'nav_menu.product_types', route: '/config/product/types', permission: 'CONFIG_PRODUCT_TYPE_ACCESS', translate: '1' }, { id: 13, separator: '1' }, - { id: 14, icon: 'mdi-server-network', title: 'nav_menu.publishers_nodes', route: '/config/publishers/nodes', permission: 'CONFIG_PUBLISHERS_NODE_ACCESS' }, - { id: 15, icon: 'mdi-file-star-outline', title: 'nav_menu.publisher_presets', route: '/config/publishers/presets', permission: 'CONFIG_PUBLISHER_PRESET_ACCESS' }, + { id: 14, icon: 'mdi-server-network', title: 'nav_menu.publishers_nodes', route: '/config/publishers/nodes', permission: 'CONFIG_PUBLISHERS_NODE_ACCESS', translate: '1' }, + { id: 15, icon: 'mdi-file-star-outline', title: 'nav_menu.publisher_presets', route: '/config/publishers/presets', permission: 'CONFIG_PUBLISHER_PRESET_ACCESS', translate: '1' }, { id: 16, separator: '1' }, - { id: 17, icon: 'mdi-application-variable-outline', title: 'nav_menu.attributes', route: '/config/reportitems/attributes', permission: 'CONFIG_ATTRIBUTE_ACCESS' }, - {id: 18, icon: 'mdi-file-table-outline', title: 'nav_menu.report_types', route: '/config/reportitems/types', permission: 'CONFIG_REPORT_TYPE_ACCESS' }, + { id: 17, icon: 'mdi-application-variable-outline', title: 'nav_menu.attributes', route: '/config/reportitems/attributes', permission: 'CONFIG_ATTRIBUTE_ACCESS', translate: '1' }, + { id: 18, icon: 'mdi-file-table-outline', title: 'nav_menu.report_types', route: '/config/reportitems/types', permission: 'CONFIG_REPORT_TYPE_ACCESS', translate: '1' }, { id: 19, separator: '1' }, - {id: 20, icon: 'mdi-format-list-text', title: 'nav_menu.word_lists', route: '/config/wordlists', permission: 'CONFIG_WORD_LIST_ACCESS' }, + { id: 20, icon: 'mdi-format-list-text', title: 'nav_menu.word_lists', route: '/config/wordlists', permission: 'CONFIG_WORD_LIST_ACCESS', translate: '1' }, { id: 21, separator: '1'}, - { id: 22, icon: 'mdi-remote-desktop', title: 'nav_menu.remote_access', route: '/config/remote/access', permission: 'CONFIG_REMOTE_ACCESS_ACCESS' }, - { id: 23, icon: 'mdi-share-variant', title: 'nav_menu.remote_nodes', route: '/config/remote/nodes', permission: 'CONFIG_REMOTE_NODE_ACCESS' }, + { id: 22, icon: 'mdi-remote-desktop', title: 'nav_menu.remote_access', route: '/config/remote/access', permission: 'CONFIG_REMOTE_ACCESS_ACCESS', translate: '1' }, + { id: 23, icon: 'mdi-share-variant', title: 'nav_menu.remote_nodes', route: '/config/remote/nodes', permission: 'CONFIG_REMOTE_NODE_ACCESS', translate: '1' }, { id: 24, separator: '1'}, - { id: 25, icon: 'mdi-server-network', title: 'nav_menu.bots_nodes', route: '/config/bots/nodes', permission: 'CONFIG_BOTS_NODE_ACCESS' }, - { id: 26, icon: 'mdi-robot', title: 'nav_menu.bot_presets', route: '/config/bots/presets', permission: 'CONFIG_BOT_PRESET_ACCESS' }, + { id: 25, icon: 'mdi-server-network', title: 'nav_menu.bots_nodes', route: '/config/bots/nodes', permission: 'CONFIG_BOTS_NODE_ACCESS', translate: '1' }, + { id: 26, icon: 'mdi-robot', title: 'nav_menu.bot_presets', route: '/config/bots/presets', permission: 'CONFIG_BOT_PRESET_ACCESS', translate: '1' }, ] }) } diff --git a/src/gui/src/views/nav/DashboardNav.vue b/src/gui/src/views/nav/DashboardNav.vue index 9e9404127..6a03277d5 100644 --- a/src/gui/src/views/nav/DashboardNav.vue +++ b/src/gui/src/views/nav/DashboardNav.vue @@ -10,8 +10,7 @@ }, data: () => ({ - links: [ - ] + links: [] }) } \ No newline at end of file diff --git a/src/gui/src/views/nav/ExternalConfigNav.vue b/src/gui/src/views/nav/ExternalConfigNav.vue index c3f1a9815..6036cef72 100644 --- a/src/gui/src/views/nav/ExternalConfigNav.vue +++ b/src/gui/src/views/nav/ExternalConfigNav.vue @@ -15,9 +15,9 @@ }, data: () => ({ links: [ - { id: 1, icon: 'mdi-account-group', title: 'nav_menu.users', route: '/config/external/users' }, - { id: 2, icon: 'mdi-folder-multiple', title: 'nav_menu.asset_groups', route: '/config/external/groups'}, - { id: 3, icon: 'mdi-email-multiple-outline', title: 'nav_menu.notification_templates', route: '/config/external/templates'}, + { id: 1, icon: 'mdi-account-group', title: 'nav_menu.users', route: '/config/external/users', translate: '1' }, + { id: 2, icon: 'mdi-folder-multiple', title: 'nav_menu.asset_groups', route: '/config/external/groups', translate: '1' }, + { id: 3, icon: 'mdi-email-multiple-outline', title: 'nav_menu.notification_templates', route: '/config/external/templates', translate: '1' }, ] }) } diff --git a/src/gui/src/views/nav/PublishNav.vue b/src/gui/src/views/nav/PublishNav.vue index 01ac58177..7f164d845 100644 --- a/src/gui/src/views/nav/PublishNav.vue +++ b/src/gui/src/views/nav/PublishNav.vue @@ -14,8 +14,7 @@ Navigation }, data: () => ({ - links: [ - ] + links: [] }) } \ No newline at end of file