This commit is contained in:
@@ -402,57 +402,64 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** OPERATIONS
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
if (
|
||||
window.$gz.role.hasRole([
|
||||
window.$gz.role.AUTHORIZATION_ROLES.OpsAdminFull,
|
||||
window.$gz.role.AUTHORIZATION_ROLES.OpsAdminLimited
|
||||
])
|
||||
) {
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
// ARCHIVE
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Backup"),
|
||||
icon: "file-archive",
|
||||
route: "/ops-backup",
|
||||
key: key++
|
||||
});
|
||||
// ARCHIVE
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Backup"),
|
||||
icon: "file-archive",
|
||||
route: "/ops-backup",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// JOBS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerJobs"),
|
||||
icon: "robot",
|
||||
route: "/ops-jobs",
|
||||
key: key++
|
||||
});
|
||||
// JOBS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerJobs"),
|
||||
icon: "robot",
|
||||
route: "/ops-jobs",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// LOGS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerLog"),
|
||||
icon: "history",
|
||||
route: "/ops-log",
|
||||
key: key++
|
||||
});
|
||||
// LOGS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerLog"),
|
||||
icon: "history",
|
||||
route: "/ops-log",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//METRICS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerMetrics"),
|
||||
icon: "file-medical-alt",
|
||||
route: "/ops-metrics",
|
||||
key: key++
|
||||
});
|
||||
//METRICS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerMetrics"),
|
||||
icon: "file-medical-alt",
|
||||
route: "/ops-metrics",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//NOTIFICATION CONFIG AND HISTORY
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("NotificationSettings"),
|
||||
icon: "bullhorn",
|
||||
route: "/ops-notification-settings",
|
||||
key: key++
|
||||
});
|
||||
//NOTIFICATION CONFIG AND HISTORY
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("NotificationSettings"),
|
||||
icon: "bullhorn",
|
||||
route: "/ops-notification-settings",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// ** OPERATIONS (TOP)
|
||||
addNavItem(
|
||||
window.$gz.locale.get("Operations"),
|
||||
"server",
|
||||
undefined,
|
||||
sub,
|
||||
key++
|
||||
);
|
||||
// ** OPERATIONS (TOP)
|
||||
addNavItem(
|
||||
window.$gz.locale.get("Operations"),
|
||||
"server",
|
||||
undefined,
|
||||
sub,
|
||||
key++
|
||||
);
|
||||
}
|
||||
|
||||
//**** WIDGETS (TOP GROUP)
|
||||
addNavItem(
|
||||
|
||||
Reference in New Issue
Block a user