probe page
This commit is contained in:
parent
623952a796
commit
0f3c81873d
|
@ -27,7 +27,7 @@ export const menus = [
|
|||
},
|
||||
{
|
||||
'name': 'Probes',
|
||||
'link': '',
|
||||
'link': '/probes',
|
||||
'icon': 'indeterminate_check_box',
|
||||
'chip': false,
|
||||
'open': false,
|
||||
|
|
|
@ -9,6 +9,8 @@ const routes: Routes = [
|
|||
children: [
|
||||
{ path: '', redirectTo: 'home' },
|
||||
{ path: 'home', loadChildren: './home/home-page.module#HomePageModule' },
|
||||
{ path: 'probes', loadChildren: './probes/probes-page.module#ProbesPageModule' },
|
||||
|
||||
{ path: 'discovery', loadChildren: './discovery/discovery.module#DiscoveryModule' },
|
||||
]
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
|
|||
HeaderComponent,
|
||||
FooterComponent,
|
||||
MenuItemComponent,
|
||||
NotificationComponent
|
||||
NotificationComponent,
|
||||
],
|
||||
providers: [
|
||||
{
|
||||
|
|
16
src/app/pages/probes/probes-page-routing.module.ts
Normal file
16
src/app/pages/probes/probes-page-routing.module.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
import { ProbesPageComponent } from './probes-page.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: ProbesPageComponent,
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class ProbesPageRoutingModule { }
|
3
src/app/pages/probes/probes-page.component.html
Normal file
3
src/app/pages/probes/probes-page.component.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<p>
|
||||
probes works!
|
||||
</p>
|
0
src/app/pages/probes/probes-page.component.scss
Normal file
0
src/app/pages/probes/probes-page.component.scss
Normal file
25
src/app/pages/probes/probes-page.component.spec.ts
Normal file
25
src/app/pages/probes/probes-page.component.spec.ts
Normal file
|
@ -0,0 +1,25 @@
|
|||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ProbesPageComponent } from './probes-page.component';
|
||||
|
||||
describe('ProbesComponent', () => {
|
||||
let component: ProbesPageComponent;
|
||||
let fixture: ComponentFixture<ProbesPageComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ProbesPageComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ProbesPageComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
15
src/app/pages/probes/probes-page.component.ts
Normal file
15
src/app/pages/probes/probes-page.component.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'of-pages-probes',
|
||||
templateUrl: './probes-page.component.html',
|
||||
styleUrls: ['./probes-page.component.scss']
|
||||
})
|
||||
export class ProbesPageComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
13
src/app/pages/probes/probes-page.module.ts
Normal file
13
src/app/pages/probes/probes-page.module.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ProbesPageComponent } from './probes-page.component';
|
||||
import { ProbesPageRoutingModule } from './probes-page-routing.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
ProbesPageRoutingModule,
|
||||
],
|
||||
declarations: [ProbesPageComponent]
|
||||
})
|
||||
export class ProbesPageModule {}
|
Loading…
Reference in New Issue
Block a user