This commit is contained in:
@@ -90,14 +90,14 @@ export default {
|
||||
if (isCoreBizObject) {
|
||||
// vm.appBar.menuItems.push({
|
||||
// title: "Attachments"),
|
||||
// icon: "fa-paperclip",
|
||||
// icon: "fa - paperclip",
|
||||
// key: "app:attachments",
|
||||
// data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
// });
|
||||
|
||||
// vm.appBar.menuItems.push({
|
||||
// title: "WikiPage"),
|
||||
// icon: "fa-feather",
|
||||
// icon: "fa - feather",
|
||||
// key: "app:wiki",
|
||||
// data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
// });
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
//
|
||||
|
||||
const icons = {
|
||||
image: "fa-file-image",
|
||||
pdf: "fa-file-pdf",
|
||||
word: "fa-file-word",
|
||||
image: "$ayiFileImage",
|
||||
pdf: "$ayiFilePdf",
|
||||
word: "$ayiFileWord",
|
||||
powerpoint: "fa-file-powerpoint",
|
||||
excel: "fa-file-excel",
|
||||
csv: "fa-file-csv",
|
||||
audio: "fa-file-audio",
|
||||
video: "fa-file-video",
|
||||
archive: "fa-file-archive",
|
||||
archive: "$ayiFileArchive",
|
||||
code: "fa-file-code",
|
||||
text: "fa-file-alt",
|
||||
file: "fa-file"
|
||||
@@ -304,9 +304,9 @@ export default {
|
||||
case window.$gz.type.User:
|
||||
return "fa-user";
|
||||
case window.$gz.type.Widget:
|
||||
return "fa-vial";
|
||||
return "$ayiVial";
|
||||
case window.$gz.type.ServerState:
|
||||
return "fa-door-open";
|
||||
return "$ayiDoorOpen";
|
||||
case window.$gz.type.License:
|
||||
return "$ayiTicket";
|
||||
case window.$gz.type.LogFile:
|
||||
@@ -314,13 +314,13 @@ export default {
|
||||
case window.$gz.type.PickListTemplate:
|
||||
return "fa-pencil-ruler";
|
||||
case window.$gz.type.ServerJob:
|
||||
return "fa-robot";
|
||||
return "$ayiRobot";
|
||||
case window.$gz.type.AyaNova7Import:
|
||||
return "fa-file-import";
|
||||
case window.$gz.type.TrialSeeder:
|
||||
return "fa-seedling";
|
||||
case window.$gz.type.Metrics:
|
||||
return "fa-file-medical-alt";
|
||||
return "$ayiFileMedicalAlt";
|
||||
case window.$gz.type.Translation:
|
||||
return "$ayiLanguage";
|
||||
case window.$gz.type.UserOptions:
|
||||
@@ -375,7 +375,7 @@ export default {
|
||||
// attempt to detect image extension name
|
||||
//
|
||||
isImageAttachment: function(fileName, mimeType) {
|
||||
return this.iconForFile(fileName, mimeType) == "fa-file-image";
|
||||
return this.iconForFile(fileName, mimeType) == "$ayiFileImage";
|
||||
},
|
||||
///////////////////////////////////////////////
|
||||
// Sleep async
|
||||
|
||||
@@ -352,7 +352,7 @@ function initNavPanel() {
|
||||
//there used to be an array for 3rd level shit but that's whack yo! ;)
|
||||
// subSub.push({
|
||||
// title: "WorkOrderServiceTemplate",
|
||||
// icon: "fa-stamp",
|
||||
// icon: "fa - stamp",
|
||||
// route: "/svc-workorder-templates",
|
||||
// key: key++
|
||||
// });
|
||||
@@ -669,7 +669,7 @@ function initNavPanel() {
|
||||
// ARCHIVE
|
||||
sub.push({
|
||||
title: "Backup",
|
||||
icon: "fa-file-archive",
|
||||
icon: "$ayiFileArchive",
|
||||
route: "/ops-backup",
|
||||
key: key++
|
||||
});
|
||||
@@ -683,7 +683,7 @@ function initNavPanel() {
|
||||
// SERVER STATE
|
||||
sub.push({
|
||||
title: "ServerState",
|
||||
icon: "fa-door-open",
|
||||
icon: "$ayiDoorOpen",
|
||||
route: "/ops-server-state",
|
||||
key: key++
|
||||
});
|
||||
@@ -691,7 +691,7 @@ function initNavPanel() {
|
||||
// JOBS
|
||||
sub.push({
|
||||
title: "ServerJobs",
|
||||
icon: "fa-robot",
|
||||
icon: "$ayiRobot",
|
||||
route: "/ops-jobs",
|
||||
key: key++
|
||||
});
|
||||
@@ -707,7 +707,7 @@ function initNavPanel() {
|
||||
//METRICS
|
||||
sub.push({
|
||||
title: "ServerMetrics",
|
||||
icon: "fa-file-medical-alt",
|
||||
icon: "$ayiFileMedicalAlt",
|
||||
route: "/ops-metrics",
|
||||
key: key++
|
||||
});
|
||||
@@ -715,7 +715,7 @@ function initNavPanel() {
|
||||
//PROFILE
|
||||
sub.push({
|
||||
title: "ServerProfiler",
|
||||
icon: "fa-binoculars",
|
||||
icon: "$ayiBinoculars",
|
||||
route: "/ops-profile",
|
||||
key: key++
|
||||
});
|
||||
@@ -737,7 +737,7 @@ function initNavPanel() {
|
||||
});
|
||||
|
||||
// ** OPERATIONS (TOP)
|
||||
addNavItem("Operations", "fa-server", undefined, sub, key++, "operations");
|
||||
addNavItem("Operations", "$ayiServer", undefined, sub, key++, "operations");
|
||||
}
|
||||
|
||||
//**** WIDGETS (TOP GROUP)
|
||||
@@ -749,7 +749,7 @@ function initNavPanel() {
|
||||
role.InventoryLimited
|
||||
])
|
||||
) {
|
||||
addNavItem("WidgetList", "fa-vial", "/widgets", [], key++, "widgets");
|
||||
addNavItem("WidgetList", "$ayiVial", "/widgets", [], key++, "widgets");
|
||||
}
|
||||
|
||||
//*** EVALUATION active trial license should always go to evaluation as home page
|
||||
@@ -757,7 +757,7 @@ function initNavPanel() {
|
||||
if ((licenseState == 1) & !isSubcontractorTypeUser) {
|
||||
addNavItem(
|
||||
"Evaluate",
|
||||
"fa-rocket",
|
||||
"$ayiRocket",
|
||||
"/ay-evaluate",
|
||||
[],
|
||||
key++,
|
||||
|
||||
Reference in New Issue
Block a user