From 5090f8adc09fa7e9790b47b41198b9944c730b9b Mon Sep 17 00:00:00 2001 From: Prema Date: Mon, 12 Aug 2019 17:59:05 +0530 Subject: [PATCH] UI changes --- .../block-detail-list.component.html | 34 +++++++++---------- .../latestblocks/latestblocks.component.html | 24 ++++++------- src/assets/css/responsive.css | 7 ++-- src/assets/css/style.css | 8 ++--- 4 files changed, 36 insertions(+), 37 deletions(-) diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.html b/src/app/view/home/block-detail-list/block-detail-list.component.html index f34d90d..2826763 100644 --- a/src/app/view/home/block-detail-list/block-detail-list.component.html +++ b/src/app/view/home/block-detail-list/block-detail-list.component.html @@ -25,7 +25,7 @@ -->
-
+
@@ -39,7 +39,7 @@

-
+
@@ -48,12 +48,12 @@ class="count mb-0" [ngClass]="latestblockdetail.blink == true ? 'item-highlight' : ''" > - {{ latestblockdetail.letest_block_num }} + {{ latestblockdetail.letest_block_num }} {{ latestblockdetail.letest_block_duration }}

- {{ latestblockdetail.letest_block_duration }} +
-
+ +

Cuckaroo : {{latestblockdetail.targetdifficultycuckaroo | number}} / {{latestblockdetail.TotalDifficultyCuckatoo | number}}

Cuckoo : - + Target: {{ latestblockdetail.targetdifficultycuckatoo | number }} - + Total :{{ latestblockdetail.TotalDifficultyCuckatoo | number }}
ProgPow : - + Target: {{ latestblockdetail.targetdifficultyprogpow | number }} - + Total:{{ latestblockdetail.TotalDifficultyProgpow | number }}
RandomX : - + Target: {{ latestblockdetail.targetdifficultyrandomx | number }} - + Total:{{ latestblockdetail.TotalDifficultyRandomx | number }}
- +

-
+
-->

{{ "home.LATEST_BLOCK2" | translate }}

@@ -130,7 +130,7 @@
-
+
diff --git a/src/app/view/home/latestblocks/latestblocks.component.html b/src/app/view/home/latestblocks/latestblocks.component.html index f53b7fc..b2fd220 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.html +++ b/src/app/view/home/latestblocks/latestblocks.component.html @@ -168,33 +168,33 @@
-
-
+
+
Capabilities
-
-
+
+
User Agent
-
+
Version
-
+
Addr
-
-
+
+
Direction
-
+
Total Difficulty
@@ -255,7 +255,7 @@ {{ peer.user_agent }}
-
+
Version
{{ peer.version }} @@ -274,9 +274,9 @@
-
+
Total Difficulty
- {{ peer.total_difficulty.cuckaroo }},{{ peer.total_difficulty.cuckatoo}},{{ peer.total_difficulty.progpow}},{{ peer.total_difficulty.randomx}} + {{ peer.total_difficulty.cuckaroo }},{{ peer.total_difficulty.cuckatoo}},{{ peer.total_difficulty.progpow}},{{ peer.total_difficulty.randomx}}
diff --git a/src/assets/css/responsive.css b/src/assets/css/responsive.css index bfeb187..a683a4b 100644 --- a/src/assets/css/responsive.css +++ b/src/assets/css/responsive.css @@ -1,14 +1,17 @@ @media(min-width: 992px){ .block_div {min-width: 136px; text-align: center;padding: .75rem; } - .peer_table .block_div{min-width: 180px;} + .peer_table .block_div{min-width: 148px; text-align: center;} .mobile_table{border-bottom: 1px solid #dee2e6; padding: 0 15px;display: table; width: 100%;} .view_moble_tble{border-bottom: 1px solid #dee2e6;} .mobile_table .row{display: table;} .mobile_table .tble_col{padding: 0;display: table-cell; max-width: unset; flex: unset;} .mobile_table h6, .view_moble_tble h6, .peer_mobile_table h6{display: none;} .view_moble_tble .block_div{text-align: left;} -.peer_table_data .col-md-3 { flex: 0 0 16%; max-width: 16%;} +.peer_table_data .col-md-3 { flex: 0 0 13%; max-width: 13%;} .peer_table{ margin-left: -20px; border-bottom: none} +.peer_table .tble_col{display: inline-block;} +/* .ver_col .block_div{min-width: 10px;max-width: 15px;} */ +.block_div.peers_diff{ min-width: 368px; } } @media(max-width: 1199px){ diff --git a/src/assets/css/style.css b/src/assets/css/style.css index fc27450..b9e217d 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -512,12 +512,8 @@ margin-right: 10px; min-width: 5rem; padding: 0; } -.peers_diff{ - width: 160px; - overflow: hidden; - display: inline-block; - text-overflow: ellipsis; -} + +.peers_diff .blck_value{word-wrap: break-word;} /**********************************************Dark Theme CSS********************************/ body.dark_theme { background-color: #27314b;