From bab86454183e08e71ed9e1968bc17dbbfcde4f44 Mon Sep 17 00:00:00 2001 From: insanity Date: Tue, 18 Sep 2018 21:25:47 +0900 Subject: [PATCH] test --- @overflow/commons/ui/pipe/object-keys.ts | 2 +- src/app/pages/home/home-page.component.html | 29 +++++++++++- src/app/pages/home/home-page.component.ts | 17 +++++-- .../component/host-detail.component.html | 2 +- .../component/host-detail.component.ts | 46 +++++++++++-------- .../component/node-detail.component.html | 4 +- .../component/node-detail.component.ts | 2 + .../component/service-detail.component.html | 2 +- .../component/service-detail.component.ts | 32 +++++++++++-- 9 files changed, 105 insertions(+), 31 deletions(-) diff --git a/@overflow/commons/ui/pipe/object-keys.ts b/@overflow/commons/ui/pipe/object-keys.ts index 7449c8c..0f94827 100644 --- a/@overflow/commons/ui/pipe/object-keys.ts +++ b/@overflow/commons/ui/pipe/object-keys.ts @@ -5,4 +5,4 @@ export class ObjectKeys implements PipeTransform { transform(value: any, args: any[] = null): any { return Object.keys(value); } -} \ No newline at end of file +} diff --git a/src/app/pages/home/home-page.component.html b/src/app/pages/home/home-page.component.html index ef76809..68d5178 100644 --- a/src/app/pages/home/home-page.component.html +++ b/src/app/pages/home/home-page.component.html @@ -74,11 +74,38 @@
- +
+ +
+
    +
  • + + {{pingResult.responses[key].error}} + + + TTL={{pingResult.responses[key].ttl}} : {{pingResult.responses[key].time}}ms + +
  • +
+
+
+ Sent: {{pingResult.summary.sendCount || '-'}}
+ Received: {{pingResult.summary.receiveCount || '-'}}
+ Loss: {{pingResult.summary.lossPercent || '-'}} %
+ Avg: {{pingResult.summary.avgTime || '-'}} ms
+ Min: {{pingResult.summary.minTime || '-'}} ms
+ Min: {{pingResult.summary.maxTime || '-'}} ms +
+ + + +
+