From 6f928e2ca42e7d4a71259d5de3186ad414314f47 Mon Sep 17 00:00:00 2001 From: Fuzi_fauzia Date: Wed, 12 Jun 2024 15:49:32 +0700 Subject: [PATCH] setting menu device --- .../_layout/settings/menu-settings.config.ts | 19 ++++++++- .../device-control.component.html | 39 ++++++++++++++++++- .../content/hemat-app/device/device.module.ts | 4 ++ 3 files changed, 60 insertions(+), 2 deletions(-) diff --git a/src/app/_layout/settings/menu-settings.config.ts b/src/app/_layout/settings/menu-settings.config.ts index b0d2613..0f1c490 100644 --- a/src/app/_layout/settings/menu-settings.config.ts +++ b/src/app/_layout/settings/menu-settings.config.ts @@ -963,10 +963,27 @@ export const MenuSettingsConfig: MenuConfig = { ] } }, + // { + // title: 'Device', + // icon: 'feather ft-life-buoy', + // page: '/device' + // }, { title: 'Device', icon: 'feather ft-life-buoy', - page: '/device' + page: 'null', + submenu: { + items: [ + { + title: 'List Device', + page: '/device' + }, + { + title: 'Control Device', + page: '/device/control-device' + } + ] + } }, { title: 'Cost Management', diff --git a/src/app/content/hemat-app/device/device-control/device-control.component.html b/src/app/content/hemat-app/device/device-control/device-control.component.html index 97ead01..0bdeda6 100644 --- a/src/app/content/hemat-app/device/device-control/device-control.component.html +++ b/src/app/content/hemat-app/device/device-control/device-control.component.html @@ -1 +1,38 @@ -

device-control works!

+
+
+
+
+
+
+
+
+ + logo + +
+
+

Coming Soon

+

We're sorry for the inconvenience. +
Please check back later.

+
+
+
+ +
+
+
+
+
+
+
+ \ No newline at end of file diff --git a/src/app/content/hemat-app/device/device.module.ts b/src/app/content/hemat-app/device/device.module.ts index 254a26f..9446687 100644 --- a/src/app/content/hemat-app/device/device.module.ts +++ b/src/app/content/hemat-app/device/device.module.ts @@ -43,6 +43,10 @@ import { DeviceControlComponent } from './device-control/device-control.componen path: '', component: DeviceComponent }, + { + path: 'control-device', + component: DeviceControlComponent, + }, { path: 'add-row', component: AddEditDeviceComponent,