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

22 lines
691 B
HTML
Raw Normal View History

2018-09-11 02:53:50 +09:00
<div class="ui-g">
2018-09-12 16:24:02 +09:00
<div class="ui-g-12">
<ng-container [ngSwitch]="node.group">
2018-09-09 19:20:21 +09:00
2018-09-12 16:24:02 +09:00
<ng-container *ngSwitchCase="'zone'">
2018-09-13 20:01:01 +09:00
<app-zone-detail [zone]="node.target" (otherHostSelect)="otherHostSelected($event)"></app-zone-detail>
2018-09-12 16:24:02 +09:00
</ng-container>
2018-09-09 19:20:21 +09:00
2018-09-12 16:24:02 +09:00
<ng-container *ngSwitchCase="'host'">
2018-09-18 21:25:47 +09:00
<app-host-detail [host]="node.target" (ping)="ping.emit($event)"></app-host-detail>
2018-09-12 16:24:02 +09:00
</ng-container>
2018-09-09 19:20:21 +09:00
2018-09-12 16:24:02 +09:00
<ng-container *ngSwitchCase="'service'">
2018-09-18 21:25:47 +09:00
<app-service-detail [service]="node.target" (ping)="ping.emit($event)"></app-service-detail>
2018-09-12 16:24:02 +09:00
</ng-container>
2018-09-09 19:20:21 +09:00
2018-09-12 16:24:02 +09:00
<ng-container *ngSwitchDefault>
</ng-container>
2018-09-12 16:07:11 +09:00
2018-09-12 16:24:02 +09:00
</ng-container>
</div>
2018-09-11 02:53:50 +09:00
</div>