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://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 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? 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? move the login button?
make sure enter works with it make sure enter works with it

View File

@@ -8,9 +8,9 @@ const icons = {
image: "$ayiFileImage", image: "$ayiFileImage",
pdf: "$ayiFilePdf", pdf: "$ayiFilePdf",
word: "$ayiFileWord", word: "$ayiFileWord",
powerpoint: "fa-file-powerpoint", powerpoint: "$ayiFilePowerpoint",
excel: "fa-file-excel", excel: "$ayiFileExcel",
csv: "fa-file-csv", csv: "$ayiFileCsv",
audio: "fa-file-audio", audio: "fa-file-audio",
video: "fa-file-video", video: "fa-file-video",
archive: "$ayiFileArchive", archive: "$ayiFileArchive",

View File

@@ -40,9 +40,12 @@ import {
faFan, faFan,
faFileArchive, faFileArchive,
faFileContract, faFileContract,
faFileCsv,
faFileExcel,
faFileImage, faFileImage,
faFileMedicalAlt, faFileMedicalAlt,
faFilePdf, faFilePdf,
faFilePowerpoint,
faFileWord, faFileWord,
faFolder, faFolder,
faHistory, faHistory,
@@ -110,9 +113,12 @@ library.add(
faFan, faFan,
faFileArchive, faFileArchive,
faFileContract, faFileContract,
faFileCsv,
faFileExcel,
faFileImage, faFileImage,
faFileMedicalAlt, faFileMedicalAlt,
faFilePdf, faFilePdf,
faFilePowerpoint,
faFileWord, faFileWord,
faFolder, faFolder,
faHistory, faHistory,
@@ -306,6 +312,18 @@ const CUSTOM_ICONS = {
icon: ["fas", "file-contract"] icon: ["fas", "file-contract"]
} }
}, },
ayiFileCsv: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-csv"]
}
},
ayiFileExcel: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-excel"]
}
},
ayiFileImage: { ayiFileImage: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -324,6 +342,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "file-pdf"] icon: ["fas", "file-pdf"]
} }
}, },
ayiFilePowerpoint: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-powerpoint"]
}
},
ayiFileWord: { ayiFileWord: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {