diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 015ecbf9..aa99ea71 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -15,6 +15,10 @@ todo: chunk-vendors has fa - brands in it which is fucking huge, what else is in https://github.com/FortAwesome/vue-fontawesome#learn-about-our-new-svg-implementation https://stackoverflow.com/questions/52030435/fontawesome-with-vuetify-how-to-include-font-awesome-icons-within-the-v-icon-c/58261449#58261449 + +todo: Test file associations in attach icon correct after above + + todo: login button can be obscured by footer, this should not happen try forcing margin below, footer maybe has a setting to confine it? move the login button? make sure enter works with it diff --git a/ayanova/src/api/gzutil.js b/ayanova/src/api/gzutil.js index 2db6024e..a830507e 100644 --- a/ayanova/src/api/gzutil.js +++ b/ayanova/src/api/gzutil.js @@ -8,9 +8,9 @@ const icons = { image: "$ayiFileImage", pdf: "$ayiFilePdf", word: "$ayiFileWord", - powerpoint: "fa-file-powerpoint", - excel: "fa-file-excel", - csv: "fa-file-csv", + powerpoint: "$ayiFilePowerpoint", + excel: "$ayiFileExcel", + csv: "$ayiFileCsv", audio: "fa-file-audio", video: "fa-file-video", archive: "$ayiFileArchive", diff --git a/ayanova/src/plugins/vuetify.js b/ayanova/src/plugins/vuetify.js index 6a14d8c9..5212d330 100644 --- a/ayanova/src/plugins/vuetify.js +++ b/ayanova/src/plugins/vuetify.js @@ -40,9 +40,12 @@ import { faFan, faFileArchive, faFileContract, + faFileCsv, + faFileExcel, faFileImage, faFileMedicalAlt, faFilePdf, + faFilePowerpoint, faFileWord, faFolder, faHistory, @@ -110,9 +113,12 @@ library.add( faFan, faFileArchive, faFileContract, + faFileCsv, + faFileExcel, faFileImage, faFileMedicalAlt, faFilePdf, + faFilePowerpoint, faFileWord, faFolder, faHistory, @@ -306,6 +312,18 @@ const CUSTOM_ICONS = { icon: ["fas", "file-contract"] } }, + ayiFileCsv: { + component: FontAwesomeIcon, + props: { + icon: ["fas", "file-csv"] + } + }, + ayiFileExcel: { + component: FontAwesomeIcon, + props: { + icon: ["fas", "file-excel"] + } + }, ayiFileImage: { component: FontAwesomeIcon, props: { @@ -324,6 +342,12 @@ const CUSTOM_ICONS = { icon: ["fas", "file-pdf"] } }, + ayiFilePowerpoint: { + component: FontAwesomeIcon, + props: { + icon: ["fas", "file-powerpoint"] + } + }, ayiFileWord: { component: FontAwesomeIcon, props: {