summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2023-05-16 12:03:25 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2023-08-10 20:45:48 +0300
commit7c1cfe7e25957fc915fc9790bdf78887295b1fee (patch)
tree94531b73fdc1b3e42398502306ca78b3b89e39dc /src/router
parentd3bb22153f47d5c1276d0f9ae2a916f5ab0df52d (diff)
downloadwebui-vue-7c1cfe7e25957fc915fc9790bdf78887295b1fee.tar.xz
Add SNMP alerts page and test hooks
This page will be included in Configuration section of the primary navigation. The user will be able to delete and add alert destination. Change-Id: I396d19a54ea11724f2c5aec67e20ba9abff947d3 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'src/router')
-rw-r--r--src/router/routes.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/router/routes.js b/src/router/routes.js
index 4cf8d72d..eb376aad 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -29,6 +29,7 @@ import ServerPowerOperations from '@/views/Operations/ServerPowerOperations';
import Certificates from '@/views/SecurityAndAccess/Certificates';
import VirtualMedia from '@/views/Operations/VirtualMedia';
import Power from '@/views/ResourceManagement/Power';
+import SnmpAlerts from '@/views/Settings/SnmpAlerts';
import i18n from '@/i18n';
const roles = {
@@ -191,6 +192,14 @@ const routes = [
},
},
{
+ path: '/settings/snmp-alerts',
+ name: 'snmp-alerts',
+ component: SnmpAlerts,
+ meta: {
+ title: i18n.t('appPageTitle.snmpAlerts'),
+ },
+ },
+ {
path: '/operations/factory-reset',
name: 'factory-reset',
component: FactoryReset,