Browse Source

zcash & komodo wallet menu navigation code update

master
Satinder Grewal 8 years ago
parent
commit
c00b3311a4
  1. 62
      assets/scripts/sidebar.js
  2. 14
      index.html

62
assets/scripts/sidebar.js

@ -4,11 +4,15 @@ $(document).ready(function() {
$('#section-dashboard').show();
$('#header-dashboard').show();
$('#section-easydex').hide();
$('#section-komodo').hide();
$('#section-zcash').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').hide();
$('#section-about-iguana').hide();
$('#nav-dashboard').removeClass( "" ).addClass( "active open" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
@ -20,11 +24,15 @@ $('#nav-dashboard').on('click', function() {
$('#section-dashboard').show();
$('#header-dashboard').show();
$('#section-easydex').hide();
$('#section-komodo').hide();
$('#section-zcash').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').hide();
$('#section-about-iguana').hide();
$('#nav-dashboard').removeClass( "" ).addClass( "active open" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
@ -35,26 +43,72 @@ $('#nav-easydex').on('click', function() {
$('#section-dashboard').hide();
$('#header-dashboard').hide();
$('#section-easydex').show();
$('#section-komodo').hide();
$('#section-zcash').hide();
$('#section-about-iguana').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').hide();
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
$('#nav-easydex').removeClass( "" ).addClass( "active open" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("EasyDEX")
});
$('#nav-komodo-wallet').on('click', function() {
$('#section-dashboard').hide();
$('#header-dashboard').hide();
$('#section-easydex').hide();
$('#section-komodo').show();
$('#section-zcash').hide();
$('#section-about-iguana').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').hide();
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( "" ).addClass( "active open" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("Komodo Wallet")
});
$('#nav-zcash-wallet').on('click', function() {
$('#section-dashboard').hide();
$('#header-dashboard').hide();
$('#section-easydex').hide();
$('#section-komodo').hide();
$('#section-zcash').show();
$('#section-about-iguana').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').hide();
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( "" ).addClass( "active open" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("Zcash Wallet")
});
$('#nav-iguana-atomic-explorer').on('click', function() {
$('#section-dashboard').hide();
$('#header-dashboard').hide();
$('#section-easydex').hide();
$('#section-komodo').hide();
$('#section-zcash').hide();
$('#section-iguana-atomic-explorer').show();
$('#section-iguana-wallet-settings').hide();
$('#section-about-iguana').hide();
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( "" ).addClass( "active open" );
@ -65,11 +119,15 @@ $('#nav-iguana-wallet-settings').on('click', function() {
$('#section-dashboard').hide();
$('#header-dashboard').hide();
$('#section-easydex').hide();
$('#section-komodo').hide();
$('#section-zcash').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').show();
$('#section-about-iguana').hide();
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( "" ).addClass( "active open" );
@ -81,11 +139,15 @@ $('#nav-about-iguana').on('click', function() {
$('#section-dashboard').hide();
$('#header-dashboard').hide();
$('#section-easydex').hide();
$('#section-komodo').hide();
$('#section-zcash').hide();
$('#section-iguana-atomic-explorer').hide();
$('#section-iguana-wallet-settings').hide();
$('#section-about-iguana').show();
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
$('#nav-komodo-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-zcash-wallet').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-atomic-explorer').removeClass( " active open" ).addClass( "" );
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( "" ).addClass( "active open" );

14
index.html

@ -586,6 +586,20 @@
</div>
<!-- END EASYDEX CONTENT BODY -->
<!-- BEGIN KOMODO WALLET CONTENT BODY -->
<div class="page-content" id="section-komodo">
<h2>Komodo Wallet</h2>
<p>Page content goes here</p>
</div>
<!-- END KOMODO WALLET CONTENT BODY -->
<!-- BEGIN ZCASH WALLET CONTENT BODY -->
<div class="page-content" id="section-zcash">
<h2>Zcash Wallet</h2>
<p>Page content goes here</p>
</div>
<!-- END ZCASH WALLET CONTENT BODY -->
<!-- BEGIN ATOMIC EXPLORER SETTINGS CONTENT BODY -->
<div class="page-content" id="section-iguana-atomic-explorer">
<div class="row" id="atomic-explorer" data-plugin="masonry">

Loading…
Cancel
Save