|
|
@ -3,14 +3,14 @@ import { translate } from '../../translate/translate'; |
|
|
|
|
|
|
|
const NavbarRender = function () { |
|
|
|
return ( |
|
|
|
<nav className="site-navbar navbar navbar-default navbar-fixed-top navbar-mega" role="navigation"> |
|
|
|
<nav className="site-navbar navbar navbar-default navbar-fixed-top navbar-mega"> |
|
|
|
<div className="navbar-header"> |
|
|
|
<button type="button" className="navbar-toggle hamburger hamburger-close navbar-toggle-left hided"> |
|
|
|
<span className="sr-only">{ translate('INDEX.TOGGLE_NAV') }</span> |
|
|
|
<span className="hamburger-bar"></span> |
|
|
|
</button> |
|
|
|
<button type="button" className="navbar-toggle collapsed"> |
|
|
|
<i className="icon md-more" aria-hidden="true"></i> |
|
|
|
<i className="icon md-more"></i> |
|
|
|
</button> |
|
|
|
<div className="navbar-brand navbar-brand-center site-gridmenu-toggle"> |
|
|
|
<img |
|
|
@ -24,46 +24,45 @@ const NavbarRender = function () { |
|
|
|
</div> |
|
|
|
<button type="button" className="navbar-toggle collapsed"> |
|
|
|
<span className="sr-only">{ translate('INDEX.TOGGLE_SEARCH') }</span> |
|
|
|
<i className="icon md-search" aria-hidden="true"></i> |
|
|
|
<i className="icon md-search"></i> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
<div className="navbar-container container-fluid"> |
|
|
|
<div className="collapse navbar-collapse navbar-collapse-toolbar" id="site-navbar-collapse"> |
|
|
|
<ul className="nav navbar-toolbar"> |
|
|
|
<li className="hidden-float display-none" id="toggleMenubar"> |
|
|
|
<a role="button"> |
|
|
|
<a> |
|
|
|
<i className="icon hamburger hamburger-arrow-left"> |
|
|
|
<span className="sr-only">{ translate('INDEX.TOGGLE_MENUBAR') }</span> |
|
|
|
<span className="hamburger-bar"></span> |
|
|
|
</i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li className={ this.isSectionActive('wallets') ? 'active nav-top-menu' : 'nav-top-menu' }> |
|
|
|
<li className={ this.props.Dashboard.activeSection === 'wallets' ? 'active nav-top-menu' : 'nav-top-menu' }> |
|
|
|
<a id="nav-dashboard" onClick={ () => this.dashboardChangeSection('wallets') }> |
|
|
|
<i className="site-menu-icon" aria-hidden="true"></i> { translate('INDEX.WALLETS') } |
|
|
|
<i className="site-menu-icon"></i> { translate('INDEX.WALLETS') } |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li className={ this.isSectionActive('edex') ? 'active nav-top-menu' : 'nav-top-menu' }> |
|
|
|
<li className={ this.props.Dashboard.activeSection === 'edex' ? 'active nav-top-menu' : 'nav-top-menu' }> |
|
|
|
<a id="nav-easydex" onClick={ () => this.dashboardChangeSection('edex') }> |
|
|
|
<i className="site-menu-icon" aria-hidden="true"></i> EasyDEX |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li |
|
|
|
className={'display-none ' + (this.isSectionActive('jumblr') ? 'active nav-top-menu' : 'nav-top-menu') }> |
|
|
|
className={'display-none ' + (this.props.Dashboard.activeSection === 'jumblr' ? 'active nav-top-menu' : 'nav-top-menu') }> |
|
|
|
<a id="nav-jumblr" onClick={ () => this.dashboardChangeSection('jumblr') }> |
|
|
|
<i className="site-menu-icon" aria-hidden="true"></i> Jumblr |
|
|
|
<i className="site-menu-icon"></i> Jumblr |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li className={ this.isSectionActive('atomic') ? 'active nav-top-menu' : 'nav-top-menu' }> |
|
|
|
<li className={ this.props.Dashboard.activeSection === 'atomic' ? 'active nav-top-menu' : 'nav-top-menu' }> |
|
|
|
<a id="nav-iguana-atomic-explorer" onClick={ () => this.dashboardChangeSection('atomic') }> |
|
|
|
<i className="site-menu-icon" aria-hidden="true"></i> Atomic Explorer |
|
|
|
<i className="site-menu-icon"></i> Atomic Explorer |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
<ul className="nav navbar-toolbar navbar-right navbar-toolbar-right"> |
|
|
|
<li role="presentation"> |
|
|
|
<a |
|
|
|
role="menuitem" |
|
|
|
id="btn_edexcoin_addcoin" |
|
|
|
className="pointer padding-bottom-10 padding-top-16" |
|
|
|
onClick={ this.toggleAddCoinModal }> |
|
|
@ -73,43 +72,40 @@ const NavbarRender = function () { |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li |
|
|
|
className={ 'dropdown' + (this.state.openDropMenu ? ' open' : '') } |
|
|
|
className={ 'pointer dropdown' + (this.state.openDropMenu ? ' open' : '') } |
|
|
|
onClick={ this.openDropMenu }> |
|
|
|
<a className="navbar-avatar dropdown-toggle" aria-expanded="false" role="button"> |
|
|
|
<a className="navbar-avatar dropdown-toggle"> |
|
|
|
<span className="avatar avatar-online"> |
|
|
|
<img src="assets/images/iguana_profile_02.jpg" alt="iguana profile pic" /> |
|
|
|
<i></i> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
<ul className="dropdown-menu" role="menu"> |
|
|
|
<li role="presentation"> |
|
|
|
<ul className="dropdown-menu"> |
|
|
|
<li> |
|
|
|
<a |
|
|
|
role="menuitem" |
|
|
|
id="nav-iguana-wallet-settings" |
|
|
|
onClick={ () => this.dashboardChangeSection('settings') }> |
|
|
|
<i className="icon md-settings" aria-hidden="true"></i> { translate('INDEX.SETTINGS') } |
|
|
|
<i className="icon md-settings"></i> { translate('INDEX.SETTINGS') } |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li role="presentation"> |
|
|
|
<li> |
|
|
|
<a |
|
|
|
role="menuitem" |
|
|
|
id="nav-iguana-sync-only" |
|
|
|
onClick={ () => this.openSyncOnlyModal() }> |
|
|
|
<i className="icon fa-cubes" aria-hidden="true"></i> { translate('ADD_COIN.SYNC_ONLY') } |
|
|
|
<i className="icon fa-cubes"></i> { translate('ADD_COIN.SYNC_ONLY') } |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li role="presentation"> |
|
|
|
<li> |
|
|
|
<a |
|
|
|
role="menuitem" |
|
|
|
id="nav-about-iguana" |
|
|
|
onClick={ () => this.dashboardChangeSection('about') }> |
|
|
|
<i className="icon fa-users" aria-hidden="true"></i> { translate('INDEX.ABOUT_IGUANA') } |
|
|
|
<i className="icon fa-users"></i> { translate('INDEX.ABOUT_IGUANA') } |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li className="divider" role="presentation"></li> |
|
|
|
<li role="presentation"> |
|
|
|
<a role="menuitem" id="logout-account" onClick={ this.logout }> |
|
|
|
<i className="icon md-power" aria-hidden="true"></i> { translate('INDEX.LOGOUT') } |
|
|
|
<li className="divider"></li> |
|
|
|
<li> |
|
|
|
<a id="logout-account" onClick={ this.logout }> |
|
|
|
<i className="icon md-power"></i> { translate('INDEX.LOGOUT') } |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|