From 607fb8663fa60ca0a2e12dacc6c2c56c354209cc Mon Sep 17 00:00:00 2001 From: pbca26 Date: Thu, 20 Jul 2017 06:16:31 -0700 Subject: [PATCH] minor html cleanup --- .../notifications/notifications.render.js | 10 +- .../receiveCoin/receiveCoin.render.js | 4 +- .../components/dashboard/sendCoin/sendCoin.js | 10 +- .../dashboard/sendCoin/sendCoin.render.js | 17 +- .../components/dashboard/settings/settings.js | 2 +- .../dashboard/settings/settings.render.js | 60 +++---- .../dashboard/walletsData/walletsData.js | 8 +- .../walletsData/walletsData.render.js | 38 ++-- .../dashboard/walletsNative/walletsNative.js | 2 +- .../walletsNativeInfo.render.js | 170 +++++++++--------- .../walletsNativeSend/walletsNativeSend.js | 11 +- .../walletsNativeSyncProgress.js | 147 --------------- .../walletsNativeTxHistory.js | 2 +- .../walletsNativeTxHistory.render.js | 5 +- .../dashboard/walletsNav/walletsNav.render.js | 6 +- .../walletsNotariesList.render.js | 4 +- .../walletsTxInfo/walletsTxInfo.render.js | 8 +- react/src/components/login/login.js | 20 +-- react/src/components/login/login.render.js | 2 +- 19 files changed, 189 insertions(+), 337 deletions(-) delete mode 100644 react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js diff --git a/react/src/components/dashboard/notifications/notifications.render.js b/react/src/components/dashboard/notifications/notifications.render.js index 93c57b6..8a894c9 100644 --- a/react/src/components/dashboard/notifications/notifications.render.js +++ b/react/src/components/dashboard/notifications/notifications.render.js @@ -58,13 +58,13 @@ export const NotificationsModalRender = function() {
-
+
{ this.renderNotificationsByType('success') }
-
+
{ this.renderNotificationsByType('error') }
-
+
{ this.renderNotificationsByType('pending') }
@@ -91,7 +91,7 @@ export const NotificationsRender = function() { return (
{ this.state.calls.success } @@ -102,7 +102,7 @@ export const NotificationsRender = function() { { this.state.calls.pending } -
+
diff --git a/react/src/components/dashboard/receiveCoin/receiveCoin.render.js b/react/src/components/dashboard/receiveCoin/receiveCoin.render.js index d922d69..f5acf16 100644 --- a/react/src/components/dashboard/receiveCoin/receiveCoin.render.js +++ b/react/src/components/dashboard/receiveCoin/receiveCoin.render.js @@ -32,8 +32,8 @@ export const AddressActionsBasiliskModeRender = function(address) { export const AddressActionsNonBasiliskModeRender = function(address, type) { return ( - - + + { type === 'public' ? translate('IAPI.PUBLIC_SM') : translate('KMD_NATIVE.PRIVATE') }