From bf3c5add08baf905a4fd723fdc2b5c59342cc597 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 13 Mar 2018 22:17:08 -0230 Subject: [PATCH] Adds styles for dropped txs in old-ui. --- old-ui/app/components/transaction-list-item.js | 5 +++++ old-ui/app/css/index.css | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js index 61db8b350..7ab3414e5 100644 --- a/old-ui/app/components/transaction-list-item.js +++ b/old-ui/app/components/transaction-list-item.js @@ -208,6 +208,11 @@ function formatDate (date) { function renderErrorOrWarning (transaction) { const { status, err, warning } = transaction + // show dropped + if (status === 'dropped') { + return h('span.dropped', ' (Dropped)') + } + // show rejected if (status === 'rejected') { return h('span.error', ' (Rejected)') diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css index 67c327f62..7af713336 100644 --- a/old-ui/app/css/index.css +++ b/old-ui/app/css/index.css @@ -247,6 +247,10 @@ app sections color: #FFAE00; } +.dropped { + color: #6195ED; +} + .lock { width: 50px; height: 50px;