fixed infra map
This commit is contained in:
parent
5fd4f8b889
commit
abd35226bd
19
src/app/packages/infra/infra.module.ts
Normal file
19
src/app/packages/infra/infra.module.ts
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
|
import { MapComponent } from './components/map/map.component';
|
||||||
|
import { MaterialModule } from 'app/commons/ui/material/material.module';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
MaterialModule
|
||||||
|
],
|
||||||
|
declarations: [
|
||||||
|
MapComponent,
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
MapComponent,
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class InfraModule { }
|
|
@ -1,3 +1,23 @@
|
||||||
|
<mat-tab-group>
|
||||||
|
<mat-tab label="Zone">
|
||||||
|
<mat-card class="example-card">
|
||||||
|
<mat-card-header>
|
||||||
|
<mat-card-title>Zone - 192.168.1.0/24</mat-card-title>
|
||||||
|
<mat-card-subtitle>Windows / Probe</mat-card-subtitle>
|
||||||
|
</mat-card-header>
|
||||||
|
|
||||||
|
<mat-card-content>
|
||||||
<p>
|
<p>
|
||||||
infra-page works!
|
The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan.
|
||||||
|
A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally
|
||||||
|
bred for hunting.
|
||||||
</p>
|
</p>
|
||||||
|
</mat-card-content>
|
||||||
|
<mat-card-actions>
|
||||||
|
<button mat-button>LIKE</button>
|
||||||
|
<button mat-button>SHARE</button>
|
||||||
|
</mat-card-actions>
|
||||||
|
</mat-card>
|
||||||
|
</mat-tab>
|
||||||
|
<mat-tab label="Host">Content 2</mat-tab>
|
||||||
|
</mat-tab-group>
|
|
@ -0,0 +1,8 @@
|
||||||
|
.example-card {
|
||||||
|
width: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.example-header-image {
|
||||||
|
background-image: url('https://material.angular.io/assets/img/examples/shiba1.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
}
|
|
@ -4,10 +4,16 @@ import { CommonModule } from '@angular/common';
|
||||||
import { InfraPageComponent } from './infra-page.component';
|
import { InfraPageComponent } from './infra-page.component';
|
||||||
import { InfraPageRoutingModule } from './infra-page-routing.module';
|
import { InfraPageRoutingModule } from './infra-page-routing.module';
|
||||||
|
|
||||||
|
import { MaterialModule } from 'app/commons/ui/material/material.module';
|
||||||
|
|
||||||
|
import { InfraModule } from '../../packages/infra/infra.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
InfraPageRoutingModule
|
InfraPageRoutingModule,
|
||||||
|
MaterialModule,
|
||||||
|
InfraModule
|
||||||
],
|
],
|
||||||
declarations: [InfraPageComponent]
|
declarations: [InfraPageComponent]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user