From a0992f6091db6deb0817bee3d3a794848d418f42 Mon Sep 17 00:00:00 2001 From: natsoni Date: Fri, 5 Jul 2024 18:12:28 +0900 Subject: [PATCH] More accel timeline polish --- .../acceleration-timeline.component.html | 24 +++++++++---------- .../acceleration-timeline.component.ts | 1 + .../transaction/transaction.component.html | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.html b/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.html index c7efc9b93..cd9d1f2e2 100644 --- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.html +++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.html @@ -12,9 +12,9 @@
@if (eta) { - ~ + ~ } @else if (tx.status.block_time) { - + }
@@ -24,8 +24,8 @@
-
- +
+
Sent
@@ -34,25 +34,25 @@
-
+
-
-
- +
+
+
-
Accelerated
+
Accelerated
-
+
-
- +
+
Mined
diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.ts b/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.ts index 0bafdbfa7..6f775e7a8 100644 --- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.ts +++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.ts @@ -11,6 +11,7 @@ export class AccelerationTimelineComponent implements OnInit, OnChanges { @Input() transactionTime: number; @Input() tx: Transaction; @Input() eta: ETA; + @Input() isAcceleration: boolean; acceleratedAt: number; diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index 0f9a4d9c4..a0e841303 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -152,12 +152,12 @@
- +

Acceleration Timeline

- +