From d9a7debf839c3e5c0955b840d6673512375aa173 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 6 Oct 2020 17:31:19 +0000 Subject: [PATCH] --- ayanova/src/plugins/vuetify.js | 56 +++++++++++++++++++ ayanova/src/views/ay-history.vue | 4 +- ayanova/src/views/ay-report-edit.vue | 2 +- ayanova/src/views/home-user-settings.vue | 4 +- ayanova/src/views/notfound.vue | 4 +- ayanova/src/views/ops-server-state.vue | 2 +- ayanova/src/views/svc-pm-templates.vue | 2 +- ayanova/src/views/svc-quote-templates.vue | 2 +- ayanova/src/views/svc-workorder-templates.vue | 2 +- 9 files changed, 67 insertions(+), 11 deletions(-) diff --git a/ayanova/src/plugins/vuetify.js b/ayanova/src/plugins/vuetify.js index 980b1348..907dfb7a 100644 --- a/ayanova/src/plugins/vuetify.js +++ b/ayanova/src/plugins/vuetify.js @@ -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: { diff --git a/ayanova/src/views/ay-history.vue b/ayanova/src/views/ay-history.vue index 109df6e6..616b160c 100644 --- a/ayanova/src/views/ay-history.vue +++ b/ayanova/src/views/ay-history.vue @@ -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" diff --git a/ayanova/src/views/ay-report-edit.vue b/ayanova/src/views/ay-report-edit.vue index 13db3793..6691611f 100644 --- a/ayanova/src/views/ay-report-edit.vue +++ b/ayanova/src/views/ay-report-edit.vue @@ -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 diff --git a/ayanova/src/views/home-user-settings.vue b/ayanova/src/views/home-user-settings.vue index dd3d1bfb..593cbd77 100644 --- a/ayanova/src/views/home-user-settings.vue +++ b/ayanova/src/views/home-user-settings.vue @@ -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 diff --git a/ayanova/src/views/notfound.vue b/ayanova/src/views/notfound.vue index f24ec47c..0c03ca7b 100644 --- a/ayanova/src/views/notfound.vue +++ b/ayanova/src/views/notfound.vue @@ -2,7 +2,7 @@
- fa-dragon + $ayiDragon
{{ msg }}
@@ -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 }); } diff --git a/ayanova/src/views/ops-server-state.vue b/ayanova/src/views/ops-server-state.vue index 0428831b..460087b6 100644 --- a/ayanova/src/views/ops-server-state.vue +++ b/ayanova/src/views/ops-server-state.vue @@ -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 diff --git a/ayanova/src/views/svc-pm-templates.vue b/ayanova/src/views/svc-pm-templates.vue index cd01ef31..216fd2fb 100644 --- a/ayanova/src/views/svc-pm-templates.vue +++ b/ayanova/src/views/svc-pm-templates.vue @@ -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" }); diff --git a/ayanova/src/views/svc-quote-templates.vue b/ayanova/src/views/svc-quote-templates.vue index fa7b6667..91ad46d3 100644 --- a/ayanova/src/views/svc-quote-templates.vue +++ b/ayanova/src/views/svc-quote-templates.vue @@ -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" }); diff --git a/ayanova/src/views/svc-workorder-templates.vue b/ayanova/src/views/svc-workorder-templates.vue index ad9b2cd9..d1a81d11 100644 --- a/ayanova/src/views/svc-workorder-templates.vue +++ b/ayanova/src/views/svc-workorder-templates.vue @@ -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" });