added infra map
This commit is contained in:
parent
0f3c81873d
commit
dd84f626d2
3
src/app/packages/infra/components/map/map.component.html
Normal file
3
src/app/packages/infra/components/map/map.component.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<p>
|
||||||
|
map works!
|
||||||
|
</p>
|
25
src/app/packages/infra/components/map/map.component.spec.ts
Normal file
25
src/app/packages/infra/components/map/map.component.spec.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { MapComponent } from './map.component';
|
||||||
|
|
||||||
|
describe('MapComponent', () => {
|
||||||
|
let component: MapComponent;
|
||||||
|
let fixture: ComponentFixture<MapComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ MapComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(MapComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/packages/infra/components/map/map.component.ts
Normal file
15
src/app/packages/infra/components/map/map.component.ts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'of-map',
|
||||||
|
templateUrl: './map.component.html',
|
||||||
|
styleUrls: ['./map.component.scss']
|
||||||
|
})
|
||||||
|
export class MapComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
18
src/app/pages/infra/infra-page-routing.module.ts
Normal file
18
src/app/pages/infra/infra-page-routing.module.ts
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { Routes, RouterModule } from '@angular/router';
|
||||||
|
|
||||||
|
import { InfraPageComponent } from './infra-page.component';
|
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
component: InfraPageComponent,
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [RouterModule.forChild(routes)],
|
||||||
|
exports: [RouterModule]
|
||||||
|
})
|
||||||
|
export class InfraPageRoutingModule { }
|
3
src/app/pages/infra/infra-page.component.html
Normal file
3
src/app/pages/infra/infra-page.component.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<p>
|
||||||
|
infra-page works!
|
||||||
|
</p>
|
0
src/app/pages/infra/infra-page.component.scss
Normal file
0
src/app/pages/infra/infra-page.component.scss
Normal file
25
src/app/pages/infra/infra-page.component.spec.ts
Normal file
25
src/app/pages/infra/infra-page.component.spec.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { InfraPageComponent } from './infra-page.component';
|
||||||
|
|
||||||
|
describe('InfraPageComponent', () => {
|
||||||
|
let component: InfraPageComponent;
|
||||||
|
let fixture: ComponentFixture<InfraPageComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ InfraPageComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(InfraPageComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/pages/infra/infra-page.component.ts
Normal file
15
src/app/pages/infra/infra-page.component.ts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'of-infra-page',
|
||||||
|
templateUrl: './infra-page.component.html',
|
||||||
|
styleUrls: ['./infra-page.component.scss']
|
||||||
|
})
|
||||||
|
export class InfraPageComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
14
src/app/pages/infra/infra-page.module.ts
Normal file
14
src/app/pages/infra/infra-page.module.ts
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { InfraPageComponent } from './infra-page.component';
|
||||||
|
import { InfraPageRoutingModule } from './infra-page-routing.module';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
InfraPageRoutingModule
|
||||||
|
],
|
||||||
|
declarations: [InfraPageComponent]
|
||||||
|
})
|
||||||
|
export class InfraPageModule { }
|
|
@ -12,6 +12,7 @@ const routes: Routes = [
|
||||||
{ path: 'probes', loadChildren: './probes/probes-page.module#ProbesPageModule' },
|
{ path: 'probes', loadChildren: './probes/probes-page.module#ProbesPageModule' },
|
||||||
|
|
||||||
{ path: 'discovery', loadChildren: './discovery/discovery.module#DiscoveryModule' },
|
{ path: 'discovery', loadChildren: './discovery/discovery.module#DiscoveryModule' },
|
||||||
|
{ path: 'map', loadChildren: './infra/infra-page.module#InfraPageModule' },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user