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,