front end updates
This commit is contained in:
@@ -11,6 +11,10 @@ import {
|
||||
faGears,
|
||||
faKey,
|
||||
faEnvelope,
|
||||
faEnvelopeOpenText,
|
||||
faAt,
|
||||
faInbox,
|
||||
faFileLines,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import Dropdown from "@/Components/Dropdown.vue";
|
||||
import DropdownLink from "@/Components/DropdownLink.vue";
|
||||
@@ -44,7 +48,7 @@ function toggleSidebar() {
|
||||
const logout = () => router.post(route("logout"));
|
||||
const page = usePage();
|
||||
|
||||
// Categorized admin navigation groups (removed global 'Nastavitve')
|
||||
// Categorized admin navigation groups with distinct icons
|
||||
const navGroups = computed(() => [
|
||||
{
|
||||
key: "core",
|
||||
@@ -97,29 +101,35 @@ const navGroups = computed(() => [
|
||||
icon: faFileWord,
|
||||
active: ["admin.document-templates.index"],
|
||||
},
|
||||
{
|
||||
key: "admin.email-templates.index",
|
||||
label: "Email predloge",
|
||||
route: "admin.email-templates.index",
|
||||
icon: faEnvelope,
|
||||
active: [
|
||||
"admin.email-templates.index",
|
||||
"admin.email-templates.create",
|
||||
"admin.email-templates.edit",
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: "email",
|
||||
label: "Email",
|
||||
items: [
|
||||
{
|
||||
key: "admin.email-templates.index",
|
||||
label: "Email predloge",
|
||||
route: "admin.email-templates.index",
|
||||
icon: faEnvelopeOpenText,
|
||||
active: [
|
||||
"admin.email-templates.index",
|
||||
"admin.email-templates.create",
|
||||
"admin.email-templates.edit",
|
||||
],
|
||||
},
|
||||
{
|
||||
key: "admin.email-logs.index",
|
||||
label: "Email dnevniki",
|
||||
route: "admin.email-logs.index",
|
||||
icon: faEnvelope,
|
||||
icon: faInbox,
|
||||
active: ["admin.email-logs.index", "admin.email-logs.show"],
|
||||
},
|
||||
{
|
||||
key: "admin.mail-profiles.index",
|
||||
label: "Mail profili",
|
||||
route: "admin.mail-profiles.index",
|
||||
icon: faGears,
|
||||
icon: faAt,
|
||||
active: ["admin.mail-profiles.index"],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user