This commit is contained in:
crusader 2018-09-20 22:27:56 +09:00
parent 884fbcd36d
commit e87d591b46

View File

@ -11,8 +11,8 @@
</svg> --> </svg> -->
<svg width="140" height="140" viewBox="20 10 140 140"> <svg width="140" height="140" viewBox="20 10 140 140">
<image x="-10" y="-5" width="200" height="200" preserveAspectRatio="xMidYMid slice" attr.xlink:href="../../assets/image/icon/icon_{{host.hostType | lowercase}}.svg" /> <image x="-10" y="-5" width="200" height="200" preserveAspectRatio="xMidYMid slice" attr.xlink:href="../../assets/image/icon/icon_{{host.hostType | lowercase}}.svg" />
<image *ngIf="host.hostType === 'HOST'" x="-10" y="-5" width="200" height="200" preserveAspectRatio="xMidYMid slice" <image *ngIf="host.hostType === 'HOST' && host.osType !== 'UNKNOWN'" x="-10" y="-5" width="200" height="200"
attr.xlink:href="../../assets/image/logo/logo_{{host.osType | lowercase}}.svg" /> preserveAspectRatio="xMidYMid slice" attr.xlink:href="../../assets/image/logo/logo_{{host.osType | lowercase}}.svg" />
</svg> </svg>
</div> </div>
<h3>{{host.name}} <span>{{host.address}}</span></h3> <h3>{{host.name}} <span>{{host.address}}</span></h3>