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

31 lines
1.1 KiB
HTML
Raw Normal View History

2018-09-10 17:53:50 +00:00
<div class="ui-g">
<div class="detail-img">
2018-09-12 02:31:46 +00:00
<!-- <svg width="200" height="200" viewBox="20 40 140 100">
<image x="-40" y="-20" width="260" height="260" preserveAspectRatio="xMidYMid slice" xlink:href="../../assets/image/logo/logo_tomcat.svg" />
</svg> -->
<svg width="140" height="140" viewBox="15 35 140 100">
<image x="-50" y="-40" width="260" height="260" preserveAspectRatio="xMidYMid slice" xlink:href="../../assets/image/logo/logo_tomcat.svg" />
2018-09-11 03:59:02 +00:00
</svg>
2018-09-10 17:53:50 +00:00
</div>
<div class="detail-content">
2018-09-09 10:20:21 +00:00
2018-09-10 17:53:50 +00:00
<ng-container [ngSwitch]="node.group">
2018-09-09 10:20:21 +00:00
2018-09-10 17:53:50 +00:00
<ng-container *ngSwitchCase="'zone'">
2018-09-11 10:33:00 +00:00
<app-zone-detail [zone]="node.target"></app-zone-detail>
2018-09-10 17:53:50 +00:00
</ng-container>
2018-09-09 10:20:21 +00:00
2018-09-10 17:53:50 +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-10 17:53:50 +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-10 17:53:50 +00:00
<ng-container *ngSwitchDefault>
</ng-container>
2018-09-09 10:20:21 +00:00
2018-09-10 17:53:50 +00:00
</ng-container>
</div>
</div>