diff --git a/react/src/components/dashboard/sendCoin.js b/react/src/components/dashboard/sendCoin/sendCoin.js
similarity index 99%
rename from react/src/components/dashboard/sendCoin.js
rename to react/src/components/dashboard/sendCoin/sendCoin.js
index d98364c..6384654 100644
--- a/react/src/components/dashboard/sendCoin.js
+++ b/react/src/components/dashboard/sendCoin/sendCoin.js
@@ -1,13 +1,13 @@
import React from 'react';
-import Config from '../../config';
-import { translate } from '../../translate/translate';
+import Config from '../../../config';
+import { translate } from '../../../translate/translate';
import {
checkTimestamp
-} from '../../util/time';
+} from '../../../util/time';
import {
edexGetTxIDList,
edexRemoveTXID
-} from '../../util/cacheFormat';
+} from '../../../util/cacheFormat';
import {
resolveOpenAliasAddress,
triggerToaster,
@@ -21,8 +21,8 @@ import {
clearLastSendToResponseState,
sendToAddressStateAlt,
dexSendRawTX
-} from '../../actions/actionCreators';
-import Store from '../../store';
+} from '../../../actions/actionCreators';
+import Store from '../../../store';
import {
UTXOCacheInfoRender,
SendCoinResponseRender,
diff --git a/react/src/components/dashboard/sendCoin.render.js b/react/src/components/dashboard/sendCoin/sendCoin.render.js
similarity index 99%
rename from react/src/components/dashboard/sendCoin.render.js
rename to react/src/components/dashboard/sendCoin/sendCoin.render.js
index 9672a90..80ddd6c 100644
--- a/react/src/components/dashboard/sendCoin.render.js
+++ b/react/src/components/dashboard/sendCoin/sendCoin.render.js
@@ -1,9 +1,9 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
import {
secondsElapsedToString,
secondsToString
-} from '../../util/time';
+} from '../../../util/time';
export const UTXOCacheInfoRender = function(refreshCacheData, isReadyToUpdate, waitUntilCallIsFinished, timestamp) {
return (
diff --git a/react/src/components/dashboard/settings.js b/react/src/components/dashboard/settings/settings.js
similarity index 98%
rename from react/src/components/dashboard/settings.js
rename to react/src/components/dashboard/settings/settings.js
index 01e5169..2fd4c48 100644
--- a/react/src/components/dashboard/settings.js
+++ b/react/src/components/dashboard/settings/settings.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
import {
iguanaActiveHandle,
encryptWallet,
@@ -12,8 +12,8 @@ import {
saveAppConfig,
getAppInfo,
shepherdCli
-} from '../../actions/actionCreators';
-import Store from '../../store';
+} from '../../../actions/actionCreators';
+import Store from '../../../store';
import {
AppInfoTabRender,
diff --git a/react/src/components/dashboard/settings.render.js b/react/src/components/dashboard/settings/settings.render.js
similarity index 99%
rename from react/src/components/dashboard/settings.render.js
rename to react/src/components/dashboard/settings/settings.render.js
index d4ea061..3c806ec 100644
--- a/react/src/components/dashboard/settings.render.js
+++ b/react/src/components/dashboard/settings/settings.render.js
@@ -1,8 +1,8 @@
import React from 'react';
-import { translate } from '../../translate/translate';
-import AddCoinOptionsCrypto from '../addcoin/addcoinOptionsCrypto';
-import AddCoinOptionsAC from '../addcoin/addcoinOptionsAC';
-import AddCoinOptionsACFiat from '../addcoin/addcoinOptionsACFiat';
+import { translate } from '../../../translate/translate';
+import AddCoinOptionsCrypto from '../../addcoin/addcoinOptionsCrypto';
+import AddCoinOptionsAC from '../../addcoin/addcoinOptionsAC';
+import AddCoinOptionsACFiat from '../../addcoin/addcoinOptionsACFiat';
export const AppInfoTabRender = function() {
return (
diff --git a/react/src/components/dashboard/syncOnly.js b/react/src/components/dashboard/syncOnly/syncOnly.js
similarity index 95%
rename from react/src/components/dashboard/syncOnly.js
rename to react/src/components/dashboard/syncOnly/syncOnly.js
index 6afe42a..6db1a9f 100644
--- a/react/src/components/dashboard/syncOnly.js
+++ b/react/src/components/dashboard/syncOnly/syncOnly.js
@@ -1,13 +1,13 @@
import React from 'react';
-import { getCoinTitle } from '../../util/coinHelper';
+import { getCoinTitle } from '../../../util/coinHelper';
import {
stopInterval,
addCoin,
toggleSyncOnlyModal,
stopIguanaFork,
restartIguanaInstance
-} from '../../actions/actionCreators';
-import Store from '../../store';
+} from '../../../actions/actionCreators';
+import Store from '../../../store';
import {
ProgressRender,
diff --git a/react/src/components/dashboard/syncOnly.render.js b/react/src/components/dashboard/syncOnly/syncOnly.render.js
similarity index 98%
rename from react/src/components/dashboard/syncOnly.render.js
rename to react/src/components/dashboard/syncOnly/syncOnly.render.js
index 5183c35..6206c00 100644
--- a/react/src/components/dashboard/syncOnly.render.js
+++ b/react/src/components/dashboard/syncOnly/syncOnly.render.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
export const ProgressRender = function (fork) {
return (
diff --git a/react/src/components/dashboard/walletsBalance.js b/react/src/components/dashboard/walletsBalance/walletsBalance.js
similarity index 98%
rename from react/src/components/dashboard/walletsBalance.js
rename to react/src/components/dashboard/walletsBalance/walletsBalance.js
index 4603765..f7784f6 100755
--- a/react/src/components/dashboard/walletsBalance.js
+++ b/react/src/components/dashboard/walletsBalance/walletsBalance.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
import WalletsBalanceRender from './walletsBalance.render';
diff --git a/react/src/components/dashboard/walletsBalance.render.js b/react/src/components/dashboard/walletsBalance/walletsBalance.render.js
similarity index 97%
rename from react/src/components/dashboard/walletsBalance.render.js
rename to react/src/components/dashboard/walletsBalance/walletsBalance.render.js
index 205c77c..2df72fc 100644
--- a/react/src/components/dashboard/walletsBalance.render.js
+++ b/react/src/components/dashboard/walletsBalance/walletsBalance.render.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
const WalletsBalanceRender = function() {
return (
diff --git a/react/src/components/dashboard/walletsBasiliskConnection.js b/react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.js
similarity index 87%
rename from react/src/components/dashboard/walletsBasiliskConnection.js
rename to react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.js
index 402867d..fc6172b 100755
--- a/react/src/components/dashboard/walletsBasiliskConnection.js
+++ b/react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.js
@@ -1,6 +1,6 @@
import React from 'react';
-import { basiliskConnection } from '../../actions/actionCreators';
-import Store from '../../store';
+import { basiliskConnection } from '../../../actions/actionCreators';
+import Store from '../../../store';
import WalletsBasiliskConnectionRender from './walletsBasiliskConnection.render';
class WalletsBasiliskConnection extends React.Component {
diff --git a/react/src/components/dashboard/walletsBasiliskConnection.render.js b/react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.render.js
similarity index 97%
rename from react/src/components/dashboard/walletsBasiliskConnection.render.js
rename to react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.render.js
index 0e4d65a..0cd406e 100644
--- a/react/src/components/dashboard/walletsBasiliskConnection.render.js
+++ b/react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.render.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
const WalletsBasiliskConnectionRender = function() {
return (
diff --git a/react/src/components/dashboard/walletsBasiliskRefresh.js b/react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.js
similarity index 100%
rename from react/src/components/dashboard/walletsBasiliskRefresh.js
rename to react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.js
diff --git a/react/src/components/dashboard/walletsBasiliskRefresh.render.js b/react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.render.js
similarity index 92%
rename from react/src/components/dashboard/walletsBasiliskRefresh.render.js
rename to react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.render.js
index 2e03d19..2ca1658 100644
--- a/react/src/components/dashboard/walletsBasiliskRefresh.render.js
+++ b/react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.render.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
const WalletsBasiliskRefreshRender = function() {
return (
diff --git a/react/src/components/dashboard/walletsCacheData.js b/react/src/components/dashboard/walletsCacheData/walletsCacheData.js
similarity index 96%
rename from react/src/components/dashboard/walletsCacheData.js
rename to react/src/components/dashboard/walletsCacheData/walletsCacheData.js
index 8088771..d8d8f09 100644
--- a/react/src/components/dashboard/walletsCacheData.js
+++ b/react/src/components/dashboard/walletsCacheData/walletsCacheData.js
@@ -1,7 +1,7 @@
import React from 'react';
-import { secondsToString } from '../../util/time';
-import { toggleViewCacheModal } from '../../actions/actionCreators';
-import Store from '../../store';
+import { secondsToString } from '../../../util/time';
+import { toggleViewCacheModal } from '../../../actions/actionCreators';
+import Store from '../../../store';
import { TreeNode } from 'rc-tree';
import WalletsCacheDataRender from './walletsCacheData.render';
diff --git a/react/src/components/dashboard/walletsCacheData.render.js b/react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js
similarity index 88%
rename from react/src/components/dashboard/walletsCacheData.render.js
rename to react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js
index e912448..bc1af5f 100644
--- a/react/src/components/dashboard/walletsCacheData.render.js
+++ b/react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js
@@ -1,6 +1,6 @@
import React from 'react';
-import { translate } from '../../translate/translate';
-import { animation } from '../../util/rc-tree-animate';
+import { translate } from '../../../translate/translate';
+import { animation } from '../../../util/rc-tree-animate';
import { TreeNode } from 'rc-tree';
const WalletsCacheDataRender = function() {
diff --git a/react/src/components/dashboard/walletsData.js b/react/src/components/dashboard/walletsData/walletsData.js
similarity index 98%
rename from react/src/components/dashboard/walletsData.js
rename to react/src/components/dashboard/walletsData/walletsData.js
index 5274360..37e0e97 100644
--- a/react/src/components/dashboard/walletsData.js
+++ b/react/src/components/dashboard/walletsData/walletsData.js
@@ -1,7 +1,7 @@
import React from 'react';
-import Config from '../../config';
-import { translate } from '../../translate/translate';
-import { sortByDate } from '../../util/sort';
+import Config from '../../../config';
+import { translate } from '../../../translate/translate';
+import { sortByDate } from '../../../util/sort';
import {
basiliskRefresh,
basiliskConnection,
@@ -17,8 +17,8 @@ import {
deleteCacheFile,
fetchNewCacheData,
fetchUtxoCache
-} from '../../actions/actionCreators';
-import Store from '../../store';
+} from '../../../actions/actionCreators';
+import Store from '../../../store';
import {
PaginationItemRender,
PaginationItemsPerPageSelectorRender,
diff --git a/react/src/components/dashboard/walletsData.render.js b/react/src/components/dashboard/walletsData/walletsData.render.js
similarity index 95%
rename from react/src/components/dashboard/walletsData.render.js
rename to react/src/components/dashboard/walletsData/walletsData.render.js
index 0a8a7c4..32c2dbb 100644
--- a/react/src/components/dashboard/walletsData.render.js
+++ b/react/src/components/dashboard/walletsData/walletsData.render.js
@@ -1,10 +1,10 @@
import React from 'react';
-import { translate } from '../../translate/translate';
-import WalletsBasiliskRefresh from './walletsBasiliskRefresh';
-import WalletsBasiliskConnection from './walletsBasiliskConnection';
-import WalletsNotariesList from './walletsNotariesList';
-import WalletsCacheData from './walletsCacheData';
-import { secondsToString } from '../../util/time';
+import { translate } from '../../../translate/translate';
+import WalletsBasiliskRefresh from '../walletsBasiliskRefresh/walletsBasiliskRefresh';
+import WalletsBasiliskConnection from '../walletsBasiliskConnection/walletsBasiliskConnection';
+import WalletsNotariesList from '../walletsNotariesList/walletsNotariesList';
+import WalletsCacheData from '../walletsCacheData/walletsCacheData';
+import { secondsToString } from '../../../util/time';
export const PaginationItemRender = function(i) {
return (
@@ -171,7 +171,7 @@ export const WalletsDataRender = function() {
{ translate('INDEX.REFETCH_WALLET_DATA') }
-
+
Restart Basilisk Instance (unsafe!)
diff --git a/react/src/components/dashboard/walletsHeader.js b/react/src/components/dashboard/walletsHeader/walletsHeader.js
similarity index 100%
rename from react/src/components/dashboard/walletsHeader.js
rename to react/src/components/dashboard/walletsHeader/walletsHeader.js
diff --git a/react/src/components/dashboard/walletsHeader.render.js b/react/src/components/dashboard/walletsHeader/walletsHeader.render.js
similarity index 91%
rename from react/src/components/dashboard/walletsHeader.render.js
rename to react/src/components/dashboard/walletsHeader/walletsHeader.render.js
index 0de50dc..bf44ffd 100644
--- a/react/src/components/dashboard/walletsHeader.render.js
+++ b/react/src/components/dashboard/walletsHeader/walletsHeader.render.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { translate } from '../../translate/translate';
+import { translate } from '../../../translate/translate';
const WalletsHeaderRender = function() {
return (
@@ -14,7 +14,7 @@ const WalletsHeaderRender = function() {
{ translate('SIDEBAR.JUMBLR_MOTTO') }
-