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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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