This commit is contained in:
crusader 2018-10-22 23:04:39 +09:00
parent 0ebec256d2
commit 2b24011677
4 changed files with 35 additions and 9 deletions

View File

@ -63,7 +63,6 @@
<ul class="detail-content-meta-title">
<li *ngFor="let key of host.meta | objectKeys">
{{key | stringPrettify}}
<ul class="key-value">
<li *ngFor="let skey of host.meta[key] | objectKeys">
{{skey | stringPrettify}}
@ -88,8 +87,21 @@
</div>
</p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.health' | translate">
<p-tabPanel [header]="'infra.detail.title.security' | translate">
<div of-auto-height key="3">
<perfect-scrollbar>
<ul class="key-value">
<li *ngFor="let discoveredBy of host.discoveredBy">
<span class="meta-value">{{discoveredBy.key}}</span>
</li>
</ul>
</perfect-scrollbar>
</div>
</p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.health' | translate">
<div of-auto-height key="4">
<perfect-scrollbar>
<div class="ui-g">
<div class="ui-ping-row">
@ -116,4 +128,4 @@
</p-tabPanel>
</p-tabView>
</div>
</div>

View File

@ -68,8 +68,20 @@
</div>
</p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.health' | translate" *ngIf="service.port.metaPortType.key === 'TCP'">
<p-tabPanel [header]="'infra.detail.title.security' | translate">
<div of-auto-height key="2">
<perfect-scrollbar>
<ul class="key-value">
<li *ngFor="let discoveredBy of service.discoveredBy">
<span class="meta-value">{{discoveredBy.key}}</span>
</li>
</ul>
</perfect-scrollbar>
</div>
</p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.health' | translate" *ngIf="service.port.metaPortType.key === 'TCP'">
<div of-auto-height key="3">
<perfect-scrollbar>
<div class="ui-g">
<div class="ui-ping-row">
@ -115,4 +127,4 @@
</p-tabView>
</div>
</div>

View File

@ -50,7 +50,8 @@
"metadata": "Metadata",
"ports": "Ports",
"health": "Health",
"hosts": "Hosts"
"hosts": "Hosts",
"security": "Security"
},
"general": {
"ip_address": "IP Address",
@ -84,4 +85,4 @@
"elapsed": "Elapsed"
}
}
}
}

View File

@ -50,7 +50,8 @@
"metadata": "메타데이타",
"ports": "포트",
"health": "상태 체크",
"hosts": "호스트"
"hosts": "호스트",
"security": "보안"
},
"general": {
"ip_address": "아이피 주소",
@ -84,4 +85,4 @@
"elapsed": "소요 시간"
}
}
}
}