This commit is contained in:
2020-10-06 17:31:19 +00:00
parent 85138a3b27
commit d9a7debf83
9 changed files with 67 additions and 11 deletions

View File

@@ -47,7 +47,9 @@ import {
faDollyFlatbed,
faDoorOpen,
faDraftingCompass,
faDragon,
faEdit,
faEgg,
faEllipsisV,
faEnvelopeOpenText,
faExclamationCircle,
@@ -91,6 +93,7 @@ import {
faListOl,
faListUl,
faMinus,
faMoon,
faPallet,
faPaperclip,
faPaperPlane,
@@ -100,6 +103,7 @@ import {
faPlug,
faPlus,
faPlusCircle,
faPrint,
faQuestionCircle,
faQuoteLeft,
faRobot,
@@ -118,11 +122,14 @@ import {
faSortAmountDown,
faSortAmountUp,
faSquareFull,
faStamp,
faStepBackward,
faStepForward,
faStickyNote,
faStore,
faStopCircle,
faStrikethrough,
faSun,
faSync,
faTable,
faTachometerAlt,
@@ -177,7 +184,9 @@ library.add(
faDollyFlatbed,
faDoorOpen,
faDraftingCompass,
faDragon,
faEdit,
faEgg,
faEllipsisV,
faEnvelopeOpenText,
faExclamationCircle,
@@ -221,6 +230,7 @@ library.add(
faListOl,
faListUl,
faMinus,
faMoon,
faPallet,
faPaperclip,
faPaperPlane,
@@ -230,6 +240,7 @@ library.add(
faPlug,
faPlus,
faPlusCircle,
faPrint,
faQuestionCircle,
faQuoteLeft,
faRobot,
@@ -249,11 +260,14 @@ library.add(
faSortAmountUp,
farSquare,
faSquareFull,
faStamp,
faStepBackward,
faStepForward,
faStickyNote,
faStore,
faStopCircle,
faStrikethrough,
faSun,
faSync,
faTable,
faTachometerAlt,
@@ -464,12 +478,24 @@ const CUSTOM_ICONS = {
icon: ["fas", "drafting-compass"]
}
},
ayiDragon: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "dragon"]
}
},
ayiEdit: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "edit"]
}
},
ayiEgg: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "egg"]
}
},
ayiEnvelopeOpenText: {
component: FontAwesomeIcon,
props: {
@@ -728,6 +754,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "minus"]
}
},
ayiMoon: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "moon"]
}
},
ayiPallet: {
component: FontAwesomeIcon,
props: {
@@ -782,6 +814,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "plus-circle"]
}
},
ayiPrint: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "print"]
}
},
ayiQuestionCircle: {
component: FontAwesomeIcon,
props: {
@@ -878,6 +916,12 @@ const CUSTOM_ICONS = {
icon: ["far", "sort-amount-up"]
}
},
ayiStamp: {
component: FontAwesomeIcon,
props: {
icon: ["far", "stamp"]
}
},
ayiSquare: {
component: FontAwesomeIcon,
props: {
@@ -914,12 +958,24 @@ const CUSTOM_ICONS = {
icon: ["fas", "store"]
}
},
ayiStopCircle: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "stop-circle"]
}
},
ayiStrikethrough: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "strikethrough"]
}
},
ayiSun: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "sun"]
}
},
ayiSync: {
component: FontAwesomeIcon,
props: {

View File

@@ -433,7 +433,7 @@ function populateEventTypeList(vm) {
},
8: {
name: vm.$ay.t("EventLicenseTrialRequest"),
icon: "fa-arrow-circle-down" //hol up, this is the download icon...wtf??
icon: "$ayiRocket"
},
9: {
name: vm.$ay.t("EventServerStateChange"),
@@ -442,7 +442,7 @@ function populateEventTypeList(vm) {
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "$ayiPlus" },
11: { name: vm.$ay.t("EventAttachmentModified"), icon: "$ayiSave" },
12: { name: "ERASE ALL DATA", icon: "$ayiSeedling" },
13: { name: vm.$ay.t("EventResetSerial"), icon: "fa-egg" },
13: { name: vm.$ay.t("EventResetSerial"), icon: "$ayiEgg" },
13: {
name: vm.$ay.t("EventUtilityFileDownload"),
icon: "$ayiFile-download"

View File

@@ -1071,7 +1071,7 @@ function generateMenu(vm) {
if (vm.reportData != null) {
menuOptions.menuItems.push({
title: "Report",
icon: "fa-print",
icon: "$ayiPrint",
key: FORM_KEY + ":render",
surface: true,
vm: vm

View File

@@ -236,7 +236,7 @@ export default {
window.$gz.eventBus.$emit(
"menu-change-item-icon",
FORM_KEY + ":darkmode",
vm.darkMode ? "fa-sun" : "fa-moon"
vm.darkMode ? "$ayiSun" : "$ayiMoon"
);
},
fieldValueChanged(ref) {
@@ -413,7 +413,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({
title: "DarkMode",
icon: vm.darkMode ? "fa-sun" : "fa-moon",
icon: vm.darkMode ? "$ayiSun" : "$ayiMoon",
surface: true,
key: FORM_KEY + ":darkmode",
vm: vm

View File

@@ -2,7 +2,7 @@
<v-row justify-center>
<v-col cols="12">
<div class="text-center">
<v-icon color="red" size="100">fa-dragon</v-icon>
<v-icon color="red" size="100">$ayiDragon</v-icon>
<div class="headline mt-8">
{{ msg }}
</div>
@@ -38,7 +38,7 @@ export default {
//set the title of the window
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-dragon",
icon: "$ayiDragon",
title: "404 - " + notFoundTranslated
});
}

View File

@@ -270,7 +270,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({
title: "ShutDownServer",
icon: "fa-stop-circle",
icon: "$ayiStopCircle",
surface: false,
key: FORM_KEY + ":shutdown",
vm: vm

View File

@@ -12,7 +12,7 @@ export default {
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-stamp",
icon: "$ayiStamp",
title: "PMTemplate",
helpUrl: "form-svc-pm-templates"
});

View File

@@ -12,7 +12,7 @@ export default {
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-stamp",
icon: "$ayiStamp",
title: "WorkOrderQuoteTemplate",
helpUrl: "form-svc-quote-templates"
});

View File

@@ -12,7 +12,7 @@ export default {
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-stamp",
icon: "$ayiStamp",
title: "WorkOrderServiceTemplate",
helpUrl: "form-svc-workorder-templates"
});