Browse Source

show/hide full send/receive ui

all-modes
pbca26 8 years ago
parent
commit
8cb795d073
  1. 4
      react/src/components/dashboard/walletsBalance.js
  2. 2
      react/src/components/dashboard/walletsData.js
  3. 2
      react/src/components/dashboard/walletsNav.js
  4. 2
      react/src/components/dashboard/walletsProgress.js

4
react/src/components/dashboard/walletsBalance.js

@ -3,7 +3,7 @@ import { translate } from '../../translate/translate';
class WalletsBalance extends React.Component { class WalletsBalance extends React.Component {
render() { render() {
if (this.props && this.props.coin && this.props.mode !== 'native') { if (this.props && this.props.coin && this.props.mode !== 'native' && !this.props.send && !this.props.receive) {
return ( return (
<div id="wallet-widgets" data-plugin="masonry" data-edexcoin="COIN"> <div id="wallet-widgets" data-plugin="masonry" data-edexcoin="COIN">
<div className="col-xs-12"> <div className="col-xs-12">
@ -65,7 +65,7 @@ class WalletsBalance extends React.Component {
<div className={this.props.coin.mode === 'native' ? 'col-lg-4 col-xs-12' : 'col-lg-4 col-xs-12 hide'} data-edexcoin="COIN" id="edexcoin_getbalance_total_interest"> <div className={this.props.coin.mode === 'native' ? 'col-lg-4 col-xs-12' : 'col-lg-4 col-xs-12 hide'} data-edexcoin="COIN" id="edexcoin_getbalance_total_interest">
<div className="widget widget-shadow" id="widgetLineareaOne"> <div className="widget widget-shadow" id="widgetLineareaOne">
<div className="widget-content"> <div className="widget-content">
<div className="padding-20 padding-top-10"> <div className={this.props.progress ? 'padding-20 margin-top-20' : 'padding-20'}>
<div className="clearfix"> <div className="clearfix">
<div className="pull-left padding-vertical-10"> <div className="pull-left padding-vertical-10">
<i className="icon fa-bullseye font-size-24 vertical-align-bottom margin-right-5"></i>{translate('INDEX.TOTAL_BALANCE')} <i className="icon fa-bullseye font-size-24 vertical-align-bottom margin-right-5"></i>{translate('INDEX.TOTAL_BALANCE')}

2
react/src/components/dashboard/walletsData.js

@ -89,7 +89,7 @@ class WalletsData extends React.Component {
} }
render() { render() {
if (this.props && this.props.ActiveCoin && this.props.ActiveCoin.coin && this.props.ActiveCoin.mode !== 'native') { if (this.props && this.props.ActiveCoin && this.props.ActiveCoin.coin && this.props.ActiveCoin.mode !== 'native' && !this.props.ActiveCoin.send && !this.props.ActiveCoin.receive) {
return ( return (
<div data-edexcoin="COIN" id="edexcoin_dashboardinfo"> <div data-edexcoin="COIN" id="edexcoin_dashboardinfo">
<div className="col-xs-12 margin-top-20"> <div className="col-xs-12 margin-top-20">

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

@ -67,7 +67,7 @@ class WalletsNav extends React.Component {
} else { } else {
return ( return (
<div> <div>
<div className="page-header page-header-bordered header-easydex" id="header-dashboard" data-edexcoin="COIN" style={{paddingBottom: '20px', marginBottom: this.props.ActiveCoin.mode === 'native' ? '0' : '30px'}}> <div className="page-header page-header-bordered header-easydex" id="header-dashboard" data-edexcoin="COIN" style={{paddingBottom: '20px', marginBottom: this.props.ActiveCoin.mode !== 'basilisk' && this.props.Dashboard.progress ? '0' : '30px'}}>
<ol className="breadcrumb" data-edexcoin="COIN"> <ol className="breadcrumb" data-edexcoin="COIN">
<b>{translate('INDEX.MY')} <span data-edexcoin="COIN" id="edexcoin-active">{this.props && this.props.ActiveCoin ? this.props.ActiveCoin.coin : '-'}</span> {translate('INDEX.ADDRESS')}: </b> <span data-edexcoin="COIN" id="edexcoin_active_addr">{this.props && this.props.Dashboard && this.props.Dashboard.activeHandle ? this.props.Dashboard.activeHandle[this.props.ActiveCoin.coin] : '-'}</span> <button className="btn btn-default btn-xs clipboard-edexaddr" data-edexcoin="COIN" id="edexcoin_active_addr_clipboard" data-clipboard-text="" onClick={() => this.copyMyAddress(this.props.Dashboard.activeHandle[this.props.ActiveCoin.coin])}><i className="icon wb-copy" aria-hidden="true"></i> {translate('INDEX.COPY')}</button> <b>{translate('INDEX.MY')} <span data-edexcoin="COIN" id="edexcoin-active">{this.props && this.props.ActiveCoin ? this.props.ActiveCoin.coin : '-'}</span> {translate('INDEX.ADDRESS')}: </b> <span data-edexcoin="COIN" id="edexcoin_active_addr">{this.props && this.props.Dashboard && this.props.Dashboard.activeHandle ? this.props.Dashboard.activeHandle[this.props.ActiveCoin.coin] : '-'}</span> <button className="btn btn-default btn-xs clipboard-edexaddr" data-edexcoin="COIN" id="edexcoin_active_addr_clipboard" data-clipboard-text="" onClick={() => this.copyMyAddress(this.props.Dashboard.activeHandle[this.props.ActiveCoin.coin])}><i className="icon wb-copy" aria-hidden="true"></i> {translate('INDEX.COPY')}</button>
</ol> </ol>

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

@ -8,7 +8,7 @@ class WalletsProgress extends React.Component {
return (<div style={{textAlign: 'center', padding: '10px'}}>Coin is busy processing</div>); return (<div style={{textAlign: 'center', padding: '10px'}}>Coin is busy processing</div>);
} else { } else {
return ( return (
<div id="edex-footer" data-edexcoin="COIN"> <div id="edex-footer" data-edexcoin="COIN" style={{marginBottom: '20px'}}>
<div className="row no-space" data-edexcoin="COIN"> <div className="row no-space" data-edexcoin="COIN">
<div data-edexcoin="COIN" id="currency-progressbars"> <div data-edexcoin="COIN" id="currency-progressbars">
<div className="progress progress-sm"> <div className="progress progress-sm">

Loading…
Cancel
Save