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 React from 'react';
import { atomic } from '../../actions/actionCreators'; import { atomic } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import AtomicRender from './atomic.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import AddCoinOptionsCrypto from '../addcoin/addcoinOptionsCrypto'; import AddCoinOptionsCrypto from '../../addcoin/addcoinOptionsCrypto';
import AddCoinOptionsAC from '../addcoin/addcoinOptionsAC'; import AddCoinOptionsAC from '../../addcoin/addcoinOptionsAC';
import AddCoinOptionsACFiat from '../addcoin/addcoinOptionsACFiat'; import AddCoinOptionsACFiat from '../../addcoin/addcoinOptionsACFiat';
const AtomicRender = function () { const AtomicRender = function () {
return ( return (

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

@ -2,7 +2,7 @@ import React from 'react';
import { import {
getCoinTitle, getCoinTitle,
getModeInfo getModeInfo
} from '../../util/coinHelper'; } from '../../../util/coinHelper';
import CoinTileItem from './coinTileItem'; import CoinTileItem from './coinTileItem';
import CoinTileRender from './coinTile.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const CoinTileRender = function() { const CoinTileRender = function() {
return ( return (

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

@ -17,8 +17,8 @@ import {
getNativeTxHistory, getNativeTxHistory,
getKMDBalanceTotal, getKMDBalanceTotal,
getSyncInfoNative getSyncInfoNative
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import CoinTileItemRender from './coinTileItem.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
/*import { dashboardChangeSection, toggleAddcoinModal, logout } from '../../actions/actionCreators';
import Store from '../../store';*/
import JumblrRender from './jumblr.render'; 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 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() { const JumblrRender = function() {
return ( return (

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

@ -2,8 +2,8 @@ import React from 'react';
import { import {
toggleAddcoinModal, toggleAddcoinModal,
iguanaWalletPassphrase iguanaWalletPassphrase
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import LoginModalRender from './loginModal.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const LoginModalRender = function () { const LoginModalRender = function () {
return ( 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 React from 'react';
import Navbar from './navbar'; import Navbar from '../navbar/navbar';
import CoinTile from './coinTile'; import CoinTile from '../coinTile/coinTile';
import EDEX from './edex'; import EDEX from '../edex/edex';
import WalletsBalance from './walletsBalance'; import WalletsBalance from '../walletsBalance/walletsBalance';
import WalletsProgress from './walletsProgress'; import WalletsProgress from '../walletsProgress/walletsProgress';
import WalletsNav from './walletsNav'; import WalletsNav from '../walletsNav/walletsNav';
import SendCoin from './sendCoin'; import SendCoin from '../sendCoin/sendCoin';
import WalletsData from './walletsData'; import WalletsData from '../walletsData/walletsData';
import Atomic from './atomic'; import Atomic from '../atomic/atomic';
import Jumblr from './jumblr'; import Jumblr from '../jumblr/jumblr';
import Settings from './settings'; import Settings from '../settings/settings';
import ReceiveCoin from './receiveCoin'; import ReceiveCoin from '../receiveCoin/receiveCoin';
import About from './about'; import About from '../about/about';
import WalletsNative from './walletsNative'; import WalletsNative from '../walletsNative/walletsNative';
import WalletsNativeTxInfo from './walletsNativeTxInfo'; import WalletsNativeTxInfo from '../walletsNativeTxInfo/walletsNativeTxInfo';
import WalletsTxInfo from './walletsTxInfo'; import WalletsTxInfo from '../walletsTxInfo/walletsTxInfo';
const DashboardRender = function() { const DashboardRender = function() {
return ( 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, toggleSyncOnlyModal,
getSyncOnlyForks, getSyncOnlyForks,
logout logout
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import NavbarRender from './navbar.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const NavbarRender = function() { const NavbarRender = function() {
return ( return (

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

@ -1,7 +1,5 @@
import React from 'react'; import React from 'react';
import { sortByDate } from '../../../util/sort';
import { sortByDate } from '../../util/sort';
import { import {
NotificationsByTypeRender, NotificationsByTypeRender,
NotificationsModalRender, 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 React from 'react';
import { import {
secondsToString secondsToString
} from '../../util/time'; } from '../../../util/time';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const NotificationsByTypeRender = function(logItem, type, index) { export const NotificationsByTypeRender = function(logItem, type, index) {
return ( return (

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

@ -3,8 +3,8 @@ import {
copyCoinAddress, copyCoinAddress,
checkAddressBasilisk, checkAddressBasilisk,
validateAddressBasilisk validateAddressBasilisk
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
AddressActionsBasiliskModeRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const AddressActionsBasiliskModeRender = function(address) { export const AddressActionsBasiliskModeRender = function(address) {
return ( return (

12
react/src/components/dashboard/sendCoin.js → react/src/components/dashboard/sendCoin/sendCoin.js

@ -1,13 +1,13 @@
import React from 'react'; import React from 'react';
import Config from '../../config'; import Config from '../../../config';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { import {
checkTimestamp checkTimestamp
} from '../../util/time'; } from '../../../util/time';
import { import {
edexGetTxIDList, edexGetTxIDList,
edexRemoveTXID edexRemoveTXID
} from '../../util/cacheFormat'; } from '../../../util/cacheFormat';
import { import {
resolveOpenAliasAddress, resolveOpenAliasAddress,
triggerToaster, triggerToaster,
@ -21,8 +21,8 @@ import {
clearLastSendToResponseState, clearLastSendToResponseState,
sendToAddressStateAlt, sendToAddressStateAlt,
dexSendRawTX dexSendRawTX
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
UTXOCacheInfoRender, UTXOCacheInfoRender,
SendCoinResponseRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { import {
secondsElapsedToString, secondsElapsedToString,
secondsToString secondsToString
} from '../../util/time'; } from '../../../util/time';
export const UTXOCacheInfoRender = function(refreshCacheData, isReadyToUpdate, waitUntilCallIsFinished, timestamp) { export const UTXOCacheInfoRender = function(refreshCacheData, isReadyToUpdate, waitUntilCallIsFinished, timestamp) {
return ( return (

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

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { import {
iguanaActiveHandle, iguanaActiveHandle,
encryptWallet, encryptWallet,
@ -12,8 +12,8 @@ import {
saveAppConfig, saveAppConfig,
getAppInfo, getAppInfo,
shepherdCli shepherdCli
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
AppInfoTabRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import AddCoinOptionsCrypto from '../addcoin/addcoinOptionsCrypto'; import AddCoinOptionsCrypto from '../../addcoin/addcoinOptionsCrypto';
import AddCoinOptionsAC from '../addcoin/addcoinOptionsAC'; import AddCoinOptionsAC from '../../addcoin/addcoinOptionsAC';
import AddCoinOptionsACFiat from '../addcoin/addcoinOptionsACFiat'; import AddCoinOptionsACFiat from '../../addcoin/addcoinOptionsACFiat';
export const AppInfoTabRender = function() { export const AppInfoTabRender = function() {
return ( return (

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

@ -1,13 +1,13 @@
import React from 'react'; import React from 'react';
import { getCoinTitle } from '../../util/coinHelper'; import { getCoinTitle } from '../../../util/coinHelper';
import { import {
stopInterval, stopInterval,
addCoin, addCoin,
toggleSyncOnlyModal, toggleSyncOnlyModal,
stopIguanaFork, stopIguanaFork,
restartIguanaInstance restartIguanaInstance
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
ProgressRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const ProgressRender = function (fork) { export const ProgressRender = function (fork) {
return ( return (

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

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import WalletsBalanceRender from './walletsBalance.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsBalanceRender = function() { const WalletsBalanceRender = function() {
return ( return (

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

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import { basiliskConnection } from '../../actions/actionCreators'; import { basiliskConnection } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import WalletsBasiliskConnectionRender from './walletsBasiliskConnection.render'; import WalletsBasiliskConnectionRender from './walletsBasiliskConnection.render';
class WalletsBasiliskConnection extends React.Component { 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsBasiliskConnectionRender = function() { const WalletsBasiliskConnectionRender = function() {
return ( 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsBasiliskRefreshRender = function() { const WalletsBasiliskRefreshRender = function() {
return ( return (

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

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import { secondsToString } from '../../util/time'; import { secondsToString } from '../../../util/time';
import { toggleViewCacheModal } from '../../actions/actionCreators'; import { toggleViewCacheModal } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { TreeNode } from 'rc-tree'; import { TreeNode } from 'rc-tree';
import WalletsCacheDataRender from './walletsCacheData.render'; 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { animation } from '../../util/rc-tree-animate'; import { animation } from '../../../util/rc-tree-animate';
import { TreeNode } from 'rc-tree'; import { TreeNode } from 'rc-tree';
const WalletsCacheDataRender = function() { 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 React from 'react';
import Config from '../../config'; import Config from '../../../config';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { sortByDate } from '../../util/sort'; import { sortByDate } from '../../../util/sort';
import { import {
basiliskRefresh, basiliskRefresh,
basiliskConnection, basiliskConnection,
@ -17,8 +17,8 @@ import {
deleteCacheFile, deleteCacheFile,
fetchNewCacheData, fetchNewCacheData,
fetchUtxoCache fetchUtxoCache
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
PaginationItemRender, PaginationItemRender,
PaginationItemsPerPageSelectorRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import WalletsBasiliskRefresh from './walletsBasiliskRefresh'; import WalletsBasiliskRefresh from '../walletsBasiliskRefresh/walletsBasiliskRefresh';
import WalletsBasiliskConnection from './walletsBasiliskConnection'; import WalletsBasiliskConnection from '../walletsBasiliskConnection/walletsBasiliskConnection';
import WalletsNotariesList from './walletsNotariesList'; import WalletsNotariesList from '../walletsNotariesList/walletsNotariesList';
import WalletsCacheData from './walletsCacheData'; import WalletsCacheData from '../walletsCacheData/walletsCacheData';
import { secondsToString } from '../../util/time'; import { secondsToString } from '../../../util/time';
export const PaginationItemRender = function(i) { export const PaginationItemRender = function(i) {
return ( 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsHeaderRender = function() { const WalletsHeaderRender = function() {
return ( 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 React from 'react';
import WalletsNativeBalance from './walletsNativeBalance'; import WalletsNativeBalance from '../walletsNativeBalance/walletsNativeBalance';
import WalletsNativeInfo from './walletsNativeInfo'; import WalletsNativeInfo from '../walletsNativeInfo/walletsNativeInfo';
import WalletsNativeReceive from './walletsNativeReceive'; import WalletsNativeReceive from '../walletsNativeReceive/walletsNativeReceive';
import WalletsNativeSend from './walletsNativeSend'; import WalletsNativeSend from '../walletsNativeSend/walletsNativeSend';
import WalletsNativeSyncProgress from './walletsNativeSyncProgress'; import WalletsNativeSyncProgress from '../walletsNativeSyncProgress/walletsNativeSyncProgress';
import WalletsNativeTxHistory from './walletsNativeTxHistory'; import WalletsNativeTxHistory from '../walletsNativeTxHistory/walletsNativeTxHistory';
const WalletsNativeRender = function() { const WalletsNativeRender = function() {
return ( 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsNativeAlertRender = function() { const WalletsNativeAlertRender = function() {
return ( 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsNativeBalanceRender = function() { const WalletsNativeBalanceRender = function() {
return ( 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsNativeInfoRender = function() { const WalletsNativeInfoRender = function() {
return ( return (

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

@ -2,8 +2,8 @@ import React from 'react';
import { import {
copyCoinAddress, copyCoinAddress,
getNewKMDAddresses getNewKMDAddresses
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
AddressListRender, AddressListRender,
WalletsNativeReceiveRender 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const AddressListRender = function(address, type) { export const AddressListRender = function(address, type) {
return ( return (

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

@ -1,14 +1,14 @@
import React from 'react'; import React from 'react';
import Config from '../../config'; import Config from '../../../config';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { secondsToString } from '../../util/time'; import { secondsToString } from '../../../util/time';
import { import {
resolveOpenAliasAddress, resolveOpenAliasAddress,
triggerToaster, triggerToaster,
sendNativeTx, sendNativeTx,
getKMDOPID getKMDOPID
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
AddressListRender, AddressListRender,
OASendUIRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const AddressListRender = function() { export const AddressListRender = function() {
return ( return (

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

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { import {
ChainActivationNotificationRender, ChainActivationNotificationRender,
WalletsNativeSyncProgressRender 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const ChainActivationNotificationRender = function() { export const ChainActivationNotificationRender = function() {
return ( return (

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

@ -1,8 +1,8 @@
import React from 'react'; import React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { sortByDate } from '../../util/sort'; import { sortByDate } from '../../../util/sort';
import { toggleDashboardTxInfoModal } from '../../actions/actionCreators'; import { toggleDashboardTxInfoModal } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
PaginationItemsPerPageSelectorRender, PaginationItemsPerPageSelectorRender,
PaginationRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { secondsToString } from '../../util/time'; import { secondsToString } from '../../../util/time';
export const PaginationItemsPerPageSelectorRender = function() { export const PaginationItemsPerPageSelectorRender = function() {
return ( return (

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

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import { toggleDashboardTxInfoModal } from '../../actions/actionCreators'; import { toggleDashboardTxInfoModal } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
class WalletsNativeTxInfo extends React.Component { class WalletsNativeTxInfo extends React.Component {
constructor(props) { 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { secondsToString } from '../../util/time'; import { secondsToString } from '../../../util/time';
const WalletsNativeTxInfoRender = function(txInfo) { const WalletsNativeTxInfoRender = function(txInfo) {
return ( return (

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

@ -6,8 +6,8 @@ import {
toggleReceiveCoinForm, toggleReceiveCoinForm,
toggleSendReceiveCoinForms, toggleSendReceiveCoinForms,
toggleDashboardActiveSection toggleDashboardActiveSection
} from '../../actions/actionCreators'; } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { import {
WalletsNavNoWalletRender, WalletsNavNoWalletRender,
WalletsNavWithWalletRender 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
export const WalletsNavNoWalletRender = function () { export const WalletsNavNoWalletRender = function () {
return ( return (

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

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { displayNotariesModal } from '../../actions/actionCreators'; import { displayNotariesModal } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import { TreeNode } from 'rc-tree'; import { TreeNode } from 'rc-tree';
import { import {
NotariesListRender, 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import Tree, { TreeNode } from 'rc-tree'; 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) { export const NotariesListRender = function (node, index) {
<TreeNode title={ `Node ${index}` } key={ `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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import WalletsProgressRender from './walletsProgress.render'; import WalletsProgressRender from './walletsProgress.render';
class WalletsProgress extends React.Component { 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
const WalletsProgressRender = function () { const WalletsProgressRender = function () {
return ( return (

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

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import { toggleDashboardTxInfoModal } from '../../actions/actionCreators'; import { toggleDashboardTxInfoModal } from '../../../actions/actionCreators';
import Store from '../../store'; import Store from '../../../store';
import WalletsTxInfoRender from './walletsTxInfo.render'; import WalletsTxInfoRender from './walletsTxInfo.render';
class WalletsTxInfo extends React.Component { 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 React from 'react';
import { translate } from '../../translate/translate'; import { translate } from '../../../translate/translate';
import { secondsToString } from '../../util/time'; import { secondsToString } from '../../../util/time';
const WalletsTxInfoRender = function(txInfo) { const WalletsTxInfoRender = function(txInfo) {
return ( return (

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

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

2
react/src/styles/index.scss

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