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

View File

@ -68,8 +68,20 @@
</div> </div>
</p-tabPanel> </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"> <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> <perfect-scrollbar>
<div class="ui-g"> <div class="ui-g">
<div class="ui-ping-row"> <div class="ui-ping-row">

View File

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

View File

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