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

21 lines
533 B
HTML
Raw Normal View History

2018-09-10 17:53:50 +00:00
<div class="ui-g">
2018-09-09 10:20:21 +00:00
2018-09-12 07:07:11 +00:00
<ng-container [ngSwitch]="node.group">
2018-09-09 10:20:21 +00:00
2018-09-12 07:07:11 +00:00
<ng-container *ngSwitchCase="'zone'">
<app-zone-detail [zone]="node.target"></app-zone-detail>
</ng-container>
2018-09-09 10:20:21 +00:00
2018-09-12 07:07:11 +00:00
<ng-container *ngSwitchCase="'host'">
<app-host-detail [host]="node.target"></app-host-detail>
</ng-container>
2018-09-09 10:20:21 +00:00
2018-09-12 07:07:11 +00:00
<ng-container *ngSwitchCase="'service'">
<app-service-detail [service]="node.target"></app-service-detail>
</ng-container>
2018-09-09 10:20:21 +00:00
2018-09-12 07:07:11 +00:00
<ng-container *ngSwitchDefault>
2018-09-10 17:53:50 +00:00
</ng-container>
2018-09-12 07:07:11 +00:00
</ng-container>
2018-09-10 17:53:50 +00:00
</div>