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

22 lines
637 B
HTML
Raw Normal View History

2018-09-10 17:53:50 +00:00
<div class="ui-g">
2018-09-12 07:24:02 +00:00
<div class="ui-g-12">
<ng-container [ngSwitch]="node.group">
2018-09-09 10:20:21 +00:00
2018-09-12 07:24:02 +00:00
<ng-container *ngSwitchCase="'zone'">
2018-09-13 11:01:01 +00:00
<app-zone-detail [zone]="node.target" (otherHostSelect)="otherHostSelected($event)"></app-zone-detail>
2018-09-12 07:24:02 +00:00
</ng-container>
2018-09-09 10:20:21 +00:00
2018-09-12 07:24:02 +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:24:02 +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:24:02 +00:00
<ng-container *ngSwitchDefault>
</ng-container>
2018-09-12 07:07:11 +00:00
2018-09-12 07:24:02 +00:00
</ng-container>
</div>
2018-09-10 17:53:50 +00:00
</div>