From e5ae41121e866244cb54965acfbd36c972a65822 Mon Sep 17 00:00:00 2001 From: geek Date: Tue, 5 Jun 2018 18:45:26 +0900 Subject: [PATCH] ing --- .../component/detail/detail.component.html | 140 +++++++++--------- .../target/component/list/list.component.html | 62 ++++---- src/app/pages/pages-routing.module.ts | 1 - .../probes/probe-tab-page-routing.module.ts | 1 + .../target/target-detail-page.component.html | 5 +- src/app/pages/target/target-page.module.ts | 6 +- 6 files changed, 109 insertions(+), 106 deletions(-) diff --git a/@overflow/target/component/detail/detail.component.html b/@overflow/target/component/detail/detail.component.html index 351c63e..4ef797d 100644 --- a/@overflow/target/component/detail/detail.component.html +++ b/@overflow/target/component/detail/detail.component.html @@ -1,72 +1,72 @@ -
-
- -
+ + + + -
-
-
- - - - - -
-
-
- -
- Status - - Up -
- - - - -
-
-
-
-
- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-
-
- Up - Down - Warn - Error -
-
-
-
-
- - - - Alias - Status - Crawler - Items - Created at - - - - - {{sensor.displayName}} - {{sensor.status.name}} - {{sensor.crawler.name}} - {{sensor.itemCount}} - {{sensor.createDate | date: 'dd.MM.yyyy'}} - - - - -
-
-
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/@overflow/target/component/list/list.component.html b/@overflow/target/component/list/list.component.html index dec729f..494405b 100644 --- a/@overflow/target/component/list/list.component.html +++ b/@overflow/target/component/list/list.component.html @@ -1,34 +1,34 @@ -

Targets

+ - - - - No. - Status - Type - Name - Sensors - Created at - - - - - - {{rowIndex + 1}} - ?? - {{infra.infraType.name}} - {{infra.target.displayName}} - {{infra.target.sensorCount}} - {{infra.createDate | date: 'dd.MM.yyyy'}} - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - \ No newline at end of file + + + diff --git a/src/app/pages/pages-routing.module.ts b/src/app/pages/pages-routing.module.ts index c70be27..a27c22d 100644 --- a/src/app/pages/pages-routing.module.ts +++ b/src/app/pages/pages-routing.module.ts @@ -13,7 +13,6 @@ const routes: Routes = [ { path: 'discovery', loadChildren: './discovery/discovery-page.module#DiscoveryPageModule' }, { path: 'map', loadChildren: './infra/infra-page.module#InfraPageModule' }, { path: 'sensor', loadChildren: './sensors/sensor-tab-page.module#SensorTabPageModule' }, - { path: 'target', loadChildren: './target/target-page.module#TargetPageModule'}, // { path: 'target', loadChildren: './target/target-page.module#TargetPageModule' }, // { path: 'overview', loadChildren: './overview/overview-page.module#OverviewPageModule' }, // { path: 'dashboard', loadChildren: './dashboard/dashboard-page.module#DashboardPageModule' }, diff --git a/src/app/pages/probes/probe-tab-page-routing.module.ts b/src/app/pages/probes/probe-tab-page-routing.module.ts index 2c9d1c2..c3a2092 100644 --- a/src/app/pages/probes/probe-tab-page-routing.module.ts +++ b/src/app/pages/probes/probe-tab-page-routing.module.ts @@ -17,6 +17,7 @@ const routes: Routes = [ { path: 'download/:idx', component: ProbeDownloadPageComponent }, { path: ':id/info', component: ProbeDetailPageComponent }, { path: ':id/history', component: null }, + { path: 'target', loadChildren: '../pages/target/target-page.module#TargetPageModule'}, ] }, ]; diff --git a/src/app/pages/target/target-detail-page.component.html b/src/app/pages/target/target-detail-page.component.html index b6cc073..f52dc3c 100644 --- a/src/app/pages/target/target-detail-page.component.html +++ b/src/app/pages/target/target-detail-page.component.html @@ -2,8 +2,9 @@
- + + sdfsdf
- \ No newline at end of file + diff --git a/src/app/pages/target/target-page.module.ts b/src/app/pages/target/target-page.module.ts index 36b8852..5f5da4b 100644 --- a/src/app/pages/target/target-page.module.ts +++ b/src/app/pages/target/target-page.module.ts @@ -2,21 +2,23 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { UIModule } from '@overflow/shared/ui/ui.module'; -import { TargetModule } from '@overflow/target/target.module'; +// import { TargetModule } from '@overflow/target/target.module'; import { TargetListPageComponent } from './target-list-page.component'; import { TargetDetailPageComponent } from './target-detail-page.component'; import { TargetPageRoutingModule } from './target-page-routing.module'; +import { TargetPageComponent } from './target-page.component'; @NgModule({ imports: [ CommonModule, UIModule, TargetPageRoutingModule, - TargetModule, + // TargetModule, // TabbarModule ], declarations: [ + TargetPageComponent, TargetListPageComponent, TargetDetailPageComponent, ]