This commit is contained in:
2020-10-06 00:07:15 +00:00
parent 1c65a89d4a
commit 0c895f83b0
3 changed files with 31 additions and 3 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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: {