diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index ea840200..015ecbf9 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -3,8 +3,8 @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -todo: chunk-vendors has fa-brands in it which is fucking huge, what else is in there I don't need? - eradicate fa-brands! +todo: chunk-vendors has fa - brands in it which is fucking huge, what else is in there I don't need? + eradicate fa - brands! Looks like I'm doing it wrong, I was using a generic NPM module when there is a Vue specific one that also has guidance to limit to just the icons I actually use: https://github.com/FortAwesome/vue-fontawesome This could be a big breaking change so need to do it carefully and all at once as it's own project diff --git a/ayanova/src/api/gzmenu.js b/ayanova/src/api/gzmenu.js index a1a0a557..6b857f71 100644 --- a/ayanova/src/api/gzmenu.js +++ b/ayanova/src/api/gzmenu.js @@ -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 } // }); diff --git a/ayanova/src/api/gzutil.js b/ayanova/src/api/gzutil.js index 6cefaa96..2db6024e 100644 --- a/ayanova/src/api/gzutil.js +++ b/ayanova/src/api/gzutil.js @@ -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 diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 84852f98..86c2e3c4 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -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++, diff --git a/ayanova/src/components/attachment-control.vue b/ayanova/src/components/attachment-control.vue index 1549a4b0..1ff3ce60 100644 --- a/ayanova/src/components/attachment-control.vue +++ b/ayanova/src/components/attachment-control.vue @@ -3,7 +3,7 @@
{{ $ay.t("Attachments") - }}
@@ -95,7 +95,7 @@ {{ $ay.t("Attachments") }} diff --git a/ayanova/src/components/gzconfirm.vue b/ayanova/src/components/gzconfirm.vue index 39e750e0..b34100d0 100644 --- a/ayanova/src/components/gzconfirm.vue +++ b/ayanova/src/components/gzconfirm.vue @@ -11,7 +11,7 @@