This commit is contained in:
@@ -134,7 +134,7 @@
|
|||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
<div>
|
<div>
|
||||||
<v-btn x-large block to="/login">
|
<v-btn x-large block to="/login">
|
||||||
<v-icon large left>fa-sign-out-alt</v-icon>
|
<v-icon large left>$ayiSignOut</v-icon>
|
||||||
<span class="ml-2 text-h6">{{ $ay.t("Logout") }}</span></v-btn
|
<span class="ml-2 text-h6">{{ $ay.t("Logout") }}</span></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
<template v-slot:badge>
|
<template v-slot:badge>
|
||||||
{{ newNotificationCount() }}
|
{{ newNotificationCount() }}
|
||||||
</template>
|
</template>
|
||||||
<v-icon>fa-bell</v-icon>
|
<v-icon>$ayiBell</v-icon>
|
||||||
</v-badge>
|
</v-badge>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
|
|||||||
Vue.component("font-awesome-icon", FontAwesomeIcon); // Register component globally
|
Vue.component("font-awesome-icon", FontAwesomeIcon); // Register component globally
|
||||||
import {
|
import {
|
||||||
faBars,
|
faBars,
|
||||||
|
faBell,
|
||||||
faCaretDown,
|
faCaretDown,
|
||||||
faChevronDown,
|
faChevronDown,
|
||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
@@ -22,13 +23,15 @@ import {
|
|||||||
faUser,
|
faUser,
|
||||||
faKey,
|
faKey,
|
||||||
faQuestionCircle,
|
faQuestionCircle,
|
||||||
faSignInAlt
|
faSignInAlt,
|
||||||
|
faSignOutAlt
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
//import { faUserCircle as farUserCircle } from "@fortawesome/free-regular-svg-icons";
|
//import { faUserCircle as farUserCircle } from "@fortawesome/free-regular-svg-icons";
|
||||||
Vue.component("font-awesome-icon", FontAwesomeIcon);
|
Vue.component("font-awesome-icon", FontAwesomeIcon);
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faBars,
|
faBars,
|
||||||
|
faBell,
|
||||||
faCaretDown,
|
faCaretDown,
|
||||||
faChevronDown,
|
faChevronDown,
|
||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
@@ -38,14 +41,15 @@ library.add(
|
|||||||
faKey,
|
faKey,
|
||||||
faQuestionCircle,
|
faQuestionCircle,
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
|
faSignOutAlt,
|
||||||
faUser
|
faUser
|
||||||
);
|
);
|
||||||
|
|
||||||
const CUSTOM_ICONS = {
|
const CUSTOM_ICONS = {
|
||||||
ayiQuestionCircle: {
|
ayiBell: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
icon: ["fas", "question-circle"]
|
icon: ["fas", "bell"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ayiEye: {
|
ayiEye: {
|
||||||
@@ -72,12 +76,24 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "key"]
|
icon: ["fas", "key"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiQuestionCircle: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "question-circle"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiSignIn: {
|
ayiSignIn: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
icon: ["fas", "sign-in-alt"]
|
icon: ["fas", "sign-in-alt"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiSignOut: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "sign-out-alt"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiUser: {
|
ayiUser: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
Reference in New Issue
Block a user