Browse Source

reorganized dashboard components locations

all-modes
pbca26 8 years ago
parent
commit
d0a7972b99
  1. 0
      react/src/components/dashboard/about/about.js
  2. 4
      react/src/components/dashboard/atomic/atomic.js
  3. 8
      react/src/components/dashboard/atomic/atomic.render.js
  4. 2
      react/src/components/dashboard/coinTile/coinTile.js
  5. 2
      react/src/components/dashboard/coinTile/coinTile.render.js
  6. 4
      react/src/components/dashboard/coinTile/coinTileItem.js
  7. 0
      react/src/components/dashboard/coinTile/coinTileItem.render.js
  8. 0
      react/src/components/dashboard/edex/edex.js
  9. 4
      react/src/components/dashboard/jumblr/jumblr.js
  10. 4
      react/src/components/dashboard/jumblr/jumblr.render.js
  11. 4
      react/src/components/dashboard/loginModal/loginModal.js
  12. 2
      react/src/components/dashboard/loginModal/loginModal.render.js
  13. 0
      react/src/components/dashboard/main/dashboard.js
  14. 32
      react/src/components/dashboard/main/dashboard.render.js
  15. 0
      react/src/components/dashboard/main/dashboard.scss
  16. 4
      react/src/components/dashboard/navbar/navbar.js
  17. 2
      react/src/components/dashboard/navbar/navbar.render.js
  18. 4
      react/src/components/dashboard/notifications/notifications.js
  19. 4
      react/src/components/dashboard/notifications/notifications.render.js
  20. 4
      react/src/components/dashboard/receiveCoin/receiveCoin.js
  21. 2
      react/src/components/dashboard/receiveCoin/receiveCoin.render.js
  22. 12
      react/src/components/dashboard/sendCoin/sendCoin.js
  23. 4
      react/src/components/dashboard/sendCoin/sendCoin.render.js
  24. 6
      react/src/components/dashboard/settings/settings.js
  25. 8
      react/src/components/dashboard/settings/settings.render.js
  26. 6
      react/src/components/dashboard/syncOnly/syncOnly.js
  27. 2
      react/src/components/dashboard/syncOnly/syncOnly.render.js
  28. 2
      react/src/components/dashboard/walletsBalance/walletsBalance.js
  29. 2
      react/src/components/dashboard/walletsBalance/walletsBalance.render.js
  30. 4
      react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.js
  31. 2
      react/src/components/dashboard/walletsBasiliskConnection/walletsBasiliskConnection.render.js
  32. 0
      react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.js
  33. 2
      react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.render.js
  34. 6
      react/src/components/dashboard/walletsCacheData/walletsCacheData.js
  35. 4
      react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js
  36. 10
      react/src/components/dashboard/walletsData/walletsData.js
  37. 12
      react/src/components/dashboard/walletsData/walletsData.render.js
  38. 0
      react/src/components/dashboard/walletsHeader/walletsHeader.js
  39. 2
      react/src/components/dashboard/walletsHeader/walletsHeader.render.js
  40. 0
      react/src/components/dashboard/walletsNative/walletsNative.js
  41. 12
      react/src/components/dashboard/walletsNative/walletsNative.render.js
  42. 0
      react/src/components/dashboard/walletsNativeAlert/walletsNativeAlert.js
  43. 2
      react/src/components/dashboard/walletsNativeAlert/walletsNativeAlert.render.js
  44. 0
      react/src/components/dashboard/walletsNativeBalance/walletsNativeBalance.js
  45. 2
      react/src/components/dashboard/walletsNativeBalance/walletsNativeBalance.render.js
  46. 0
      react/src/components/dashboard/walletsNativeInfo/walletsNativeInfo.js
  47. 2
      react/src/components/dashboard/walletsNativeInfo/walletsNativeInfo.render.js
  48. 4
      react/src/components/dashboard/walletsNativeReceive/walletsNativeReceive.js
  49. 2
      react/src/components/dashboard/walletsNativeReceive/walletsNativeReceive.render.js
  50. 10
      react/src/components/dashboard/walletsNativeSend/walletsNativeSend.js
  51. 2
      react/src/components/dashboard/walletsNativeSend/walletsNativeSend.render.js
  52. 2
      react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js
  53. 2
      react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.render.js
  54. 8
      react/src/components/dashboard/walletsNativeTxHistory/walletsNativeTxHistory.js
  55. 4
      react/src/components/dashboard/walletsNativeTxHistory/walletsNativeTxHistory.render.js
  56. 4
      react/src/components/dashboard/walletsNativeTxInfo/walletsNativeTxInfo.js
  57. 4
      react/src/components/dashboard/walletsNativeTxInfo/walletsNativeTxInfo.render.js
  58. 4
      react/src/components/dashboard/walletsNav/walletsNav.js
  59. 2
      react/src/components/dashboard/walletsNav/walletsNav.render.js
  60. 6
      react/src/components/dashboard/walletsNotariesList/walletsNotariesList.js
  61. 4
      react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js
  62. 2
      react/src/components/dashboard/walletsProgress/walletsProgress.js
  63. 2
      react/src/components/dashboard/walletsProgress/walletsProgress.render.js
  64. 4
      react/src/components/dashboard/walletsTxInfo/walletsTxInfo.js
  65. 4
      react/src/components/dashboard/walletsTxInfo/walletsTxInfo.render.js
  66. 6
      react/src/components/main/walletMain.js
  67. 2
      react/src/styles/index.scss

0
react/src/components/dashboard/about.js → react/src/components/dashboard/about/about.js

4
react/src/components/dashboard/atomic.js → react/src/components/dashboard/atomic/atomic.js

@ -1,6 +1,6 @@
import React from 'react';
import { atomic } from '../../actions/actionCreators';
import Store from '../../store';
import { atomic } from '../../../actions/actionCreators';
import Store from '../../../store';
import AtomicRender from './atomic.render';

8
react/src/components/dashboard/atomic.render.js → react/src/components/dashboard/atomic/atomic.render.js

@ -1,9 +1,9 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
import AddCoinOptionsCrypto from '../addcoin/addcoinOptionsCrypto';
import AddCoinOptionsAC from '../addcoin/addcoinOptionsAC';
import AddCoinOptionsACFiat from '../addcoin/addcoinOptionsACFiat';
import AddCoinOptionsCrypto from '../../addcoin/addcoinOptionsCrypto';
import AddCoinOptionsAC from '../../addcoin/addcoinOptionsAC';
import AddCoinOptionsACFiat from '../../addcoin/addcoinOptionsACFiat';
const AtomicRender = function () {
return (

2
react/src/components/dashboard/coinTile.js → react/src/components/dashboard/coinTile/coinTile.js

@ -2,7 +2,7 @@ import React from 'react';
import {
getCoinTitle,
getModeInfo
} from '../../util/coinHelper';
} from '../../../util/coinHelper';
import CoinTileItem from './coinTileItem';
import CoinTileRender from './coinTile.render';

2
react/src/components/dashboard/coinTile.render.js → react/src/components/dashboard/coinTile/coinTile.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const CoinTileRender = function() {
return (

4
react/src/components/dashboard/coinTileItem.js → react/src/components/dashboard/coinTile/coinTileItem.js

@ -17,8 +17,8 @@ import {
getNativeTxHistory,
getKMDBalanceTotal,
getSyncInfoNative
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import CoinTileItemRender from './coinTileItem.render';

0
react/src/components/dashboard/coinTileItem.render.js → react/src/components/dashboard/coinTile/coinTileItem.render.js

0
react/src/components/dashboard/edex.js → react/src/components/dashboard/edex/edex.js

4
react/src/components/dashboard/jumblr.js → react/src/components/dashboard/jumblr/jumblr.js

@ -1,7 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
/*import { dashboardChangeSection, toggleAddcoinModal, logout } from '../../actions/actionCreators';
import Store from '../../store';*/
import { translate } from '../../../translate/translate';
import JumblrRender from './jumblr.render';

4
react/src/components/dashboard/jumblr.render.js → react/src/components/dashboard/jumblr/jumblr.render.js

@ -1,7 +1,7 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
import WalletsHeader from './walletsHeader';
import WalletsHeader from '../walletsHeader/walletsHeader';
const JumblrRender = function() {
return (

4
react/src/components/dashboard/loginModal.js → react/src/components/dashboard/loginModal/loginModal.js

@ -2,8 +2,8 @@ import React from 'react';
import {
toggleAddcoinModal,
iguanaWalletPassphrase
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import LoginModalRender from './loginModal.render';

2
react/src/components/dashboard/loginModal.render.js → react/src/components/dashboard/loginModal/loginModal.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const LoginModalRender = function () {
return (

0
react/src/components/dashboard/dashboard.js → react/src/components/dashboard/main/dashboard.js

32
react/src/components/dashboard/dashboard.render.js → react/src/components/dashboard/main/dashboard.render.js

@ -1,21 +1,21 @@
import React from 'react';
import Navbar from './navbar';
import CoinTile from './coinTile';
import EDEX from './edex';
import WalletsBalance from './walletsBalance';
import WalletsProgress from './walletsProgress';
import WalletsNav from './walletsNav';
import SendCoin from './sendCoin';
import WalletsData from './walletsData';
import Atomic from './atomic';
import Jumblr from './jumblr';
import Settings from './settings';
import ReceiveCoin from './receiveCoin';
import About from './about';
import WalletsNative from './walletsNative';
import WalletsNativeTxInfo from './walletsNativeTxInfo';
import WalletsTxInfo from './walletsTxInfo';
import Navbar from '../navbar/navbar';
import CoinTile from '../coinTile/coinTile';
import EDEX from '../edex/edex';
import WalletsBalance from '../walletsBalance/walletsBalance';
import WalletsProgress from '../walletsProgress/walletsProgress';
import WalletsNav from '../walletsNav/walletsNav';
import SendCoin from '../sendCoin/sendCoin';
import WalletsData from '../walletsData/walletsData';
import Atomic from '../atomic/atomic';
import Jumblr from '../jumblr/jumblr';
import Settings from '../settings/settings';
import ReceiveCoin from '../receiveCoin/receiveCoin';
import About from '../about/about';
import WalletsNative from '../walletsNative/walletsNative';
import WalletsNativeTxInfo from '../walletsNativeTxInfo/walletsNativeTxInfo';
import WalletsTxInfo from '../walletsTxInfo/walletsTxInfo';
const DashboardRender = function() {
return (

0
react/src/components/dashboard/dashboard.scss → react/src/components/dashboard/main/dashboard.scss

4
react/src/components/dashboard/navbar.js → react/src/components/dashboard/navbar/navbar.js

@ -7,8 +7,8 @@ import {
toggleSyncOnlyModal,
getSyncOnlyForks,
logout
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import NavbarRender from './navbar.render';

2
react/src/components/dashboard/navbar.render.js → react/src/components/dashboard/navbar/navbar.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const NavbarRender = function() {
return (

4
react/src/components/dashboard/notifications.js → react/src/components/dashboard/notifications/notifications.js

@ -1,7 +1,5 @@
import React from 'react';
import { sortByDate } from '../../util/sort';
import { sortByDate } from '../../../util/sort';
import {
NotificationsByTypeRender,
NotificationsModalRender,

4
react/src/components/dashboard/notifications.render.js → react/src/components/dashboard/notifications/notifications.render.js

@ -1,8 +1,8 @@
import React from 'react';
import {
secondsToString
} from '../../util/time';
import { translate } from '../../translate/translate';
} from '../../../util/time';
import { translate } from '../../../translate/translate';
export const NotificationsByTypeRender = function(logItem, type, index) {
return (

4
react/src/components/dashboard/receiveCoin.js → react/src/components/dashboard/receiveCoin/receiveCoin.js

@ -3,8 +3,8 @@ import {
copyCoinAddress,
checkAddressBasilisk,
validateAddressBasilisk
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import {
AddressActionsBasiliskModeRender,

2
react/src/components/dashboard/receiveCoin.render.js → react/src/components/dashboard/receiveCoin/receiveCoin.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
export const AddressActionsBasiliskModeRender = function(address) {
return (

12
react/src/components/dashboard/sendCoin.js → 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,

4
react/src/components/dashboard/sendCoin.render.js → 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 (

6
react/src/components/dashboard/settings.js → 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,

8
react/src/components/dashboard/settings.render.js → 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 (

6
react/src/components/dashboard/syncOnly.js → 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,

2
react/src/components/dashboard/syncOnly.render.js → 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 (

2
react/src/components/dashboard/walletsBalance.js → 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';

2
react/src/components/dashboard/walletsBalance.render.js → 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 (

4
react/src/components/dashboard/walletsBasiliskConnection.js → 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 {

2
react/src/components/dashboard/walletsBasiliskConnection.render.js → 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 (

0
react/src/components/dashboard/walletsBasiliskRefresh.js → react/src/components/dashboard/walletsBasiliskRefresh/walletsBasiliskRefresh.js

2
react/src/components/dashboard/walletsBasiliskRefresh.render.js → 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 (

6
react/src/components/dashboard/walletsCacheData.js → 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';

4
react/src/components/dashboard/walletsCacheData.render.js → 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() {

10
react/src/components/dashboard/walletsData.js → 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,

12
react/src/components/dashboard/walletsData.render.js → 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 (

0
react/src/components/dashboard/walletsHeader.js → react/src/components/dashboard/walletsHeader/walletsHeader.js

2
react/src/components/dashboard/walletsHeader.render.js → 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 (

0
react/src/components/dashboard/walletsNative.js → react/src/components/dashboard/walletsNative/walletsNative.js

12
react/src/components/dashboard/walletsNative.render.js → react/src/components/dashboard/walletsNative/walletsNative.render.js

@ -1,10 +1,10 @@
import React from 'react';
import WalletsNativeBalance from './walletsNativeBalance';
import WalletsNativeInfo from './walletsNativeInfo';
import WalletsNativeReceive from './walletsNativeReceive';
import WalletsNativeSend from './walletsNativeSend';
import WalletsNativeSyncProgress from './walletsNativeSyncProgress';
import WalletsNativeTxHistory from './walletsNativeTxHistory';
import WalletsNativeBalance from '../walletsNativeBalance/walletsNativeBalance';
import WalletsNativeInfo from '../walletsNativeInfo/walletsNativeInfo';
import WalletsNativeReceive from '../walletsNativeReceive/walletsNativeReceive';
import WalletsNativeSend from '../walletsNativeSend/walletsNativeSend';
import WalletsNativeSyncProgress from '../walletsNativeSyncProgress/walletsNativeSyncProgress';
import WalletsNativeTxHistory from '../walletsNativeTxHistory/walletsNativeTxHistory';
const WalletsNativeRender = function() {
return (

0
react/src/components/dashboard/walletsNativeAlert.js → react/src/components/dashboard/walletsNativeAlert/walletsNativeAlert.js

2
react/src/components/dashboard/walletsNativeAlert.render.js → react/src/components/dashboard/walletsNativeAlert/walletsNativeAlert.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const WalletsNativeAlertRender = function() {
return (

0
react/src/components/dashboard/walletsNativeBalance.js → react/src/components/dashboard/walletsNativeBalance/walletsNativeBalance.js

2
react/src/components/dashboard/walletsNativeBalance.render.js → react/src/components/dashboard/walletsNativeBalance/walletsNativeBalance.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const WalletsNativeBalanceRender = function() {
return (

0
react/src/components/dashboard/walletsNativeInfo.js → react/src/components/dashboard/walletsNativeInfo/walletsNativeInfo.js

2
react/src/components/dashboard/walletsNativeInfo.render.js → react/src/components/dashboard/walletsNativeInfo/walletsNativeInfo.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const WalletsNativeInfoRender = function() {
return (

4
react/src/components/dashboard/walletsNativeReceive.js → react/src/components/dashboard/walletsNativeReceive/walletsNativeReceive.js

@ -2,8 +2,8 @@ import React from 'react';
import {
copyCoinAddress,
getNewKMDAddresses
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import {
AddressListRender,
WalletsNativeReceiveRender

2
react/src/components/dashboard/walletsNativeReceive.render.js → react/src/components/dashboard/walletsNativeReceive/walletsNativeReceive.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
export const AddressListRender = function(address, type) {
return (

10
react/src/components/dashboard/walletsNativeSend.js → react/src/components/dashboard/walletsNativeSend/walletsNativeSend.js

@ -1,14 +1,14 @@
import React from 'react';
import Config from '../../config';
import { translate } from '../../translate/translate';
import { secondsToString } from '../../util/time';
import Config from '../../../config';
import { translate } from '../../../translate/translate';
import { secondsToString } from '../../../util/time';
import {
resolveOpenAliasAddress,
triggerToaster,
sendNativeTx,
getKMDOPID
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import {
AddressListRender,
OASendUIRender,

2
react/src/components/dashboard/walletsNativeSend.render.js → react/src/components/dashboard/walletsNativeSend/walletsNativeSend.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
export const AddressListRender = function() {
return (

2
react/src/components/dashboard/walletsNativeSyncProgress.js → react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
import {
ChainActivationNotificationRender,
WalletsNativeSyncProgressRender

2
react/src/components/dashboard/walletsNativeSyncProgress.render.js → react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
export const ChainActivationNotificationRender = function() {
return (

8
react/src/components/dashboard/walletsNativeTxHistory.js → react/src/components/dashboard/walletsNativeTxHistory/walletsNativeTxHistory.js

@ -1,8 +1,8 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { sortByDate } from '../../util/sort';
import { toggleDashboardTxInfoModal } from '../../actions/actionCreators';
import Store from '../../store';
import { translate } from '../../../translate/translate';
import { sortByDate } from '../../../util/sort';
import { toggleDashboardTxInfoModal } from '../../../actions/actionCreators';
import Store from '../../../store';
import {
PaginationItemsPerPageSelectorRender,
PaginationRender,

4
react/src/components/dashboard/walletsNativeTxHistory.render.js → react/src/components/dashboard/walletsNativeTxHistory/walletsNativeTxHistory.render.js

@ -1,6 +1,6 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { secondsToString } from '../../util/time';
import { translate } from '../../../translate/translate';
import { secondsToString } from '../../../util/time';
export const PaginationItemsPerPageSelectorRender = function() {
return (

4
react/src/components/dashboard/walletsNativeTxInfo.js → react/src/components/dashboard/walletsNativeTxInfo/walletsNativeTxInfo.js

@ -1,6 +1,6 @@
import React from 'react';
import { toggleDashboardTxInfoModal } from '../../actions/actionCreators';
import Store from '../../store';
import { toggleDashboardTxInfoModal } from '../../../actions/actionCreators';
import Store from '../../../store';
class WalletsNativeTxInfo extends React.Component {
constructor(props) {

4
react/src/components/dashboard/walletsNativeTxInfo.render.js → react/src/components/dashboard/walletsNativeTxInfo/walletsNativeTxInfo.render.js

@ -1,6 +1,6 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { secondsToString } from '../../util/time';
import { translate } from '../../../translate/translate';
import { secondsToString } from '../../../util/time';
const WalletsNativeTxInfoRender = function(txInfo) {
return (

4
react/src/components/dashboard/walletsNav.js → react/src/components/dashboard/walletsNav/walletsNav.js

@ -6,8 +6,8 @@ import {
toggleReceiveCoinForm,
toggleSendReceiveCoinForms,
toggleDashboardActiveSection
} from '../../actions/actionCreators';
import Store from '../../store';
} from '../../../actions/actionCreators';
import Store from '../../../store';
import {
WalletsNavNoWalletRender,
WalletsNavWithWalletRender

2
react/src/components/dashboard/walletsNav.render.js → react/src/components/dashboard/walletsNav/walletsNav.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
export const WalletsNavNoWalletRender = function () {
return (

6
react/src/components/dashboard/walletsNotariesList.js → react/src/components/dashboard/walletsNotariesList/walletsNotariesList.js

@ -1,7 +1,7 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { displayNotariesModal } from '../../actions/actionCreators';
import Store from '../../store';
import { translate } from '../../../translate/translate';
import { displayNotariesModal } from '../../../actions/actionCreators';
import Store from '../../../store';
import { TreeNode } from 'rc-tree';
import {
NotariesListRender,

4
react/src/components/dashboard/walletsNotariesList.render.js → react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js

@ -1,7 +1,7 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
import Tree, { TreeNode } from 'rc-tree';
import { animation } from '../../util/rc-tree-animate';
import { animation } from '../../../util/rc-tree-animate';
export const NotariesListRender = function (node, index) {
<TreeNode title={ `Node ${index}` } key={ `node-${index}` }>

2
react/src/components/dashboard/walletsProgress.js → react/src/components/dashboard/walletsProgress/walletsProgress.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
import WalletsProgressRender from './walletsProgress.render';
class WalletsProgress extends React.Component {

2
react/src/components/dashboard/walletsProgress.render.js → react/src/components/dashboard/walletsProgress/walletsProgress.render.js

@ -1,5 +1,5 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { translate } from '../../../translate/translate';
const WalletsProgressRender = function () {
return (

4
react/src/components/dashboard/walletsTxInfo.js → react/src/components/dashboard/walletsTxInfo/walletsTxInfo.js

@ -1,6 +1,6 @@
import React from 'react';
import { toggleDashboardTxInfoModal } from '../../actions/actionCreators';
import Store from '../../store';
import { toggleDashboardTxInfoModal } from '../../../actions/actionCreators';
import Store from '../../../store';
import WalletsTxInfoRender from './walletsTxInfo.render';
class WalletsTxInfo extends React.Component {

4
react/src/components/dashboard/walletsTxInfo.render.js → react/src/components/dashboard/walletsTxInfo/walletsTxInfo.render.js

@ -1,6 +1,6 @@
import React from 'react';
import { translate } from '../../translate/translate';
import { secondsToString } from '../../util/time';
import { translate } from '../../../translate/translate';
import { secondsToString } from '../../../util/time';
const WalletsTxInfoRender = function(txInfo) {
return (

6
react/src/components/main/walletMain.js

@ -2,9 +2,9 @@ import React from 'react';
import Toaster from '../toaster/toaster';
import AddCoin from '../addcoin/addcoin';
import Login from '../login/login';
import Dashboard from '../dashboard/dashboard';
import SyncOnly from '../dashboard/syncOnly';
import Notifications from '../dashboard/notifications';
import Dashboard from '../dashboard/main/dashboard';
import SyncOnly from '../dashboard/syncOnly/syncOnly';
import Notifications from '../dashboard/notifications/notifications';
class WalletMain extends React.Component {
render() {

2
react/src/styles/index.scss

@ -31,6 +31,6 @@
@import '../assets/skins/orange.min.css';
@import '../../node_modules/rc-tree/assets/index.css';
@import '../components/addcoin/addcoin.scss';
@import '../components/dashboard/dashboard.scss';
@import '../components/dashboard/main/dashboard.scss';
@import '../components/login/login.scss';
@import '../components/overrides.scss';
Loading…
Cancel
Save