This commit is contained in:
2020-10-06 18:16:23 +00:00
parent 5064946736
commit 2a7db15d28
7 changed files with 36 additions and 12 deletions

View File

@@ -114,9 +114,9 @@
<div class="text-center"> <div class="text-center">
<v-icon v-if="c.v === false" small>$ayiSquare</v-icon> <v-icon v-if="c.v === false" small>$ayiSquare</v-icon>
<v-icon v-else-if="c.v === true" small <v-icon v-else-if="c.v === true" small
>far $ayiCheckSquare</v-icon >$ayiCheckSquare</v-icon
> >
<v-icon v-else small>far $ayiMinus-square</v-icon> <v-icon v-else small>$ayiMinus-square</v-icon>
</div> </div>
</template> </template>
<template v-else-if="c.t == 7"> <template v-else-if="c.t == 7">
@@ -201,9 +201,9 @@
> >
<v-icon v-if="!props.someItems" large>$ayiSquare</v-icon> <v-icon v-if="!props.someItems" large>$ayiSquare</v-icon>
<v-icon v-if="props.someItems && !props.everyItem" large <v-icon v-if="props.someItems && !props.everyItem" large
>far $ayiMinus-square</v-icon >$ayiMinus-square</v-icon
> >
<v-icon v-if="props.everyItem" large>far $ayiCheckSquare</v-icon> <v-icon v-if="props.everyItem" large>$ayiCheckSquare</v-icon>
</div> </div>
</template> </template>
@@ -288,9 +288,9 @@
>$ayiSquare</v-icon >$ayiSquare</v-icon
> >
<v-icon v-else-if="c.v === true" small <v-icon v-else-if="c.v === true" small
>far $ayiCheckSquare</v-icon >$ayiCheckSquare</v-icon
> >
<v-icon v-else small>far $ayiMinus-square</v-icon> <v-icon v-else small>$ayiMinus-square</v-icon>
</div> </div>
</template> </template>
<template v-else-if="c.t == 7"> <template v-else-if="c.t == 7">

View File

@@ -34,6 +34,8 @@ import {
faCheckCircle, faCheckCircle,
faCheckSquare, faCheckSquare,
faChevronDown, faChevronDown,
faChevronLeft,
faChevronRight,
faChild, faChild,
faClock, faClock,
faClone, faClone,
@@ -65,6 +67,7 @@ import {
faFileCode, faFileCode,
faFileContract, faFileContract,
faFileCsv, faFileCsv,
faFileDownload,
faFileExcel, faFileExcel,
faFileImage, faFileImage,
faFileImport, faFileImport,
@@ -174,6 +177,8 @@ library.add(
faCheckCircle, faCheckCircle,
faCheckSquare, faCheckSquare,
faChevronDown, faChevronDown,
faChevronLeft,
faChevronRight,
faChild, faChild,
faClock, faClock,
faClone, faClone,
@@ -205,6 +210,7 @@ library.add(
faFileCode, faFileCode,
faFileContract, faFileContract,
faFileCsv, faFileCsv,
faFileDownload,
faFileExcel, faFileExcel,
faFileImage, faFileImage,
faFileImport, faFileImport,
@@ -592,6 +598,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "file-csv"] icon: ["fas", "file-csv"]
} }
}, },
ayiFileDownload: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-download"]
}
},
ayiFileExcel: { ayiFileExcel: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -1110,6 +1122,18 @@ const CUSTOM_ICONS = {
icon: ["fas", "bars"] icon: ["fas", "bars"]
} }
}, },
prev: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "chevron-left"]
}
},
next: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "chevron-right"]
}
},
sort: { sort: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {

View File

@@ -664,7 +664,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "Export", title: "Export",
icon: "$ayiFile-download", icon: "$ayiFileDownload",
href: href, href: href,
target: "_blank", target: "_blank",
key: FORM_KEY + ":export", key: FORM_KEY + ":export",

View File

@@ -425,7 +425,7 @@ function populateEventTypeList(vm) {
}, },
6: { 6: {
name: vm.$ay.t("EventAttachmentDownload"), name: vm.$ay.t("EventAttachmentDownload"),
icon: "$ayiFile-download" icon: "$ayiFileDownload"
}, },
7: { 7: {
name: vm.$ay.t("EventLicenseFetch"), name: vm.$ay.t("EventLicenseFetch"),
@@ -445,7 +445,7 @@ function populateEventTypeList(vm) {
13: { name: vm.$ay.t("EventResetSerial"), icon: "$ayiEgg" }, 13: { name: vm.$ay.t("EventResetSerial"), icon: "$ayiEgg" },
13: { 13: {
name: vm.$ay.t("EventUtilityFileDownload"), name: vm.$ay.t("EventUtilityFileDownload"),
icon: "$ayiFile-download" icon: "$ayiFileDownload"
} }
}; };
} }

View File

@@ -1134,7 +1134,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "Export", title: "Export",
icon: "$ayiFile-download", icon: "$ayiFileDownload",
href: href, href: href,
target: "_blank", target: "_blank",
key: FORM_KEY + ":export", key: FORM_KEY + ":export",

View File

@@ -79,7 +79,7 @@
<template v-slot:[`item.actions`]="{ item }"> <template v-slot:[`item.actions`]="{ item }">
<v-btn icon :href="item.url"> <v-btn icon :href="item.url">
<v-icon small class="mr-2"> <v-icon small class="mr-2">
$ayiFile-download $ayiFileDownload
</v-icon> </v-icon>
</v-btn> </v-btn>
</template></v-data-table </template></v-data-table

View File

@@ -19,7 +19,7 @@
<template v-slot:[`item.actions`]="{ item }"> <template v-slot:[`item.actions`]="{ item }">
<v-btn icon :href="item.url"> <v-btn icon :href="item.url">
<v-icon small class="mr-2"> <v-icon small class="mr-2">
$ayiFile-download $ayiFileDownload
</v-icon> </v-icon>
</v-btn> </v-btn>
</template></v-data-table </template></v-data-table