From 18133eb925b22d8edac0f4a698480640e82051a8 Mon Sep 17 00:00:00 2001 From: Mario Mejia Date: Fri, 22 Jun 2018 20:50:47 -0500 Subject: [PATCH] web-ui: small visual improvements title on tabset was removed on large screens, difficulty was rounded on latest bloks view, last seen was transformed into moment tags in masternodes view --- .../components/latest-blocks/latest-blocks.component.html | 4 ++-- .../app/components/masternodes/masternodes.component.html | 6 +++--- .../richest-addresses/richest-addresses.component.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web-ui/src/app/components/latest-blocks/latest-blocks.component.html b/web-ui/src/app/components/latest-blocks/latest-blocks.component.html index 57eb40b..20c5fa3 100644 --- a/web-ui/src/app/components/latest-blocks/latest-blocks.component.html +++ b/web-ui/src/app/components/latest-blocks/latest-blocks.component.html @@ -1,5 +1,5 @@
-
+

{{'label.latestBlocks' | translate}}

@@ -31,7 +31,7 @@ {{item.time * 1000 | amTimeAgo}} {{item.transactions.length}} - {{item.difficulty}} + {{item.difficulty | number:'1.2-2'}} {{extractedBy(item) | translate}} diff --git a/web-ui/src/app/components/masternodes/masternodes.component.html b/web-ui/src/app/components/masternodes/masternodes.component.html index 6170525..4f85f70 100644 --- a/web-ui/src/app/components/masternodes/masternodes.component.html +++ b/web-ui/src/app/components/masternodes/masternodes.component.html @@ -1,5 +1,5 @@
-
+

{{'label.masternodes' | translate}}

@@ -14,7 +14,7 @@ {{'label.status' | translate}} --> {{'label.active' | translate}} - {{'label.lastSeen' | translate}} + {{'label.lastSeen' | translate}} {{'label.payee' | translate}} @@ -28,7 +28,7 @@ {{item.status}} --> {{Math.max(item.activeSeconds, 0) | amDuration:'seconds'}} - {{item.lastSeen * 1000 | date:'MMMM d, y, h:mm:ss a'}} + {{item.lastSeen * 1000 | amTimeAgo}} {{item.payee}} diff --git a/web-ui/src/app/components/richest-addresses/richest-addresses.component.html b/web-ui/src/app/components/richest-addresses/richest-addresses.component.html index f85e542..d96da36 100644 --- a/web-ui/src/app/components/richest-addresses/richest-addresses.component.html +++ b/web-ui/src/app/components/richest-addresses/richest-addresses.component.html @@ -1,5 +1,5 @@
-
+

{{'label.richestAddresses' | translate}}