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">
<v-icon v-if="c.v === false" small>$ayiSquare</v-icon>
<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>
</template>
<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 && !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>
</template>
@@ -288,9 +288,9 @@
>$ayiSquare</v-icon
>
<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>
</template>
<template v-else-if="c.t == 7">

View File

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

View File

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

View File

@@ -425,7 +425,7 @@ function populateEventTypeList(vm) {
},
6: {
name: vm.$ay.t("EventAttachmentDownload"),
icon: "$ayiFile-download"
icon: "$ayiFileDownload"
},
7: {
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("EventUtilityFileDownload"),
icon: "$ayiFile-download"
icon: "$ayiFileDownload"
}
};
}

View File

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

View File

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

View File

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