app/src/commons/component/node-detail.component.html

22 lines
539 B
HTML
Raw Normal View History

2018-09-09 19:20:21 +09:00
<div>
<img src="{{node.image}}" width="100" height="100" />
</div>
<ng-container [ngSwitch]="node.group">
<ng-container *ngSwitchCase="'zone'">
<app-zone-detail [zone]=""></app-zone-detail>
</ng-container>
<ng-container *ngSwitchCase="'host'">
2018-09-11 01:20:14 +09:00
<app-host-detail [host]="node.target"></app-host-detail>
2018-09-09 19:20:21 +09:00
</ng-container>
<ng-container *ngSwitchCase="'service'">
2018-09-11 01:20:14 +09:00
<app-service-detail [service]="node.target"></app-service-detail>
2018-09-09 19:20:21 +09:00
</ng-container>
<ng-container *ngSwitchDefault>
</ng-container>
</ng-container>