From 7fea7f7746a5c203b8298fa66c788fe858550bc1 Mon Sep 17 00:00:00 2001 From: sunny Date: Fri, 21 Sep 2018 00:29:19 +0900 Subject: [PATCH] design --- src/app/pages/home/home-page.component.html | 2 +- src/app/pages/home/home-page.component.scss | 4 ++ .../component/host-detail.component.html | 32 ++++++---- .../component/host-detail.component.scss | 41 ++++++++++-- .../component/service-detail.component.html | 64 +++++++++++-------- .../component/service-detail.component.scss | 34 ++++++++-- 6 files changed, 125 insertions(+), 52 deletions(-) diff --git a/src/app/pages/home/home-page.component.html b/src/app/pages/home/home-page.component.html index 5b6b160..462bf4e 100644 --- a/src/app/pages/home/home-page.component.html +++ b/src/app/pages/home/home-page.component.html @@ -97,7 +97,7 @@ - Discovery is being stopped... +
Discovery is being stopped...
diff --git a/src/app/pages/home/home-page.component.scss b/src/app/pages/home/home-page.component.scss index 4a3d8bd..05ae168 100644 --- a/src/app/pages/home/home-page.component.scss +++ b/src/app/pages/home/home-page.component.scss @@ -152,4 +152,8 @@ background-color: #666666; opacity: .20; filter: Alpha(Opacity=50); +} +.ui-dialog-text-center{ + padding-top: 50px; + text-align: center; } \ No newline at end of file diff --git a/src/commons/component/host-detail.component.html b/src/commons/component/host-detail.component.html index 560aa84..c22edf4 100644 --- a/src/commons/component/host-detail.component.html +++ b/src/commons/component/host-detail.component.html @@ -79,22 +79,28 @@ -
Count : - +
+
+
Count
+ +
+
+
Interval
+ +
+
+
Deadline
+ +
-
Interval : - -
-
Deadline : - -
- -
- - +
+ + +
+ + diff --git a/src/commons/component/host-detail.component.scss b/src/commons/component/host-detail.component.scss index 6493020..cd92a7c 100644 --- a/src/commons/component/host-detail.component.scss +++ b/src/commons/component/host-detail.component.scss @@ -18,11 +18,7 @@ .detail-content { min-width: 500px !important; } -.ui-pingbn-position{ - float: right; - margin-top: -28px; - margin-right: 5px; -} + .detail-content-meta-title { padding-left: 10px; margin : 0; @@ -53,3 +49,38 @@ } } } +.ui-ping-row{ + padding: 5px; + width: 100%; + display: inline-block; + position: relative; + border-bottom: 1px solid #d8dae2; + .title{ + width: 60px; + margin-left: 10px; + position: relative; + float: left; + font-weight: bold; + } +} +.ui-pingbn-position{ + float: right; + margin-top: -28px; + margin-right: 5px; +} +.ui-ping-result-textarea{ + width: 100%; + height: 250px; + vertical-align: middle; + text-align: center; + margin-top: 10px; + p-progressSpinner{ + margin-top: 50px; + } + textarea{ + width: 100%; + height: 250px; + background-color: black; + color:#fff; + } +} \ No newline at end of file diff --git a/src/commons/component/service-detail.component.html b/src/commons/component/service-detail.component.html index 6dc9a1e..665fc11 100644 --- a/src/commons/component/service-detail.component.html +++ b/src/commons/component/service-detail.component.html @@ -62,37 +62,45 @@ -
Count : - +
+
+
Count
+ +
+
+
Interval
+ +
+
+
Deadline
+ +
-
Interval : - -
-
Deadline : - + +
+ + + + + No. + Response Time (ms) + + + + + + {{i + 1}} + + + {{pingResult.responses[key].time}} + {{pingResult.responses[key].error}} + + + +
- - - - - - No. - Response Time (ms) - - - - - - {{i + 1}} - - - {{pingResult.responses[key].time}} - {{pingResult.responses[key].error}} - - - - + diff --git a/src/commons/component/service-detail.component.scss b/src/commons/component/service-detail.component.scss index ea60397..d4e4553 100644 --- a/src/commons/component/service-detail.component.scss +++ b/src/commons/component/service-detail.component.scss @@ -13,11 +13,6 @@ .detail-content { min-width: 500px !important; } -.ui-pingbn-position{ - float: right; - margin-top: -28px; - margin-right: 5px; -} .detail-content-meta-title > ul{ -webkit-margin-before: 0.5em; -webkit-margin-after: 1em; @@ -52,3 +47,32 @@ } } } +.ui-ping-row{ + padding: 5px; + width: 100%; + display: inline-block; + position: relative; + border-bottom: 1px solid #d8dae2; + .title{ + width: 60px; + margin-left: 10px; + position: relative; + float: left; + font-weight: bold; + } +} +.ui-pingbn-position{ + float: right; + margin-top: -28px; + margin-right: 5px; +} +.ui-ping-result{ + width: 100%; + height: 250px; + vertical-align: middle; + text-align: center; + margin-top: 10px; + p-progressSpinner{ + margin-top: 50px; + } +} \ No newline at end of file