perubahan menu vertical ke horizontal

This commit is contained in:
2024-05-02 12:13:12 +07:00
parent 5ce07dc3fd
commit 3aed024f71
9 changed files with 329 additions and 96 deletions

View File

@@ -26,6 +26,64 @@ export interface MenuConfig {
export const MenuSettingsConfig: MenuConfig = {
horizontal_menu: {
items: [
{
title: 'Monitoring',
icon: 'feather ft-monitor',
page: '/monitoring',
// submenu: {
// items: [
// {
// title: 'Monitoring Building',
// page: '/monitoring/monitoring-building'
// },
// {
// title: 'Monitoring Room',
// page: '/monitoring/monitoring-room'
// },
// ]
// }
},
{
title: 'Device',
icon: 'feather ft-life-buoy',
page: '/device'
},
{
title: 'Cost Management',
icon: 'feather ft-bar-chart-2',
page: '/cost-management'
},
{
title: 'User Access',
icon: 'feather ft-user-check',
page: '/user-access'
},
{
title: 'Master',
icon: 'feather ft-server',
page: 'null',
submenu: {
items: [
{
title: 'Master Category',
page: '/master/master-category'
},
{
title: 'Master Location',
page: '/master/master-location'
},
{
title: 'Master Location Room',
page: '/master/master-location-room'
},
{
title: 'Master Type',
page: '/master/master-type'
}
]
}
},
{
title: 'Dashboard',
icon: 'la-home',
@@ -51,23 +109,23 @@ export const MenuSettingsConfig: MenuConfig = {
]
}
},
// {
// title: 'Templates',
// icon: 'la-television',
// page: 'null',
// submenu: {
// items: [
// {
// title: 'Horizontal',
// page: 'null'
// },
// {
// title: 'Vertical',
// page: 'null'
// },
// ]
// }
// },
{
title: 'Templates',
icon: 'la-television',
page: 'null',
submenu: {
items: [
{
title: 'Horizontal',
page: 'null'
},
{
title: 'Vertical',
page: 'null'
},
]
}
},
{
title: 'APPS',
icon: 'la-mobile',
@@ -854,25 +912,6 @@ export const MenuSettingsConfig: MenuConfig = {
vertical_menu: {
items: [
// {
// title: 'Templates',
// icon: 'la-television',
// page: 'null',
// submenu: {
// items: [
// {
// title: 'Horizontal',
// page: 'null'
// },
// {
// title: 'Vertical',
// page: 'null'
// },
// ]
// }
// },
// { section: 'Hemat', icon: 'la-ellipsis-h' },
{
@@ -956,6 +995,23 @@ export const MenuSettingsConfig: MenuConfig = {
]
}
},
{
title: 'Templates',
icon: 'la-television',
page: 'null',
submenu: {
items: [
{
title: 'Horizontal',
page: 'null'
},
{
title: 'Vertical',
page: 'null'
},
]
}
},
{
title: 'To Do',
icon: 'la-edit',

View File

@@ -3,7 +3,7 @@
export const ThemeSettingsConfig = {
colorTheme: 'semi-dark', // light, semi-light, semi-dark, dark
layout: {
style: 'vertical', // style: 'vertical', horizontal,
style: 'horizontal', // style: 'vertical', horizontal,
pattern: 'fixed' // fixed, boxed, static
},
menuColor: 'menu-dark', // Vertical: [menu-dark, menu-light] , Horizontal: [navbar-dark, navbar-light]